Rethinking the State Update Gate for Long-Sequence Recurrent 3D Reconstruction

kejun ren, Lei Jin, Tianxin Huang, Lianming Xu, Li WangNeurIPS 2026

TL;DR

Constant-memory streaming 3D reconstruction models suffer from severe geometric drift on long videos because they treat every incoming video frame as equally important—leading them to overwrite critical scene history within just ~3 frames. By introducing a simple, parameter-free scalar gate that scales each frame's memory update based on how much its internal features have changed since the last frame, the authors slash trajectory errors in half without any retraining or extra compute.

What Problem Does This Paper Address?

Imagine mapping a building in 3D from a live video stream. Batch models (like DUSt3R or VGGT) look at all frames simultaneously, which yields great geometry, but their memory and compute costs explode quadratically with video length.

To run online indefinitely, recurrent models like CUT3R compress the entire video history into a fixed-size state of $N$ tokens ($S_t$). The catch? If every new frame blindly adds to this finite state, old memories get overwritten by redundant data (like staring at a blank wall), causing catastrophic drift. Recent inference-time fixes—like TTT3R—try to regulate this by computing a per-token gate $\beta_t \in [0,1]^N$, deciding where in the state to write. Yet, on thousand-frame sequences, these models still drift badly. Why? Because while they ask which tokens should update within a frame, they completely ignore how strongly an entire frame deserves to write to memory in the first place.

Methods

Instead of training a new network or building a complex Reinforcement Learning policy to drop redundant frames, the authors take inspiration from classical SLAM keyframe selection—turning a hard "keep/discard" rule into a smooth, graded write weight.

Figure 1: Adaptive frame gating for streaming 3D reconstruction. Existing methods (TTT3R, MeMix, TTSA3R) update the recurrent state St with αt ≡1 regardless of frame content, accumulating drift on long sequences. We introduce an adaptive frame gate αt ∈(0, 1] scaled by frame-to-frame feature change, requiring no parameters, training, or extra forward pass. The gate shown is AFG-Pose (Sec. 4.2). Top: Representative frames from a 1000+-frame indoor sequence. Red keyframes (e.g., #321, #805) at significant scene or viewpoint transitions receive large αt (→1); cyan near-duplicates (e.g., #12, #300) receive small αt (∼0.1) and are strongly down-weighted (but never discarded). Bottom-left: Gate αt over the sequence—low during stable motion, spiking at keyframes; existing methods stay at αt ≡1. Bottom-middle: Cumulative ATE—our method maintains a significantly lower and more stable error profile on long sequences, indicating effective drift suppression. Bottom- right: Our update rule (Eq. 4): αt multiplies TTT3R’s per-token gate βt at the state-update site.

They propose Adaptive Frame Gating (AFG), modifying TTT3R's state update rule ($S_t = S_{t-1} + \beta_t \odot \Delta S_t$) with a single scalar multiplier $\alpha_t \in (0, 1]$: $$S_t = S_{t-1} + \alpha_t \cdot \beta_t \odot \Delta S_t$$

Here, $\beta_t$ still handles spatial (token-level) selection, while $\alpha_t$ handles temporal (frame-level) novelty. Crucially, $\alpha_t$ is computed in closed form using features the frozen CUT3R backbone already generates during its standard forward pass—meaning zero new parameters, zero training, and zero extra forward passes. Passing the L2 norm of frame-to-frame feature differences through a shifted sigmoid yields two plug-and-play variants:

  • AFG-Img: Measures changes in the image encoder's spatially averaged global patch features (great for smooth indoor camera pans).
  • AFG-Pose: Measures changes in the decoder's pose token representation (ideal for dynamic walking or driving scenes).

Because the sigmoid has a strict positive lower bound ($\alpha_{\min} > 0$), redundant frames are heavily down-weighted rather than discarded outright, ensuring subtle motions are delayed rather than lost forever.

Datasets

Because AFG is entirely training-free, no training datasets are used. The authors evaluate their plug-in on frozen CUT3R checkpoints across six established benchmarks (ranging from 50 to 4,661 frames; no new benchmarks are introduced):

  • Camera Pose Estimation: TUM-RGBD (dynamic indoor walking), ScanNet (smooth indoor scanning), and KITTI Odometry (long-range outdoor driving).
  • Video Depth Estimation: Bonn (dynamic indoor scenes).
  • 3D Surface Reconstruction: 7-Scenes and NRGBD.

Key Insights and Ideas

  • The 3-Frame Amnesia Bottleneck: Profiling 18.15 million gate values across five datasets revealed that TTT3R's per-token gate $\beta_t$ averages ~110,000 cross-attention logits together, squashing its per-frame average tightly around $0.31$ regardless of scene motion. Viewed as an exponential moving average, $(1 - 0.31)^k$ means a frame's memory decays to near-nothing in $1/\bar{\beta} \approx 3$ frames! By frame 100, frame 0's influence is $\approx 10^{-16}$.
Figure 2: Empirical properties of TTT3R’s per-token learning rate β. (a) Density of β pooled over all (t, n) pairs from 39 sequences across 5 benchmarks (18.15M points). The distribution is sharply concentrated; no measurement exceeds β = 0.6. (b) Per-sequence mean of β grouped by dataset; despite the diverse motion regimes, all five benchmarks lie within [0.27, 0.34]. (c) For a representative long sequence (ScanNet scene0770_00, T = 999), the histogram of all (t, n) values (gray, std = 0.055) is more than twice as wide as the histogram of per-frame means ¯βt (blue, std = 0.024): TTT3R exhibits per-token variation, but the per-frame mean is essentially constant.
  • Selective Forgetting Extends the Horizon 20x: AFG doesn't expand memory capacity; it spends its fixed budget wisely. During redundant stretches where $\alpha_t$ drops to $\approx 0.048$, the effective memory horizon stretches from ~3 frames to ~60 frames, protecting earlier keyframes from being overwritten by near-duplicates.
  • Soft Weights Beat Hard Keyframes: Binarizing the gate into a classic SLAM-style admit/skip decision ($\alpha_t \in \{0, 1\}$) degrades both trajectory and rotation accuracy. Keeping a small floor weight ensures continuous tracking without needing global map checks.

Key Results

Across long-horizon evaluations, this single scalar multiplier delivers striking improvements over TTT3R and concurrent token-gating baselines (MeMix, TTSA3R):

  • Indoor Pose: Cuts Absolute Trajectory Error (ATE) by 51% on long TUM-RGBD sequences ($L \ge 600$, using AFG-Pose) and by 29% on ScanNet (using AFG-Img).
  • Outdoor Driving (KITTI): AFG-Pose drops TTT3R's average ATE by 35.9% (from 68.54 m down to 43.96 m). Remarkably, this zero-cost tweak outperforms both LongStream (51.90 m, retrained from scratch with growing KV-caches) and Keyframe-VO (87.00 m, trained via RL).
  • Depth & 3D Geometry: Reduces depth AbsRel error by 13.0% on Bonn. On 500-frame NRGBD 3D reconstructions, AFG-Img cuts completeness error by 45% compared to TTSA3R, preventing surface fragmentation.

Limitations and Future Work

  • State Saturation Under Constant Novelty: AFG only protects the state from redundant overwrites. If a camera moves rapidly through continuously novel environments without pause, $\alpha_t$ stays near 1, and the fixed-size state will still eventually saturate.
  • Short-Sequence & Rotation Trade-offs: When sequences are short (e.g., KITTI sequence 04 at 271 frames), little drift has accumulated, so dampening writes can slightly hurt accuracy. Similarly, default thresholds trade a minor increase in frame-to-frame relative rotation error ($\text{RPE}_r$) for massive reductions in global trajectory drift.
  • Capped Writes: Because $\alpha_t \le 1$, AFG can only weaken memory updates; attempting to amplify highly novel frames ($\alpha_t > 1$) destabilizes the frozen backbone on outdoor scenes.

Summary updated

Abstract

Streaming 3D reconstruction under a strict constant-memory budget hinges on how the recurrent state is updated as the stream evolves. We profile TTT3R-style per-token gates across five benchmarks and discover a structural bottleneck: the gate is intrinsically bounded in magnitude (median $0.31$; never exceeding $0.6$) and nearly frame-invariant, yielding an effective memory horizon of only $\sim$3 frames per state token, which serves as the structural origin of long-sequence drift. We trace this to a missing axis: existing inference-time methods modulate updates only at the per-token, intra-frame level, while the orthogonal frame-level question of \emph{how strongly each frame should contribute to the state} has been treated as content-independent. We close this gap with a scalar frame-level gate $\alpha_t \in (0, 1]$ derived in closed form from frame-to-frame changes of internal features---a graded write weight, inspired by classical Simultaneous Localization and Mapping (SLAM) keyframe selection, that never discards a frame and requires no parameters, no training, and no extra forward pass. Across six benchmarks spanning camera pose, video depth, and 3D reconstruction at sequence lengths up to $4,661$ frames, our gate cuts ATE by $51\%$ on long TUM-RGBD pose sequences, reduces AbsRel by $13.0\%$ on Bonn video depth, and on KITTI long-sequence pose estimation surpasses both LongStream and Keyframe-VO in average ATE, while retaining strictly constant memory at zero training cost. Code is available at \url{https://github.com/rkj12345/AFG}.
BibTeX
@inproceedings{ren2026rethinking,
  author = {kejun ren and Lei Jin and Tianxin Huang and Lianming Xu and Li Wang},
  title = {{Rethinking the State Update Gate for Long-Sequence Recurrent 3D Reconstruction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=xbkV9cLvUl},
}
Figure