Active Learning for Direct Preference Optimization

Branislav Kveton, Xintong Li, Julian J. McAuley, Ryan A. Rossi, Jingbo Shang, Junda Wu, Tong YuarXiv 2025 · DOI

Introduction

Aligning Large Language Models (LLMs) with human values is a critical step in modern AI development. While Direct Preference Optimization (DPO) has simplified this process by removing the need for a separate reward model, the cost of collecting high-quality human preference data remains a significant bottleneck. This paper introduces the first formal active learning framework for DPO, proposing algorithms that strategically select the most informative prompt-response pairs to maximize learning efficiency.

Methodology: D-Optimal Design for DPO

The core innovation lies in linearizing the DPO objective by treating the final layer of the neural network as a linear model. This approximation allows the application of D-optimal experimental design, a classical active learning technique that minimizes uncertainty in model parameters by maximizing the information gain from each sample.

The researchers developed two primary algorithms:

  • ADPO (Active DPO): An online algorithm that iteratively selects prompts for human labeling by maximizing the determinant of the Hessian of the DPO loss.
  • ADPO+: An offline variant designed to select the most informative subset from an existing large-scale preference dataset, optimizing computational resources for a fixed training budget.

Theoretical analysis proves that under this framework, the error in learned DPO logits diminishes at a rate of $\tilde{O}(d/\sqrt{n})$, where $d$ is the feature dimensionality and $n$ is the feedback budget.

Experimental Results

The framework was evaluated on synthetic tasks (CIFAR-10/100 transformed into preference data) and real-world LLM alignment tasks using the Nectar dataset with Llama-3.2 (3B) and Phi-3 models.

Synthetic Validation

In synthetic experiments, ADPO+ demonstrated substantial data efficiency. It achieved the same maximum logit error as uniform sampling while using 4x to 8x less data. For instance, ADPO+ at $n < 2^{13}$ performed as well as uniform sampling at $n = 2^{15}$.

Performance comparison on synthetic preference datasets (CIFAR-10 and CIFAR-100) across various error metrics, showing the efficiency of ADPO and ADPO+.

LLM Alignment

On the Nectar dataset, ADPO+ consistently outperformed baselines like uniform sampling and Preference Model Comparison (PMC). The algorithm achieved lower negative log-likelihood (NLL) and higher confidence margins across various sample sizes, proving robust even when the log-linear theoretical assumptions were challenged by deep neural architectures.

Negative log-likelihood (NLL) on the Nectar dataset, showing ADPO+ achieving lower error with fewer data points compared to baselines.

Key Insights and Future Work

The success of these methods highlights that last-layer linearization is a powerful tool for making complex LLM optimization problems tractable. By focusing on the diversity of features (D-optimal design) rather than just model uncertainty, ADPO ensures comprehensive coverage of the feature space.

Future research directions include extending this framework to non-linear policy theories and other alignment objectives like Kahneman-Tversky Optimization (KTO). While the current approach introduces some computational overhead due to Hessian calculations, the significant reduction in required human feedback offers a compelling trade-off for large-scale model alignment.

Summary updated

BibTeX
@misc{kveton2025active,
  author = {Branislav Kveton and Xintong Li and Julian J. McAuley and Ryan A. Rossi and Jingbo Shang and Junda Wu and Tong Yu},
  title = {{Active Learning for Direct Preference Optimization}},
  year = {2025},
  eprint = {2503.01076},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.01076},
}
Figure