arXiv:2605.23244cs.LG2026-05

用凸优化让大模型对齐人类偏好,单卡训练更快更省显存。

Convex Optimization for Alignment and Preference Learning on a Single GPU

论文配图:Convex Optimization for Alignment and Preference Learning on a Single GPU
图 1 · 摘自论文原文
  • 将神经网络重构成凸优化问题,无需参考模型。
  • 训练时间与显存消耗仅需DPO的17.6%,支持单卡运行。
  • 收敛稳定、奖励单调上升,适合资源有限场景。

微调大语言模型以对齐人类偏好推动了Gemini和ChatGPT等系统的发展。然而,基于人类反馈的强化学习(RLHF)计算成本高且复杂,直接偏好优化(DPO)虽更简单,却存在排名准确率不一致、依赖大量GPU资源及超参调优昂贵等问题。本文提出凸优化对齐与偏好学习算法(COALA):一种轻量级新策略,具有强理论保证。通过神经网络的凸优化重构,COALA无需参考模型,显著降低训练时间和显存消耗,实现单卡高效训练。在四个数据集(包括含26621样本的合成教育反馈数据集)和六种模型(含Llama-3.1-8B)上的实验表明,COALA性能媲美主流方法,同时仅需约17.6%的DPO总TFLOPs。COALA展现稳定、单调递增的奖励曲线,并在更短时间内达到最优边际。据我们所知,这是首次成功将凸优化应用于大语言模型的偏好微调。

原文摘要 · Abstract (English)

Fine-tuning large language models (LLMs) to align with human preferences has driven the success of systems such as Gemini and ChatGPT. However, approaches like Reinforcement Learning from Human Feedback (RLHF) remain computationally expensive and complex. Direct Preference Optimization (DPO) offers a simpler alternative but has limitations such as inconsistent ranking accuracy, high dependence on GPU resources, and expensive hyperparameter tuning. We propose the Convex Optimization for Alignment and Preference Learning Algorithm (COALA): a novel lightweight strategy with strong theoretical guarantees. By leveraging the convex optimization reformulation of neural networks, COALA eliminates the need for a reference model and obtains significant reduction in both training time and VRAM consumption, thus enabling efficient training on a single GPU. Experiments across four datasets--including a 26621-sample synthetic Educational Feedback dataset--and six models (including Llama-3.1-8B) demonstrate COALA's competitive performance and efficiency while utilizing as little as ~17.6% of DPO's total TFLOPs. COALA exhibits stable, monotonically increasing rewards and reaches peak margins in significantly shorter time in comparison to traditional methods such as DPO and ORPO. To the best of our knowledge, this is the first time convex optimization has been effectively applied to preference fine-tuning of LLMs.

大模型对齐凸优化单卡训练偏好学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。