LOCI:用于流式世界模型的空间线性记忆

·

研究论文 · 2026/10/02

当相机重访先前观察过的区域时,视频世界模型应能重现该区域原有的内容。这既需要记住过去的观察,也需要为当前视角检索正确的信息。键值缓存能保留视觉细节,但会随视频长度增长;循环记忆紧凑,却将历史压缩为固定大小的状态,导致无法直接访问单个过去的观察。我们提出 LOCI,一种混合空间记忆架构,同时保留这两种表示。在一半的 transformer 块中,主注意力保留过去观察的键值缓存;在另一半中,它被限制在当前块,并由循环线性注意力记忆补充,其读写以投影相机几何为条件,因此视角同时进入记忆寻址和存储内容。循环读出流入后续的缓存支持块,并为其查询提供累积的场景上下文。在公开的 MIND 记忆基准和留存的录制轨迹上,LOCI 比代表性世界模型和相同配方的全 softmax 模型更忠实地重现重访内容;在完整历史下,与全 softmax 相比,在相同长度下将峰值内存降低约 30%。在有限保留观察库下,它以恒定内存流式处理长视频,并在相同预算下比全 softmax 更忠实。

该工作针对视频世界模型中长期记忆与高效检索的权衡,提出结合键值缓存和几何条件循环记忆的混合架构,在保持忠实度的同时显著降低内存,并支持恒定内存流式处理长视频,对世界模型和视频生成领域有实用价值。

When a camera revisits a previously observed region, a video world model should reproduce what was there before. This requires both remembering past observations and retrieving the right one for the current viewpoint. Key-value caches preserve visual detail but grow with video length; recurrent memory is compact but compresses history into a fixed-size state, so individual past observations are no longer directly accessible. We introduce LOCI, a hybrid spatial-memory architecture that keeps both representations. In half of the transformer blocks, main attention keeps a key-value cache of past observations; in the other half, it is restricted to the current chunk and complemented by a recurrent linear-attention memory whose reads and writes are conditioned on projective camera geometry, so viewpoint enters both memory addressing and stored content. Recurrent readouts flow into subsequent cache-backed blocks and supply their queries with accumulated scene context. On the public MIND memory benchmark and on held-out recorded trajectories, LOCI reproduces revisited content more faithfully than representative world models and a same-recipe full-softmax model; with full history, it lowers peak memory at equal length by about 30% relative to full softmax. With a bounded bank of retained observations, it streams long videos at constant memory and remains more faithful than full softmax under the same budget.

阅读原文

参与讨论