Adaptive Batch-Wise Sample Scheduling for Direct Preference Optimization
Zixuan Huang, Yikun Ban, Lean Fu, Xiaojie Li, Zhongxiang Dai, Jianxin Li, Deqing Wang
TL;DR
This work addresses the data-quality bottleneck in Direct Preference Optimization (DPO) by introducing SamS, a lightweight, batch-wise sample scheduler that dynamically selects training samples based on the evolving internal states of the language model, cast as a contextual bandit with a lagged training update and an auxiliary exploration network. SamS computes a composite reward from batch-level learning progress and per-sample uncertainty and preference margins, guiding adaptive subset selection without modifying the core DPO objective. Empirically, integrating SamS into DPO yields consistent improvements across AlpacaEval 2 and MT-Bench, demonstrates robustness to label noise, and reduces memory overhead compared with data pre-selection baselines. The approach promises to generalize to RLHF and other supervised learning settings, enabling more efficient and stable alignment with human preferences.
Abstract
Direct Preference Optimization (DPO) has emerged as an effective approach for aligning large language models (LLMs) with human preferences. However, its performance is highly dependent on the quality of the underlying human preference data. To address this bottleneck, prior work has explored various data selection strategies, but these methods often overlook the impact of the evolving states of the language model during the optimization process. In this paper, we introduce a novel problem: Sample Scheduling for DPO, which aims to dynamically and adaptively schedule training samples based on the model's evolving batch-wise states throughout preference optimization. To solve this problem, we propose SamS, an efficient and effective algorithm that adaptively selects samples in each training batch based on the LLM's learning feedback to maximize the potential generalization performance. Notably, without modifying the core DPO algorithm, simply integrating SamS significantly improves performance across tasks, with minimal additional computational overhead. This work points to a promising new direction for improving LLM alignment through batch-wise sample selection, with potential generalization to RLHF and broader supervised learning paradigms.
