Weights-Rotated Preference Optimization for Large Language Models

Chenxu Yang, Ruipeng Jia, Mingyu Zheng, Naibin Gu, Zheng Lin, Siyuan Chen, Weichong Yin, Hua Wu, Weiping Wang

TL;DR

Large Language Models (LLMs) trained with Direct Preference Optimization (DPO) often suffer from "reward hacking," leading to repetitive, overly long outputs and knowledge forgetting. This paper introduces Weights-Rotated Preference Optimization (RoPO), a novel algorithm that constrains both the output layer and intermediate hidden states to prevent this issue, achieving superior alignment performance with significantly fewer trainable parameters.

What Problem Does This Paper Address?

Aligning Large Language Models (LLMs) with human preferences is crucial for their safe and effective deployment. While Direct Preference Optimization (DPO) has emerged as a powerful, RL-free method for this, it faces a significant challenge known as "reward hacking." This occurs when the LLM, in its pursuit of maximizing rewards, excessively suppresses rejected responses. This leads to undesirable behaviors like generating overly long, repetitive text and forgetting previously learned knowledge. The authors hypothesize that this problem stems from neuron collapse and representation redundancy in the model's parameter space.

Methods

The paper proposes Weights-Rotated Preference Optimization (RoPO), an algorithm designed to combat reward hacking. RoPO builds upon DPO by introducing two key constraints:

  1. Implicit Logit Constraint: This is inherited from DPO's KL divergence term, which helps maintain the model's diverse and fluent expressions learned during pre-training and Supervised Fine-Tuning (SFT).
  2. Explicit Intermediate Hidden State Constraint: This is the novel contribution. RoPO fine-tunes intermediate hidden layers using a multi-granularity orthogonal matrix. This matrix is constructed by combining global rotation matrices (Householder Reflection) and fine-grained rotation matrices (Givens matrices). This approach aims to preserve the angle-encoded knowledge within the neurons, preventing them from collapsing and becoming redundant.

Essentially, RoPO uses orthogonal regularization on the weights of intermediate layers to maintain the integrity of learned representations, while still leveraging DPO's KL divergence for output layer regularization.

Datasets

The paper evaluates RoPO on several instruction-following benchmarks:

  • UltraChat-200k: Used for initial Supervised Fine-Tuning (SFT) to create a base model.
  • UltraFeedback: Used for preference optimization.
  • MetaMath-Fewshot: Used for mathematical reasoning tasks.
  • MetaMath-DPO-Fewshot: Used for preference optimization on mathematical reasoning.
  • GSM8K: A dataset for mathematical reasoning (in-distribution).
  • ARC, HellaSwag: Datasets for commonsense reasoning (out-of-distribution).

The paper also mentions using standard benchmarks like AlpacaEval 2, Arena-Hard, and MT-Bench for evaluation.

Key Insights and Ideas

  • Neuron Collapse as the Root Cause: The paper's core insight is that reward hacking in DPO is linked to the collapse of neuron arrangements in the parameter space, leading to representation redundancy and knowledge forgetting.
  • Orthogonal Regularization for Knowledge Preservation: By applying orthogonal regularization to intermediate layers, RoPO effectively prevents this neuron collapse, preserving the angle-encoded knowledge crucial for model expressiveness and preventing catastrophic forgetting.
  • Efficiency of RoPO: RoPO achieves superior performance with a remarkably small fraction (0.0151%) of trainable parameters compared to other baselines, making it highly efficient.
  • Dual Constraint Power: The combination of implicit KL divergence and explicit orthogonal regularization provides a powerful mechanism to balance alignment and knowledge retention.

Key Results

  • Improved Alignment: RoPO consistently outperforms other preference optimization baselines across instruction-following benchmarks.
  • Reduced Verbosity and Repetition: RoPO effectively mitigates the overly long and repetitive outputs characteristic of DPO.
  • Knowledge Retention: RoPO demonstrates strong performance on commonsense reasoning tasks even after alignment training, indicating it avoids catastrophic forgetting.
  • Quantitative Improvements: RoPO achieves up to a 3.27-point improvement on AlpacaEval 2 and surpasses the best baseline by 6.2 to 7.5 points on MT-Bench.
  • Parameter Efficiency: RoPO requires only 0.0151% of trainable parameters, significantly less than other methods.

Limitations and Future Work

  • Limited Layer Application: Currently, RoPO's constraint is applied only to query and value vectors within attention layers. The authors plan to extend this to additional layers.
  • Baseline KL Divergence Analysis: For baselines lacking a reference model, KL divergence changes were not plotted. Future work will include analyses for these baselines.
  • Generalizability: Due to resource limitations, the generalizability of RoPO on more and larger models was not fully validated. Future work will explore this on a wider range of models.

Summary updated

BibTeX
@misc{yang2025weights,
  author = {Chenxu Yang and Ruipeng Jia and Mingyu Zheng and Naibin Gu and Zheng Lin and Siyuan Chen and Weichong Yin and Hua Wu and Weiping Wang},
  title = {{Weights-Rotated Preference Optimization for Large Language Models}},
  year = {2025},
  eprint = {2508.17637},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.17637},
}
Figure