NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Private Direct Preference Optimization for LLM Alignment

Yangfan Jiang, Fei Wei, Ergute Bao, Xiaokui Xiao, Yaliang Li, Bolin DingarXiv 2026

TL;DR

Direct Preference Optimization (DPO) is the go-to method for aligning Large Language Models (LLMs) with human values, but the underlying preference data can leak sensitive user attributes and beliefs. This paper introduces PrivDPO, a highly scalable framework that provides robust "preference privacy" by injecting calibrated noise along a single text-defined dimension during training. By avoiding the massive computational overhead and utility destruction of standard Differential Privacy (DP), PrivDPO successfully aligns models with up to 32 billion parameters with virtually zero training slowdown.

What Problem Does This Paper Address?

To make LLMs helpful and safe, developers fine-tune them using human feedback via DPO. This process uses triplets: a prompt ($x$), a preferred response ($y_w$), and a dispreferred response ($y_l$). While the text itself is often public or AI-generated, which response a human annotator or user prefers is highly sensitive—potentially revealing political stances, religious beliefs, or health status.

Protecting this data with standard Differential Privacy (like DP-SGD) is a blunt instrument. It treats the entire text triplet as secret, injecting massive noise across billions of parameters. This destroys model utility and requires per-example gradient clipping, which completely breaks modern distributed training frameworks (like PyTorch FSDP) and triggers out-of-memory errors. The authors tackle a crucial question: How can we rigorously protect user preference labels without destroying training efficiency or model quality?

Methods

The authors formalize Preference Privacy, a label-DP-style formulation where the prompt and responses are assumed public, but the preference bit is protected.

Their core breakthrough is geometric: they prove that flipping a preference label does not change the training gradient arbitrarily. Instead, the gradient difference between two identical text samples with reversed preferences lies entirely along a one-dimensional subspace called the preference axis.

Figure 1: Illustration of the privacy leakage surface.

Instead of manipulating massive gradient vectors directly, PrivDPO introduces an unbiased randomized objective rescaling mechanism. During the forward pass, the algorithm calculates the model's current "preference intensity" ($\psi$) and multiplies the DPO loss by a carefully calibrated random weight ($\tilde{w}$). Mathematically, scaling the loss function at the scalar level achieves the exact same effect as adding noise specifically along the 1D preference axis during backpropagation.

Additionally, the authors introduce PrivSFT, a modified Supervised Fine-Tuning warm-up stage that trains equally on both preferred and dispreferred responses, ensuring no preference data leaks before DPO even begins.

Datasets

The authors evaluated PrivDPO across three open-ended text generation benchmarks:

  • Anthropic-HH: 161k human-LLM dialogues focused on helpfulness and harmlessness.
  • TL;DR Summarization: 92k Reddit posts paired with human-preferred summaries.
  • UltraFeedback-Binarized: 64k examples annotated for instruction-following, truthfulness, and honesty.

Key Insights and Ideas

  • Privacy Leakage is One-Dimensional: In DPO, all sensitive information flows through a single dimension per training example. Standard DP-SGD wastes its privacy budget by defending all $d$ dimensions of the parameter space, leading to an error bound that scales with the number of model parameters ($\Omega(\sqrt{d})$). PrivDPO’s error bound is independent of model dimension.
  • Bypassing the Memory Barrier: Because PrivDPO injects privacy at the loss-function level rather than the gradient level, it requires no per-example gradient clipping. This makes it natively compatible with standard optimizers (like AdamW) and sharded data-parallel frameworks (FSDP).
  • Unbiased Perturbation: Unlike naive randomized response methods that randomly flip labels before training (introducing severe optimization bias), PrivDPO's asymmetric weight scaling ensures that the expected value of the privatized gradient perfectly matches the true gradient.

Key Results

  • High Utility: At a meaningful privacy budget ($\epsilon = 1$), PrivDPO achieved reward margins and win rates remarkably close to non-private DPO, vastly outperforming other label-DP baselines like Duchi’s or Piecewise mechanisms.
  • Seamless Scaling: The authors demonstrated successful private alignment on models ranging from 3B to 32B parameters (across Qwen2.5, Llama3, and Pythia families).
  • Zero Efficiency Penalty: As shown in the paper's scalability analysis, PrivDPO introduces negligible training time overhead compared to standard DPO. In contrast, DP-SGD was $6\times$ slower on a 3B model and failed due to out-of-memory errors on larger models.
  • Robust Against Attacks: In empirical memorization attacks, standard DPO showed a clear tendency to memorize training labels. PrivDPO successfully reduced this "memorization advantage" to near zero.

Limitations and Future Work

  • Objective Dependency: PrivDPO’s mathematical framework is strictly tailored to the standard DPO loss function. It does not automatically translate to alternative alignment objectives like KTO, IPO, or SimPO.
  • Public Text Assumption: The framework assumes prompts and responses are non-private. If the text itself contains proprietary or sensitive data, PrivDPO must be combined with other privacy measures.
  • Granularity: The current work focuses on record-level privacy. The authors note that extending this to user-level privacy (protecting all samples contributed by a single user across an entire dataset) and multi-turn interactive settings are vital next steps.

Summary updated

BibTeX
@misc{jiang2026private,
  author = {Yangfan Jiang and Fei Wei and Ergute Bao and Xiaokui Xiao and Yaliang Li and Bolin Ding},
  title = {{Private Direct Preference Optimization for LLM Alignment}},
  year = {2026},
  eprint = {2608.05040},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.05040},
}
Figure