XStreamVGGT: Extremely Memory-Efficient Streaming Vision Geometry Grounded Transformer with KV Cache Compression
Zunhai Su, Weihao Ye, Hansen Feng, Keyu Fan, Jing Zhang, Dahai Yu, Zhengwu Liu, Ngai Wong
TL;DR
XStreamVGGT tackles the memory bottleneck of streaming 3D vision transformers by pruning redundant multi-view KV cache tokens and applying per-channel Key and per-token Value quantization to a fixed budget. The method preserves geometric references from the first frame while updating evidence with the current frame, yielding substantial memory reduction ($4.42\times$) and speedups ($5.48\times$) with mostly negligible performance loss across video depth estimation, 3D reconstruction, and camera pose tasks. By tightly integrating pruning with distribution-aware quantization, XStreamVGGT enables scalable, tuning-free streaming inference for 3D vision applications. This approach offers practical benefits for real-world streaming scenarios and sets the stage for adaptive cache budgeting in future work.
Abstract
Learning-based 3D visual geometry models have benefited substantially from large-scale transformers. Among these, StreamVGGT leverages frame-wise causal attention for strong streaming reconstruction, but suffers from unbounded KV cache growth, leading to escalating memory consumption and inference latency as input frames accumulate. We propose XStreamVGGT, a tuning-free approach that systematically compresses the KV cache through joint pruning and quantization, enabling extremely memory-efficient streaming inference. Specifically, redundant KVs originating from multi-view inputs are pruned through efficient token importance identification, enabling a fixed memory budget. Leveraging the unique distribution of KV tensors, we incorporate KV quantization to further reduce memory consumption. Extensive evaluations show that XStreamVGGT achieves mostly negligible performance degradation while substantially reducing memory usage by 4.42$\times$ and accelerating inference by 5.48$\times$, enabling scalable and practical streaming 3D applications. The code is available at https://github.com/ywh187/XStreamVGGT/.
