STAC: Plug-and-Play Spatio-Temporal Aware Cache Compression for Streaming 3D Reconstruction

arXiv cs.CV / 3/24/2026

📰 NewsSignals & Early TrendsIdeas & Deep AnalysisModels & Research

Key Points

  • The paper addresses a key limitation in online streaming 3D reconstruction using causal VGGT-style transformers: the KV cache grows linearly with stream length, causing a major memory bottleneck that hurts quality under constrained budgets.
  • It introduces STAC (Spatio-Temporally Aware Cache Compression), which leverages observed intrinsic spatio-temporal sparsity in transformer attention to compress the cache without losing essential information.
  • STAC uses three components: working temporal token caching via decayed cumulative attention scores, long-term spatial token caching by compressing redundant tokens into voxel-aligned representations, and chunk-based multi-frame optimization for better temporal coherence and GPU efficiency.
  • Experiments report nearly 10× memory reduction and about 4× faster inference while achieving state-of-the-art reconstruction quality and improved temporal consistency compared with baselines.

Abstract

Online 3D reconstruction from streaming inputs requires both long-term temporal consistency and efficient memory usage. Although causal VGGT transformers 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.