Self-Evolution Fine-Tuning for Policy Optimization

Ruijun Chen, Jiehao Liang, Shiping Gao, Fanqi Wan, Xiaojun Quan

Abstract

The alignment of large language models (LLMs) is crucial not only for unlocking their potential in specific tasks but also for ensuring that responses meet human expectations and adhere to safety and ethical principles. To address the challenges of current alignment methodologies, we introduce self-evolution fine-tuning (SEFT) for LLM alignment, aiming to eliminate the need for annotated samples while retaining the stability and efficiency of SFT. SEFT first trains an adaptive reviser to elevate low-quality responses while maintaining high-quality ones. The reviser then gradually guides the policy’s optimization by fine-tuning it with enhanced responses. The method excels in utilizing unlimited unannotated data to optimize policies via supervised fine-tuning. Our experiments on AlpacaEval and MT-Bench demonstrate the effectiveness of SEFT and its advantages over existing alignment techniques.

Introduction: Overcoming the Human Bottleneck in Alignment

Aligning Large Language Models (LLMs) with human expectations—ensuring they are helpful, honest, and harmless—typically relies on three primary methodologies: Supervised Fine-Tuning (SFT), Reinforcement Learning from Human Feedback (RLHF), or Direct Preference Optimization (DPO). However, each approach faces significant bottlenecks. SFT is constrained by the scarcity and high cost of high-quality human-labeled data. RLHF is often unstable and computationally intensive, requiring complex reward model training. Offline methods like DPO can suffer from distribution drift, leading to biases toward niche responses that lack generalizability.

Self-Evolution Fine-Tuning (SEFT) addresses these challenges by leveraging the stability of SFT while utilizing the virtually unlimited supply of unannotated data. By training an "adaptive reviser," SEFT allows models to self-improve through a structured evolutionary process.

Methodology: The SEFT Framework

The core of SEFT is the Adaptive Reviser, which is designed to improve response quality without degrading already high-quality outputs. The framework operates in two distinct stages: training the reviser and policy optimization.

1. Training the Adaptive Reviser

Initially, a preliminary reviser is trained on existing preference datasets (such as Nectar) to transform "rejected" responses into "chosen" ones. To prevent the common pitfall of "over-correction"—where high-quality responses are inadvertently worsened—the authors developed an adaptive reviser. Using an off-the-shelf critic (Starling-RM), training data is categorized into three labels: [Major Revise], [Minor Revise], and [No Revise]. This teaches the reviser to recognize its own limits and preserve high-quality text, adhering to a "do no harm" principle.

2. Policy Optimization via Evolution

Policy optimization occurs through two evolutionary phases:

  • Internal Evolution: The policy model generates responses to unannotated prompts. The adaptive reviser refines these responses, creating "pseudo-labels" that are then used to fine-tune the model.
  • External Evolution: To further enhance performance, a stronger "teacher" model (e.g., a Strong LLM) generates responses. These are refined by the reviser, providing a more challenging distribution for the policy model to learn from, effectively acting as a form of curriculum learning.
The SEFT framework: training the adaptive reviser and policy optimization via internal and external evolution.

Experimental Results

SEFT was evaluated across multiple model backbones, including Phi-2, Mistral-7B, and Zephyr-7B, using the AlpacaEval 2.0 and MT-Bench benchmarks. The results demonstrate that SEFT consistently outperforms established alignment techniques.

Performance and Scalability

As shown in the results table, Zephyr-7B-SEFT achieved a 16.6% Length-Controlled (LC) Win Rate on AlpacaEval 2.0, significantly outperforming standard DPO (13.2%) and ORPO (14.7%). On MT-Bench, the model reached a score of 7.47, a substantial leap from the SFT baseline of 6.33.

A key advantage of SEFT is its scalability. Unlike DPO, which is limited by the size of available preference datasets, SEFT continues to improve as more unannotated data is introduced. Adding 60K additional unlabeled prompts consistently boosted performance across all tested models, suggesting a path toward alignment that scales with raw text and compute rather than human labor.

Performance comparison of SEFT against baselines on AlpacaEval 2.0 and MT-Bench.

Discussion and Conclusion

SEFT introduces a robust mechanism for LLM alignment that bypasses the human-annotation bottleneck. By utilizing an adaptive reviser that knows when not to revise, the framework avoids the regression to the mean often seen in automated refinement processes.

While SEFT currently relies on external models for initial reviser training and external evolution, it represents a significant step toward autonomous model improvement. Future work may explore iterative internal evolution loops, where the reviser and policy continuously co-evolve, potentially further reducing the dependency on external teacher models and maximizing the utility of unannotated data.

Summary updated

BibTeX
@inproceedings{chen2024self,
  author = {Ruijun Chen and Jiehao Liang and Shiping Gao and Fanqi Wan and Xiaojun Quan},
  title = {{Self-Evolution Fine-Tuning for Policy Optimization}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  url = {https://openreview.net/forum?id=tbSl3G6oig},
}
Figure