Skip to main content
QUICK REVIEW

[Paper Review] Uncertainty Estimation for Language Reward Models

Adam Gleave, Geoffrey Irving|arXiv (Cornell University)|Mar 14, 2022
Topic ModelingComputer Science7 citations
TL;DR

This paper investigates uncertainty estimation in language reward models using ensemble methods, specifically bootstrap aggregating with randomly initialized final layers on fine-tuned pre-trained models. Despite strong prior performance in other domains, ensembles show poor active learning performance and weak correlation between epistemic uncertainty and model error, suggesting limited diversity among ensemble members due to fine-tuning from a single pre-trained model.

ABSTRACT

Language models can learn a range of capabilities from unsupervised training on text corpora. However, to solve a particular problem (such as text summarization) it is typically necessary to fine-tune them on a task-specific dataset. It is often easier for humans to choose between options than to provide labeled data, and prior work has achieved state-of-the-art performance by training a reward model from such preference comparisons. However, collecting a large preference comparison dataset is still expensive -- and the learned reward models are unreliable out-of-distribution. We seek to address these problems via uncertainty estimation, which can improve sample efficiency and robustness using active learning and risk-averse reinforcement learning (RL). Specifically, we use bootstrap aggregating (bagging) to train an ensemble of reward models differing in the initialization of their final layer. Ensembles have proved successful in prior applications of active learning, but we find that in our setting ensemble active learning does not outperform random sampling. Further experiments show that while the aggregate predictions are well-calibrated, the ensemble's estimated epistemic uncertainty is only weakly correlated with model error. We suspect this is because the ensemble members are fine-tuned from a single model and so are similar to one another. This suggests current pre-training methods will need to be modified to support uncertainty estimation, e.g. by training multiple language models.

Motivation & Objective

  • To improve sample efficiency and robustness in training language reward models through uncertainty estimation.
  • To investigate whether ensemble methods can provide reliable uncertainty estimates for reward models fine-tuned on preference comparisons.
  • To assess the effectiveness of uncertainty-based active learning in reducing data collection costs for human preference labeling.
  • To diagnose why ensemble uncertainty estimation underperforms in the context of fine-tuned pre-trained language models.
  • To explore the trade-off between fine-tuning efficiency and uncertainty estimation quality due to limited model diversity.

Proposed method

  • Train an ensemble of language reward models by randomly reinitializing the final layer of each model while fine-tuning on preference comparison data.
  • Use bootstrap aggregating (bagging) to create diverse training subsets for each ensemble member to improve uncertainty estimation.
  • Estimate epistemic uncertainty via variance across ensemble predictions for each input.
  • Evaluate uncertainty quality using Spearman correlation between uncertainty estimates and actual model error on held-out data.
  • Compare active learning performance using uncertainty-based acquisition (e.g., variance) against random sampling in preference labeling.
  • Assess calibration of ensemble predictions and uncertainty estimates using synthetic and real-world summarization datasets.

Experimental results

Research questions

  • RQ1Can ensemble-based uncertainty estimation improve active learning performance in language reward model training compared to random sampling?
  • RQ2How well does the uncertainty estimated via ensemble variance correlate with actual model error on out-of-distribution and in-distribution inputs?
  • RQ3What is the impact of ensemble size and model parameter count on uncertainty estimation quality?
  • RQ4Why does ensemble uncertainty estimation underperform in this setting despite success in other ML applications?
  • RQ5To what extent does fine-tuning from a single pre-trained model limit diversity among ensemble members, affecting uncertainty estimation?

Key findings

  • Ensemble-based active learning does not outperform random sampling in preference labeling for language reward models.
  • The Spearman correlation between estimated epistemic uncertainty and actual model error is low, reaching a maximum of r = 0.36, explaining only 13% of the variance in model error.
  • Uncertainty quality improves slightly with larger ensemble sizes, increasing from r = 0.25 (3 members) to r = 0.36 (42 members), but the improvement is marginal.
  • Bootstrapping during training provides only a slight, non-significant improvement in uncertainty quality, indicating that ensemble size is more important than sampling strategy.
  • The poor performance is attributed to low diversity among ensemble members, as they are all fine-tuned from the same pre-trained model, limiting their ability to capture meaningful uncertainty.
  • The results suggest a fundamental trade-off between sample efficiency from fine-tuning and reliable uncertainty estimation, calling for alternative pre-training or ensemble strategies with inherent diversity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.