LOCI

LOCI  ·  Spatial Linear Memory for Streaming World Models

Look away.Come back.It's still there.

A streaming world model that remembers the places it has seen, so every revisit shows the same world.

LOCI: Spatial Linear Memory for Streaming World Models

Ji Xia1 · Tingting Liao1 · Xuezhi Liang1 · Hao Li2,3 · Guangyi Liu1,†

1 Institute of Foundation Models, Mohamed bin Zayed University of Artificial Intelligence
2 Mohamed bin Zayed University of Artificial Intelligence   3 Pinscreen
† Corresponding author

Abstract

LOCI is a hybrid spatial memory for streaming video world models. Half of the transformer blocks keep a key–value cache of past observations; the other half pair current-chunk attention with a recurrent linear-attention memory whose reads and writes are conditioned on camera geometry. On MIND and held-out recorded trajectories, LOCI reproduces revisited content more faithfully than representative world models, and with a bounded bank of retained observations it streams long videos at constant memory.

+0.89dB
PSNR over a same-recipe full-softmax model under an identical bounded KV budget (MIND, all 50 segments; better in 44 of 50)
+1.82dB
PSNR above the strongest streaming world model we run on MIND (HY-WorldPlay)
~30%
lower peak memory than full softmax at equal length, full history; reachable length 157 s → 225 s
300s
streamed at a constant 23.6 GiB with bounded sparse access
Teaser: returning to a previously seen place. LOCI restores the tree and the building; full softmax replaces them.
Returning to a previously seen place. Each model continues the recorded video (top: full history; bottom: held-out Tokyo map, same bounded KV budget). Full softmax, trained with the same recipe, replaces the tree with a facade and loses the building; LOCI restores both (PSNR against ground truth; insets magnify the boxed region). Band: a fixed-size recurrent state shapes the queries into the retained KV.

Scroll to move the camera

Start here.

Then. Now.

Same camera pose, a minute apart. On the left, the first time the model drew the view. On the right, the view after a full turn and a walk. Drag to compare.

First seen Revisited

Method

Two traces of the past. Working together.

A camera-conditioned recurrent state summarizes the whole history at fixed size, while retained key–value (KV) features preserve observation-level evidence; the recurrent readout then guides attention toward the relevant retained views.

Key idea of LOCI
Key idea. Recurrent memory integrates historical context, while retained KV preserves observation-level detail.
Conceptual illustration of LOCI
Overview. At a revisit, the recurrent readout shapes the queries that attend to co-visible retained observations.
  1. Hybrid layoutFifteen blocks add recurrent Kimi Delta Attention (KDA); fifteen keep softmax attention over retained keys and values.
  2. Projective camera encodingPRoPE conditions the recurrent memory on each token's camera ray, so reads depend on viewpoint.
  3. Chunk-synchronous memoryWrites use the delta rule; retention is applied once per chunk, so forgetting follows elapsed video time.
  4. Dense or bounded historyBounded mode attends to at most 34 latent frames, while the recurrent state carries the whole history.

What it keeps.

A fixed-size recurrent state takes in every frame; a bounded set of retained frames keeps sharp detail of the views that cover the scene best.

  • Sink frameThe first view. Always kept.
    1
  • AnchorsEarly views, pinned and never dropped.
    0
  • Coverage bankOlder views chosen to cover the scene, up to 20.
    0
  • Recent windowThe last 8 frames, for smooth motion.
    0
  • Recurrent stateKDA layers fold every frame into a fixed-size state, read through camera geometry.
    0
0 s

Results

Revisits, measured. Against the recording.

Evaluated zero-shot on the MIND memory test over the entire prediction segment; full softmax is the same backbone and recipe with softmax attention in all 30 blocks. Protocol details are in the paper.

MIND memory test

MethodParamsTrained on MINDnMSE ↓PSNR ↑SSIM ↑LPIPS ↓
Reference (reported in the GIM-World paper)
SSM–✓–0.079611.960.3950.744
FramePack–✓–0.076412.040.3760.706
Context-as-Memory–✓–0.070612.500.3920.695
GIM-World1.3B✓–0.061413.400.4140.630
Run by us (entire prediction segment)
HY-WorldPlay8B×500.071012.540.3980.715
Matrix-Game 3.05B×490.086611.690.3730.666
AlayaWorld15B×500.090811.330.3580.683
Alaya-EVOKE14B×500.088411.140.3470.710
LingBot-World28B×500.095511.330.3310.703
CaR‡5B×360.053813.850.4580.622
LOCI (ours)5B×500.045514.360.4640.643
LOCI (bounded sparse)5B×500.062213.020.4090.679

LOCI is best among the models we ran; reference rows are as reported in the GIM-World paper. ‡CaR: 36 shortest segments only.

Qualitative revisit comparison on held-out recorded trajectories
Qualitative revisit comparison. On return, LOCI restores the previously observed scene, whereas the other models replace or distort it.

Hybrid vs. full softmax, same backbone, data and recipe

Data mixtureHistorynPSNR ↑LPIPS ↓
SoftmaxLOCIΔ [95% CI]SoftmaxLOCIΔ [95% CI]
Uniformbounded5012.1712.85+0.67 [+0.42, +0.93]0.7000.680−0.020 [−0.028, −0.011]
UE-weightedbounded5012.1313.02+0.89 [+0.64, +1.15]0.7040.679−0.024 [−0.034, −0.015]
UE-weightedfull3213.9014.25+0.35 [+0.08, +0.62]0.6690.641−0.029 [−0.040, −0.018]

Paired differences (LOCI − full softmax) with 95% bootstrap intervals.

Long-range recall under the same bounded KV budget
Long-range recall under the same bounded KV budget. LOCI restores places first seen over 60 s earlier; full softmax replaces them.
Localized consistency at short-horizon revisits
Localized consistency at short-horizon revisits. Local DINOv2 error is significantly lower for LOCI.
Peak GPU memory versus generated length
Cost versus generated length on a 300 s trajectory (single H200): peak GPU memory.

Long-horizon generation and cost

Replacing half of the historical-KV layers with recurrent state extends the reachable length from 157 s to 225 s. Under bounded sparse access, LOCI runs the full 300 s at a constant 23.6 GiB.

Any world. Same memory.

Each world starts from a single image: a photograph, an engine render, or a generated painting. Open one to watch it explored along several camera paths.

Data

Training data

Unreal Engine scenes and CARLA towns that we rendered, plus real walking videos from Sekai. No MIND clips are used.

Held-out recorded trajectories

Held-out 40 s walk-through clips that repeatedly return to earlier viewpoints.

DatasetHugging Face · sum0214/LOCI-revisit-data

Live. On one GPU.

A 4-step distilled student streams the world as you steer it. This clip is a recording of the interactive demo: the keys lit below are the ones that were held.

Read more.

BibTeX

@article{xia2026loci,
  title={LOCI: Spatial Linear Memory for Streaming World Models},
  author={Xia, Ji and Liao, Tingting and Liang, Xuezhi and Li, Hao and Liu, Guangyi},
  journal={arXiv preprint arXiv:2609.40222},
  year={2026}
}