AlignDistil: Token-Level Language Model Alignment as Adaptive Policy Distillation

Songming Zhang, Xue Zhang, Tong Zhang, Bojie Hu, Yufeng Chen, Jinan Xu

Abstract

AlignDistil is a novel alignment framework that mathematically transforms the sequence-level Reinforcement Learning from Human Feedback (RLHF) objective into a token-level policy distillation process. By utilizing a contrastive reward mechanism and adaptive token-level weights, AlignDistil achieves superior alignment performance and up to 3x faster convergence compared to standard methods like Direct Preference Optimization (DPO) and Proximal Policy Optimization (PPO).

Introduction

Most current Large Language Model (LLM) alignment techniques, such as RLHF and DPO, rely on sparse, response-level feedback. In these setups, a single reward score or preference label is assigned to an entire sequence of tokens. This creates a significant "credit assignment" problem: a high-quality response might contain a few poor tokens, or a generally bad response might contain some brilliant ones. Sparse rewards treat all tokens in a sequence equally, which can erroneously punish good tokens or encourage bad ones, leading to suboptimal performance and slow training convergence. AlignDistil addresses this by providing dense, token-level rewards through a distillation lens.

Methods

The core of AlignDistil is built on a theoretical proof showing that the RLHF objective (when using a DPO-parameterized reward) is equivalent to a token-level distillation process. The framework introduces three key innovations:

  1. Theoretical Equivalence: The authors prove that maximizing the RLHF objective is mathematically equivalent to minimizing the token-level KL divergence between the current policy and a "teacher" distribution. This teacher is a linear combination of logits from a DPO model and a reference model.
  2. Contrastive DPO Reward: To improve reward accuracy, AlignDistil uses a pair of models: a "normal" DPO model and a "reverse" DPO model (trained by swapping chosen and rejected pairs). This contrastive approach helps the model better capture negative features and makes the reward signal more discriminative.
  3. Token Adaptive Logit Extrapolation: Not all tokens contribute equally to the final reward. The authors use the Total Variation Distance (TVD) between the normal and reverse DPO distributions to calculate a per-token weight ($\alpha_t$). This allows the model to adaptively "push" harder on tokens that are more critical to the human preference signal.
The AlignDistil framework utilizes DPO and Reverse DPO models to create an adaptive teacher distribution for token-level policy distillation.

AlignDistil can be implemented in both on-policy (sampling from the current model) and off-policy (using static datasets) modes, offering flexibility between training efficiency and performance.

Experimental Setup

Datasets

Models were trained using the UltraFeedback dataset (~63,000 prompts with human-annotated preference pairs). Additional testing on convergence speed and reward accuracy was conducted on the TL;DR summarization dataset.

Evaluation Benchmarks

Alignment was measured across three standard benchmarks:

  • AlpacaEval 2.0: Measuring win rates against GPT-4.
  • MT-Bench: Assessing multi-turn conversation quality.
  • Arena-Hard: Evaluating technical and complex problem-solving queries.

Key Results

AlignDistil consistently outperformed baseline methods (DPO, PPO, SimPO, KTO, RTO) across all benchmarks. On Qwen2-1.5B, AlignDistil achieved a 12.93% length-controlled win rate on AlpacaEval 2.0, nearly doubling the performance of standard DPO (6.42%). It also achieved an average MT-Bench score of 6.45, surpassing all other baselines.

Beyond raw performance, AlignDistil demonstrated remarkable efficiency. It converged 2x faster than methods using token-level scalar rewards and 3x faster than traditional sentence-level reward optimization.

Convergence comparison showing AlignDistil (Token-Level Distributional Reward) achieving target reward levels significantly faster than scalar or sentence-level rewards.

Furthermore, the off-policy version performed competitively with on-policy methods, suggesting that high-quality alignment can be achieved without the expensive sampling steps required by PPO.

Conclusion and Future Work

AlignDistil demonstrates that alignment can be treated as a stable supervised distillation task rather than a complex RL problem. By providing a richer, token-level gradient signal, it significantly accelerates convergence and improves final model quality. Future work includes scaling AlignDistil to larger models (70B+ parameters) and investigating its combination with other fine-grained feedback mechanisms, such as process-based reward models (PRMs).

Summary updated

BibTeX
@inproceedings{zhang2025aligndistil,
  author = {Songming Zhang and Xue Zhang and Tong Zhang and Bojie Hu and Yufeng Chen and Jinan Xu},
  title = {{AlignDistil: Token-Level Language Model Alignment as Adaptive Policy Distillation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure