TL;DR
MirrorWorld is a new framework designed to fix the "broken mirrors" often seen in AI-generated videos. By explicitly modeling the semantic and geometric relationships between a scene and its reflection, it ensures that mirror content is both contextually accurate and spatially consistent with the surrounding environment.
What Problem Does This Paper Address?
While modern Video Diffusion Models (VDMs) can generate stunningly realistic scenes, they often fail spectacularly when it comes to mirrors. Because mirrors are essentially "windows" into the rest of the scene, their content is strictly constrained by what is happening outside the mirror.
Current VDMs often treat mirror regions like any other part of an image, leading to three main issues:
- Incorrect Content: The mirror might show a chair when there is a suitcase in front of it.
- Spatial Mismatches: The reflection might be at the wrong angle or position.
- Temporal Flickering: The reflected objects might change shape or disappear between frames.
As shown in Figure 1, even advanced models like Veo 3.1 struggle to maintain these scene-to-mirror relationships, often hallucinating unrelated objects or implausible arrangements.
Methods
The authors propose MirrorWorld, a reflection-aware video inpainting framework. It breaks the problem down into two complementary questions: What should be reflected, and how should it be arranged?
To answer these, they introduce two key components integrated into a conditional VDM:
- Semantic Relation Distillation (SRD): This component addresses the "what." It uses a frozen visual foundation model (VideoMAE-V2) to extract semantic relationships from the target video. It then "distills" this knowledge into the diffusion model, forcing the features inside the mirror region to maintain the same semantic associations with the visible scene as found in the foundation model.
- Geometric Transformation Alignment (GTA): This component addresses the "how." It learns a feature-space mapping (an affine transformation) that guides how visible scene content should be spatially warped into the mirror region. To ensure temporal smoothness, GTA aggregates information from a local temporal window (typically 5 frames) to predict these transformations.
The overall architecture, illustrated in Figure 2, allows the model to reconstruct missing mirror regions by aligning them with the visible "source" features of the scene.
Datasets
The researchers constructed a new, unified benchmark for video mirror reflection generation by repurposing four existing datasets originally designed for mirror detection and segmentation:
- VMD-D
- ZOOM
- MMD
- DVMD-D
The resulting benchmark contains 1,242 video clips (over 45,000 frames) covering diverse real-world scenes, camera motions, and mirror shapes. The data split was performed at the source-video level to prevent "content leakage" between training and testing sets.
Key Insights and Ideas
- Decomposition is Key: By separating the problem into semantic ("what") and geometric ("how") constraints, the model can be supervised more effectively than by using a standard reconstruction loss alone.
- Foundation Models as Relational Teachers: Generative models are great at creating textures, but foundation models (trained on massive datasets for understanding) are better at capturing the underlying relational structure of a scene. MirrorWorld leverages this by using the foundation model as a "teacher" for scene-to-mirror relationships.
- The "Sweet Spot" of Temporal Context: The authors found that a moderate local temporal window (K=5) is optimal for geometric alignment. Too little context leads to instability, while too much context can dilute the specific geometric cues needed for a single frame.
Key Results
MirrorWorld was compared against both image-based reflection models (like MirrorVerse) and strong video inpainting baselines (like VACE).
- Quantitative Superiority: MirrorWorld achieved the best scores across all mirror-region reconstruction metrics, including PSNR (14.005), SSIM (0.504), and LPIPS (0.488). It also showed the best global video quality with the lowest FVD (184.868).
- Qualitative Consistency: As seen in Figure 3, MirrorWorld avoids the common pitfalls of other models, such as duplicating objects or placing them in the wrong spot. For example, in bathroom scenes, it correctly aligns wall boundaries and fixtures that other models miss or distort.
- Temporal Stability: The model achieved the lowest flow warping error ($E_{warp}$), indicating that its reflections are significantly more stable over time compared to frame-by-frame generation methods.
Limitations and Future Work
The primary limitation of MirrorWorld is its reliance on "visible" content. As a reconstruction-based framework, it assumes the content to be reflected is at least partially visible in the camera's field of view (FOV).
If a mirror reflects something entirely behind the camera, as shown in the failure case in Figure 5, the model cannot rely on SRD or GTA to constrain the reflection. In these cases, it reverts to using its learned generative priors, which may be temporally consistent but won't match the "true" (but unseen) scene. The authors suggest that modeling more complex, non-affine reflection geometry is a promising direction for future research.
Summary updated