NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ZipMap: Linear-Time Stateful 3D Reconstruction via Test-Time Training

Haian Jin, Rundi Wu, Tianyuan Zhang, Ruiqi Gao, Jonathan T. Barron, Noah Snavely, Aleksander Hołyński

TL;DR

ZipMap introduces a stateful feed-forward 3D reconstruction model that scales linearly ($O(N)$) with the number of input frames, overcoming the quadratic bottleneck of current state-of-the-art transformers. By leveraging Test-Time Training (TTT) layers, it compresses an entire image sequence into a compact hidden scene state in a single forward pass, enabling the reconstruction of over 700 frames in under 10 seconds while matching or exceeding the accuracy of much slower quadratic-time methods.

What Problem Does This Paper Address?

Feed-forward transformer models like VGGT and $\pi^3$ have revolutionized 3D vision by predicting dense geometry and camera poses directly from images. However, to maintain geometric consistency across multiple views, these models rely on global self-attention mechanisms. This causes their computational complexity to scale quadratically ($O(N^2)$) with the number of input images, making them completely impractical for long video sequences or large image collections.

Existing linear-time alternatives typically process frames sequentially, which leads to error accumulation and significantly degraded reconstruction quality. ZipMap solves this scalability-vs-quality trade-off, providing a highly efficient, globally coherent, and bidirectional 3D reconstruction pipeline.

Methods

ZipMap replaces expensive global self-attention with a linear-cost backbone that interleaves per-frame local window attention (to capture spatial relationships within each view) with global Large-Chunk Test-Time Training (TTT) layers (built on the LaCT architecture).

Instead of maintaining an ever-growing token buffer, the TTT layer compresses the global visual context into the "fast weights" of a SwiGLU-MLP via a single online gradient descent step during the forward pass. This step optimizes a virtual key-value reconstruction objective, turning the MLP into an in-context associative memory of the scene.

ZipMap Method Overview showing the tokenization, local window attention, and Large-Chunk TTT layer pipeline.

The model features four prediction heads:

  1. Camera Head: Predicts camera poses (4D quaternions, translations, and intrinsics).
  2. Point Head: Predicts local 3D point maps.
  3. Depth Head: Predicts depth maps along with self-learned confidence maps to filter out inference noise.
  4. Query Head: Samples the fast-weight MLP using target ray maps to synthesize novel views in constant real time (~100 FPS), independent of the sequence length.

Datasets

The model is trained in three stages on a diverse collection of 29 publicly available datasets, incorporating both static scenes and dynamic sequences. Evaluation is performed across a comprehensive suite of standard benchmarks:

  • Camera Pose Estimation: RealEstate10K, Co3Dv2, Sintel, TUM Dynamics, ScanNet, and DL3DV.
  • Point Map Estimation: 7-Scenes, NRGBD, DTU, and ETH3D.
  • Video Depth Estimation: Sintel, Bonn, KITTI, and NYU-v2.

No new datasets were introduced, but the evaluation heavily stresses long-sequence performance (up to 750 frames) on datasets like DL3DV to demonstrate linear scaling.

Key Insights and Ideas

  • Compression as Attention: The core "aha" moment is that updating a nonlinear MLP's weights via a single gradient step can act as a highly efficient, linear-time alternative to global self-attention. Querying this updated MLP is functionally analogous to cross-attention but runs in $O(1)$ time per token relative to sequence length.
  • Stateful Scene Representation: Because the scene context is baked directly into the model's weights during the forward pass, ZipMap naturally creates an implicit scene representation. This allows the model to perform both 3D reconstruction and real-time novel view synthesis simultaneously without needing an explicit NeRF or Gaussian Splatting optimization step.
  • 3D Priors for Unseen Regions: When queried at unobserved viewpoints, the model doesn't just fail or output noise; it extrapolates plausible structural geometry (like floors and walls), demonstrating that the network has internalized strong 3D structural priors during training.

Key Results

  • Massive Speedups: ZipMap processes over 700 frames in under 10 seconds on a single NVIDIA H100 GPU (~75 FPS). This is over 20× faster than VGGT at 750 frames, which takes over 200 seconds due to its quadratic scaling.
  • Maintained/Superior Accuracy: On the ScanNetV2 and DL3DV benchmarks, ZipMap matches or outperforms quadratic-time baselines ($\pi^3$, VGGT) in Absolute Trajectory Error (ATE), while alternative linear-time methods (CUT3R, TTT3R) see their errors explode as the sequence length grows.
  • Robust Geometry: It achieves state-of-the-art point map estimation among linear-time models on DTU and ETH3D, significantly outperforming sequential baselines.
Figure 1. ZipMap is an efficient feed-forward 3D reconstruction model whose runtime scales linearly with the number of input views while maintaining or exceeding the reconstruction quality of state-of-the-art quadratic-time systems. Left: Given a long input sequence, ZipMap reconstructs image depths, dense 3D point clouds, and camera trajectory in a single forward pass. Right: Compared to quadratic-time models (VGGT and π3), ZipMap matches or surpasses their prediction accuracy (lower ATE, top) while scaling linearly in runtime (bottom). At 750 frames, our method runs in under 10 seconds, over 20× faster than VGGT.

Limitations and Future Work

  • Deterministic Extrapolation: While the model can infer unseen structures (like walls and floors), its deterministic nature means it cannot hallucinate high-frequency details or entirely novel objects in unobserved regions.
  • Memory Footprint of Fast Weights: The state size per layer is relatively large ($6d^2$ where $d=1024$), which can be memory-intensive across 24 layers.
  • Streaming vs. Bidirectional: Although ZipMap can be extended to sequential streaming reconstruction by updating fast weights frame-by-frame, the primary focus and best results come from the bidirectional setting where chunks of frames are processed together. Further optimization for pure online streaming remains an open direction.

Summary updated

BibTeX
@inproceedings{jin2026zipmap,
  author = {Haian Jin and Rundi Wu and Tianyuan Zhang and Ruiqi Gao and Jonathan T. Barron and Noah Snavely and Aleksander Hołyński},
  title = {{ZipMap: Linear-Time Stateful 3D Reconstruction via Test-Time Training}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=JHCJP174zm},
}

Loading related content...

Figure