Bayesian Prediction-Powered Inference

R. Alex Hofer, Joshua Maynez, Bhuwan Dhingra, Adam Fisch, Amir Globerson, William W. CohenarXiv 2024

Abstract

Prediction-powered inference (PPI) is a method that improves statistical estimates based on limited human-labeled data. Specifically, PPI methods provide tighter confidence intervals by combining small amounts of human-labeled data with larger amounts of data labeled by a reasonably accurate, but potentially biased, automatic system. We propose a framework for PPI based on Bayesian inference that allows researchers to develop new task-appropriate PPI methods easily. Exploiting the ease with which we can design new metrics, we propose improved PPI methods for several important cases, such as autoraters that give discrete responses (e.g., prompted LLM "judges") and autoraters with scores that have a non-linear relationship to human scores.

Introduction

In the rapidly evolving landscape of Large Language Models (LLMs), evaluation remains a critical bottleneck. While generating thousands of responses is instantaneous, human grading is prohibitively expensive and slow. Conversely, "autoraters"—LLMs acting as judges—are cheap and fast but often suffer from systematic biases. They may be consistently more lenient or harsh than human raters, or fail in non-linear ways that traditional statistical methods struggle to correct.

Prediction-Powered Inference (PPI) addresses this by combining a small set of "gold standard" human labels with a large volume of "silver standard" machine labels. The goal is to leverage large-scale machine data to reduce the uncertainty of small-scale human data without inheriting the machine's bias. However, traditional PPI methods have been mathematically rigid, making it difficult to handle common real-world scenarios like "abstaining" raters or complex relationships between machine and human scores.

Methodology: A Bayesian Framework

The core innovation of this work is the transition from a frequentist optimization approach to a Bayesian framework. By treating unknown parameters (such as true human accuracy) as random variables, the authors use Monte Carlo integration to compute credible intervals. This shift transforms complex mathematical derivations into a modular programming task: if a researcher can write a formula for how the autorater relates to the human, they can build a PPI estimator for it.

Table of designed statistics for various estimands, demonstrating the flexibility of the Bayesian PPI framework.

As shown in the table above, this framework allows for the easy creation of task-specific estimators:

  • Stratified Estimates: These break autorater scores into "bins," which is highly effective when bias is non-constant across different score ranges.
  • Chain Rule Estimates: Designed for discrete predictions (e.g., "Yes/No"), using the law of total probability to "rectify" machine labels.
  • Side-by-Side (Paired) Tests: A new method for A/B testing that boosts the statistical power of model comparisons.

Experimental Evaluation and Results

The framework was validated across several challenging NLP tasks, including multilingual summarization (Seahorse), Attributed QA (AQA), and Open-book QA using Gemini Pro as an autorater.

Comparison of human-only (naive) and PPI intervals, showing how PPI produces tighter estimates by incorporating machine labels.

The quantitative gains are significant. On the Seahorse and AQA datasets, the stratified Bayesian method reduced confidence interval widths by 20-30% compared to human-only estimates. Practically, this translates to a 40% reduction in human labeling requirements to achieve the same level of statistical confidence. Furthermore, in side-by-side model comparisons with 200 human examples, the "Chain Rule" test correctly identified 94% of truly different model pairs, compared to only 79% for classical tests.

Discussion and Limitations

While the Bayesian approach offers immense flexibility, it introduces a philosophical shift from frequentist "confidence intervals" to "credible intervals." Although experimental results show these intervals cover the true value 95% of the time—matching frequentist goals—a formal frequentist equivalent for these new estimators is yet to be developed. Additionally, the performance of stratified methods depends on hyperparameter tuning, such as the number of "bins" ($K$), which the authors aim to automate in future work to make the system more "plug-and-play" for developers.

Summary updated

BibTeX
@misc{hofer2024bayesian,
  author = {R. Alex Hofer and Joshua Maynez and Bhuwan Dhingra and Adam Fisch and Amir Globerson and William W. Cohen},
  title = {{Bayesian Prediction-Powered Inference}},
  year = {2024},
  eprint = {2405.06034},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.06034},
}
Figure