ReAlign: Structured Revision for Small Language Model Alignment

Ruijun Chen, Junjie Guo, Hongzhan Chen, Fanqi Wan, Qifan Wang, Xiaojun Quan2025

Abstract

Aligning small language models with human preferences remains a challenging problem: weak policies often struggle to produce informative on-policy samples and exhibit unstable gradients when trained on off-policy signals from stronger models or human annotators. In this work, we introduce ReAlign, a training framework that combines the stability of on-policy learning with the guidance of reviser-assisted supervision. In ReAlign, a lightweight external reviser is first trained to improve policy-generated responses using preference-based feedback, conditioned on both the prompt and the initial output. The policy is then optimized using a hybrid approach that leverages standard on-policy preference pairs alongside reviser-enhanced pairs framed as a structured revision task. These enhanced pairs provide richer, more informative supervision, and facilitate more effective optimization. Extensive experiments on AlpacaEval-2 and Arena-Hard demonstrate that ReAlign consistently improves alignment performance for small language models and outperforms strong preference optimization baselines.

Introduction

Aligning Large Language Models (LLMs) with human preferences typically follows two paths: on-policy learning (e.g., RLHF), which learns from the model's own generations, and off-policy learning (e.g., DPO), which utilizes high-quality data from teacher models. However, Small Language Models (SLMs, typically 1B–8B parameters) face unique hurdles in both. On-policy signals are often too weak because initial SLM outputs lack sufficient quality to provide a clear learning signal. Conversely, off-policy signals from massive models like GPT-4 create a "distributional mismatch." The SLM attempts to mimic a style it cannot realistically achieve, leading to unstable gradients and suboptimal performance. ReAlign addresses this by introducing a "reachable" supervision signal through structured revision.

Methodology: The ReAlign Framework

ReAlign operates in two distinct stages to bridge the gap between model capability and target performance by anchoring the learning signal to the model's own initial output.

The two-stage ReAlign framework: Reviser Training and Reviser-Enhanced Policy Optimization.

Stage 1: Reviser Training

The first stage involves training a lightweight external "Reviser" model. Unlike a standard teacher model that generates a response from scratch, the Reviser is trained to take a prompt ($x$) and a policy-generated response ($ŷ$) and produce a refined version ($y'$). This is achieved through a preference-consistent objective, ensuring the Reviser learns to make incremental, high-quality improvements grounded in the original response's context.

Stage 2: Reviser-Enhanced Policy Optimization

In the second stage, the SLM (the "Policy") is optimized using a hybrid data approach. It learns from standard on-policy preference pairs and "Reviser-Enhanced" pairs. Crucially, the model is trained on a Revision Task: given a prompt and its own initial output, it learns to prefer the revised version. This anchoring ensures the target response remains distributionally close to the model's natural output while providing a clear path for improvement.

Experimental Results and Analysis

ReAlign was evaluated using the UltraFeedback dataset, augmented with responses from strong open-source models like Gemma-2-27B and Llama-3.1-70B. Performance was measured on AlpacaEval-2 and Arena-Hard benchmarks.

Analysis of ReAlign performance: (a) Reward vs. Log-probability tradeoff, (b) Log-probability margin distribution showing the swamping effect, and (c) Impact of the revision task.

Performance and Stability

ReAlign consistently outperforms standard baselines like SFT and DPO. For instance, Llama-3.2-3B achieved a 50.17% length-controlled win rate on AlpacaEval-2, surpassing off-policy DPO (45.67%). The gains were even more pronounced for the 1B model on Arena-Hard, where standard off-policy methods often fail to improve upon the SFT baseline due to instability.

Mitigating the "Swamping Effect"

A key insight from the study is the visualization of log-probability margins. As shown in Figure 5(b), standard off-policy DPO produces extreme margins where the "perfect" teacher responses drown out the model's internal logic. ReAlign produces a much tighter distribution, similar to on-policy learning but with higher reward potential. This "reachable supervision" prevents gradient instability and leads to smoother convergence.

The Revision Task Impact

Figure 5(c) highlights the effectiveness of the revision task ($x + y \rightarrow y'$). By explicitly training the model to improve its own outputs, the win rate increases significantly across different architectures (Llama and Qwen), confirming that structured revision is a more effective signal for SLMs than raw imitation.

Conclusion

ReAlign demonstrates that for small language models, the quality of the alignment signal is not just about the absolute performance of the target, but its proximity to the model's current distribution. By using a lightweight reviser to provide reachable goals, ReAlign achieves superior stability and performance. Future work will explore integrating this framework into online reinforcement learning loops to enable continuous self-improvement.

Summary updated

BibTeX
@misc{chen2025realign,
  author = {Ruijun Chen and Junjie Guo and Hongzhan Chen and Fanqi Wan and Qifan Wang and Xiaojun Quan},
  title = {{ReAlign: Structured Revision for Small Language Model Alignment}},
  year = {2025},
  doi = {10.18653/v1/2025.findings-emnlp.642},
}
Figure