Off-Policy Evaluation from Logged Human Feedback

Aniruddha Bhargava, Lalit Jain, Branislav Kveton, Ge Liu, Subhojyoti Mukherjee

TL;DR

Training Large Language Models (LLMs) via human feedback is incredibly expensive and slow. This paper introduces new Off-Policy Evaluation (OPE) methods that allow researchers to estimate how a new model would perform using "logged" feedback originally collected for a different model, potentially eliminating the need for constant, costly new human studies.

What Problem Does This Paper Address?

Aligning LLMs with human preferences typically relies on Reinforcement Learning from Human Feedback (RLHF) or Direct Preference Optimization (DPO). Both require massive datasets where humans rank different model responses. The bottleneck is clear: every time you want to evaluate a new model iteration, you theoretically need fresh human feedback.

The authors ask: Can we reuse old feedback? If we have a dataset of responses from "Model A" that humans have already ranked, can we mathematically "reweight" that data to predict how humans would rank responses from "Model B"? This is the essence of Off-Policy Evaluation. While OPE is common in recommendation systems, applying it to the complex, ranked-list nature of LLM outputs presents unique statistical challenges—specifically, high variance and the "curse of dimensionality" in rankings.

Methods

The researchers formalize the problem by treating LLM alignment as a ranking task governed by the Plackett-Luce (PL) model. They propose several estimators to predict a policy's value (the probability that its top choice matches the human's top choice):

  1. Direct Method (DM): A model-based approach that learns a reward function. Unlike standard RLHF, their reward is interpretable: it represents the actual probability of alignment.
  2. Inverse Propensity Scoring (IPS): A model-free approach that reweights logged data based on the ratio of the new model's probability to the old model's probability.
  3. Set-based Estimators (SetIPS & SetDR): This is the paper's primary innovation. Standard IPS for rankings is notoriously noisy because the probability of a specific ordered list is tiny. The authors realized that human feedback often depends on the set of responses shown, not just their initial order. By calculating propensities over sets rather than lists, they drastically reduce the variance of the estimate.
  4. Doubly Robust (DR): These estimators (DR and SetDR) combine the reward model of DM with the unbiased nature of IPS, providing a "best of both worlds" approach that remains accurate even if the reward model is slightly off.

Datasets

The authors validated their approach using two main setups:

  • Synthetic Simulations: Used to precisely control variables like the number of responses ($L$), the length of the ranked list ($K$), and the amount of noise in the reward model.
  • Nectar Dataset: A real-world dataset containing 500 prompts, each with 7 responses generated by various popular LLMs. They used Llama3 and Phi3 as the basis for their evaluated policies to see how the estimators handle real-world language distributions.

Key Insights and Ideas

  • The "Set" Advantage: The move from list-based to set-based propensity is a major technical win. As shown in Figure 1, standard IPS (blue line) often struggles, but SetIPS (cyan line) leverages full observability much more effectively, especially as the list length $K$ approaches the total number of options $L$.
  • Interpretable Rewards: In traditional RLHF, "reward" is a latent, somewhat abstract number. In this framework, the reward is the literal probability that the model's first response is the human's favorite. This makes the evaluation much easier for engineers to communicate and reason about.
  • Robustness to Noise: The Doubly Robust methods (SetDR) proved to be the most stable across the board. Even when the underlying reward model was intentionally misspecified (adding noise $\sigma_\phi$), the DR estimators maintained lower error rates than pure model-based or pure model-free methods.
Figure 1: Absolute error of estimated policy values as we vary K, n, and σϕ.

Key Results

  • Accuracy: In synthetic tests, SetDR consistently achieved the lowest absolute error in predicting policy performance.
  • Ranking Performance: The methods aren't just good at predicting absolute scores; they are excellent at ranking different models. As seen in Figure 2, the DM and SetDR methods significantly outperformed standard RLHF and DPO baselines in correctly ordering policies by quality.
  • Real-World LLMs: On the Nectar dataset (Figure 3), SetIPS performed the best for larger list sizes ($K > 2$). The authors noted that for $K=2$ (simple pairwise comparisons), the Direct Method is surprisingly effective because the mean rewards of the top two responses are often close to 0.5, making them easy to estimate.
Figure 3: Evaluation on the Nectar dataset. SetIPS (cyan) shows strong performance as the evaluated policy (alpha) deviates further from the logging policy.

Limitations and Future Work

  • Computational Complexity: Calculating propensities requires normalizing over all $L$ possible responses. For LLMs with massive vocabularies or infinite possible sentence outputs, this is impossible. The authors bypassed this by using the "top $L$ most frequent responses," but a more scalable solution for open-ended generation is needed.
  • Feedback Models: The work assumes human behavior follows the Plackett-Luce model. While standard, humans are often messier than mathematical models suggest. Future work could explore more complex discrete choice models.
  • Optimization: While the paper shows these estimators can be optimized (Figure 4), DPO still remains a very strong baseline for direct policy training. The real value here lies in evaluation—knowing if your new model is better before you spend money on a new human study.
Figure 4: Policy optimization results. While DPO (purple) is a strong optimizer, the proposed estimators (like SetDR) achieve comparable rewards.

Summary updated

BibTeX
@inproceedings{bhargava2024off,
  author = {Aniruddha Bhargava and Lalit Jain and Branislav Kveton and Ge Liu and Subhojyoti Mukherjee},
  title = {{Off-Policy Evaluation from Logged Human Feedback}},
  booktitle = {MFHAIA @ ICML},
  year = {2024},
  url = {https://openreview.net/forum?id=ws3fmkCGGI},
}
Figure