Abstract
DeepMind researchers have introduced FORM (Future Observation Reward Model), a new approach to "imitation from observation" (IfO) that avoids the instability of traditional adversarial methods. By using generative models to predict future states, FORM creates a stable reward signal that matches expert behavior while remaining remarkably robust to noisy or irrelevant background data. Our evaluation across the DeepMind Control Suite demonstrates that FORM achieves competitive performance on standard tasks while significantly outperforming adversarial baselines in the presence of environmental distractors.
Introduction
Most imitation learning algorithms require "state-action" pairs, effectively needing to see both the problem and the exact motor commands used to solve it. However, real-world imitation often relies solely on "observations"—such as a video of a human performing a task—without access to internal control signals. This is the challenge of Imitation from Observation (IfO).
Current state-of-the-art IfO methods, like GAIfO, typically employ an adversarial framework where a discriminator attempts to distinguish between expert and imitator trajectories. While powerful, these methods are notoriously sensitive to hyperparameters and easily "distracted" by irrelevant environmental differences (e.g., background color or sensor noise), often leading to training collapse.
The FORM Framework
The authors propose FORM, which replaces the adversarial "cat-and-mouse" game with a probabilistic likelihood-matching objective.
Effect Models
Instead of a discriminator, FORM learns two "effect models"—generative models that predict the next observation ($x_t$) given the current one ($x_{t-1}$):
- Demonstrator Model ($p^D$): Trained offline on expert data.
- Imitator Model ($p^I$): Trained online as the agent interacts with the environment.
Reward Function
The reward at each step is calculated as the log-ratio of these two models: $r_t = \log p^D(x_t | x_{t-1}) - \log p^I(x_t | x_{t-1})$
This formulation rewards the agent for transitions that the expert is likely to make, while penalizing transitions that the agent already performs frequently, providing an inherent form of state-entropy regularization.
Experimental Evaluation
The researchers evaluated FORM on 13 tasks across six domains in the DeepMind Control Suite (DCS), including high-dimensional environments like Humanoid Run.
To test robustness, they introduced a Distractor Benchmark, appending random binary noise patterns to the state vectors. This simulates a "domain shift" where the imitator encounters background noise absent from the expert's training data.
Key Insights
- Transition Matching: Unlike adversarial methods that try to match global occupancy measures, FORM focuses on local transitions. This makes it less susceptible to confusion from global environmental differences like background noise.
- Robustness to Noise: In adversarial setups, a discriminator can easily flag novel noise patterns as "fake," providing unhelpful negative signals. FORM's transition-based approach recognizes that random noise does not affect core task-related movements.
- Theoretical Foundation: FORM is derived from minimizing the KL-divergence between expert and imitator trajectory distributions, offering a more principled approach than heuristic reward functions.
Results and Conclusion
FORM demonstrates competitive performance on standard tasks and significantly superior robustness on the Distractor Benchmark. While GAIfO's performance often collapsed under complex noise, FORM maintained high performance even with minimal expert examples. Furthermore, FORM successfully mastered the Humanoid tasks, which are typically difficult for adversarial methods without extensive reward shaping.
Future work will focus on scaling FORM to raw pixel data, which will require integrating more sophisticated generative models like Variational Autoencoders or Video Transformers to handle high-dimensional visual inputs.
Summary updated