When Does Predictive Inverse Dynamics Outperform Behavior Cloning?

Lukas Schäfer, Pallavi Choudhury, Abdelhak Lemkhenter, Chris Lovett, Somjit Nath, Luis França, Matheus Ribeiro Furtado de Mendonça, Alex Lamb, Riashat Islam, Siddhartha Sen, John Langford, Katja Hofmann, Sergio Valcarcel Macua

Behavior Cloning (BC) is the standard baseline in offline imitation learning, directly mapping states to actions ($s \to a$). However, it is notoriously data-hungry and struggles in complex or stochastic environments without massive amounts of expert demonstrations.

Recently, Predictive Inverse Dynamics Models (PIDM) have emerged as a powerful alternative. Instead of a single leap from state to action, PIDM uses a two-step modular approach: it first predicts a plausible future state ($s_t \to \hat{s}_{t+k}$), and then an Inverse Dynamics Model (IDM) determines the action required to reach it ($s_t, \hat{s}_{t+k} \to a_t$). This paper provides the theoretical foundation explaining exactly why this extra step yields such significant performance gains.

The Core Problem: Sample Efficiency

The primary bottleneck in imitation learning is sample efficiency. Collecting expert demonstrations is expensive, time-consuming, and sometimes impossible to scale. While empirical evidence has shown that PIDM architectures outperform standard BC, the theoretical justification has been largely missing. Is the advantage merely an architectural artifact, or is there a fundamental mathematical benefit to decomposing the decision-making process?

This paper seeks to provide a rigorous theoretical explanation and validate it across diverse environments.

The Bias-Variance Tradeoff

The authors analyze the performance gap using Expected Prediction Error (EPE) and Fisher Information, revealing that PIDM's superiority stems from a highly favorable bias-variance tradeoff.

  • Variance Reduction: In many states, an expert might have multiple valid paths to a goal. BC attempts to average these possibilities, leading to high variance and suboptimal actions. By contrast, PIDM's state predictor selects one plausible future state. Conditioning the IDM on this specific future removes the uncertainty of the expert's intent, drastically slashing the variance of the action prediction.
  • Bias Injection: Because the future state predictor is not a perfect oracle, it introduces some bias. However, the theoretical decomposition proves that the massive reduction in variance far outweighs this introduced bias, resulting in a lower overall prediction error for an optimal PIDM compared to BC.

Empirical Validation and Datasets

The researchers validated their theoretical framework across two distinct environments to isolate the effects of data diversity and complexity:

  1. 2D Navigation Suite: Four custom tasks (Four room, Zigzag, Maze, Multiroom) using both high-variability human demonstrations and low-variability deterministic A* planner data.
  2. 3D Video Game Environment: A "Tour" task in the modern video game Bleeding Edge, featuring high-dimensional visual inputs, asynchronous state transitions, and 30 human gameplay demonstrations.

Key Findings

  • Massive Efficiency Gains: In the 2D navigation tasks, BC required up to 5x more demonstrations (3x on average) to match PIDM's success rates. In the complex 3D video game environment, BC required 66% more samples to reach an 80% success rate.
  • Performance Near Goals: The performance gap between PIDM and BC is most pronounced in states surrounding goal locations. These are critical areas where precise action selection is necessary, and the future context provided by the state predictor is most valuable.
  • Leveraging Action-Free Data: A major practical takeaway is that PIDM can be significantly boosted using cheap, action-free data (e.g., observation-only videos). This data improves the state predictor, reducing bias and further widening the performance gap over BC.
  • Robustness to Narrow Data: PIDM generalizes better than BC even when trained on narrow, deterministic data (like an A* planner), as its modular nature better captures the underlying intent of the trajectory.

Limitations and Future Directions

While the results are compelling, the theoretical proofs rely on certain simplifying assumptions. The analysis focuses on Mean Squared Error (MSE) for point estimators and assumes i.i.d. (independent and identically distributed) sampling, which does not strictly apply to time-series trajectory data.

The authors hypothesize that the logic extends to Cross-Entropy and Diffusion models, but leave rigorous proofs for future work. Future research will also explore how this modularity applies to Transformer and Diffusion-based policies—which are becoming the standard in high-end robotics—as well as open-ended environments where defining a "future state" is more ambiguous.

Summary updated

BibTeX
@inproceedings{schafer2026when,
  author = {Lukas Schäfer and Pallavi Choudhury and Abdelhak Lemkhenter and Chris Lovett and Somjit Nath and Luis França and Matheus Ribeiro Furtado de Mendonça and Alex Lamb and Riashat Islam and Siddhartha Sen and John Langford and Katja Hofmann and Sergio Valcarcel Macua},
  title = {{When Does Predictive Inverse Dynamics Outperform Behavior Cloning?}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=ocLKXXgvp3},
}
Figure