A Unified Theoretical Analysis of Private and Robust Offline Alignment: from RLHF to DPO

Xingyu Zhou, Yulian Wu, Francesco Orabona · DOI

Introduction

Aligning Large Language Models (LLMs) with human preferences is a cornerstone of modern AI development. Techniques like Reinforcement Learning from Human Feedback (RLHF) and Direct Preference Optimization (DPO) have become standard for steering models toward helpfulness and safety. However, the preference datasets used for alignment are often collected from diverse, sometimes untrusted, sources. This introduces two critical vulnerabilities: the need for user privacy and the risk of adversarial corruption.

While privacy and robustness have been studied in isolation, their interplay remains poorly understood. This paper introduces the first unified theoretical framework to analyze RLHF and DPO under the simultaneous constraints of Local Differential Privacy (LDP) and adversarial data poisoning.

Problem Formulation: Privacy and Corruption

In real-world scenarios, preference data (where a user chooses response $y_w$ over $y_l$) is subject to two major types of noise:

  1. Privacy Noise (LDP): To protect individual contributors, labels are often privatized using Local Differential Privacy mechanisms, which intentionally inject controlled noise into the preference signals.
  2. Adversarial Corruption: Malicious actors may "poison" a fraction of the dataset to bias the model or degrade its performance toward specific harmful behaviors.

The authors identify three primary interaction models between these noise sources:

  • Corruption-then-LDP (CTL): An adversary poisons the data before privacy mechanisms are applied.
  • LDP-then-Corruption (LTC): Privacy noise is added first, and then an adversary corrupts the resulting noisy labels.
  • Corruption-LDP-Corruption (CLC): A hybrid scenario involving multiple stages of noise.

Methodology: The Reduction Framework

The core of the paper's theoretical contribution is a reduction framework. Under linear modeling assumptions, the authors demonstrate that the complex problem of offline alignment can be reduced to a simpler task: parameter estimation in logistic regression.

To handle the unique challenges of privatized and corrupted labels, the authors design a specialized loss function for the learner. This function employs a "shifting and scaling" technique to ensure the estimator remains unbiased despite the binary nature of privatized labels. This approach allows for a unified analysis of both RLHF (which typically learns a reward model) and DPO (which optimizes the policy directly).

Theoretical Insights

The Separation Result

One of the paper's most significant findings is the "separation result" between the CTL and LTC scenarios. The analysis proves that the order of operations matters significantly: in the LTC setting, the cost of privacy acts as a multiplier on the corruption term. This implies that protecting data privacy before it is exposed to potential corruption makes the alignment task theoretically more difficult than the reverse.

RLHF vs. DPO: Concentratability

The framework also sheds light on the fundamental differences between RLHF and DPO through the lens of "concentratability." RLHF, which often incorporates pessimism to handle uncertainty, only requires "single-policy concentratability"—meaning it only needs to see data relevant to the optimal policy. In contrast, DPO requires "all-policy concentratability" because it lacks an explicit mechanism to quantify uncertainty across the entire policy space, making it potentially more sensitive to distribution shifts.

Empirical Validation

The authors validated their theoretical findings using the finance_preference dataset, consisting of 1,697 samples generated by GPT-4o. They fine-tuned GPT2-large models and used Llama-3-70b as an automated judge to evaluate the resulting policies.

Key results include:

  • SOTA Performance: The paper establishes a new state-of-the-art suboptimality rate of $O(1/\sqrt{n})$ for DPO under corrupted labels, a major improvement over previous $O(1/n^{1/4})$ bounds.
  • Robust DPO (rDPO): The proposed robust variant of DPO consistently outperformed the standard version. At a privacy budget of $\epsilon=0.5$, rDPO achieved a 65.8% win rate compared to 60.4% for standard DPO.
  • Validation of CTL/LTC: Experiments confirmed the theoretical difficulty of the LTC setting. Under identical noise parameters, rDPO’s win rate was 69.6% in the CTL scenario but fell to 65.4% in the LTC scenario.
  • Privacy as Regularization: Interestingly, the authors found that small amounts of privacy noise could act as a regularizer, improving DPO performance by mitigating overoptimization issues.

Conclusion and Future Work

This work provides a rigorous foundation for understanding how privacy and robustness interact in LLM alignment. While the current analysis focuses on linear reward models and label noise, it sets the stage for future research into non-linear function classes and corruption of input features. By establishing SOTA guarantees and identifying the critical role of noise ordering, this paper offers a roadmap for developing more resilient and private alignment algorithms.

Summary updated

BibTeX
@inproceedings{zhou2025unified,
  author = {Xingyu Zhou and Yulian Wu and Francesco Orabona},
  title = {{A Unified Theoretical Analysis of Private and Robust Offline Alignment: from RLHF to DPO}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=XEyGcrhxB8},
}
Figure