Streaming 4D Visual Geometry Transformer

Dong Zhuo, Wenzhao Zheng, Jiahe Guo, Yuqi Wu, Jie Zhou, Jiwen LuarXiv 2025 · DOI

Abstract

Traditional 4D geometry reconstruction models operate offline, suffering from a "re-processing bottleneck" that prevents real-time application. We present StreamVGGT, a causal transformer architecture designed for "on-the-fly" reconstruction from streaming video. By utilizing temporal causal attention and cached memory tokens (KV caching), StreamVGGT achieves constant-time per-frame inference. To maintain accuracy without global context, we employ a teacher-student distillation strategy. Our results show a 30x speedup over state-of-the-art offline models, processing frames in ~67ms regardless of sequence length, while achieving competitive accuracy on benchmarks like ETH3D.

Introduction

Estimating 3D structure over time (4D reconstruction) is critical for robotics and AR/VR. However, current state-of-the-art models like VGGT use bidirectional self-attention, requiring the entire video sequence to be processed at once. When applied to live streams, these models must re-process the entire history for every new frame, leading to quadratic computational complexity. StreamVGGT addresses this by treating video frames as tokens in an autoregressive sequence, enabling efficient, incremental updates.

Methodology

StreamVGGT's architecture is built on three pillars:

  1. Temporal Causal Attention: Restricts each frame's attention to itself and its predecessors, aligning with the natural flow of streaming data.
  2. Cached Memory Tokens: Similar to KV caching in Large Language Models (LLMs), the model stores historical keys and values. New frames only require computation for their own tokens and cross-attention against the cache.
  3. Distillation-Based Training: To compensate for the lack of future context, a causal "student" model is trained to mimic a bidirectional "teacher" model (VGGT), distilling global contextual knowledge into the real-time pipeline.

The model concludes with multi-task heads that predict camera poses, 3D point maps, depth, and 2D point tracks simultaneously.

Evaluation and Results

The model was trained on 13 diverse datasets (including ScanNet and Waymo) and evaluated across 7 benchmarks to test generalization across geometric complexities.

Performance and Efficiency

The primary advantage of StreamVGGT is its constant-time inference. As shown in the comparison below, while the offline VGGT model's latency grows significantly with the number of frames, StreamVGGT maintains a stable processing time of approximately 67-69ms per frame. This represents a ~30x improvement in latency for 40-frame sequences.

Comparison of inference time per frame between VGGT and StreamVGGT as sequence length increases.

Accuracy

On the ETH3D benchmark, StreamVGGT achieved an "Overall" score of 0.577, substantially outperforming previous streaming models like CUT3R (1.411). The distillation process ensures that accuracy remains within a narrow margin of the bidirectional teacher model, proving that causal constraints do not necessarily sacrifice performance.

Discussion and Limitations

StreamVGGT successfully transitions 4D reconstruction from offline optimization to an efficient streaming process. However, challenges remain. While computation is constant, the memory required for the token cache grows linearly with sequence length, which may impact long-duration deployments on edge devices. Additionally, the model's performance is currently bounded by the quality of the teacher model used during distillation. Future work will focus on memory compression to handle indefinite video streams.

Summary updated

BibTeX
@misc{zhuo2025streaming,
  author = {Dong Zhuo and Wenzhao Zheng and Jiahe Guo and Yuqi Wu and Jie Zhou and Jiwen Lu},
  title = {{Streaming 4D Visual Geometry Transformer}},
  year = {2025},
  eprint = {2507.11539},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.11539},
}
Figure