Teaching Language Models to Self-Improve by Learning from Language Feedback

Chi Hu, Yimin Hu, Hang Cao, Tong Xiao, Jingbo Zhu · DOI

Abstract

Traditional alignment techniques like Reinforcement Learning from Human Feedback (RLHF) often rely on binary preference signals, which provide limited information about why a response is suboptimal. This paper introduces Self-Refinement Tuning (SRT), a two-stage approach that leverages high-bandwidth natural language feedback to teach Large Language Models (LLMs) to critique and improve their own outputs. By first learning from a teacher model and then scaling through self-generated feedback, SRT enables open-source models to achieve significant performance gains, with a 70B model surpassing several proprietary benchmarks.

Introduction

Aligning Large Language Models (LLMs) with human intent is a cornerstone of modern AI development. Current methodologies, such as Direct Preference Optimization (DPO), typically utilize "low-bandwidth" signals—simple rankings or scores indicating which of two responses is better. However, these signals lack the descriptive depth necessary for a model to understand specific flaws or actionable paths for improvement.

In contrast, human learning thrives on detailed, descriptive feedback. To bridge this gap, the authors present Self-Refinement Tuning (SRT). SRT shifts the alignment paradigm from simple preference selection to a "critique-and-refine" loop, allowing models to internalize the process of self-correction through natural language.

The Self-Refinement Tuning (SRT) Framework

SRT is structured into two distinct phases designed to first instill the capability for self-critique and then scale that capability through self-improvement.

Stage 1: Supervised Fine-Tuning on Feedback

The initial stage focuses on teaching the model the "language of improvement." Using a base model (Tulu2), the researchers generate initial responses to a set of instructions. A more capable "teacher" model (GPT-4-Turbo) then provides a comprehensive three-part critique:

  1. Identification of Weaknesses: Pinpointing specific errors or omissions.
  2. Quality Scoring: Assigning a numerical value (1-10) to the response.
  3. Actionable Suggestions: Providing concrete steps to improve the output.

The teacher model then generates a refined version of the response. The student model is fine-tuned on the full sequence: Instruction → Initial Response → Feedback → Refinement. This process ensures the model learns to associate specific critiques with the necessary corrective actions.

Stage 2: Scaling through Self-Feedback (sDPO)

Once the model has acquired the ability to critique and refine, it can function independently of the teacher. In Stage 2, the model generates its own feedback and refinements for a larger set of instructions. These self-generated pairs—the original response and the self-refined version—are treated as preference data. The model is then optimized using Direct Preference Optimization (DPO), effectively "bootstrapping" its performance by learning from its own successful refinements.

Experimental Results

The authors evaluated SRT across various model scales (7B, 13B, and 70B) using benchmarks such as AlpacaEval 2.0, GSM8K, and Big-Bench-Hard (BBH).

Benchmark Performance

The most notable results were observed on AlpacaEval 2.0, a benchmark for open-ended instruction following. The SRT-tuned 70B model saw its win rate against GPT-4 Turbo jump from 9.6% to 25.8%. This performance allowed the open-source model to surpass several prominent proprietary models, including GPT-4-0314, Claude 2, and Gemini Pro.

Across the board, SRT provided a consistent performance boost of approximately 3.7 to 4.0 points. Furthermore, SRT proved to be highly efficient, achieving results comparable to or better than standard DPO baselines while requiring significantly fewer feedback instances (22K vs. 64K).

Analysis and Insights

Several key findings emerged from the study regarding the nature of self-improvement in LLMs:

  • The Power of Language: Ablation studies confirmed that the descriptive nature of the feedback is critical. Removing the "weaknesses" or "suggestions" components from the training data led to a measurable decline in performance, proving that high-bandwidth language is the primary driver of the model's improvement.
  • Diminishing Returns of Iteration: While the critique-refine process can be applied multiple times, the authors found that a single round of refinement yields the most substantial gain. Subsequent iterations provided only marginal improvements while significantly increasing inference latency.
  • Refinement vs. Re-ranking: SRT's self-refinement approach consistently outperformed "Best-of-N" re-ranking strategies. As model size increased, the ability to actively correct an output proved more effective and computationally efficient than simply selecting the best candidate from a large pool of samples.

Limitations

Despite its success, SRT faces certain challenges. The method remains dependent on a high-quality teacher model for the initial SFT stage; inaccuracies in the teacher's critiques can be inherited by the student. Additionally, SRT tends to increase the verbosity of model outputs, which, while rewarded by current benchmarks, may increase computational overhead. Finally, while SRT improves general instruction following, its impact on complex mathematical reasoning (e.g., GSM8K) is less pronounced in smaller models, suggesting that self-improvement is still constrained by the model's underlying reasoning capacity.

Conclusion

Self-Refinement Tuning demonstrates that LLMs can effectively learn to improve themselves when provided with high-bandwidth natural language feedback. By moving beyond simple preference scores, SRT provides a scalable and efficient path for aligning open-source models with human expectations, rivaling the performance of leading proprietary systems.

Summary updated

BibTeX
@inproceedings{hu2024teaching,
  author = {Chi Hu and Yimin Hu and Hang Cao and Tong Xiao and Jingbo Zhu},
  title = {{Teaching Language Models to Self-Improve by Learning from Language Feedback}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.364},
}
Figure