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

Boyi Zhu, Youcheng Cai, Dong WangarXiv 2026

Imagine you’re trying to sketch a sprawling city while walking through its streets. At first, your notebook is plenty. But as you turn more corners, you realize you're running out of pages. You could start drawing smaller, but then you lose the beautiful detail of the cathedral you just passed. Or you could rip out old pages, but then you forget where you started.

This is the "memory wall" in streaming 3D reconstruction. Modern AI models build 3D worlds from video in real-time by caching "memories" (Key-Value or KV states) of what they’ve seen. In large, "unbounded" scenes, this cache grows until the GPU simply runs out of breath.

STAC++ is a new, "plug-and-play" framework designed to solve this. It intelligently compresses these spatial memories using an adaptive hierarchy, ensuring the model remembers the important bits in high definition while "summarizing" the rest to save space.

TL;DR

STAC++ prevents 3D reconstruction models from crashing due to memory overload in large environments by organizing their "memory" into an adaptive octree. It uses a clever "response-aware" metric to decide which parts of a scene can be compressed without losing geometric detail and even "re-thinks" past observations to improve them as new data arrives.

What Problem Does This Paper Address?

Streaming 3D reconstruction is the backbone of robotics and AR. To work well, models need to look back at previous frames to maintain consistency. This historical data is stored in a KV cache.

Previous methods, like the original STAC, used a fixed-resolution grid to store these memories. The problem? As the camera moves into new territory, the number of occupied grid cells grows linearly. Eventually, you hit an Out-of-Memory (OOM) error. If you just make the grid coarser to save memory, you lose the fine details (like the edges of a table or the texture of a wall).

The authors wanted a way to:

  1. Handle infinitely large scenes within a fixed memory budget.
  2. Maintain high detail where the geometry is complex.
  3. Refine old, "blurry" guesses of a scene using new, clearer information gathered later.

Methods

STAC++ introduces three core modules that act as an "inference-time plugin"—meaning you can drop them into existing pretrained models without any extra training.

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.
  1. Adaptive Spatial KV Cache (ASKC): Instead of a flat grid, STAC++ uses an octree. Think of this like a map that zooms in on complex areas (high resolution) but stays zoomed out on empty or simple areas (low resolution).
  2. Response-Aware Cache Compression (RACC): This is the decision-maker. It asks: "If I merge these eight small memory cells into one big one, how much will it actually change the model's final output?" If the "response" change is negligible, it merges them to save space. This ensures that memory is only spent where it actually helps the model "see" better.
  3. Temporal Context Refinement (TCR): Usually, once a frame is processed, its 3D output is fixed. TCR says, "Wait, now that I've seen the other side of this chair, let me go back and fix my initial sketch." It re-runs just the final layers of the model for older frames, using the now-richer memory cache to sharpen the results.

Datasets

The researchers put STAC++ through a gauntlet of diverse environments:

  • Standard Benchmarks: 7-Scenes, Neural RGB-D, and ETH3D (for general 3D quality).
  • Large-Scale/Long Sequences: Long3D and Oxford Spires. These are the "stress tests"—thousands of frames long where traditional models usually run out of memory.
  • Camera Tracking: Sintel and TUM RGB-D to ensure that compressing memory doesn't break the model's ability to know where the camera is.

Key Insights and Ideas

  • The "Response" is the Key: Most compression methods look at the input data (e.g., "are these two points close?"). RACC looks at the output (the attention response). This is much more robust because it accounts for how the specific AI "thinks" about the geometry.
  • Layer-wise Independence: The octree merges cells independently across different layers of the neural network. Some layers might need fine-grained spatial detail, while others might work better with a broader, "big picture" view.
  • Refinement on the Cheap: By only re-computing the "suffix" (the last few layers) of the backbone, TCR provides a significant boost in reconstruction quality with very little extra computational cost.

Key Results

STAC++ consistently outperformed its predecessors, especially when the going got tough.

  • Memory Efficiency: It reduced peak GPU memory usage by 14% to 27% compared to the original STAC, all while maintaining or improving accuracy.
  • No More Crashes: On the massive Oxford Spires dataset, standard models and even the original STAC frequently hit OOM errors. STAC++ completed every single sequence successfully.
  • Better Geometry: As seen in Figure 1, STAC++ achieved lower reconstruction error (ACC) than the fixed-voxel approach.
Figure 1. STAC vs. STAC++ on two Oxford sequences. STAC++ achieves lower reconstruction error (ACC) and uses less peak GPU memory on both sequences.

Qualitatively, the results are striking. In Figure 3, you can see that while native models might produce "floaters" or holes in the geometry during long runs, STAC++ keeps the structure coherent and sharp.

Qualitative comparison of large-scene reconstructions.

Limitations and Future Work

While STAC++ is a major step forward, the authors note a few areas for growth:

  • Refinement Overhead: Although TCR is efficient, re-processing frames still adds some latency. Finding the perfect balance between "real-time" and "perfectly refined" is an ongoing challenge.
  • Octree Depth: The finest resolution of the octree is still currently fixed by a hyperparameter ($\delta$). Future versions might allow the octree to decide its own maximum depth based on the complexity of the scene.
  • Dynamic Scenes: The current framework assumes the world is static. Handling moving objects (like people walking through the scene) while compressing spatial memory is a difficult next step.

Summary updated

Abstract

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.
BibTeX
@misc{zhu2026stac,
  author = {Boyi Zhu and Youcheng Cai and Dong Wang},
  title = {{STAC++: Plug-and-Play Adaptive Spatio-Temporal Aware Cache Compression for Streaming 3D Reconstruction}},
  year = {2026},
  eprint = {2611.28793},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.28793},
}
Figure