← Latest papers
💻 computer science

Learning Reasoning Reward Models from Expert Demonstration via Inverse Reinforcement Learning

This paper proposes an adversarial inverse reinforcement learning (AIRL) framework that learns reusable reasoning rewards directly from expert demonstrations, demonstrating that these learned rewards outperform supervised fine-tuning and outcome-based reinforcement learning by improving model performance, serving as effective inference-time rerankers, and enabling cross-task transfer for diagnosing reasoning failures.

Original authors: Claudio Fanconi, Nicolás Astorga, Mihaela van der Schaar

Published 2026-04-24
📖 5 min read🧠 Deep dive

Original authors: Claudio Fanconi, Nicolás Astorga, Mihaela van der Schaar

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 very smart, but inexperienced, apprentice chef how to cook a perfect gourmet meal. You have a stack of recipe cards written by a world-class Master Chef (the "Expert Demonstrations").

Currently, there are two main ways to teach the apprentice:

  1. The "Copycat" Method (Supervised Fine-Tuning): You tell the apprentice, "Just copy exactly what the Master Chef wrote on the card."
    • The Problem: If the apprentice gets stuck or tries a new ingredient not on the card, they have no idea what to do. They are just mimicking, not truly understanding why a step is good or bad.
  2. The "Taste-Test" Method (Reinforcement Learning): You let the apprentice cook, and only at the very end, you taste the dish. If it's good, you give a gold star. If it's burnt, you give a thumbs down.
    • The Problem: If the dish is burnt, you don't know where it went wrong. Did they burn the garlic in step 1? Did they forget the salt in step 5? The feedback is too late and too vague to fix the specific mistake.

The New Solution: The "Smart Food Critic" (This Paper)

The authors of this paper propose a third way. Instead of just making the apprentice copy the card or waiting until the end to taste, they train a Smart Food Critic (an AI Reward Model) to watch the cooking process in real-time.

Here is how they do it, using the paper's Adversarial Inverse Reinforcement Learning (AIRL) framework:

1. Training the Critic (The "Taste-Test" from the Inside)

The researchers don't give the Critic a rulebook. Instead, they show the Critic two types of cooking videos:

  • Video A: The Master Chef cooking perfectly.
  • Video B: The Apprentice cooking (sometimes getting it right, sometimes messing up).

The Critic's job is to figure out: "What makes Video A look like a masterpiece and Video B look like a disaster?"

The clever trick here is that the Critic learns to spot good reasoning steps, not just the final result. It learns that "chopping onions evenly" is a good step, even if the final dish is ruined later because of something else. It learns to say, "Great job on the onions! But wait, you just added sugar to a savory soup—that's a bad move!"

2. The "Granularity" of the Critic

The paper experiments with how detailed the Critic's feedback should be:

  • Sparse (The "End-of-Shift" Critic): Only gives feedback at the very end. "Good job" or "Bad job." It's stable but doesn't help much during the cooking.
  • Dense (The "Real-Time" Critic): Gives feedback after every single action. "Good chop," "Bad heat," "Perfect seasoning." This is very helpful for fixing mistakes immediately, but it's harder to train because the Critic might get confused by tiny details.

3. How the Apprentice Learns

Once the Critic is trained, the Apprentice (the AI model) starts cooking again. This time, the Critic watches every step and gives a score.

  • If the Apprentice takes a step that looks like the Master Chef's logic, the Critic gives a high score.
  • If the Apprentice takes a weird shortcut or makes a logical error, the Critic gives a low score.

The Apprentice uses these scores to learn how to cook better, without needing a human to taste every single dish.

4. The "Second Life" of the Critic

The best part? The Critic doesn't just help the Apprentice learn; it helps after the learning is done.

  • The "Reranking" Trick: Imagine the Apprentice is asked to cook 16 different versions of the same dish. Usually, you'd just pick the first one. But now, the Critic tastes all 16 versions and picks the absolute best one.
  • The Result: The paper shows that using this Critic to pick the best attempt can improve the final result by up to 17.4% compared to just guessing.

5. Diagnosing the "Why"

Because the Critic looks at every step, it can act like a detective. If the final dish is bad, the Critic can point exactly to the moment the Apprentice went off track.

  • Example: "You were doing great until step 7, where you decided to put the cake in the freezer instead of the oven. That's where you went wrong."

Summary in a Nutshell

This paper teaches AI models to think like experts, not just copy them.

  • They build a Smart Critic that learns from expert examples to understand the process of reasoning.
  • This Critic helps the AI learn faster and more accurately than just copying.
  • It helps the AI pick the best answer from many tries.
  • It can explain exactly where the AI made a mistake, acting like a personal tutor.

It bridges the gap between "blindly copying a teacher" and "guessing until you get it right," giving the AI a true understanding of how to solve problems step-by-step.

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 →