Abstract
Traditional Reinforcement Learning from Human Feedback (RLHF) relies on sparse scalar rewards, which are often uninformative and computationally expensive to optimize. This paper introduces Alignment with Textual feedback (ALT), a method that replaces numerical rewards with natural language descriptions. By conditioning model training on textual labels (e.g., "Nontoxic"), ALT leverages the semantic understanding inherent in Large Language Models (LLMs). Our results demonstrate that ALT achieves superior toxicity reduction and matches the performance of Proximal Policy Optimization (PPO) in summarization tasks using only 20% of the training data, while maintaining higher fluency and reducing the "alignment tax."
Introduction
Aligning Large Language Models (LLMs) with human values is a critical challenge in AI safety and utility. The standard approach, Reinforcement Learning from Human Feedback (RLHF), typically utilizes Proximal Policy Optimization (PPO) to maximize a scalar reward signal. However, PPO is notoriously difficult to implement, sensitive to hyperparameters, and computationally demanding.
A fundamental limitation of this approach is the scalar reward signal itself. In standard RLHF, a model receives a single number representing the quality of a response. This signal is sparse and uninformative; it fails to convey why a response was successful or how it should be improved. This research explores whether providing feedback in the form of natural language—a medium LLMs are already optimized to process—can create a more efficient and effective alignment process.
Methodology: Alignment with Textual Feedback (ALT)
ALT reformulates the alignment problem from complex reinforcement learning into Conditional Supervised Fine-Tuning (SFT). The method operates through an iterative three-step loop:
- Sampling: The model generates multiple candidate responses to a set of prompts.
- Textual Feedback: A "feedback provider" (either a traditional reward model or a teacher LLM like GPT-3.5) assigns a textual label to each generation. These labels can range from discrete categories (e.g., "Very toxic" to "Nontoxic") to unconstrained natural language critiques.
- Conditional Training: The model is fine-tuned to predict the generation, conditioned on the provided feedback. During training, the feedback is prepended to the prompt (e.g.,
[Nontoxic] + [Prompt] -> [Generation]).
At inference time, the model is steered by prepending the desired outcome—the Exemplar Feedback. For instance, a user can prompt the model to produce a response that would be labeled as "Excellent."
ALT Variants
The study evaluates three distinct implementations of the feedback signal:
- $ALT_{RM}$: Converts scalar scores from a pre-existing reward model into discrete text buckets.
- $ALT_{LMC}$: Utilizes an LLM to provide categorical labels (e.g., "Harmless and very helpful").
- $ALT_{LMU}$: Utilizes an LLM to provide free-form, unconstrained textual critiques.
Experimental Setup
The researchers evaluated ALT across three primary alignment tasks:
- Toxicity Reduction: Using RealToxicityPrompts for training and WritingPrompts for out-of-domain evaluation.
- Summarization: Using the Reddit TL;DR dataset, focusing on coherence, accuracy, and coverage.
- Dialogue: Using the Anthropic HH (Helpful and Harmless) dataset to balance utility with safety.
Key Results and Insights
Superior Efficiency and Performance
ALT demonstrated significant improvements over traditional RL baselines. In toxicity reduction tasks, $ALT_{RM}$ reduced toxicity by 62% compared to PPO, also outperforming QUARK, a state-of-the-art reward-conditioning baseline. In summarization, ALT achieved a 50% win rate against PPO in head-to-head GPT-4 evaluations while requiring 80% less training data. This suggests that for many alignment tasks, the complexity of RL is unnecessary if a clear semantic target can be provided.
The Density of Textual Signals
LLMs are pre-trained on vast corpora of text, not reward scalars. Prepending a semantic label like "Nontoxic" leverages the model's existing understanding of language. This makes the learning objective much clearer than a numerical gradient, effectively providing a "denser" signal for the model to follow.
The Challenge of Unconstrained Feedback
Interestingly, $ALT_{LMU}$ (unconstrained critiques) performed worse than categorical labels in summarization tasks. The authors hypothesize that long-form feedback from LLMs can be inconsistent or "noisy," which confuses the model during the fine-tuning process. Shorter, consistent categories provided a more stable and effective learning signal.
Mitigating the Alignment Tax
One common drawback of alignment is the "alignment tax," where a model's general capabilities or fluency decline as it is tuned for specific values. ALT maintained better fluency (lower perplexity relative to the base model) than PPO, suggesting it is a gentler and more precise method of alignment.
Conclusion and Future Work
ALT presents a compelling alternative to traditional RLHF by treating alignment as a conditional generation task. While highly effective, the authors note several areas for future research, including the need for better consistency in LLM-generated critiques and the potential difficulty of collecting high-quality human textual feedback compared to simple binary preferences.
Future work will focus on aligning models with natural, multi-objective feedback that more closely mirrors the nuanced critiques humans provide in real-world interactions.
Summary updated