IndoorMem: Floorplan as Spatial Scaffold for Consistent Indoor Video Worlds

Jia Li, Yihang Chen, Han Yan, Xin Ma, Yanghua Jin, Jianfei Cai, Tien-Tsin WongarXiv 2026

TL;DR

Walk out of a generated living room, wander down a hallway, and turn back around—current video world models will likely greet you with an entirely mutated room. IndoorMem fixes this "object permanence" amnesia without relying on brittle, heavy 3D reconstructions. Instead, it uses a lightweight, AI-generated 2D floorplan as a dual-purpose scaffold: a filing cabinet to accurately recall rooms you've already seen, and an architectural blueprint to guide where you go next.

Figure 1. Given an indoor image and exploration trajectory, IndoorMem generates consistent long-horizon indoor videos using a coarse floorplan as both a spatial memory index and a structural blueprint. It preserves scene appearance and structure during extensive exploration and revisits with large viewpoint changes across diverse indoor scenes, as illustrated by the generated videos and reconstructed point clouds.

What Problem Does This Paper Address?

Generating a short video from a single image is now commonplace, but building an explorable world requires spatial memory. Surprisingly, indoor environments are much less forgiving than outdoor ones: walls create tight geometric constraints, doorways cause abrupt context shifts, and constant occlusions hide what is right around the corner.

Existing memory solutions fall into two flawed camps:

  1. 3D-reconstruction-based methods build explicit point clouds on the fly. However, slight depth-estimation errors accumulate over time, leading to warped visuals or misaligned walls that ruin memory lookups.
  2. Reconstruction-free methods either compress history into fixed neural states (which struggle to recall specific spatial details after multiple room changes) or use camera Field-of-View (FoV) overlap as a shortcut—blissfully unaware that two overlapping camera frustums might have a solid drywall between them.

Furthermore, past memories alone don't tell a model how to build unseen rooms, often leading to structural collapse during long walks.

Figure 2. Limitations of representative memory mechanisms. Left: 3D-reconstruction-based memory relies on estimated 3D representations, which may (a) cause distortions during target-view rendering or (b) suffer from inaccurate spatial indexing due to accumulated reconstruction errors, e.g., a wall reconstructed from the yellow view incorrectly occludes the cabinet in the blue view. Right: Reconstruction-free memory either (c) uses FoV overlap as a retrieval heuristic, ignoring architectural occlusions, or (d) encodes historical observations into memory states, making precise recall challenging without explicit spatial indexing.

Methods

IndoorMem bypasses dense 3D reconstruction by anchoring standard Diffusion Transformer (DiT) video generation (specifically, a LoRA-tuned MiniMax-H3 backbone) to a unified spatial scaffold.

Here is how the pipeline unfolds:

  • Floorplan Initialization: Given a starting image or text prompt, an off-the-shelf Multimodal Large Language Model (MLLM) writes code in an extended Floorplan Markup Language (FML). This synthesizes a plausible, furniture-free 2D floorplan that respects the starting view while imagining adjacent rooms, doors, and windows.
  • Tile-indexed Memory (Novel): The floorplan is sliced into a 2D grid of tiles. As video frames are generated, 2D ray-casting logs which frames clearly saw which tiles—explicitly accounting for wall occlusions and which side of a wall was viewed. When navigating a new trajectory, the system queries target-visible tiles and uses a greedy maximum-coverage algorithm to retrieve up to $K=8$ optimal historical frames.
  • Layout-aware Guidance (Novel): Extruding the 2D floorplan into a bare-bones 3D box proxy (walls, floor, ceiling) allows the system to render ego-view depth maps blended with semantic color codes (wall, door, floor, ceiling, window). It even animates doors swinging open as the camera approaches!
  • Spatially Masked Memory Attention (Novel): A retrieved historical frame might show the hallway you are looking at plus a kitchen you can no longer see. By reprojecting patches onto the coarse 3D room proxy, IndoorMem builds a binary visibility mask, setting attention logits to $-\infty$ for non-co-visible regions so irrelevant history doesn't bleed into the new frame.

Datasets

  • Training: A synthetic dataset built by rendering 675 multi-room scenes from ProcTHOR, resulting in 9,516 clips (243 frames each at $832 \times 480$ resolution).
  • Evaluation: A newly curated benchmark of 407 long-horizon sequences (972 frames each) explicitly designed with "observe-leave-revisit" trajectories from altered viewpoints. It starts from 207 synthetic images (via GPT-Image 2) and 200 real-world indoor photos from RealEstate10K and DL3DV, paired with MLLM-initialized floorplans (via GPT-6).

Key Insights and Ideas

  • Less 3D is more: Constraining only the bare architectural bones (walls and doors) hits a sweet spot. It prevents structural collapse and solves room-level occlusions while leaving the video diffusion model complete creative freedom to invent furniture, textures, and lighting—and handle fine object-level occlusions naturally.
  • Semantics prevent "Kool-Aid Man" transitions: Depth maps alone tell a model a wall is approaching, not how to pass through it. Blending semantic labels (like animated doors) into the depth guidance prevents the video model from abruptly hallucinating doors onto solid walls mid-stride.
  • Attention needs spatial blinders: Retrieving the right frame isn't enough. Without spatially masking out unseen parts of retrieved frames, standard self-attention accidentally copies objects (like kitchen cabinets from frame zero) into completely different rooms.

Key Results

Evaluated against nine state-of-the-art video world models (including Matrix-Game-3.5, Lyra 2.0, and HY-WorldPlay), IndoorMem leads across the board:

  • Multi-view Consistency: On revisit pairs seen from different angles, IndoorMem cuts the MEt3R consistency error to 0.425 (vs. 0.656 for the runner-up) and drops the Zero-Overlap Rate—where consistency fails so badly that geometric correspondence breaks—from 16.74% down to 5.81%.
  • Camera Control: Achieves massive accuracy gains, slashing rotation error to 28.58 (vs. 54.16 second-best) and translation error to 1.207 (vs. 2.021).
  • Blistering Retrieval Speed: Because 2D floorplan ray-casting is geometrically trivial, memory writing and retrieval take just 0.088 seconds per 243-frame clip—roughly 63× faster than implicit 3D memory (5.54 s/clip) and 105× faster than point-cloud-indexed memory (9.289 s/clip).

Limitations and Future Work

Not discussed in the paper.

Summary updated

BibTeX
@misc{li2026indoormem,
  author = {Jia Li and Yihang Chen and Han Yan and Xin Ma and Yanghua Jin and Jianfei Cai and Tien-Tsin Wong},
  title = {{IndoorMem: Floorplan as Spatial Scaffold for Consistent Indoor Video Worlds}},
  year = {2026},
  eprint = {2611.35610},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.35610},
}
Figure