Horizon-Stream: Long-Horizon Attention for Streaming 3D Reconstruction

Chong Cheng, Peilin Tao, Nanjie Yao, Guanzhi Ding, Xianda Chen, yuansen du, Xiaoyang Guo, Wei Yin, Weiqiang Ren, Qian Zhang, Zhengqing Chen, Hao WangNeurIPS 2026

TL;DR

Why do real-time 3D reconstruction models suddenly lose their bearings and collapse when watching long videos? It turns out current architectures treat all memories the same—either forgetting everything past a hard window or hoarding stale data until their memory saturates. HorizonStream solves this by teaching a Transformer how long to remember different types of 3D clues, allowing a model trained on tiny 48-frame clips to seamlessly map sequences over 10,000 frames long using constant memory.

What Problem Does This Paper Address?

Imagine walking through an unfamiliar building. To avoid bumping into walls, you rely on fleeting visual cues that become useless the moment you turn a corner. Yet, to know how big the rooms are or where you started, you hold onto a persistent mental sense of global scale and structure.

Online 3D reconstruction—estimating camera pose (position and orientation) and scene depth on the fly from streaming video—requires this exact kind of multi-layered memory. Unlike offline methods that can peek at future frames and run heavy global optimizations, streaming models must work causally (only looking at the past) and within strict memory limits.

Historically, feed-forward streaming Transformers fail on long videos, suffering from severe trajectory drift, jitter, or total geometric collapse. The authors diagnose why: 3D geometry has vastly different "lifetimes," from short-lived pixel correspondences to permanent global scale. Current memory designs, however, apply a one-size-fits-all rule based purely on recency:

  • Sliding windows enforce a brutal cutoff, instantly forgetting global scale once frames slide out of view.
  • Periodic cache refreshes cause jarring discontinuities at reset boundaries.
  • Ungated recurrence and KV-caches hoard everything, leading to "attention sinks" (obsessing over irrelevant early frames) and state contamination.
Figure 1: Geometric evidence influence patterns on KITTI and long-sequence scaling on VBR. Prior streaming methods impose hard cutoffs, refresh discontinuities, heavy-tailed states, or spiky KV caches, leading to pose degradation, jitter, or collapse. HorizonStream learns a bounded multi-scale kernel with an O(1) recurrent geometric state and maintains stable ATE up to 10K frames.

Methods

To fix this mismatch, the authors formalize how past frames affect current 3D estimates using an evidence influence kernel, neatly splitting the problem into short-range spatial matching and long-range temporal memory. Built on a standard ViT-L backbone (initialized from VGGT and DINOv2), HorizonStream introduces three core mechanisms:

  • Geometric Linear Attention (Long-Term Memory): Instead of an ever-growing cache, the model maintains a compact, constant-size $O(1)$ recurrent state matrix. Crucially, it learns channel-wise exponential decay rates. Some channels learn to decay rapidly (adapting to fast local motion), while others decay very slowly (preserving global scene layout and scale across thousands of frames) without ever overflowing.
  • Gated Window Attention (Short-Term Matching): Within a tiny local causal window (10 frames for pose), the model performs fine-grained 3D matching. It augments standard sliding-window attention with Spatiotemporal RoPE (encoding relative 3D time, height, and width offsets) and head-wise reliability gates that silence noisy attention heads and prevent attention sinks.
  • Metric Readout Tokens (MRT) & Pose Fusion: To keep the world from arbitrarily shrinking or expanding over long distances, a dedicated MRT queries the persistent recurrent state at each frame to predict a global scale factor. Meanwhile, poses are estimated via consensus across the local window rather than chaining frame-to-frame, dodging cumulative composition errors. An optional DINOv2-based loop-closure module can also be bolted on to snap revisited locations into alignment.

Datasets

No new public benchmarks are introduced, though the authors train on an expansive mix of 24 datasets (plus internal long-sequence data) covering indoor, outdoor driving, synthetic, and unordered photo collections—including ScanNet++, Hypersim, Replica, 7Scenes, ARKitScenes, Waymo, vKITTI2, MegaDepth, TartanAir, and MatrixCity.

Evaluation spans 9 benchmarks run at full sequence length without subsampling: KITTI, vKITTI2, Oxford Spires, ScanNet++, TUM RGB-D, Waymo Open (unseen segments), VBR (ultra-long Rome sequences), ETH3D, and 7Scenes.

Key Insights and Ideas

  • Failure modes are just bad kernel shapes: Framing streaming 3D reconstruction as a mathematical kernel unifies seemingly unrelated bugs—drift, jitter, and collapse—as symptoms of pathological memory shapes (hard boxes, discontinuous steps, or heavy tails).
  • Long-term failure is state contamination, not lack of capacity: When baseline recurrent models (like CUT3R and TTT3R) are run without periodic memory wipes, their errors skyrocket. This proves their memory isn't too small—it's being poisoned by stale geometric evidence that wasn't discounted.
  • Emergent multi-timescale memory: When left to learn decay rates on its own, HorizonStream naturally organizes its channels into a smooth spectrum of lifetimes, with middle layers developing long-retention tails specifically to carry global structure.
  • Extreme length generalization: Because the recurrent state is strictly bounded and local rules don't depend on absolute sequence length, training on 48-frame clips is enough for the model to generalize to 18,000+ frame journeys.

Key Results

HorizonStream achieves state-of-the-art accuracy among online streaming models while running in linear time (~13.2 FPS) and constant memory:

  • KITTI Odometry: Achieves 19.75m mean Absolute Trajectory Error (ATE) purely online (and 16.44m with loop closure), beating top streaming baselines like Lingbot-map (25.29m) and LongStream (51.90m), and even rivaling offline methods like VGGT-Long (25.94m).
  • Ultra-Long Scaling (VBR): Across sequences ranging from 8,800 to 18,846 frames (up to 5.2 km), HorizonStream maintains a rock-steady 25.30m ATE (18.84m with loop closure), whereas prior online methods suffer massive drift or run out of memory. At 10,000 frames, it slashes ATE by 61.1% compared to Lingbot-Map.
  • Dense Depth & Reconstruction: Achieves the best online multi-view reconstruction (Chamfer Distance and F1) across ETH3D, Oxford Spires, 7Scenes, and TUM, and hits 0.057 Abs Rel on KITTI video depth—matching top offline global-attention models.
Figure 2: Visualization of long-range streaming 3D reconstruction across diverse scenes. Our method maintains stable trajectories and coherent geometry over sequences ranging from hundreds to thousands of frames in outdoor, indoor, and game environments.

Limitations and Future Work

The authors candidly note a few trade-offs:

  • Lost fine details over huge loops: Because the recurrent state compresses history into a fixed $O(1)$ size, it preserves global scale and coarse layout well, but still forgets fine-grained geometric details over massive trajectories with repeated revisits.
  • Tiny local window: Using only a 10-frame pose window saves memory and boosts speed, but limits the network's internal ability to recognize loop closures without the external pose-graph module (which is currently parameterized separately).
  • Real-world edge cases: Like most visual feed-forward trackers, HorizonStream can be tripped up by dynamic foreground objects (moving cars or pedestrians) and texture-poor walls, and relies on heavy pretraining compute (64 GPUs across two stages). Expanding the local window and tightly integrating loop closure are natural next steps.

Summary updated

Abstract

Online 3D reconstruction requires estimating camera pose and scene geometry under strict causal and bounded-memory constraints. Existing methods often suffer from drift, jitter, or collapse on long sequences. We trace these failures to a fundamental mismatch. Streaming geometry is inherently temporally heterogeneous, with evidence ranging from short-lived correspondences to persistent global scale. However, current architectures impose uniform and pathological influence patterns. For example, sliding windows enforce hard cutoffs, while ungated recurrence and causal attention cause cache saturation and spike-like attention sinks. To resolve this, we formalize geometric propagation as an \emph{evidence influence kernel} and propose Horizon-Stream, a long-horizon Transformer that explicitly factorizes this kernel. For the long-range temporal factor, Geometric Linear Attention learns channel-wise decay rates to enable bounded, multi-timescale propagation of geometric evidence. For the short-range spatial factor, Geometric Local Attention with Spatiotemporal RoPE performs reliable 3D matching while suppressing attention sinks. Finally, Metric Readout Tokens recover stable scale and rigid pose directly from the persistent geometric state. Extensive experiments show that Horizon-Stream, trained on only 48-frame clips, generalizes stably to sequences exceeding \(10{,}000\) frames with constant memory and linear time, achieving state-of-the-art streaming 3D reconstruction performance.
BibTeX
@inproceedings{cheng2026horizon,
  author = {Chong Cheng and Peilin Tao and Nanjie Yao and Guanzhi Ding and Xianda Chen and yuansen du and Xiaoyang Guo and Wei Yin and Weiqiang Ren and Qian Zhang and Zhengqing Chen and Hao Wang},
  title = {{Horizon-Stream: Long-Horizon Attention for Streaming 3D Reconstruction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=HlS4kqyNKV},
}
Figure