← Latest papers
🤖 machine learning

On the Sample Efficiency of Inverse Dynamics Models for Semi-Supervised Imitation Learning

This paper demonstrates that inverse dynamics models (IDMs) achieve superior sample efficiency in semi-supervised imitation learning by operating within a lower-complexity, less stochastic hypothesis class than expert policies, leading to the proposal of an improved latent action policy learning algorithm validated across multiple benchmarks.

Original authors: Sacha Morin, Moonsub Byeon, Alexia Jolicoeur-Martineau, Sébastien Lachapelle

Published 2026-07-03
📖 6 min read🧠 Deep dive

Original authors: Sacha Morin, Moonsub Byeon, Alexia Jolicoeur-Martineau, Sébastien Lachapelle

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a robot how to play a video game or move a robotic arm. You have two types of data available:

  1. The "Gold Standard" Data: A small pile of videos where you can see exactly what the robot did (the actions) to get from point A to point B. This is expensive and hard to get because it requires a human expert to record every move.
  2. The "Wild" Data: A massive mountain of videos showing the robot moving from A to B, but with no labels on what specific buttons were pressed or how the arm moved. This is easy to get (just record the screen), but you don't know how the robot did it.

This paper tackles a problem called Semi-Supervised Imitation Learning. The goal is to use that tiny pile of "Gold Standard" data combined with the huge mountain of "Wild" data to teach the robot better than if we only used the small pile.

The Old Way vs. The New Way

The Old Way (Behavior Cloning):
Think of this like a student memorizing a textbook. The robot looks at a state (e.g., "I see a wall") and tries to memorize the action ("Turn left"). It learns by copying the expert directly.

  • The Problem: If you only have a few pages of the textbook (small data), the student memorizes poorly and fails when they see a slightly different wall.

The New Way (Inverse Dynamics Models - IDM):
Instead of asking "What should I do now?", the robot asks a different question: "If I was here, and now I am there, what must I have done to get here?"
This is called an Inverse Dynamics Model (IDM). It's like a detective looking at a crime scene (the "before" and "after" states) to figure out what the culprit (the action) did.

The paper shows two main ways to use this detective:

  1. The Detective + The Movie Maker (VM-IDM): You train a "Movie Maker" (Video Model) to predict where the robot will go next. Then, you use the Detective to figure out what action caused that move.
  2. The Detective as a Labeler (IDM Labeling): You use the Detective to guess the actions for the huge mountain of "Wild" data. Once the mountain is labeled, you train the robot on this new, massive dataset.

The Big Discovery: They Are the Same Team

The authors proved a surprising mathematical fact: If you have an infinite amount of "Wild" data and perfect models, both methods above end up teaching the robot the exact same thing. They call this the IDM-based policy.

Why is the Detective Better than the Student?

The paper asks: Why does the Detective method (IDM) learn faster and better than the direct copying method (Behavior Cloning), even though the Detective has to solve a harder math problem (predicting actions from two states instead of one)?

The authors argue it comes down to two reasons, using some great analogies:

1. The "Simpler Puzzle" Theory (Complexity)

  • The Expert (The Goal): The expert's strategy (the policy) can be incredibly complex. In a maze, the expert has to remember a long, winding path to the exit.
  • The Detective (The IDM): The detective only needs to figure out the immediate step. If you are at (x,y) and end up at (x+1, y), the action was simply "Right."
  • The Analogy: Imagine trying to memorize a whole novel (the expert's path) versus just memorizing the rule "If you move right, you go right" (the detective's rule). The rule is much simpler to learn. Because the "Detective's rule" is simpler, the robot can learn it accurately with far fewer examples.

2. The "Less Guessing" Theory (Stochasticity)

  • The Expert: Sometimes, an expert might be a bit random. Maybe they turn left 50% of the time and right 50% of the time because both work. This randomness makes it hard for the robot to learn the "correct" answer.
  • The Detective: Even if the expert is random, the result is often clear. If the robot ends up in the "Left" room, the action must have been "Turn Left." The detective doesn't have to guess the expert's mood; it just looks at the physics of the movement.
  • The Analogy: It's easier to learn a language from a speaker who always says the exact same word for "Apple" (low randomness) than from someone who sometimes says "Apple," sometimes "Red Fruit," and sometimes "Crunchy Thing" (high randomness). The IDM filters out the expert's randomness, making the learning signal cleaner.

What Did They Do to Prove It?

The authors didn't just talk about it; they ran experiments:

  • Maze Games: They showed that in complex mazes, the "Detective" method learned to solve the maze perfectly with very little data, while the "Student" method struggled.
  • Video Games (Procgen): They tested this on 16 different Atari-style games. The "Detective" methods (IDM Labeling and a new improved version they called LAPO+) consistently beat the standard "Student" method, especially when data was scarce.
  • Robotics (Push-T & LIBERO): They applied this to real-world robot tasks (pushing a T-shaped block and moving objects). Again, the IDM-based methods were more efficient at learning from limited demonstrations.

The Takeaway

The paper concludes that Inverse Dynamics Models are a super-efficient tool for learning from videos.

By shifting the focus from "What should I do?" to "What happened between these two moments?", the robot can learn the underlying rules of the world much faster. It's like teaching a child to drive: instead of memorizing every single turn on a specific road (Behavior Cloning), it's better to teach them the physics of steering and braking (Inverse Dynamics), which allows them to drive on any road with much less practice.

The authors also propose a new, improved version of an existing algorithm called LAPO+, which uses this "Detective" logic to decode hidden actions, showing that this approach is the key to unlocking better robot learning with less data.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →