TL;DR
This paper introduces LongSpace-Bench, a new long-video benchmark based on real-world room tours to evaluate long-horizon spatial memory in Multimodal Large Language Models (MLLMs). To tackle the limitations of standard context windows, the authors propose LongSpace, a framework that injects 3D geometry-aware perception into early decoder layers and utilizes a hierarchical, layer-aware KV memory system to efficiently retrieve spatial evidence across hour-long videos.
What Problem Does This Paper Address?
While MLLMs are growing increasingly capable of handling long video inputs, they still struggle with tasks requiring long-horizon spatial memory—such as tracking layouts, routes, and object states over extended periods. In real-world applications like robotics and autonomous driving, critical decisions often depend on spatial evidence observed much earlier in a sequence.
Simply expanding the context window to accept more frames is insufficient. Redundant visual tokens dilute crucial spatial cues, and unstructured segment-level information becomes difficult to retrieve. Furthermore, existing spatial benchmarks are largely limited to static images or short video clips, failing to test a model's ability to retain and organize spatial evidence over prolonged observations.
Methods
The authors present LongSpace, a framework that models long videos as sequential chunks and processes them using two core components:
- Spatial Structure Perception (SSP): Rather than relying solely on 2D visual features, SSP fuses 2D visual tokens (from Qwen3-VL) with dense 3D spatial tokens generated by a geometry encoder. These features are injected directly into the early decoder layers of the MLLM, preserving structural cues like depth, orientation, and layout.
- Hierarchical KV Memory (HKM): To maintain a bounded context, LongSpace compresses key-value (KV) states into layer-specific memories based on their structural role. Sensory layers retain fine-grained visual details, working layers track local spatial relations and recent changes, and long-memory layers distill stable temporal anchors and scene summaries.
During question answering, the model treats the question as a query to perform a coarse-to-fine retrieval of relevant KV states, prepending them as a frozen memory prefix to guide final response generation.
Datasets
The paper introduces LongSpace-Bench, a room-tour video benchmark containing 445 videos (~159 hours total) and 4,073 human-annotated QA pairs. It spans video lengths from seconds to hours and covers three levels of spatial ability: scene perception, spatial relations, and spatial memory.
For training, the authors utilize a mixture of ~1.18M spatial instruction samples drawn from three complementary sources:
- VSI-590K: For video-centric indoor spatial reasoning.
- VLM-3R: For 3D-aware visual reasoning and geometry-language alignment.
- SPAR-234K (a sampled subset of SPAR-7M): For spatial relations and layout reasoning.
Key Insights and Ideas
- Memory Structure Trumps Memory Capacity: Ablation studies revealed that simply changing the raw capacity of the memory bank had little impact on performance. Instead, the layer-aware and role-specific organization (sensory vs. working vs. long-term) is what drives effective long-video reasoning.
- Decoder-Side Geometry Injection is Optimal: Injecting 3D geometry features into a moderate number of early decoder layers (specifically 8 layers) is significantly more effective than applying it globally or only at the input embedding stage.
- The Long-Horizon Advantage: The performance gap between LongSpace and standard uniform frame sampling widens dramatically as video length increases. This proves that explicit memory retrieval becomes essential when relevant observations are separated by long temporal intervals.
Key Results
- Benchmark Superiority: LongSpace-9B achieved the highest overall score of 49.2% on LongSpace-Bench, outperforming the strongest open-source baseline (Qwen3-VL-32B at 46.5%) and proprietary models like Gemini-3-Pro (45.3%).
- Task-Level Excellence: LongSpace excelled particularly at memory-intensive tasks, leading the field in Appearance Order (52.5%) and Route Recall (51.8%). Proprietary models like Gemini-3-Pro, however, maintained an edge in high-level planning and scene classification.
- Standard Benchmarks: On the standard VSI-Bench, LongSpace achieved an average score of 70.8%, demonstrating that its geometry-aware perception also benefits local, short-term spatial estimation.
Limitations and Future Work
- Indoor Environment Bias: LongSpace-Bench is built primarily from indoor room-tour videos. Consequently, it does not fully capture the complexities of outdoor environments or dynamic, large-scale open spaces.
- Passive Observation Only: The current framework focuses entirely on observation-based spatial memory. It does not address active exploration, interactive navigation, or object manipulation—capabilities that are critical for fully embodied AI agents and robotics.
Summary updated