Online DPO: Online Direct Preference Optimization with Fast-Slow Chasing
Biqing Qi, Pengfei Li, Fangyuan Li, Junqi Gao, Kaiyan Zhang, Bowen Zhou
TL;DR
This work tackles online human-preference alignment for large language models, addressing catastrophic forgetting in continual and cross-domain settings. It introduces Online Fast-Slow Chasing DPO (OFS-DPO), which employs two LoRA-based modules with different update speeds and a regularization term to coordinate them, plus Cross-domain COFS-DPO that linearly combines domain memories to preserve prior knowledge. The authors establish regret-based theoretical guarantees and demonstrate superior in-domain alignment and cross-domain memory retention compared to strong baselines. The methods are designed to be memory-efficient and readily applicable to streaming preference data, with practical impact for continual alignment across diverse tasks.
Abstract
Direct Preference Optimization (DPO) improves the alignment of large language models (LLMs) with human values by training directly on human preference datasets, eliminating the need for reward models. However, due to the presence of cross-domain human preferences, direct continual training can lead to catastrophic forgetting, limiting DPO's performance and efficiency. Inspired by intraspecific competition driving species evolution, we propose a Online Fast-Slow chasing DPO (OFS-DPO) for preference alignment, simulating competition through fast and slow chasing among models to facilitate rapid adaptation. Specifically, we first derive the regret upper bound for online learning, validating our motivation with a min-max optimization pattern. Based on this, we introduce two identical modules using Low-rank Adaptive (LoRA) with different optimization speeds to simulate intraspecific competition, and propose a new regularization term to guide their learning. To further mitigate catastrophic forgetting in cross-domain scenarios, we extend the OFS-DPO with LoRA modules combination strategy, resulting in the Cross domain Online Fast-Slow chasing DPO (COFS-DPO). This method leverages linear combinations of fast modules parameters from different task domains, fully utilizing historical information to achive continual value alignment. Experimental results show that OFS-DPO outperforms DPO in in-domain alignment, while COFS-DPO excels in cross-domain continual learning scenarios.
