[Paper Review] Training Language Models with Language Feedback at Scale
Introduces ILF, an iterative method that learns from free-form language feedback to refine and finetune language models, demonstrating scalable improvement in summaries and outperforming some human-sourced baselines.
Pretrained language models often generate outputs that are not in line with human preferences, such as harmful text or factually incorrect summaries. Recent work approaches the above issues by learning from a simple form of human feedback: comparisons between pairs of model-generated outputs. However, comparison feedback only conveys limited information about human preferences. In this paper, we introduce Imitation learning from Language Feedback (ILF), a new approach that utilizes more informative language feedback. ILF consists of three steps that are applied iteratively: first, conditioning the language model on the input, an initial LM output, and feedback to generate refinements. Second, selecting the refinement incorporating the most feedback. Third, finetuning the language model to maximize the likelihood of the chosen refinement given the input. We show theoretically that ILF can be viewed as Bayesian Inference, similar to Reinforcement Learning from human feedback. We evaluate ILF's effectiveness on a carefully-controlled toy task and a realistic summarization task. Our experiments demonstrate that large language models accurately incorporate feedback and that finetuning with ILF scales well with the dataset size, even outperforming finetuning on human summaries. Learning from both language and comparison feedback outperforms learning from each alone, achieving human-level summarization performance.
Motivation & Objective
- Motivate and formalize learning from language feedback as a scalable alternative to comparison-based feedback.
- Develop the Imitation Learning from Language Feedback (ILF) algorithm with refine-and-finetune steps.
- Show that ILF corresponds to Bayesian Inference and relates to RL from human feedback.
- Evaluate ILF on synthetic offensive-word removal and a real-world summarization task with a new dataset.
- Investigate refinements, ranking methods, and hybrid feedback (language + binary) to reach human-level performance.
Proposed method
- Three-step ILF loop: generate refinements x1 conditioned on input c, initial output x0, and feedback f; select best refinement using a scoring model; finetune the original LM to maximize likelihood of the chosen refinement.
- Use a refinement proposal qc(x1) that integrates feedback via a refinement model piψ and feedback-conditioned generation.
- Approximate the learning objective with importance-sampling-based KL minimization, culminating in an objective that effectively maximizes log probabilities of top refinements under the context (Eq. 4).
- Model the reward R via an instruction-finetuned LM predicting whether x1 adequately incorporates feedback on x0, with beta → ∞ leading to self-normalized selection of the best refinement.
- Validate ILF as Bayesian Inference and relate to RL from human feedback with KL penalties, and demonstrate scalability to large models and datasets.
- Experimentally verify refinement capabilities on a synthetic offensive-word removal task and a Reddit TL;DR summarization dataset, comparing ranking methods (InstructRM Ensemble vs Embedding Similarity) and finetuning baselines.
Experimental results
Research questions
- RQ1Does language feedback enable LMs to generate refinements that better incorporate human preferences?
- RQ2Can ILF be effectively trained at scale and outperform finetuning on human summaries or binary-feedback baselines?
- RQ3What ranking method best selects refinements that incorporate feedback?
- RQ4What is the impact of combining language feedback with binary feedback on summarization quality?
- RQ5How do refinements compare to initial summaries in terms of incorporating the most important feedback point?
Key findings
- Only the largest 175B GPT-3 models meaningfully incorporate feedback in the synthetic offensive-word removal task, guiding model choice for refinement experiments.
- On summarization, ILF with refinement-based finetuning outperforms baselines including finetuning on human summaries across sample sizes (100, 1K, 5K).
- A hybrid ILF + binary-feedback approach (best-of-N with an OPT-RM reward model) reaches human-level summarization performance (~50.8% win rate) on 5K samples.
- Refinement quality improves when using InstructRM Ensemble for ranking, achieving the best demonstration of incorporating feedback.
- Language feedback substantially improves refinements; best-of-N selection further enhances alignment with human preferences.
- Refinements tend to incorporate the most important feedback point more often when Best-of-N sampling is used.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.