Ad
Skip to content

Microsoft Research's Mirage gives video generation a persistent spatial memory that doesn't forget what's around the corner

Image description
Nano Banana Pro prompted by THE DECODER

Mirage is a new video world model that skips the costly detour through pixel-based memory. That speeds up generation and keeps a scene's spatial structure stable even during long camera moves. Researchers from several universities built it with Microsoft Research.

Video world models turn a starting frame and a camera path into plausible moving images, handy for simulations or as world simulators. But without some kind of memory, even strong generators lose track of space over time. A corner of a room you've already passed looks different when the camera swings back. Furniture shifts, and textures change.

Systems like Voyager, WonderWorld, and Spatia try to fix this with a 3D point cloud that gets fed a steady stream of color data. Every new generation step has to render that cloud and then translate the result back into the model's internal feature space. Microsoft's new paper calls this a double bottleneck: It eats compute, and information leaks out every time the data passes through pixel space.

Mirage takes a different approach. Rather than holding onto visible color points, it stores the internal image features the diffusion model already uses. Each feature gets a spot in 3D space, which turns it into an entry in spatial memory.

Comparison diagram of two video world model pipelines. Top: an RGB point cloud memory with a render-and-encode loop. Bottom: Mirage's latent spatial memory, built and read directly in latent space.
Two video world model pipelines side by side. Top: an RGB point cloud memory with a render-and-encode loop. Bottom: Mirage's latent spatial memory, built and read directly in latent space. | Image: Wang et al.

To generate a new viewpoint, the model projects this store straight onto the target camera and hands the result to the generator, skipping the step of rendering a point cloud and re-encoding it. The authors say this also slashes memory use, since the data sits in the model's compact internal resolution instead of at full image size.

How the memory grows with each step

Mirage builds videos in segments, seeding the spatial memory from the starting image. For every later segment, the system pulls the relevant data from memory, generates the new frames, then writes their contents back to the cache. The memory keeps growing as it goes.

Mirage pipeline in which a VAE plus depth estimation builds the latent cache from the first frame. Each generation chunk reads from it via readout and updates it via write, while the latent 3D representation grows over time from t0 to tN.
Mirage seeds the latent cache from the starting image, then reads from it and writes to it chunk by chunk, keeping static scene content intact across the whole run. | Image: Wang et al.

A filter keeps the system from tripping over itself by stripping out moving objects and the sky before writing, so only stable geometry lands in long-term memory. The researchers built on Alibaba's open-source video model Wan2.2, bolting on a small add-on module that teaches the model to use the new memory, then fine-tuning the whole thing with LoRA adapters.

Faster and lighter than color-based rivals

On the WorldScore benchmark, Mirage beats its closest rival Spatia, which still keeps memory as color points, and leaves general video generators like Wan2.1 and CogVideoX far behind. It shines at holding a scene's spatial structure together and keeping surfaces looking consistent across many frames.

It also leads two of three metrics on the RealEstate10K dataset in the closed-loop test. Here the camera circles back to its starting point, a brutal stress test because every tiny error piles up over the full path.

Two bar charts across five generation chunks. Left: average generation time per frame. Right: peak cache VRAM. Mirage stays consistently low on both metrics, while Spatia, VMem, and Gen3C climb sharply.
Mirage holds compute time and memory nearly flat across the whole run, while rival models get hungrier with every chunk. | Image: Wang et al.

Efficiency is Mirage's strongest point. Color-based memory scales badly on longer runs and keeps demanding more graphics memory. Mirage's compute cost per frame barely moves after the first segment. The researchers put the total gain at up to 10.57x faster generation and up to 55x less memory than color-based systems.

They're upfront about one catch. Moving objects get dropped at segment boundaries because their geometry can't be trusted, and the filter deliberately tosses them out. Busy scenes gain less from spatial memory than quiet interiors do. The team points to storing dynamic content as the obvious next problem to solve.

You can find more on Mirage on the project page. Microsoft also runs a GitHub repository for Latent Spatial Memory.

Video world models are one of the hottest research areas in AI video right now. Models like Veo mostly produce single, internally consistent clips, while world models try to make a scene navigable and keep it consistent over time. Google Deepmind showed this off recently with Genie 3, which spins up interactive environments in real time and holds them for several minutes. At I/O, Google also pitched Gemini Omni as a world model and the potential successor to its text-to-video model Veo.

AI News Without the Hype – Curated by Humans

Subscribe to THE DECODER for ad-free reading, a weekly AI newsletter, our exclusive "AI Radar" frontier report six times a year, full archive access, and access to our comment section.

Read on for the full picture.
Subscribe for hype-free coverage.

  • Full access to every article on THE DECODER
  • No ads
  • Join the comments and community discussions
  • A weekly AI news recap via mail
  • 6x/year: "AI Radar" — deep dives on the AI topics that matter most
  • Daily AI news, always up to date
  • Our full ten-year archive
  • Covered by a team with 10+ years in AI
Subscribe to The Decoder