Fast Spatial Memory with Elastic Test-Time Training

Ziqiao Ma, Xueyang Yu, Haoyu Zhen, Yuncong Yang, Joyce Chai +1 more
4/8/2026
3 citations
cs.CVcs.GRcs.LG

No official code found. Best implementation: Mars-tin/fast-spatial-mem (113 stars, Python, last commit 2026-04-10).

Abstract

Large Chunk Test-Time Training (LaCT) has shown strong performance on long-context 3D reconstruction, but its fully plastic inference-time updates remain vulnerable to catastrophic forgetting and overfitting. As a result, LaCT is typically instantiated with a single large chunk spanning the full input sequence, falling short of the broader goal of handling arbitrarily long sequences in a single pass.

Show full abstract

We propose Elastic Test-Time Training inspired by elastic weight consolidation, that stabilizes LaCT fast-weight updates with a Fisher-weighted elastic prior around a maintained anchor state. The anchor evolves as an exponential moving average of past fast weights to balance stability and plasticity. Based on this updated architecture, we introduce Fast Spatial Memory (FSM), an efficient and scalable model for 4D reconstruction that learns spatiotemporal representations from long observation sequences and renders novel view-time combinations. We pre-trained FSM on large-scale curated 3D/4D data to capture the dynamics and semantics of complex spatial environments. Extensive experiments show that FSM supports fast adaptation over long sequences and delivers high-quality 3D/4D reconstruction with smaller chunks and mitigating the camera-interpolation shortcut. Overall, we hope to advance LaCT beyond the bounded single-chunk setting toward robust multi-chunk adaptation, a necessary step for generalization to genuinely longer sequences, while substantially alleviating the activation-memory bottleneck.

View on arXivView PDF

Code Implementations(1)

Fast Spatial Memory with Elastic Test-Time Training (4D-LRM + 4D-LVSM)

1131Python, CudaMay 30, 20257 months agoNOASSERTION

Similar Papers

Cite this paper

@article{ma2026fast,
  title  = {Fast Spatial Memory with Elastic Test-Time Training},
  author = {Ziqiao Ma and Xueyang Yu and Haoyu Zhen and Yuncong Yang and Joyce Chai and Chuang Gan},
  year   = {2026},
  eprint = {2604.07350},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.07350v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.07350.svg)](https://codeofpaper.com/paper/2604.07350)

Discussion