GHOST: Geometry-Hierarchical Online Streaming Token Eviction for Efficient 3D Reconstruction

Leyang Chen, Junyi Wu, Zhiteng Li, Yulun ZhangNeurIPS 2026

TL;DR

Reconstructing 3D worlds from long, continuous video streams usually forces AI models into an impossible choice: run out of memory, or start forgetting crucial pieces of the room. GHOST solves this without any extra training by teaching the model to clean out its own memory using the 3D geometry it is already predicting—tossing out blank walls while keeping structural edges and camera landmarks. The result is sharper 3D reconstructions using nearly half the memory and running $1.75\times$ faster than previous state-of-the-art methods.

What Problem Does This Paper Address?

Modern vision transformers can look at a sequence of 2D video frames and spit out a dense 3D reconstruction—depth maps, 3D point clouds, and camera trajectories—in a single pass. To do this continuously on a live video stream, the model stores past observations in a "key-value (KV) cache," which acts as its working memory.

The catch? As the video rolls on, that memory grows linearly until your GPU chokes.

To cap memory usage, existing streaming models evict older data tokens. Borrowing tricks from large language models, they usually drop tokens based on attention scores or "key-space similarity"—essentially throwing away historical data that doesn't mathematically resemble what the camera is looking at right now. However, 3D space isn't text. Just because you are currently staring at a blank drywall doesn't mean you should forget the intricate, structural corner of the room you saw two minutes ago. Current eviction heuristics are blind to 3D geometry.

Figure 2: Correlation between Key-sim score and two frame attributes: Left: Negligible linear correla- tion between Key-sim score and camera pose change (ρ = −0.07); right: Moderate positive linear correla- tion between Key-sim score and depth gradient variance (ρ = +0.31). Dashed lines denote linear fitting trends.

Methods

Built on top of the streaming reconstruction model StreamVGGT, GHOST (Geometry-Hierarchical Online Streaming Token Eviction) is a training-free memory manager. Instead of relying on attention heuristics, it recycles the model's own 3D outputs (depth, point maps, and camera poses) to decide which tokens live and which get evicted. It introduces three main innovations:

  1. Hierarchical Dual-Level Importance Scoring: GHOST evaluates memory at two levels. First, a frame-level score checks if a viewpoint is distinctive by measuring camera pose changes, depth variation, and recency. Second, a token-level score zooms into the image patches, combining visual feature gradients (edges/textures) with the model's own depth and 3D point confidence scores. A patch only survives if it is an informative region inside a geometrically valuable frame.
  2. Special-Token Privilege: Vision transformers use non-image "camera" and "register" tokens to anchor global scene structure and camera pose. Because they have no visual texture, standard scoring accidentally deletes them. GHOST gives these tokens a deterministic priority boost so the model doesn't lose its global bearings.
  3. Layer-Wise Budget Allocation: Not all transformer layers work equally hard. By profiling the network offline once—measuring the cosine similarity between each layer's input and output—GHOST spots "near-identity" layers that barely change the data. It starves those lazy layers of memory and funnels the token budget to layers doing heavy geometric transformations.

Datasets

Because GHOST requires no model training, datasets are used strictly for evaluation (plus a tiny held-out set of sequences for hyperparameter tuning and offline layer profiling). No new benchmarks are introduced. The authors evaluate across four existing datasets:

  • Bonn: Evaluated for depth estimation (200–500 frames).
  • 7-Scenes & NRGBD: Indoor RGB-D benchmarks used to test 3D surface reconstruction across 300, 400, and 500 frames.
  • Long3D: A long-horizon benchmark featuring massive sequences ranging from 2,128 to 9,545 frames (e.g., Library, Academic Building) to stress-test memory scaling.

Key Insights and Ideas

  • Attention similarity is geometrically blind: The authors checked the correlation between standard key-similarity eviction scores and actual camera movement. The Spearman correlation was $-0.07$—essentially random noise. A massive camera pan introduces vital triangulation data, yet standard cache managers can't tell the difference.
  • Two-level filtering prevents wasted budget: Keeping an entire keyframe wastes memory on flat floors and ceilings; keeping only textured patches across all frames floods the cache with redundant views of the same noisy rug. Combining frame and patch scores solves both.
  • The heavy lifting happens in the middle: When profiling the 24-layer backbone, Layers 1–9 acted almost like pass-throughs (input-output cosine similarity near $0.95\text{–}1.00$), whereas Layer 15 warped representations dramatically (similarity $\approx 0.61$). Giving Layer 15 the lion's share of the memory budget yielded better reconstructions than even sophisticated gradient- or Hessian-based pruning methods.

Key Results

Across all four benchmarks, GHOST consistently outperforms streaming baselines like CUT3R, TTT3R, Point3R, and InfiniteVGGT (while standard offline VGGT immediately hits out-of-memory errors).

Figure 1: Radar comparison across 7-Scenes, NRGBD and Bonn, averaged over all input lengths. Metrics with downward arrows are inverted for this plot, so farther from the cen- ter is better.
  • Higher Accuracy & Stability: On 7-Scenes (300 frames), GHOST slashes mean reconstruction error by $42.5\%$ compared to InfiniteVGGT ($0.040 \to 0.023$). On NRGBD, as sequence lengths grow from 300 to 500 frames, InfiniteVGGT's error degrades by $+56.9\%$, while GHOST stays rock-steady around $0.045$.
  • Scaling to Thousands of Frames: On Long3D, GHOST's advantage widens with video length, improving accuracy by $33.5\%$ on Library (4,726 frames) and $24.6\%$ on Academic Building (9,545 frames).
  • Half the Memory, Nearly Double the Speed: When GHOST's token budget is cut in half ($600\text{k}$ vs. InfiniteVGGT's $1.2\text{M}$), it still matches InfiniteVGGT's accuracy ($0.041$ vs. $0.040$) while dropping KV-cache memory by $49\%$ ($6.94\text{ GB} \to 3.51\text{ GB}$) and running $1.75\times$ faster.

Limitations and Future Work

While GHOST avoids neural network retraining, it isn't completely plug-and-play out of the box: the authors note that it still requires a one-time offline forward pass on a small set of sequences (13 sequences in their setup) to profile the layers, alongside a lightweight grid search on held-out videos to pick the six scoring weights (though ablations show the model isn't overly sensitive to exact weight values). The main text also notes that cross-backbone generalization and dynamic scenes delimit the scope of these findings (pointing readers to an appendix), leaving explicit Future Work directions otherwise not discussed in the paper.

Summary updated

Abstract

Streaming 3D reconstruction from long monocular video sequences requires maintaining a key-value (KV) cache that grows linearly with sequence length, creating a severe memory bottleneck. Existing approaches either truncate the cache to a fixed set of anchor frames, leading to reconstruction quality degradation, or rely on attention-score heuristics that are agnostic to 3D scene structure, failing to preserve geometrically valuable tokens. To address these problems, we present GHOST (Geometry-Hierarchical Online Streaming Token Eviction), a KV cache management framework that requires no additional model training and uses the model's own 3D geometry outputs to evict redundant tokens online. GHOST introduces three mutually reinforcing innovations: a hierarchical dual-level importance scoring scheme, a privilege mechanism that prioritizes special tokens for retention, and a cosine-similarity-guided layer-wise budget allocation. Experiments on various benchmarks show that GHOST preserves excellent reconstruction quality while cutting the KV cache by nearly half and delivering $1.75\times$ faster inference compared to state-of-the-art methods. Our code is available at https://github.com/lokiniuniu/GHOST.
BibTeX
@inproceedings{chen2026ghost,
  author = {Leyang Chen and Junyi Wu and Zhiteng Li and Yulun Zhang},
  title = {{GHOST: Geometry-Hierarchical Online Streaming Token Eviction for Efficient 3D Reconstruction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=qhHNkQs6l0},
}
Figure