Streaming 3D reconstruction must preserve geometry under limited memory, yet STAC's fixed-resolution spatial key-value (KV) cache grows as scenes expand. We propose STAC++, a plug-and-play, training-free framework that compresses and reuses spatial memory for long-term reconstruction in unbounded scenes. Adaptive Spatial KV Cache (ASKC) organizes KV states into an octree with adaptive resolutions across regions and layers. Response-Aware Cache Compression (RACC) guides KV merging by measuring attention-output changes, balancing storage savings with geometric preservation. Temporal Context Refinement (TCR) reuses cached intermediate features and recomputes only a short backbone suffix to refine historical predictions with later observations. Integrated into four pretrained streaming backbones, STAC++ reduces spatial memory consumption while maintaining competitive reconstruction quality on long sequences and large scenes, with further quality gains from refinement at limited computational overhead. The code will be made publicly available upon acceptance.
Figures & tables
Figure 1: STAC vs. STAC++ on two Oxford sequences. STAC++ achieves lower reconstruction error (ACC) and uses less peak GPU memory on both sequences.
Figure 2: Overview of STAC++. A plug-and-play, training-free framework for streaming 3D reconstruction. ASKC organizes spatial KV states in an adaptive octree; RACC guides cache compression using attention-output changes. TCR reuses cached features and recomputes a short backbone suffix to refine historical predictions with later observations.
Method
Type
7-Scenes
Neural RGB-D
ETH3D
Mem ↓
Acc ↓
Comp ↓
F1 ↑
Acc ↓
Comp ↓
F1 ↑
Acc ↓
Comp ↓
F1 ↑
(GiB)
ViPE [ 13 ]
Optim
0.061
0.032
85.56
0.183
0.105
61.05
2.514
3.493
12.47
11.38
MegaSaM [ 20 ]
Optim
0.027
0.026
94.25
0.047
0.018
93.81
1.910
1.981
19.84
10.70
VGGT [ 38 ]
Offline
0.022
0.022
96.46
0.017
0.012
99.04
0.199
0.128
86.91
16.88
VGG-T 3 [ 11 ]
Offline
0.046
0.029
92.06
0.059
0.025
86.15
0.441
0.292
70.47
14.99
CUT3R [ 40 ]
Online
0.093
0.038
81.09
0.210
0.095
62.44
0.933
0.730
58.57
10.34
Table 1: 3D reconstruction on 7-Scenes, Neural RGB-D, and ETH3D. Across four online backbones, STAC++ uses less memory than STAC while maintaining competitive reconstruction quality. Memory denotes mean peak GPU usage in GiB.
Figure 3: Qualitative comparison of large-scene reconstructions. Blue insets compare InfiniteVGGT with its STAC++ variant, and red insets compare LingBot-Map with its STAC++ variant. The rightmost column shows the laser-scan ground truth.
Method
Acc ↓
Comp ↓
F1 ↑
Mem ↓
Inference ↓
Long3D
STream3R [ 17 ]
OOM
OOM
OOM
OOM
OOM
STream3R-W
2.815
0.768
26.06
13.32
224.26
STream3R-STAC
3.210
0.917
22.57
15.69
116.84
STream3R-STAC++
3.192
0.858
22.63
10.75
190.52
StreamVGGT [ 54 ]
OOM
OOM
OOM
OOM
OOM
Table 2: Quantitative results on Long3D and Oxford Spires. STAC++ completes all evaluated sequences with InfiniteVGGT and LingBot-Map, while their STAC variants run out of memory. Memory is measured in GiB and inference time in ms/frame.
Method
Type
Sintel
TUM
ETH3D
Mem ↓
ATE ↓
AUC@3 ↑
AUC@30 ↑
ATE ↓
AUC@3 ↑
AUC@30 ↑
ATE ↓
AUC@3 ↑
AUC@30 ↑
(GiB)
STream3R [ 17 ]
Online
0.214
7.65
53.02
0.025
7.10
48.62
1.906
14.26
62.45
13.49
STream3R-W
Online
0.214
7.41
52.76
0.032
3.93
41.80
1.855
14.08
61.80
10.61
STream3R-STAC
Online
0.204
6.12
53.01
0.032
6.06
44.70
1.433
16.78
67.25
12.33
STream3R-STAC++
Online
0.201
6.27
51.75
0.031
4.78
44.89
1.551
17.00
66.80
9.07
StreamVGGT [ 54 ]
Online
0.233
6.00
47.94
0.026
8.12
53.48
1.898
13.59
58.83
11.83
Table 3: Camera pose estimation on Sintel, TUM RGB-D, and ETH3D. Across four online backbones, STAC++ generally lowers ATE while using less memory than STAC. We report ATE (m), angular AUC (%), and mean peak GPU memory (GiB).
Configuration
Acc ↓
F1 ↑
Mem ↓
Inference ↓
w/o ASKC (STAC) c
3.4888
14.27
35.47
257.88
w/o RACC
2.9131
18.62
14.76
172.13
Random merging
2.8929
19.22
14.87
190.95
w/o TCR
2.7927
19.22
15.16
163.54
TCR (2-layer)
2.7995
19.52
15.69
204.31
TCR (14-layer)
2.8118
18.99
15.44
216.01
Table 4: Ablation of ASKC, RACC, and TCR for LingBot-Map-STAC++ on Oxford Spires. Memory is measured in GiB and inference time in ms/frame.
Streaming 3D reconstruction incrementally builds geometrically consistent scene maps from incoming images or video under tight memory and latency limits.
Online 3D reconstruction from streaming inputs requires both long-term temporal consistency and efficient memory usage. Although causal variants of VGGT address this challenge through a key-value (KV) cache mechanism, the cache grows linearly with the stream length, creating a major memory bottleneck. Under limited memory budgets, early cache eviction significantly degrades reconstruction quality and temporal consistency. In this work, we observe that attention in causal transformers for 3D reconstruction exhibits intrinsic spatio-temporal sparsity. Based on this insight, we propose STAC, a Spatio-Temporally Aware Cache Compression framework for streaming 3D reconstruction with large causal transformers. STAC consists of three key components: (1) a Working Temporal Token Caching mechanism that preserves long-term informative tokens using decayed cumulative attention scores; (2) a Long-term Spatial Token Caching scheme that compresses spatially redundant tokens into voxel-aligned representations for memory-efficient storage; and (3) a Chunk-based Multi-frame Optimization strategy that jointly processes consecutive frames to improve temporal coherence and GPU efficiency. Extensive experiments show that STAC achieves state-of-the-art reconstruction quality while reducing memory consumption by nearly 10x and accelerating inference by 4x, substantially improving the scalability of real-time 3D reconstruction in streaming settings.
Streaming recurrent models enable efficient 3D reconstruction by maintaining persistent state representations. However, they suffer from catastrophic forgetting over long sequences due to balancing historical information with new observations. Recent methods alleviate this by deriving adaptive signals from the attention perspective, but they operate on single dimensions without considering temporal and spatial consistency. To this end, we propose a training-free framework termed TTSA3R that leverages both temporal state evolution and spatial observation quality for adaptive state updates in 3D reconstruction. In particular, we devise a Temporal Adaptive Update Module that regulates update magnitude by analyzing temporal state evolution patterns. Then, a Spatial Context Update Module is introduced to localize spatial regions that require updates through observation-state alignment and observation changes. These complementary signals are finally fused to determine the state updating strategies. Extensive experiments show that TTSA3R achieves competitive performance on standard short-sequence benchmarks and provides substantially stronger robustness on extended sequences. On NRGBD, as sequences extend from 50 to 250 frames, TTSA3R exhibits only a 1.33× error increase, compared with 3.8× degradation for CUT3R. This highlights the practical value of temporal-spatial adaptive updates for long-term reconstruction stability. Our code is available at https://github.com/anonus2357/ttsa3r.
Reconstructing dense 3D geometry from continuous video streams requires stable inference under a constant memory budget. Existing O(1) frameworks primarily rely on a ``pure eviction'' paradigm, which suffers from significant information destruction due to binary token deletion and evaluation noise from localized, single-layer scoring. To address these bottlenecks, we propose StreamCacheVGGT, a training-free framework that reimagines cache management through two synergistic modules: Cross-Layer Consistency-Enhanced Scoring (CLCES) and Hybrid Cache Compression (HCC). CLCES mitigates activation noise by tracking token importance trajectories across the Transformer hierarchy, employing order-statistical analysis to identify sustained geometric salience. Leveraging these robust scores, HCC transcends simple eviction by introducing a three-tier triage strategy that merges moderately important tokens into retained anchors via nearest-neighbor assignment on the key-vector manifold. This approach preserves essential geometric context that would otherwise be lost. Extensive evaluations on five benchmarks (7-Scenes, NRGBD, ETH3D, Bonn, and KITTI) demonstrate that StreamCacheVGGT sets a new state-of-the-art, delivering superior reconstruction accuracy and long-term stability while strictly adhering to constant-cost constraints.
Xuanyi Liu, Chunan Yu, Deyi Ji +6
KOKONI 3D, Moxin Technology · Nanjing University of Science and Technology · University of Science and Technology of China +4