Mirror Learning

Yunpeng Liu, Matthew Niedoba, Oluwanifemi A. Adekanye, Jason Yoo, Yingchen He, Berend Zwartsenberg, Frank WoodarXiv 2026

TL;DR

Mirror Learning bridges the gap between third-person observation and first-person action by translating passive observations of a demonstrator into pseudo-first-person "mirror data." By pairing a fine-tuned video diffusion model with an inverse dynamics model, this framework enables agents to learn effective control policies entirely from watching others, offering a safe and scalable alternative to teleoperation-heavy data collection.

What Problem Does This Paper Address?

Behavior Cloning (BC) is the dominant paradigm for training end-to-end robotic and autonomous driving policies. However, BC relies heavily on dense, high-quality, first-person (egocentric) data, which typically requires expensive, time-consuming, and sometimes dangerous teleoperation or manual data collection.

In contrast, humans and animals routinely learn by observing others from a third-person perspective. The fundamental challenge in machine learning has been the viewpoint mismatch: how can an agent learn an actionable policy when it only observes a task being performed from an external vantage point? Prior attempts to solve this cross-perspective learning problem often relied on rigid constraints, such as known camera geometries or static environments. This paper tackles the problem of learning directly from passive, third-person observations in dynamic, multi-agent settings without assuming explicit scene geometry.

Methods

The authors introduce Mirror Learning, a framework that synthesizes expert first-person training data from third-person observations by combining two core components:

  1. Mirror Video Model (MVM): This component handles the perspective transformation—essentially putting the learner "in the shoes" of the demonstrator. Instead of using explicit geometric mapping, the authors fine-tune a pretrained foundation video generative model (Cosmos-Predict2.5-2B). Given the learner's egocentric video and a binary attention mask tracking the demonstrator, the MVM generates a plausible first-person video of what the demonstrator actually saw. To maintain temporal and spatial alignment across the streams, the model duplicates 3D Rotary Position Embeddings (RoPE) across the encoded video tokens.
  2. Inverse Dynamics Model (IDM): Once the first-person video of the demonstrator is synthesized, the agent still needs to know what actions produced that video. The authors adapt the VaVam video action model into a deterministic IDM head that predicts actions (e.g., steering angle and acceleration) from egocentric observation sequences, modeling both the mean action and heteroscedastic aleatoric uncertainty.

By composing the MVM and the IDM, the system generates complete, synthetic first-person expert trajectories—mirror data—which can then be used to train standard behavior cloning policies.

Figure 2: Architecture of our mirror video model (MVM). Given a learner ego-view video and a binary attention-mask video that identifies a demonstrator, the MVM predicts the corresponding demonstrator ego-view video. During training, we fine-tune COSMOS-PREDICT 2.5-2B to denoise a noised latent encoding of the target demonstrator ego-view conditioned on the learner video and the demonstrator mask. The temporally aligned learner video, demonstrator mask, and noised target videos are encoded with a spatio-temporal VAE encoder, and the resulting latents are concatenated along the temporal dimension. To adapt the pretrained video backbone to this multi-stream input, we assign the same 3D RoPE to tokens with aligned spatiotemporal positions across the three encoded videos and use a conditioning mask to distinguish observed from denoised tokens. The denoised latent is then decoded to produce the mirrored video, i.e. the inferred first-person video of the demonstrator.

Datasets

The framework was evaluated across three distinct datasets:

  • CARLA Dataset: A synthetic multi-agent driving dataset generated using a data-driven object-level driving policy across multiple disjoint towns. It contains approximately 22,000 paired demonstrator-learner video clips (52 hours of data). Town03 was strictly held out to evaluate geographic generalization.
  • Minecraft Dataset: Derived from the PLAICraft dataset, this contains 6,000 paired video clips of real human gameplay. Minecraft provides a highly unconstrained environment with complex humanoid body/head poses and diverse user-built structures, serving as a rigorous test for the MVM.
  • May Mobility Dataset: A real-world, multi-agent robotaxi dataset used exclusively for zero-shot evaluation to test how well the CARLA-trained MVM transfers from simulation to real-world footage.

Key Insights and Ideas

  • Implicit Geometry in Diffusion Models: Modern video diffusion models implicitly capture sufficient 3D scene structure, lighting, and environmental context to perform complex viewpoint transformations. The MVM can successfully "inpaint" regions occluded from the learner's view (like the front of the demonstrator's car or alternative backgrounds) in a visually and temporally consistent manner.
  • The "2x" Data Rule of Thumb: Quantitatively, the authors found that a synthetic "mirror" sample is worth roughly half of a real, ground-truth first-person sample. This implies that in scenarios where instrumenting an ego-vehicle is dangerous or impossible, an agent can achieve comparable performance simply by watching and mirroring twice as much third-person data.
  • Target-Specific Generation: By conditioning the generative model on a simple binary instance mask, the model learns to isolate and transform the perspective of a specific target vehicle, even in crowded scenes with multiple potential demonstrators.

Key Results

  • Policy Learning from Scratch: The authors demonstrated that behavior cloning using only mirror data can successfully train effective driving policies. As the volume of mirror data scales, policy performance consistently improves.
Figure 5: (a) BC from mirror data alone suffices for policy learning. GT data is always best, but larger quantities of mirror-only data lead to equivalent performance. (b) Geographic expansion into a new town. Here we fine-tune a model (first row Table 1) with 1k or 2k new ground-truth samples and augment with style-transfer or mirror data (ratio relative to GT). Mirror data outperforms style transfer and improves with higher ratios. Lower minADE5 is better; ± is std. over three seeds.
  • Sim-to-Real Zero-Shot Generalization: When the MVM trained purely on synthetic CARLA data was evaluated on the real-world May Mobility dataset, it successfully generated plausible, consistent demonstrator-centric views. Remarkably, it accurately inferred the presence of real-world elements entirely absent from its training data, such as pedestrians and traffic cones.
Figure 3: Zero-shot mirror video model predictions on real-world data (MVM trained only on CARLA synthetic data w/o pedestrians). Ground truth extracted from data [33] in which a “learner” May robotaxi follows and observes a “demonstrator” May robotaxi.
  • Superior Data Augmentation: In geographic expansion experiments (fine-tuning a policy for a new town), augmenting limited ground-truth data with mirror data consistently outperformed standard simulation-to-real style-transfer techniques, achieving a lower minimum Average Displacement Error ($\text{minADE}_5$).

Limitations and Future Work

  • Computational Cost: Fine-tuning and running inference on large-scale video diffusion models is computationally demanding. Generating mirror data at scale currently requires substantial GPU resources.
  • Fidelity Gap: While mirror data is highly effective, a performance gap still remains compared to true first-person ground-truth data due to occasional visual artifacts or tracking inaccuracies in the generative process.
  • Action Space Constraints: The current implementation assumes the demonstrator and learner share similar embodiments and action spaces (e.g., passenger cars). Extending this to cross-embodiment learning (e.g., a humanoid robot learning from a human demonstration) remains an open avenue for future research.

Summary updated

BibTeX
@misc{liu2026mirror,
  author = {Yunpeng Liu and Matthew Niedoba and Oluwanifemi A. Adekanye and Jason Yoo and Yingchen He and Berend Zwartsenberg and Frank Wood},
  title = {{Mirror Learning}},
  year = {2026},
  eprint = {2607.28737},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.28737},
}
Figure