From Demonstrations to Rewards: Alignment Without Explicit Human Preferences

Siliang Zeng, Yao Liu, Huzefa Rangwala, George Karypis, Mingyi Hong, Rasool Fakoor

TL;DR

This paper introduces a novel framework that aligns Large Language Models (LLMs) using only demonstration data (the kind used in standard supervised fine-tuning), completely bypassing the need for expensive, human-annotated preference pairs. By leveraging Inverse Reinforcement Learning (IRL), the method iteratively trains a separate reward model and policy model, achieving state-of-the-art alignment performance using a fraction of the standard data pipeline.

What Problem Does This Paper Address?

Aligning LLMs with human preferences typically relies on Reinforcement Learning from Human Feedback (RLHF). This is a cumbersome, multi-stage process requiring two distinct types of data:

  1. Demonstration data (prompts paired with high-quality human responses) for Supervised Fine-Tuning (SFT).
  2. Preference data (prompts paired with multiple model responses ranked by humans) to train a reward model.

Gathering high-quality human preference data is incredibly expensive, time-consuming, and logistically challenging. While recent "reward-free" methods like Direct Preference Optimization (DPO) or Self-Play Fine-Tuning (SPIN) try to shortcut this by optimizing the policy directly without a reward model, they often suffer from training instability due to distribution shifts.

The authors ask a fundamental question: Can we extract human preferences and train a robust reward model from demonstration data alone?

Methods

The authors turn to Inverse Reinforcement Learning (IRL), a paradigm designed to deduce an underlying reward function simply by watching an expert perform a task.

They formulate LLM alignment as a mathematical bi-level optimization problem based on Maximum Likelihood IRL (ML-IRL). Instead of collapsing the reward and policy into a single model (like SPIN or DPO do), they maintain separate parameterizations for both and train them in an interleaved, two-step loop:

  1. Policy Alignment Step: The policy model ($\pi$) is updated to maximize the current reward function while staying close to a reference model using KL-divergence regularization (similar to standard PPO or online DPO).
  2. Reward Optimization Step: The reward model ($r$) is updated using a clever surrogate objective. The algorithm constructs synthetic preference data on the fly by pairing the original human demonstration data (treated as the "preferred" response) with the model's own latest generations (treated as the "rejected" response).
Figure 1: Illustration of the iterative RLHF pipeline for LLM alignment from demonstrations through inverse reinforcement learning.

This iterative feedback loop forces the reward model to widen the gap between human-like behavior and model-generated errors, stably bootstrapping both models over multiple iterations.

Datasets

The framework was evaluated across two primary tasks and datasets:

  • TL;DR Dataset: Used for text summarization. The authors trained a 1B parameter Pythia model using 10,000 high-quality summaries generated by a larger 6.9B Pythia model as the demonstration dataset.
  • UltraChat Dataset: A high-quality dialogue dataset used to fine-tune a Mistral-7B model.

For evaluation, the authors utilized standard community benchmarks: RewardBench (to test the learned reward model), the HuggingFace Open LLM Leaderboard, and MT-Bench (to test conversational policy performance).

Key Insights and Ideas

  • Demonstrations are Secretly Preferences: Human demonstrations inherently contain implicit preference boundaries. By treating anything that deviates from the demonstration as "suboptimal," IRL can map out a robust reward landscape without explicit human ranking.
  • The Value of Separation: Unlike self-play methods like SPIN—which degrade significantly by the second iteration because they lack an explicit reward anchor—maintaining a separate reward model provides a stable training signal that prevents the policy from collapsing.
  • Emergent Reward Capabilities: Remarkably, even though the reward model never sees a single human-annotated preference pair during training, it learns to generalize so well that it can accurately score out-of-distribution human preferences on standard benchmarks.

Key Results

The proposed IRL alignment method consistently outperformed both standard SFT and competitive self-play baselines like SPIN:

  • Summarization (Pythia-1B): The IRL-tuned 1B model increased its win rate against a strong 6.9B PPO baseline from 24% (at the SFT stage) to 33.5% after iterations. Its accuracy on a hold-out human preference dataset steadily climbed from 55.9% to 58.8%.
  • Dialogue (Mistral-7B): On the Open LLM Leaderboard, the IRL policy achieved an average score of 62.76%, beating the base SFT model (60.03%) and SPIN Iteration 2 (59.84%).
  • MT-Bench: On conversational quality, the IRL method achieved a score of 6.60, drastically outperforming SPIN Iteration 2, which collapsed to a score of 3.29.
  • RewardBench Evaluation: The reward model extracted solely from UltraChat demonstrations achieved an average accuracy of 69.78%, compared to SPIN's implicit reward accuracy of just 38.89%.

Limitations and Future Work

While highly effective, the bi-level optimization framework is computationally demanding. Alternating between policy optimization (generating text and updating weights) and reward model training adds overhead compared to simple, single-stage direct preference methods.

For future work, the authors propose exploring hybrid pipelines: integrating this implicit IRL learning from demonstrations with small amounts of actual human preference data to see if it unlocks even higher levels of sample efficiency and alignment flexibility.

Summary updated

BibTeX
@misc{zeng2025from,
  author = {Siliang Zeng and Yao Liu and Huzefa Rangwala and George Karypis and Mingyi Hong and Rasool Fakoor},
  title = {{From Demonstrations to Rewards: Alignment Without Explicit Human Preferences}},
  year = {2025},
  eprint = {2503.13538},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.13538},
}
Figure