Enabling Lanuguage Models to Implicitly Learn Self-Improvement

Ziqi Wang, Le Hou, Tianjian Lu, Yuexin Wu, Yunxuan Li, Hongkun Yu, Heng Ji

TL;DR

Researchers from UIUC and Google have introduced PIT (imPlicit self-ImprovemenT), a framework that allows Large Language Models (LLMs) to improve their own responses without relying on human-written rubrics. By reformulating Reinforcement Learning from Human Feedback (RLHF) to maximize the "quality gap" between a reference and an improved response, PIT consistently outperforms traditional prompting-based self-correction methods across real-world and synthetic benchmarks.

The Problem: The Bottleneck of Explicit Rubrics

While LLMs demonstrate remarkable capabilities in open-ended text generation, their initial outputs are often sub-optimal—prone to hallucinations, reasoning errors, or unhelpful tangents. A popular solution is "self-improvement," where a model critiques and refines its own output.

Currently, most self-improvement relies on prompting-based methods (such as Self-Refine). These methods require humans to write detailed rubrics or instructions (e.g., "Make this more helpful and ensure it doesn't go off-topic"). However, writing comprehensive rubrics for complex, subjective goals like "helpfulness" is incredibly difficult and scales poorly to specialized domains like medicine or law. Furthermore, explicit rubrics can inadvertently encourage "length bias," where the model simply makes the response longer and wordier rather than genuinely better.

The PIT Framework: Implicit Learning from Preference Data

To address these limitations, the authors propose PIT, which moves away from explicit instructions and instead learns the goal of improvement implicitly from human preference data.

PIT Framework vs. Prompting-based Self-Refine

The PIT framework introduces several key methodological shifts:

  1. Reformulating the Objective: Traditional RLHF trains a model to maximize the absolute reward of a single response. PIT, however, is trained to maximize the quality gap between a new response and a reference response.
  2. The PIT Reward Model: Unlike standard reward models that score a single response, the PIT reward model is trained to understand the relationship between two responses, learning that an improved version should be significantly better than the original.
  3. Curriculum Reinforcement Learning: Training PIT is a complex optimization problem. To stabilize training, the authors employ a two-stage curriculum. In Stage 0, the model learns to improve "easy" data (human-annotated "worse" responses). In Stage 1, the model tackles the much harder task of improving its own high-quality generated responses.
  4. Iterative Inference: During deployment, PIT can be applied iteratively. It takes the original LLM output, generates an improved version, and can then use that new version as a reference to improve it even further.

Key Insights and Results

The study evaluated PIT using three distinct datasets: Anthropic/HH-RLHF, OpenAI/Summary, and a new Synthetic Data benchmark created using PaLM 2 to test complex instruction following.

  • Implicit is Better than Explicit: PIT learns what "better" looks like directly from data, bypassing the bottleneck of human language where we struggle to define exactly why one response is superior to another.
  • Avoiding the "Length Trap": Prompting-based methods often artificially inflate scores by simply increasing response length. PIT focuses on the actual quality gap. Human evaluators consistently preferred PIT's concise improvements over the wordy outputs of prompting-based methods.
  • Human Preference and Win Rates: On the HH-RLHF dataset, human evaluators preferred PIT-improved responses over Self-Refine responses by a margin of 23.53%. On the synthetic instruction-following task, PIT achieved a win rate of 48.44% against the original, compared to only 34.38% for Self-Refine.
Performance comparison across different sampling temperatures
  • Robustness to Temperature: As shown in the evaluations, PIT is remarkably stable across different sampling temperatures. In contrast, prompting methods like Self-Refine often fail at low temperatures because they tend to simply repeat the original response if they aren't forced to "hallucinate" a change via high randomness.

Limitations and Future Work

While highly effective, PIT does come with trade-offs. Unlike prompting methods which work "out of the box," PIT requires a dedicated training phase and computational resources.

Additionally, the authors noted the "Stop Problem": more iterations aren't always better. Sometimes the model reaches a plateau or starts to degrade after 2-3 rounds of self-improvement, making the development of an automated stop condition a key area for future research. Interestingly, trying to force PIT to "think" using Chain-of-Thought (CoT) before improving a response actually led to worse performance, likely due to a lack of high-quality "reflection" data in current preference datasets. Future work will also explore if smaller "student" PIT models can effectively improve the outputs of much larger "teacher" models.

Summary updated

BibTeX
@inproceedings{wang2024enabling,
  author = {Ziqi Wang and Le Hou and Tianjian Lu and Yuexin Wu and Yunxuan Li and Hongkun Yu and Heng Ji},
  title = {{Enabling Lanuguage Models to Implicitly Learn Self-Improvement}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=2tVHNRZuCs},
}
Figure