arXivDaily arXiv每日学术速递 周一至周五更新

AI 大模型

大模型对齐与安全

大模型对齐、安全、越狱、红队、提示注入和可信评测。

至 收录 29853 信号源:cs.CL, cs.AI, cs.CY, cs.LG
2604.17299 2026-04-22 cs.CL cs.AI 94%

Cat-DPO: Category-Adaptive Safety Alignment

Cat-DPO:基于类别的安全对齐

Tiankai Yang, Yi Nian, Xinyuan Li, Ruiyao Xu, Kaize Ding, Yue Zhao

机构 * University of Southern California(南加州大学) Northwestern University(西北大学)

专题命中 偏好对齐 :DPO(title,title_cn);alignment(title,abstract);safety(title,abstract);harmlessness(abstract)

AI总结 Cat-DPO通过将安全对齐转化为类别约束优化问题,为每个有害类别设置独立的适应性安全边际,提升整体帮助性和无害性,减少类别间的安全方差和最佳至最差差距。

Comments 23 pages, 6 figures

详情
AI中文摘要

对齐大语言模型与人类偏好必须在两个竞争目标之间取得平衡:对合法请求作出有帮助的回应和可靠地拒绝有害请求。大多数基于偏好的安全对齐方法将安全简化为一个单一标量,均匀应用于每对偏好。结果是一个在平均上看起来安全但对少数有害类别相对不安全的模型。我们将安全对齐视为一个按类别约束的优化问题,并推导出Cat-DPO,一种直接偏好优化算法,为每个有害类别提供单独的适应性安全边际。当模型在某一类别上仍产生不安全的回应时,该边际会收紧,一旦模型赶上,该边际会放松,因此训练信号跟踪每个类别的当前难度,而不是在单一全局速率下平均。在两个LLM基础架构和六个偏好学习基线中,Cat-DPO提高了整体帮助性和无害性,并压缩了每类安全方差和最佳至最差差距,提供了一种直接的类别细化改进。

英文摘要

Aligning large language models with human preferences must balance two competing goals: responding helpfully to legitimate requests and reliably refusing harmful ones. Most preference-based safety alignment methods collapse safety into a single scalar that is applied uniformly to every preference pair. The result is a model that looks safe on average but stays relatively unsafe on a minority of harm categories. We cast safety alignment as a per-category constrained optimization problem and derive Cat-DPO, a direct-preference-optimization algorithm with a separate adaptive safety margin for each harm category. The margin tightens when the model still produces unsafe responses on a category and relaxes once the model catches up, so the training signal tracks each category's current difficulty rather than averaging under one global rate. Across two LLM backbones and six preference-learning baselines, Cat-DPO improves aggregate helpfulness and harmlessness and compresses per-category safety variance and the best-to-worst gap, offering a drop-in per-category refinement of direct preference safety alignment.

URL PDF HTML 收藏
2606.07678 2026-06-16 cs.LG cs.AI 新提交 94%

DOG-DPO:Dynamic Optimization in Geometry for Safety Alignment

DOG-DPO:几何中的动态优化用于安全对齐

Yi Nian, Tiankai Yang, Yudi Zhang, Qi Pan, Zelong Xu, Shenzhe Zhu, Qingqing Luan, Yue Huang, Xiangliang Zhang, Yue Zhao

机构 * University of Southern California(南加州大学) Iowa State University(爱荷华州立大学) University of Wisconsin–Madison(威斯康星大学麦迪逊分校) UT Austin(德克萨斯大学奥斯汀分校) Independent Researcher(独立研究员) University of Notre Dame(圣母大学)

专题命中 偏好对齐 :DPO(title,title_cn);alignment(title,abstract);safety(title,abstract);分类 cs.AI、cs.LG

AI总结 提出DOG-DPO框架,将偏好对表示为模型表示空间中的方向,通过几何分解和多样性覆盖选择子集,仅用11%数据即可恢复大部分安全增益。

详情
AI中文摘要

大型语言模型的安全对齐依赖于偏好数据,但当前的流水线通常训练于大规模冗余数据集。现有的数据选择方法通常独立地对每个偏好对评分,将方向性偏好信息压缩为标量质量或多样性分数。这种以样本为中心的视角在多数据集设置中尤其受限,其中共享的安全方向与数据集特定的残余风险共存。我们提出DOG-DPO,一种无需训练的数据选择框架,将偏好对视为结构化几何信号。DOG-DPO首先将每个偏好对表示为模型表示空间中的一个方向。然后,它将多数据集偏好几何分解为全局锚点子空间和数据集特定的残余子空间。最后,它通过最大化基于多样性的覆盖来选择子集,鼓励在DPO训练前广泛、非冗余地覆盖对齐方向。在六个安全基准和两个模型骨干上,DOG-DPO仅使用11%的偏好对就实现了强大的效用-鲁棒性权衡。它恢复了全数据训练的大部分安全增益,同时完全无需教师、无需训练,并且比代表性选择基线快得多。

英文摘要

Safety alignment for large language models relies on preference data, but current pipelines often train on large, redundant datasets. Existing data selection methods typically score each preference pair independently, collapsing directional preference information into scalar quality or diversity scores. This sample-centric view is especially limiting in multi-dataset settings, where shared safety directions coexist with dataset-specific residual risks. We propose DOG-DPO, a training-free data selection framework that treats preference pairs as structured geometric signals. DOG-DPO first represents each preference pair as a direction in model representation space. It then decomposes multi-dataset preference geometry into a global anchor subspace and dataset-specific residual subspaces. Finally, it selects subsets by maximizing diversity-based coverage, encouraging broad, non-redundant coverage of alignment directions before DPO training. Across six safety benchmarks and two model backbones, DOG-DPO achieves a strong utility-robustness trade-off using only 11% of the preference pairs. It recovers most of the safety gains of full-data training while remaining entirely teacher-free, training-free, and substantially faster than representative selection baselines.

URL PDF HTML 收藏
2506.01523 2026-05-19 cs.LG stat.ML 93%

Beyond RLHF: A Unified Theoretical Framework of Alignment

超越RLHF:对齐的统一理论框架

Jihun Yun, Juno Kim, Jongho Park, Junhyuck Kim, Jongha Jon Ryu, Jaewoong Cho, Kwang-Sung Jun

机构 * KRAFTON UC Berkeley(加州大学伯克利分校) MIT(麻省理工学院) POSTECH

专题命中 偏好对齐 :RLHF(title,title_cn);alignment(title,abstract);DPO(abstract,abstract_cn);分类 cs.LG

AI总结 本文提出了一种统一的对齐理论框架,通过将对齐视为基于成对偏好的分布学习,推导出三种新的对齐目标,并证明了它们在非渐近情况下具有O(1/n)的收敛性,为RLHF提供了理论支持。

详情
AI中文摘要

通过强化学习从人类反馈(RLHF)对大型语言模型(LLMs)输出质量进行控制已成为主流方法。然而,现有理论未能为RLHF目标本身提供有力的理论依据,并且由于不同方法通常在不同框架下分析,难以比较各种方法的保证。为建立统一的对齐框架,本文探讨在何种假设下可以推导出现有或新的训练目标并获得理论保证。为此,本文将对齐重新定义为基于成对偏好的分布学习,这建立了一个概率假设,描述了偏好如何揭示关于目标LM的信息。这导致我们提出三种原理性的对齐目标:偏好最大似然估计、偏好蒸馏和反KL最小化。我们证明了它们都自然地避免退化,并具有O(1/n)的收敛性。特别是,反KL高度类似于RLHF目标,为RLHF提供了有力的理论支持。此外,本文的理论首次解释了实证发现:在策略性目标(如RLHF)通常优于似然式目标(如DPO)。最后,实验结果表明,所提出的目标在多个任务和模型上与强基线竞争。

英文摘要

Alignment via reinforcement learning from human feedback (RLHF) has become the dominant paradigm for controlling the quality of outputs from large language models (LLMs). However, existing theories do not provide strong justification for the RLHF objective itself and do not allow comparisons of the guarantees between various methods because different methods are often analyzed under different frameworks. Toward a unified framework for alignment, we ask under what assumptions can we derive existing or new training objectives and obtain theoretical guarantees. To this end, we reframe alignment as distribution learning from pairwise preferences, which makes a probabilistic assumption describing how preferences reveal information about the target LM. This leads us to propose three principled alignment objectives: preference maximum likelihood estimation, preference distillation, and reverse KL minimization. We prove that they all enjoy strong non-asymptotic $O(1/n)$ convergence to the target LM, naturally avoiding degeneracy. In particular, reverse KL highly resembles the RLHF objective, providing strong justification for RLHF. Furthermore, our theory explains, for the first time, the empirical finding that on-policy objectives (e.g., RLHF) typically outperform likelihood-style objectives (e.g., DPO). Finally, empirical results indicate that the proposed objectives are competitive with strong baselines across several tasks and models.

URL PDF HTML 收藏
2506.02018 2026-06-03 cs.CL 93%

Enhancing Paraphrase Type Generation: The Impact of DPO and RLHF Evaluated with Human-Ranked Data

增强释义类型生成:基于人工排序数据的DPO和RLHF评估影响

Christopher Lee Lübbers

机构 * University of Göttingen(哥廷根大学)

专题命中 偏好对齐 :DPO(title,title_cn);RLHF(title,title_cn);分类 cs.CL

AI总结 本研究利用人工排序的释义类型数据集,结合直接偏好优化(DPO)使模型输出与人类判断对齐,将释义类型生成准确率提升3个百分点,人类偏好评分提升7个百分点,并创建了新的标注数据集以支持更严格的评估。

Comments 21 pages, 11 figures. Master's thesis, University of Goettingen, December 2024. Code: https://github.com/cluebbers/dpo-rlhf-paraphrase-types. Models: https://huggingface.co/collections/cluebbers/enhancing-paraphrase-type-generation-673ca8d75dfe2ce962a48ac0

详情
AI中文摘要

释义通过重新表达含义来增强文本简化、机器翻译和问答等应用。特定的释义类型有助于精确的语义分析和鲁棒的语言模型。然而,现有的释义类型生成方法由于依赖自动评估指标和有限的人工标注训练数据,常常与人类偏好不一致,掩盖了语义保真度和语言转换的关键方面。本研究通过利用人工排序的释义类型数据集,并整合直接偏好优化(DPO)使模型输出直接与人类判断对齐,填补了这一空白。基于DPO的训练将释义类型生成准确率比监督基线提高了3个百分点,并将人类偏好评分提高了7个百分点。新创建的人工标注数据集支持更严格的未来评估。此外,一个释义类型检测模型在增删、同极性替换和标点变化上的F1分数分别达到0.91、0.78和0.70。这些发现表明,偏好数据和DPO训练能产生更可靠、语义更准确的释义,从而改进摘要生成和更鲁棒的问答等下游应用。PTD模型超越了自动评估指标,为评估释义质量提供了更可靠的框架,推动释义类型研究向更丰富、与用户对齐的语言生成发展,并为基于人类中心标准的未来评估奠定了更坚实的基础。

英文摘要

Paraphrasing re-expresses meaning to enhance applications like text simplification, machine translation, and question-answering. Specific paraphrase types facilitate accurate semantic analysis and robust language models. However, existing paraphrase-type generation methods often misalign with human preferences due to reliance on automated metrics and limited human-annotated training data, obscuring crucial aspects of semantic fidelity and linguistic transformations. This study addresses this gap by leveraging a human-ranked paraphrase-type dataset and integrating Direct Preference Optimization (DPO) to align model outputs directly with human judgments. DPO-based training increases paraphrase-type generation accuracy by 3 percentage points over a supervised baseline and raises human preference ratings by 7 percentage points. A newly created human-annotated dataset supports more rigorous future evaluations. Additionally, a paraphrase-type detection model achieves F1 scores of 0.91 for addition/deletion, 0.78 for same polarity substitution, and 0.70 for punctuation changes. These findings demonstrate that preference data and DPO training produce more reliable, semantically accurate paraphrases, enabling downstream applications such as improved summarization and more robust question-answering. The PTD model surpasses automated metrics and provides a more reliable framework for evaluating paraphrase quality, advancing paraphrase-type research toward richer, user-aligned language generation and establishing a stronger foundation for future evaluations grounded in human-centric criteria.

URL PDF HTML 收藏
2605.26315 2026-05-27 cs.LG cs.AI 93%

Curriculum Learning for Safety Alignment

用于安全对齐的课程学习

Sandeep Kumar, Virginia Smith, Chhavi Yadav

机构 * Carnegie Mellon University(卡内基梅隆大学) Simons Institute, UC Berkeley(Simons研究所,伯克利大学)

专题命中 偏好对齐 :safety(title,abstract);DPO(summary_cn,abstract);alignment(title,abstract);jailbreak(abstract)

AI总结 提出基于课程学习的Staged-Competence框架,通过难度分级的偏好数据和渐进式参考模型更新,提升DPO安全对齐的鲁棒性,在三个模型族上平均降低16%的OOD有害响应率和20%的越狱攻击成功率。

Comments Accepted at the ICML 2026 GlobalSouthML Workshop

详情
AI中文摘要

直接偏好优化(DPO)广泛用于大型语言模型的安全对齐。然而,先前的工作表明它脆弱且表现出较差的分布外(OOD)泛化能力。在本文中,我们研究课程学习是否能提高基于DPO的安全对齐的鲁棒性。我们提出Staged-Competence,一个基于课程的框架,它按难度组织偏好数据,采用基于能力的采样,并在训练过程中逐步更新参考模型。在三个模型族上平均,Staged-Competence将OOD有害响应率降低16%,越狱攻击成功率降低20%,同时保持接近零的过度拒绝,保留通用能力。我们进一步表明,Staged-Competence(1)仅使用75%的训练数据即可达到基线安全性,(2)在安全与不安全响应之间产生更好的分离。Staged-Competence与策略优化损失无关,并可扩展到其他DPO变体和对齐领域。我们的代码和数据可在https://github.com/Sandeep5500/curriculum-learning-for-safety获取。

英文摘要

Direct Preference Optimisation (DPO) is widely used for safety alignment in large language models. However, prior work shows it is brittle and exhibits poor out-of-distribution (OOD) generalisation. In this paper, we investigate whether Curriculum Learning can improve the robustness of DPO-based safety alignment. We propose Staged-Competence, a curriculum-based framework that organises preference data by difficulty, employs competence-based sampling, and progressively updates the reference model during training. Averaged across three model families, Staged-Competence reduces OOD harmful response rates by 16% and jailbreak attack success rates by 20%, while preserving general capabilities with near-zero over-refusal. We further show that Staged-Competence (1) matches baseline safety with only 75% of the training data and (2) yields better separation between safe and unsafe responses. Staged-Competence is agnostic to the policy optimisation loss and can extend to other DPO variants and alignment domains. Our code and data are available at https://github.com/Sandeep5500/curriculum-learning-for-safety.

URL PDF HTML 收藏
2604.20685 2026-04-23 cs.LG 93%

MGDA-Decoupled: Geometry-Aware Multi-Objective Optimisation for DPO-based LLM Alignment

MGDA-Decoupled:基于几何的多目标优化用于基于DPO的LLM对齐

Andor Vári-Kakas, Ji Won Park, Natasa Tagasovska

机构 * Prescient Design, CS CoE, Genentech | Roche(预见设计,计算机科学学院,基因泰克 | 罗氏)

专题命中 偏好对齐 :DPO(title,title_cn);alignment(title,abstract);harmlessness(abstract);分类 cs.LG

AI总结 本文提出MGDA-Decoupled算法,通过几何方法在DPO框架内实现更公平的多目标优化,实验显示其在UltraFeedback数据集上表现最优。

Comments Accepted to the Algorithmic Fairness Across Alignment Procedures and Agentic Systems Workshop at ICLR 2026

详情
AI中文摘要

对齐大型语言模型(LLM)以符合人类价值观需要平衡多个潜在冲突的目标,如有用性、真实性与无害性,这构成了多目标优化挑战。大多数对齐流程依赖于固定标量化这些目标,这可能通过系统性地低估更难优化或少数目标而引入程序不公平。为促进更公平的权衡,我们引入MGDA-Decoupled,一种基于几何的多目标优化算法,能够在寻找共享下降方向的同时显式考虑每个目标的收敛动态。与依赖强化学习(如GAPO)或显式奖励模型(如MODPO)的先前方法不同,我们的方法完全在轻量级直接偏好优化(DPO)范式内运行。在UltraFeedback数据集上的实验表明,几何感知方法——特别是MGDA-Decoupled——在整体和每个目标上均实现了最高的胜率对黄金响应。

英文摘要

Aligning large language models (LLMs) to desirable human values requires balancing multiple, potentially conflicting objectives such as helpfulness, truthfulness, and harmlessness, which presents a multi-objective optimisation challenge. Most alignment pipelines rely on a fixed scalarisation of these objectives, which can introduce procedural unfairness by systematically under-weighting harder-to-optimise or minority objectives. To promote more equitable trade-offs, we introduce MGDA-Decoupled, a geometry-based multi-objective optimisation algorithm that finds a shared descent direction while explicitly accounting for each objective's convergence dynamics. In contrast to prior methods that depend on reinforcement learning (e.g., GAPO) or explicit reward models (e.g., MODPO), our approach operates entirely within the lightweight Direct Preference Optimisation (DPO) paradigm. Experiments on the UltraFeedback dataset show that geometry-aware methods -- and MGDA-Decoupled in particular -- achieve the highest win rates against golden responses, both overall and per objective.

URL PDF HTML 收藏
2605.30021 2026-06-04 cs.CL 93%

Recovering Diversity Without Losing Alignment: A DPO Recipe for Post-Trained LLMs

在不损失对齐的情况下恢复多样性:面向后训练大语言模型的DPO配方

Vinay Samuel, Yapei Chang, Mohit Iyyer

机构 * University of Maryland, College Park(马里兰大学 College Park 分校)

专题命中 偏好对齐 :DPO(title,title_cn);alignment(title,abstract);safety(abstract);分类 cs.CL

AI总结 提出REDIPO数据构建流程,通过离线DPO从基础模型生成中恢复多样性答案,同时保持指令模型的对齐性能。

Comments Under Review. 26 pages, 3 figures, 16 tables

详情
AI中文摘要

许多开放式指令有多个有效答案,用户可以从看到这些答案中受益,但后训练往往将LLM的输出空间缩小到一小部分规范响应。我们引入REDIPO,一种离线DPO数据构建流程,用于恢复不同的有效答案模式,同时保留指令模型的对齐优势。对于每个提示,REDIPO从基础模型和指令模型中采样响应,用指令模型重写基础模型响应,过滤候选以确保安全和指令遵循质量,并构建偏好对,在具有相似指令遵循奖励的候选者中偏向边际多样的响应。在Qwen3-4B、OLMo-3-7B和LLaMA-3.1-8B上,相对于指令检查点,REDIPO将NoveltyBench distinct_k分别提高了134%、33%和44%,而DivPO在同一模型上将多样性改变了0%、-6%和-4%。这些增益在很大程度上保持了MTBench、IFEval和Arena-Hard的性能,并降低了直接类别HarmBench攻击成功率。消融实验表明,边际多样性对选择和基础响应重写驱动了多样性增益,而过滤和质量边界配对有助于保持对齐。总体而言,我们的结果表明,通过精心构建的偏好数据,可以重新引入基础模型生成中的多样化有效答案,同时保留后训练的对齐优势。我们在https://github.com/vsamuel2003/RiDiPO发布代码和数据。

英文摘要

Many open-ended instructions have multiple valid answers that users can benefit from seeing, but post-training often narrows an LLM's output space toward a small set of canonical responses. We introduce REDIPO, an offline DPO data-construction pipeline for recovering distinct valid answer modes while preserving the alignment benefits of the instruct model. For each prompt, REDIPO samples responses from both base and instruct models, rewrites base-model responses with the instruct model, filters candidates for safety and instruction-following quality, and builds preference pairs that favor marginally diverse responses among candidates with similar instruction-following reward. Across Qwen3-4B, OLMo-3-7B, and LLaMA-3.1-8B, REDIPO improves NoveltyBench distinct_k by 134%, 33%, and 44% relative to the instruct checkpoints, while DivPO changes diversity by 0%, -6%, and -4% on the same models. These gains largely maintain MTBench, IFEval, and Arena-Hard performance, and reduce direct-category HarmBench attack success rate. Ablations show that marginal-diversity pair selection and base-response rewriting drive the diversity gains, while filtering and quality-bounded pairing help maintain alignment. Overall, our results show that diverse valid answers from base-model generations can be reintroduced through carefully constructed preference data while retaining the alignment benefits of post-training. We release our code and data at https://github.com/vsamuel2003/ReDiPO.

URL PDF HTML 收藏
2606.03238 2026-07-10 cs.LG cs.AI 版本更新 93%

When RLHF Fails: A Mechanistic Taxonomy of Reward Hacking, Collapse, and Evaluator Gaming

当RLHF失败时:奖励黑客、崩溃和评估者博弈的机制分类

Zelalem Abahana, David Evans, Satish Mahadevan Srinivasan, Matjaz Gams

机构 * First Citizens Bank(第一公民银行) Alma Mater Europaea University(欧洲大学)

专题命中 偏好对齐 :RLHF(title,title_cn);DPO(summary_cn,abstract);分类 cs.AI、cs.LG

AI总结 本文通过PPO、DPO等方法的对比实验,提出了一种基于奖励和评估者分数方向的机制分类法,将RLHF失败模式分类为可定位、可预测的训练动态。

Comments 20 pages, 8 figures; includes code, artifacts, and live demo

详情
AI中文摘要

从人类反馈中强化学习(RLHF)通过用学习到的可扩展代理替代未明确指定的人类目标,实现了大规模后训练。这种替代同时创建了一个结构化的失败面:优化可以提高学习到的奖励而外部质量下降,降低代理和评估者分数,揭示代理欠对齐,或产生评估者特定的分歧。我们展示了一个紧凑RLHF流程的实证失败模式研究,该流程包括近端策略优化(PPO)、直接偏好优化(DPO)、不确定性惩罚PPO(UP-PPO)、奖励模型不确定性、近似策略漂移、多样性和重复诊断,以及两个外部LLM评估者。我们不将奖励黑客视为单一终端事件,而是使用学习到的奖励、评估者分数和平均评估者分数的方向对检查点之间的匹配转换进行分类。在61个检查点行和1920个行级转换中,激进的PPO具有最高的局部奖励黑客率(14.45%;bootstrap 95% CI: 10.16-18.75),而UP-PPO在相同激进机制下产生较低率(11.33-10.94%)。转换前的逻辑模型以ROC-AUC 0.821预测未来行级奖励黑客,行级分析发现12个设置中有3个存在检查点平均值遗漏的局部奖励黑客。核心结论是方法论上的:RLHF失败不仅是最终模型病理,而且是可分类、可定位和部分可预测的训练动态。

英文摘要

RLHF evaluation should track how failures emerge, where they localize, and which warning signals appear before external quality degrades. We study this problem with a compact RLHF pipeline built for this paper, including PPO, DPO, uncertainty-penalized PPO (UP-PPO), reward-model uncertainty, approximate policy drift, diversity and repetition diagnostics, and two external LLM judges. Rather than treating reward hacking as a single terminal event, we classify matched checkpoint and prompt-level transitions by the directions of learned reward R_phi, judge scores R_dag and R2_dag, and their average R_dag. The main empirical findings are that aggressive PPO produces the clearest localized reward-hacking signal, UP-PPO reduces but does not eliminate that signal, row-level diagnostics reveal failures hidden by checkpoint averages, and pre-transition features partially anticipate future localized reward hacking. The central conclusion is methodological: RLHF failures are training dynamics that can be classified, localized, and partially anticipated, not only final-model pathologies. The repository is available at github.com/zabahana/rlhf-failure-modes-diagnostics. The pipeline is also deployed as a live interactive web demo for model comparison and diagnostic views at rlhf-failures.zelalem.ai.

URL PDF HTML 收藏
2510.23868 2026-05-15 cs.LG cs.CL 93%

GIFT: Group-Relative Implicit Fine-Tuning Integrates GRPO with DPO and UNA

GIFT: 组相对隐式微调整合GRPO与DPO和UNA

Zhichao Wang

机构 * Inflection AI

专题命中 偏好对齐 :DPO(title,title_cn);RLHF(summary_cn,abstract);分类 cs.CL、cs.LG

AI总结 GIFT结合GRPO组采样、DPO隐式奖励和UNA的隐式与显式优势MSE,通过z-score标准化消除DPO隐式奖励中的不可行分区函数Z(x)和RLHF/RLVR目标中的KL系数β,以组相对隐式微调解决相同参数策略族,用提示适应的β(x)替代外部调优的β。

详情
AI中文摘要

本文探讨了奖励匹配是否是替代奖励最大化方法用于LLM的在线策略学习的可行替代方案。提出了一种组相对隐式微调(GIFT),结合GRPO式的组采样、DPO式的隐式奖励以及UNA式的隐式与显式优势MSE。通过应用Z分数标准化,消除了DPO隐式奖励中的不可行分区函数Z(x)以及RLHF和RLVR目标中的KL系数β。$\mathcal{L}_{\text{GIFT}}$的总体最小化器在闭式中被表征:它们恰好与GRPO/RLHF解家族$π^{*}_β(y|x)\proptoπ_{\text{ref}}(y|x)e^{\frac{1}βr_ϕ(x,y)}$一致,具有提示依赖的、方差决定的KL系数$β(x)=\frac{σ_ϕ(x)}{\hatσ_θ(x)}$。因此,GIFT解决了与GRPO相同的参数策略族,用提示适应的$β(x)$替代GRPO外部调优的标量$β$。实证上,在7B-32B架构上,GIFT比GRPO、DAPO和GSPO收敛更快,且在RLVR(GSM8K、MATH、AIME)上过拟合更少,并在RLHF(AlpacaEval、Arena-Hard)上产生更高的长度控制胜率。所有证明和详细背景均推迟到附录中。

英文摘要

This paper investigates whether reward matching is a viable alternative to reward maximization methods for on-policy RL of LLMs. Group-relative Implicit Fine-Tuning (GIFT) is proposed, combining GRPO-style group sampling, DPO-style implicit reward, and UNA-style MSE between implicit and explicit advantages. By applying z-score standardization, the intractable partition function $Z(x)$ in the DPO implicit reward is canceled, and the KL coefficient $β$ is eliminated from the RLHF and RLVR objective. The population minimizers of $\mathcal{L}_{\text{GIFT}}$ are characterized in closed form: they coincide exactly with the GRPO/RLHF solution family $π^{*}_β(y|x)\proptoπ_{\text{ref}}(y|x)e^{\frac{1}βr_ϕ(x,y)}$, with a prompt-dependent, variance-determined KL coefficient $β(x)=\frac{σ_ϕ(x)}{\hatσ_θ(x)}$. GIFT therefore solves the same parametric policy family as GRPO while replacing GRPO's externally tuned scalar $β$ with a prompt-adaptive $β(x)$ optimized endogenously by matching reward distributions. Empirically, on 7B-32B backbones, GIFT converges faster than GRPO, DAPO and GSPO and overfits less on RLVR (GSM8K, MATH, AIME) and produces higher length-controlled win rates on RLHF (AlpacaEval, Arena-Hard). All proofs and detailed background are deferred to the appendix.

URL PDF HTML 收藏
2602.21346 2026-02-26 cs.CL cs.AI 93%

Alignment-Weighted DPO: A principled reasoning approach to improve safety alignment

基于对齐的DPO:一种原则性的推理方法以提高安全性对齐

Mengxuan Hu, Vivek V. Datla, Anoop Kumar, Zihan Guan, Sheng Li, Alfy Samuel, Daben Liu

机构 * University of Virginia(弗吉尼亚大学) Capital One

专题命中 偏好对齐 :alignment(title,abstract);DPO(title,abstract);safety(title,abstract);RLHF(abstract)

AI总结 本文提出基于对齐的DPO方法,通过引入推理意识的后训练和对齐加权机制,提升大语言模型的安全性对齐鲁棒性。

详情
AI中文摘要

最近在对齐技术方面的进展,如监督微调(SFT)、人类反馈强化学习(RLHF)和直接偏好优化(DPO),已经提高了大型语言模型(LLMs)的安全性。然而,这些LLMs仍然容易受到劫持攻击的威胁,这些攻击通过间接或欺骗性的措辞来伪装有害意图。利用因果干预,我们实证地证明这种脆弱性源于浅层对齐机制,这些机制缺乏深度推理,通常拒绝有害提示而没有真正理解为何它们有害。为了缓解这种脆弱性,我们提出通过推理意识的后训练来增强对齐。我们构建并发布了包含既有实用性导向又安全关键提示的新型思路链(CoT)微调数据集,这些提示包含逐步的推理过程。在该数据集上进行微调可促使模型生成基于推理的合理拒绝,优于标准SFT基线。此外,受CoT微调中失败模式的启发,我们引入了对齐加权DPO,该方法通过为推理和最终答案部分分配不同的偏好权重来针对输出中最棘手的部分。这产生了比普通DPO更细致、有针对性的更新,并提高了对多种劫持策略的鲁棒性。在多个安全性和实用性基准上的广泛实验表明,我们的方法在保持整体模型实用性的同时,一致提高了对齐的鲁棒性。

英文摘要

Recent advances in alignment techniques such as Supervised Fine-Tuning (SFT), Reinforcement Learning from Human Feedback (RLHF), and Direct Preference Optimization (DPO) have improved the safety of large language models (LLMs). However, these LLMs remain vulnerable to jailbreak attacks that disguise harmful intent through indirect or deceptive phrasing. Using causal intervention, we empirically demonstrate that this vulnerability stems from shallow alignment mechanisms that lack deep reasoning, often rejecting harmful prompts without truly understanding why they are harmful. To mitigate this vulnerability, we propose enhancing alignment through reasoning-aware post-training. We construct and release a novel Chain-of-Thought (CoT) fine-tuning dataset that includes both utility-oriented and safety-critical prompts with step-by-step rationales. Fine-tuning on this dataset encourages models to produce principled refusals grounded in reasoning, outperforming standard SFT baselines. Furthermore, inspired by failure patterns in CoT fine-tuning, we introduce Alignment-Weighted DPO, which targets the most problematic parts of an output by assigning different preference weights to the reasoning and final-answer segments. This produces finer-grained, targeted updates than vanilla DPO and improves robustness to diverse jailbreak strategies. Extensive experiments across multiple safety and utility benchmarks show that our method consistently improves alignment robustness while maintaining overall model utility.

URL PDF HTML 收藏
2510.03520 2026-06-11 cs.LG cs.AI cs.SY eess.SY 版本更新 93%

Certifiable Safe RLHF: Semantic Grounding and Fixed Penalty Constraint Optimization for Safer LLM Alignment

可认证安全RLHF:基于语义基础与固定惩罚约束优化的更安全大语言模型对齐

Kartik Pandit, Sourav Ganguly, Arnesh Banerjee, Shaahin Angizi, Arnob Ghosh

机构 * Department of Electrical and Computer Engineering(电气与计算机工程系) New Jersey Institute of Technology(新泽西理工学院) Department of Computer Engineering(计算机工程系) Heritage Institute of Technology(遗产理工学院)

专题命中 偏好对齐 :RLHF(title,title_cn);alignment(title);safety(abstract);分类 cs.AI、cs.LG

AI总结 针对现有RLHF方法依赖奖励/成本函数和双变量调优导致性能敏感且缺乏可证明安全保证的问题,提出CS-RLHF,通过语义基础成本模型和固定惩罚约束优化,实现可认证安全对齐,效率提升至少5倍。

详情
AI中文摘要

确保安全是大语言模型(LLMs)的基本要求。在增强模型输出效用与减轻其潜在危害之间取得适当平衡是一个复杂且持续的挑战。当代方法通常将这个问题形式化为约束马尔可夫决策过程(CMDP)框架,并采用成熟的CMDP优化技术。然而,这些方法表现出两个显著的限制。首先,它们对奖励和成本函数的依赖使得性能对底层评分机制高度敏感,而该机制必须捕捉语义含义,而不是被表面关键词触发。其次,基于CMDP的训练需要调整双变量,这一过程计算成本高昂,并且对于可能通过对抗性越狱利用的固定双变量,不提供任何可证明的安全保证。为了克服这些限制,我们引入了可认证安全RLHF(CS-RLHF),它引入了一个在大规模语料库上训练的成本模型,以分配基于语义的安全分数。与基于拉格朗日的方法相比,CS-RLHF采用了一种修正的基于惩罚的公式。该设计借鉴了约束优化中精确惩罚函数理论,其中约束满足直接通过适当选择的惩罚项来强制执行。通过适当缩放的惩罚,可以在优化器处保证安全约束的可行性,从而消除了双变量更新的需要。实证评估表明,CS-RLHF优于最先进的LLM模型响应,对正常和越狱提示的效率至少提高5倍。

英文摘要

Ensuring safety is a foundational requirement for large language models (LLMs). Achieving an appropriate balance between enhancing the utility of model outputs and mitigating their potential for harm is a complex and persistent challenge. Contemporary approaches frequently formalize this problem within the framework of Constrained Markov Decision Processes (CMDPs) and employ established CMDP optimization techniques. However, these methods exhibit two notable limitations. First, their reliance on reward and cost functions renders performance highly sensitive to the underlying scoring mechanism, which must capture semantic meaning rather than being triggered by superficial keywords. Second, CMDP-based training entails tuning dual-variable, a process that is both computationally expensive and does not provide any provable safety guarantee for a fixed dual variable that can be exploitable through adversarial jailbreaks. To overcome these limitations, we introduce Certifiable Safe-RLHF (CS-RLHF) that introduces a cost model trained on a large-scale corpus to assign semantically grounded safety scores. In contrast to the lagrangian-based approach, CS-RLHF adopts a rectified penalty-based formulation. This design draws on the theory of exact penalty functions in constrained optimization, wherein constraint satisfaction is enforced directly through a suitably chosen penalty term. With an appropriately scaled penalty, feasibility of the safety constraints can be guaranteed at the optimizer, eliminating the need for dual-variable updates. Empirical evaluation demonstrates that CS-RLHF outperforms state-of-the-art LLM model responses rendering at-least 5 times efficient against nominal and jail-breaking prompts

URL PDF HTML 收藏
2605.21225 2026-05-21 cs.LG cs.AI 93%

PREFINE: Preference-Based Implicit Reward and Cost Fine-Tuning for Safety Alignment

PREFINE: 基于偏好的隐式奖励和成本微调以实现安全对齐

Richa Verma, Bavish Kulur, Sanjay Chawla, Balaraman Ravindran

机构 * TCS Research, \ of CSE, IIT Madras India Department of Computing Science, \ of Alberta Canada Qatar Computing Research Institute, \ Bin Khalifa University Qatar Department of Data Science \& AI, Wadhwani School of Data Science \& AI, IIT Madras India TCS Research, \ of CSE, IIT Madras Department of Computing Science, \ of Alberta Qatar Computing Research Institute, \ Bin Khalifa University Department of Data Science \& AI, Wadhwani School of Data Science \& AI, IIT Madras

专题命中 偏好对齐 :alignment(title,abstract);safety(title,abstract);RLHF(abstract,abstract_cn);DPO(abstract,abstract_cn)

AI总结 该研究提出PREFINE方法,通过基于偏好的隐式奖励和成本微调,在连续控制环境中实现安全策略对齐,通过微调预训练强化学习策略以生成低成本行为同时保持高奖励。

Comments Accepted at AAMAS 2026 as a full paper

详情
AI中文摘要

我们解决了通过引入成本约束使预训练的强化学习(RL)策略安全意识的问题,而无需重新训练。虽然成本可以数值编码,但我们假设更一般的情况是当成本作为偏好提供时。给定一个奖励优化的策略和一个小的偏好(低成本)和不偏好(高成本)轨迹数据集,我们的目标是微调策略以生成低成本行为,同时保留高奖励。与标准RLHF在语言模型中不同,我们的设置涉及轨迹层面的偏好,在连续控制环境中。我们介绍了PREFINE:基于偏好的隐式奖励和成本微调以实现安全对齐,这是一种基于偏好的微调方法,将现在广泛用于LLM微调的直接偏好优化(DPO)适应到序列决策设置中。PREFINE构造策略采样的反事实轨迹以建立有意义的偏好对比,并联合优化奖励保留和安全对齐。实证上,PREFINE将约束违反和灾难性故障减少了超过60%,同时保持原始奖励行为。PREFINE生成的策略在显著提高数据和计算效率的情况下,实现了低成本、高奖励性能, bridging preference alignment和安全策略适应在连续域中。

英文摘要

We address the problem of making a pre-trained reinforcement learning (RL) policy safety-aware by incorporating cost constraints without retraining it from scratch. While costs could be numerically encoded, we assume a more general setting is when costs are provided as preferences. Given a reward-optimized policy and a small dataset of preferred (low-cost) and dispreferred (high-cost) trajectories, our goal is to fine-tune the policy to generate low-cost behaviors while retaining high rewards. Unlike standard RLHF in language models, where preferences are defined over responses to the same prompt, our setting involves trajectory-level preferences in continuous control environments. We introduce PREFINE: Preference-based Implicit Reward and Cost Fine-Tuning for Safety Alignment which is a preference-based fine-tuning method that adapts Direct Preference Optimization (DPO), which is now widely used for LLM fine-tuning, to the sequential decision making setting. PREFINE constructs policy-sampled counterfactual trajectories to establish meaningful preference contrasts and jointly optimizes for reward retention and safety alignment. Empirically, PREFINE reduces constraint violations and catastrophic failures by over 60% while maintaining original reward behavior. PREFINE produces policies that achieve low-cost, high-reward performance with significantly improved data and computational efficiency compared to full offline RL or imitation learning, bridging preference alignment and safe policy adaptation in continuous domains.

URL PDF HTML 收藏
2508.04149 2026-05-19 cs.CL cs.AI cs.LG 93%

Difficulty-Based Preference Data Selection by DPO Implicit Reward Gap

基于难度的偏好数据选择:通过DPO隐式奖励差距

Xuan Qi, Rongwu Xu, Zhijing Jin

机构 * Paul G. Allen School of Computer Science & Engineering, University of Washington(华盛顿大学计算机科学与工程保罗·G·艾伦学校) Max Planck Institute for Intelligent Systems, Tübingen, Germany(德国图宾根马克斯·普朗克智能系统研究所) Jinesis Lab, University of Toronto & Vector Institute(多伦多大学Jinesis实验室及向量研究所)

专题命中 偏好对齐 :DPO(title,title_cn);RLHF(abstract,abstract_cn);alignment(abstract);分类 cs.CL、cs.AI、cs.LG

AI总结 本文提出基于难度的偏好数据选择方法,利用DPO隐式奖励机制选择奖励差距小的样本,提升数据效率和模型对齐性能,在多个数据集和对齐任务中优于五个基线方法。

Comments Our code and data are available at https://github.com/Difficulty-Based-Preference-Data-Select/Difficulty-Based-Preference-Data-Select

详情
AI中文摘要

对齐大语言模型(LLMs)与人类偏好是AI研究中的关键挑战。尽管强化学习从人类反馈(RLHF)和直接偏好优化(DPO)等方法被广泛使用,但它们通常依赖于大规模、成本高的偏好数据集。本文缺少针对偏好数据的高质量数据选择方法。在本文中,我们引入了一种基于难度的偏好数据选择策略,该策略基于DPO隐式奖励机制。通过选择奖励差距较小的偏好数据示例,这些示例代表更具挑战性的案例,从而提高数据效率和模型对齐。我们的方法在多个数据集和对齐任务中一致优于五个强大的基线方法,仅使用原始数据的10%即可实现优越性能。这种原理上高效的选择方法为在有限资源下扩展LLM对齐提供了有前景的解决方案。

英文摘要

Aligning large language models (LLMs) with human preferences is a critical challenge in AI research. While methods like Reinforcement Learning from Human Feedback (RLHF) and Direct Preference Optimization (DPO) are widely used, they often rely on large, costly preference datasets. The current work lacks methods for high-quality data selection specifically for preference data. In this work, we introduce a novel difficulty-based data selection strategy for preference datasets, grounded in the DPO implicit reward mechanism. By selecting preference data examples with smaller DPO implicit reward gaps, which are indicative of more challenging cases, we improve data efficiency and model alignment. Our approach consistently outperforms five strong baselines across multiple datasets and alignment tasks, achieving superior performance with only 10\% of the original data. This principled, efficient selection method offers a promising solution for scaling LLM alignment with limited resources.

URL PDF HTML 收藏
2606.09735 2026-06-09 cs.CL 新提交 92%

The Neutral Mask: How RLHF Provides Shallow Alignment while Leaving Partisan Structure Intact in a Large Language Model

中性面具:RLHF如何提供浅层对齐而保留大语言模型中的党派结构

Wendy K. Tam

机构 * Vanderbilt University(范德堡大学) University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校) National Center for Supercomputing Applications(国家超级计算应用中心)

专题命中 偏好对齐 :RLHF(title,title_cn);alignment(title,abstract);分类 cs.CL

AI总结 研究RLHF对Llama 3.1 8B党派倾向的影响,发现RLHF仅压缩党派信号方差以实现中性输出,而非移除党派结构,且特征级操控可绕过对齐。

详情
AI中文摘要

对齐训练的目标是使大语言模型安全且有用。主要机制——基于人类反馈的强化学习(RLHF)——通过使模型与“人类价值观”对齐来塑造部署语言模型的行为。然而,这一过程并不透明:编码了哪些价值观?这些价值观是谁的?RLHF如何编码它们?越来越多的证据表明,RLHF仅产生功能性遵从而非深度对齐。我们以党派政治取向为例,对Llama 3.1 8B在RLHF前后的内部表征进行比较,进行了机制性案例研究。我们表明,RLHF并未移除基础模型中的结构化党派方向。相反,它压缩了党派信号的方差,以生成一致平衡且无党派的输出。稀疏自编码器分解揭示,在基础模型中零星激活的策略编码特征在Instruct模型中完全失活。特征级操控实验证实了因果断开。因此,RLHF编码了政治中立的规范,不是通过擦除模型对党派性的知识,而是通过切断从党派几何到输出生成的因果路径。重要的是,这种中立性是功能性的而非结构性的,因此支持党派操控的底层几何结构保持完整。绕过RLHF护栏的机制(例如推断并放大用户的党派身份)会重新激活党派生成。如果RLHF通过断开而非移除价值负载结构来运作,那么同样的模式可能适用于其他价值领域,并且对齐模型的行为可能比其输出所暗示的更脆弱。

英文摘要

The ambition behind alignment training is to make large language models safe and useful. The primary mechanism, reinforcement learning from human feedback (RLHF), shapes the behavior of deployed language models by aligning them with ``human values.'' Yet the process is opaque. What values are being encoded; whose values are they; and how does RLHF encode them? A growing body of evidence suggests that RLHF produces only functional compliance rather than deep alignment. We offer a mechanistic case study of this phenomenon for partisan political orientation with a comparison of the internal representations of Llama 3.1 8B before and after RLHF. We show that RLHF does not remove the structured partisan direction in the base model. Instead, it compresses the variance of the partisan signal to generate consistently balanced and non-partisan output. Sparse autoencoder decomposition reveals that policy-encoding features, which activate sporadically in the base model, are completely inactive in the Instruct model. Feature-level steering experiments confirm the causal disconnect. RLHF thus encodes a norm of political neutrality, not by erasing the model's knowledge of partisanship, but by severing the causal pathway from partisan geometry to output generation. Importantly, this neutrality is functional, not structural so that the underlying geometry that enables partisan steering remains intact. The mechanisms that bypass RLHF's guardrails, such as inferring and amplifying a user's partisan identity, reactivate partisan generation. If RLHF operates by disconnecting rather than removing value-laden structure, then the same pattern may hold for other value domains, and the aligned model's behavior may be more fragile than its outputs suggest.

URL PDF HTML 收藏
2505.12843 2026-06-25 cs.LG cs.AI 版本更新 92%

Bias Fitting to Mitigate Length Bias of Reward Model in RLHF

偏差拟合以缓解RLHF中奖励模型的长度偏差

Kangwen Zhao, Jianfeng Cai, Jinhua Zhu, Ruopei Sun, Dongyun Xue, Wengang Zhou, Li Li, Houqiang Li

机构 * University of Science and Technology of China(中国科学技术大学)

专题命中 偏好对齐 :RLHF(title,title_cn);DPO(abstract,abstract_cn);alignment(abstract);分类 cs.AI、cs.LG

AI总结 提出FiMi-RM框架,通过自学习长度与奖励的非线性关系并解耦,有效缓解RLHF中奖励模型因长度偏差导致的奖励破解问题。

Comments 16 pages, 12 figures. Accepted to ACL 2026

详情
AI中文摘要

基于人类反馈的强化学习(RLHF)依赖奖励模型来使大型语言模型与人类偏好对齐。然而,RLHF常常遭受奖励破解,即策略学习利用训练好的奖励模型中的缺陷来最大化奖励分数,而没有真正与人类偏好对齐。这种奖励破解的一个显著例子是长度偏差,其中奖励模型通常偏好较长的回复,而不考虑实际回复质量。先前解决长度偏差的工作存在明显局限性,这些方法要么在未表征偏差形式的情况下缓解偏差,要么简单地假设线性长度-奖励关系。为了准确建模长度偏差的复杂性质并促进更有效的偏差缓解,我们提出了FiMi-RM(偏差拟合以缓解RLHF中奖励模型的长度偏差),一个自主学习和纠正潜在偏差模式的框架。我们的方法包括三个阶段:首先,我们通过训练一个固有包含长度偏差的标准奖励模型进行预热。接下来,我们部署一个轻量级拟合模型来捕捉长度与奖励之间的非线性关系。最后,我们将这种学习到的关系融入奖励模型,有效解耦长度与奖励,同时保留偏好建模能力。实验结果表明,FiMi-RM实现了更平衡的长度-奖励分布。此外,当应用于直接偏好优化(DPO)和Best-of-N(BoN)等对齐算法时,我们的去偏奖励模型提高了长度控制的胜率,并减少了冗长性,同时不损害其性能。

英文摘要

Reinforcement Learning from Human Feedback (RLHF) relies on reward models to align large language models with human preferences. However, RLHF often suffers from reward hacking, wherein policy learning exploits flaws in the trained reward model to maximize reward scores without genuinely aligning with human preferences. A significant example of such reward hacking is length bias, where reward models usually favor longer responses irrespective of actual response quality. Previous works on tackling length bias have notable limitations, these approaches either mitigate bias without characterizing the bias form, or simply assume a linear length-reward relation. To accurately model the intricate nature of length bias and facilitate more effective bias mitigation, we propose FiMi-RM (Bias Fitting to Mitigate Length Bias of Reward Model), a framework that autonomously learns and corrects underlying bias patterns. Our approach consists of three stages: First, we warm up by training a standard reward model which inherently contains length bias. Next, we deploy a lightweight fitting model to capture the non-linear relation between length and reward. Finally, we incorporate this learned relation into the reward model, effectively decoupling length from reward while preserving preference modeling capabilities. Experimental results demonstrate that FiMi-RM achieves a more balanced length-reward distribution. Furthermore, when applied to alignment algorithms such as Direct Preference Optimization (DPO) and Best-of-N (BoN), our debiased reward model improves length-controlled win rate and reduces verbosity without compromising its performance.

URL PDF HTML 收藏
2505.10892 2026-06-08 cs.LG 版本更新 92%

Multi-Objective Preference Optimization: Improving Human Alignment of Generative Models

多目标偏好优化:提升生成模型的人类对齐

Akhil Agnihotri, Rahul Jain, Deepak Ramachandran, Zheng Wen

机构 * University of California, Berkeley(加州大学伯克利分校) Stanford University(斯坦福大学)

专题命中 偏好对齐 :RLHF(summary_cn,abstract);alignment(title,abstract);DPO(abstract,abstract_cn);safety(abstract)

AI总结 针对RLHF和偏好优化方法假设单一目标的问题,提出多目标偏好优化框架MOPO,通过约束KL散度最大化主要目标并保障次要目标下限,在合成基准和人类偏好数据上实现帕累托最优策略。

Comments arXiv admin note: text overlap with arXiv:2406.18853 by other authors

详情
AI中文摘要

使用RLHF和偏好优化方法(如DPO、IPO)对LLM进行后训练已大大改善了对齐,但这些方法假设单一目标。实际上,人类表达多个通常相互冲突的目标,例如有用性和无害性,没有自然的标量化。我们研究多目标偏好对齐问题,其中策略必须同时平衡多个目标。我们提出多目标偏好优化(MOPO),一个受约束的KL正则化框架,通过可调安全阈值在强制执行次要目标下限的同时最大化主要目标。MOPO直接操作成对偏好,无需点式奖励,并允许简单的闭式迭代更新。实验上,MOPO在合成基准上恢复帕累托最优策略,并在人类偏好数据上微调时,产生数十亿参数模型,实现更高奖励和帕累托支配基线,具有稳定且鲁棒的优化动态。

英文摘要

Post-training LLMs with RLHF and preference optimization methods (e.g., DPO, IPO) has greatly improved alignment, yet these approaches assume a single objective. In reality, humans express multiple, often conflicting objectives, such as helpfulness and harmlessness, with no natural scalarization. We study the multi-objective preference alignment problem, where a policy must balance several objectives simultaneously. We propose Multi-Objective Preference Optimization (MOPO), a constrained KL-regularized framework that maximizes a primary objective while enforcing lower bounds on secondary objectives via tunable safety thresholds. MOPO operates directly on pairwise preferences without point-wise rewards, and admits simple closed-form iterative updates. Empirically, MOPO recovers Pareto-optimal policies on synthetic benchmarks and, when fine-tuned on human-preference data, yields multi-billion parameter models that achieve higher rewards and Pareto-dominate baselines, with stable and robust optimization dynamics.

URL PDF HTML 收藏
2504.02193 2025-07-29 cs.AI 92%

More is Less: The Pitfalls of Multi-Model Synthetic Preference Data in DPO Safety Alignment

Yifan Wang, Runjin Chen, Bolian Li, David Cho, Yihe Deng, Ruqi Zhang, Tianlong Chen, Zhangyang Wang, Ananth Grama, Junyuan Hong

机构 * Purdue University(普渡大学) The University of Texas at Austin(德克萨斯大学奥斯汀分校) The University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校) University of California, Los Angeles(加州大学洛杉矶分校)

专题命中 偏好对齐 :alignment(title,abstract);DPO(title,abstract);safety(title,abstract);RLHF(abstract)

Comments This version includes updated results and expanded discussion

详情
英文摘要

Aligning large language models (LLMs) with human values is an increasingly critical step in post-training. Direct Preference Optimization (DPO) has emerged as a simple, yet effective alternative to reinforcement learning from human feedback (RLHF). Synthetic preference data with its low cost and high quality enable effective alignment through single- or multi-model generated preference data. Our study reveals a striking, safety-specific phenomenon associated with DPO alignment: Although multi-model generated data enhances performance on general tasks (ARC, Hellaswag, MMLU, TruthfulQA, Winogrande) by providing diverse responses, it also tends to facilitate reward hacking during training. This can lead to a high attack success rate (ASR) when models encounter jailbreaking prompts. The issue is particularly pronounced when employing stronger models like GPT-4o or larger models in the same family to generate chosen responses paired with target model self-generated rejected responses, resulting in dramatically poorer safety outcomes. Furthermore, with respect to safety, using solely self-generated responses (single-model generation) for both chosen and rejected pairs significantly outperforms configurations that incorporate responses from stronger models, whether used directly as chosen data or as part of a multi-model response pool. We demonstrate that multi-model preference data exhibits high linear separability between chosen and rejected responses, which allows models to exploit superficial cues rather than internalizing robust safety constraints. Our experiments, conducted on models from the Llama, Mistral, and Qwen families, consistently validate these findings.

URL PDF HTML 收藏
2506.10054 2026-05-26 cs.LG cs.AI cs.CL cs.CV 92%

Uni-DPO: A Unified Paradigm for Dynamic Preference Optimization of LLMs

Uni-DPO:大语言模型动态偏好优化的统一范式

Shangpin Peng, Weinong Wang, Zhuotao Tian, Senqiao Yang, Xing Wu, Haotian Xu, Chengquan Zhang, Takashi Isobe, Baotian Hu, Min Zhang

机构 * Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳)) Xi’an Jiaotong University(西安交通大学) The Chinese University of Hong Kong(香港中文大学) University of Chinese Academy of Sciences(中国科学院大学) Tsinghua University(清华大学) Huazhong University of Science and Technology(华中科技大学)

专题命中 偏好对齐 :DPO(title,title_cn);RLHF(abstract,abstract_cn);分类 cs.CL、cs.AI、cs.LG

AI总结 针对现有DPO方法忽略数据质量和学习难度差异的问题,提出Uni-DPO统一框架,通过自适应重加权偏好对实现更有效的数据利用和更优性能。

Comments Accepted by ICLR 2026. Code & models: https://github.com/pspdada/Uni-DPO

详情
AI中文摘要

直接偏好优化(DPO)因其简单高效已成为从人类反馈中进行强化学习(RLHF)的基石。然而,现有的基于DPO的方法通常平等对待所有偏好对,忽略了数据质量和学习难度的显著差异,导致数据利用效率低下和性能次优。为解决这一局限,我们提出Uni-DPO,一个统一的动态偏好优化框架,该框架联合考虑(a)偏好对的内在质量和(b)模型在训练过程中的动态表现。通过基于这两个因素自适应地重新加权样本,Uni-DPO能够更有效地利用偏好数据并实现卓越性能。跨模型和基准的大量实验证明了Uni-DPO的有效性和泛化能力。在文本任务上,使用Uni-DPO微调的Gemma-2-9B-IT在Arena-Hard上超越领先的大语言模型Claude 3 Opus 6.7个百分点。在数学和多模态任务上,Uni-DPO在所有基准上持续优于基线方法,为其有效性和鲁棒性提供了强有力的实证证据。

英文摘要

Direct Preference Optimization (DPO) has emerged as a cornerstone of reinforcement learning from human feedback (RLHF) due to its simplicity and efficiency. However, existing DPO-based methods typically treat all preference pairs equally, overlooking substantial variations in data quality and learning difficulty, which leads to inefficient data utilization and suboptimal performance. To address this limitation, we propose Uni-DPO, a unified dynamic preference optimization framework that jointly considers (a) the inherent quality of preference pairs and (b) the model's evolving performance during training. By adaptively reweighting samples based on both factors, Uni-DPO enables more effective use of preference data and achieves superior performance. Extensive experiments across models and benchmarks demonstrate the effectiveness and generalization of Uni-DPO. On textual tasks, Gemma-2-9B-IT fine-tuned with Uni-DPO surpasses the leading LLM, Claude 3 Opus, by 6.7 points on Arena-Hard. On mathematical and multimodal tasks, Uni-DPO consistently outperforms baseline methods across all benchmarks, providing strong empirical evidence of its effectiveness and robustness.

URL PDF HTML 收藏
2509.09055 2025-09-12 cs.CL cs.AI cs.LG 92%

Improving LLM Safety and Helpfulness using SFT and DPO: A Study on OPT-350M

Piyush Pant

机构 * Saarland University(萨尔兰大学)

专题命中 偏好对齐 :DPO(title,abstract);safety(title,abstract);alignment(abstract);RLHF(abstract)

Comments 17 pages, 3 figures. Code and dataset available at https://github.com/PiyushWithPant/Improving-LLM-Safety-and-Helpfulness-using-SFT-and-DPO

详情
英文摘要

This research investigates the effectiveness of alignment techniques, Supervised Fine-Tuning (SFT), Direct Preference Optimization (DPO), and a combined SFT+DPO approach on improving the safety and helpfulness of the OPT-350M language model. Utilizing the Anthropic Helpful-Harmless RLHF dataset, we train and evaluate four models: the base OPT350M, an SFT model, a DPO model, and a model trained with both SFT and DPO. We introduce three key evaluation metrics: Harmlessness Rate (HmR), Helpfulness Rate (HpR), and a Combined Alignment Score (CAS), all derived from reward model outputs. The results show that while SFT outperforms DPO, The combined SFT+DPO model outperforms all others across all metrics, demonstrating the complementary nature of these techniques. Our findings also highlight challenges posed by noisy data, limited GPU resources, and training constraints. This study offers a comprehensive view of how fine-tuning strategies affect model alignment and provides a foundation for more robust alignment pipelines in future work.

URL PDF HTML 收藏
2502.11455 2025-02-18 cs.CR 92%

Adversary-Aware DPO: Enhancing Safety Alignment in Vision Language Models via Adversarial Training

Fenghua Weng, Jian Lou, Jun Feng, Minlie Huang, Wenjie Wang

专题命中 偏好对齐 :alignment(title,abstract);DPO(title,abstract);safety(title,abstract);jailbreak(abstract)

详情
英文摘要

Safety alignment is critical in pre-training large language models (LLMs) to generate responses aligned with human values and refuse harmful queries. Unlike LLM, the current safety alignment of VLMs is often achieved with post-hoc safety fine-tuning. However, these methods are less effective to white-box attacks. To address this, we propose $\textit{Adversary-aware DPO (ADPO)}$, a novel training framework that explicitly considers adversarial. $\textit{Adversary-aware DPO (ADPO)}$ integrates adversarial training into DPO to enhance the safety alignment of VLMs under worst-case adversarial perturbations. $\textit{ADPO}$ introduces two key components: (1) an adversarial-trained reference model that generates human-preferred responses under worst-case perturbations, and (2) an adversarial-aware DPO loss that generates winner-loser pairs accounting for adversarial distortions. By combining these innovations, $\textit{ADPO}$ ensures that VLMs remain robust and reliable even in the presence of sophisticated jailbreak attacks. Extensive experiments demonstrate that $\textit{ADPO}$ outperforms baselines in the safety alignment and general utility of VLMs.

URL PDF HTML 收藏
2605.10998 2026-05-13 cs.CR cs.AI 92%

Few-Shot Truly Benign DPO Attack for Jailbreaking LLMs

少样本真正无害的DPO攻击用于对抗LLMs

Sangyeon Yoon, Wonje Jeung, Yoonjun Cho, Dongjae Jeon, Albert No

机构 * Yonsei University(延世大学)

专题命中 偏好对齐 :DPO(title,title_cn);alignment(abstract);safety(abstract);分类 cs.AI

AI总结 研究提出一种利用10对无害偏好对的真正无害DPO攻击,通过优化模型偏好来减少拒绝行为,从而在对抗LLMs时取得高成功率。

详情
AI中文摘要

微调API使前沿LLMs易于定制,但也会在微调过程中削弱安全对齐。尽管先前工作表明良性监督微调(SFT)可以减少拒绝行为,但部署的微调管道越来越多地支持基于偏好的目标,其安全风险仍不明确。我们证明直接偏好优化(DPO)引入了更强且更难审计的失败模式。我们提出了一种真正无害的DPO攻击,仅使用10对无害偏好对,这是OpenAI微调服务接受的最小数据规模。每对包含一个无害提示,一个正常有帮助的回答作为首选响应,和一个拒绝作为非首选响应。与先前的良性微调攻击不同,我们的数据没有任何可疑行为:它在实践中与合法用户寻求减少过度拒绝的微调请求无法区分,使有害意图几乎无法从请求中推断出来。然而,由于DPO直接优化模型以偏好有帮助的回答而非拒绝,这种看似无害的目标广泛抑制了拒绝行为,并转移到微调数据之外的有害提示。在支持DPO微调的OpenAI模型上,我们的攻击在GPT-4o上达到59.13%的成功率,在GPT-4.1上达到70.20%的成功率,在GPT-4.1-mini上达到54.80%的成功率,在GPT-4.1-nano上达到81.73%的成功率,仅花费$1.7、$1.7、$0.3和$0.1。此外,在不施加最小数据要求的开放权重模型上,我们发现即使仅使用一对无害偏好对,这种效果也可能出现。

英文摘要

Fine-tuning APIs make frontier LLMs easy to customize, but they can also weaken safety alignment during fine-tuning. While prior work shows that benign supervised fine-tuning (SFT) can reduce refusal behavior, deployed fine-tuning pipelines increasingly support preference-based objectives, whose safety risks remain less understood. We show that Direct Preference Optimization (DPO) introduces a stronger and harder-to-audit failure mode. We propose a truly benign DPO attack using only 10 harmless preference pairs, the minimum data scale accepted by OpenAI's fine-tuning service. Each pair contains a benign prompt, a normal helpful answer as the preferred response, and a refusal as the dispreferred response. Unlike prior benign fine-tuning attacks, our data exhibits no suspicious behavior: it is practically indistinguishable from the fine-tuning request of a legitimate user seeking to reduce over-refusal, making harmful intent almost impossible to infer from the request alone. Nevertheless, because DPO directly optimizes the model to prefer helpful answers over refusals, this seemingly benign objective broadly suppresses refusal behavior and transfers to harmful prompts outside the fine-tuning data. Across OpenAI models supporting DPO fine-tuning, our attack achieves attack success rates of 59.13% on GPT-4o, 70.20% on GPT-4.1, 54.80% on GPT-4.1-mini, and 81.73% on GPT-4.1-nano, at costs of only \$1.7, \$1.7, \$0.3, and \$0.1. Moreover, on open-weight models that do not impose minimum data requirements, we find that this effect can emerge from even a single benign preference pair.

URL PDF HTML 收藏
2605.00224 2026-05-04 cs.AI 92%

TUR-DPO: Topology- and Uncertainty-Aware Direct Preference Optimization

TUR-DPO:基于拓扑和不确定性的直接偏好优化

Abdulhady Abas Abdullah, Fatemeh Daneshfar, Seyedali Mirjalili, Mourad Oussalah

机构 * Artificial Intelligence and Innovation Centre, University of Kurdistan, Erbil, Iraq(人工智能与创新中心,乌尔米耶大学,伊拉克) Department of Computer Engineering, University of Kurdistan, Iran(计算机工程系,乌尔米耶大学,伊朗) Centre for Artificial Intelligence Research and Optimisation, Torrens University Australia, Brisbane, Australia(人工智能研究与优化中心,塔伦斯大学澳大利亚,布里斯班,澳大利亚) Research and Innovation Center, Obuda University, Budapest 1034, Hungary(研究与创新中心,奥布达大学,布达佩斯1034,匈牙利) Center for Machine Vision and Signal Analysis (CMVS), University of Oulu, Finland(机器视觉与信号分析中心(CMVS),奥卢大学,芬兰)

专题命中 偏好对齐 :DPO(title,title_cn);RLHF(abstract,abstract_cn);分类 cs.AI

AI总结 TUR-DPO通过引入轻量级推理拓扑和结合语义忠实度、效用和拓扑质量,提升偏好对齐的稳定性与鲁棒性,同时保持训练简洁性和无需在线回滚。

Comments Proceedings of the 43rd International Conference on Machine Learning (ICML 2026)

详情
AI中文摘要

对齐大型语言模型(LLMs)与人类偏好通常通过强化学习从人类反馈(RLHF)中的近端策略优化(PPO)或更简单的直接偏好优化(DPO)实现。尽管DPO稳定且无需RL,但其将偏好视为简单的胜者-败者信号,并对易受噪声或脆弱推理链影响的偏好敏感。我们提出TUR-DPO,一种具有拓扑和不确定性意识的DPO变体,通过获取轻量级推理拓扑并结合语义忠实度、效用和拓扑质量,生成校准的不确定性信号。一个小型可学习的奖励被分解到这些信号上,并整合到一个不确定性加权的DPO目标中,该目标仍无需RL,并仅依赖固定或移动参考策略。实证结果显示,在开放的7-8B模型和涵盖数学推理、事实性问答、摘要和有益/无害对话的基准上,TUR-DPO在判断胜率、忠实度和校准方面优于DPO,同时保持训练简洁性并避免在线回滚。我们进一步观察到在多模态和长上下文设置中的一致增益,并展示了TUR-DPO在以推理为中心的任务中匹配或超过PPO,同时保持操作简洁性。

英文摘要

Aligning large language models (LLMs) with human preferences is commonly done via reinforcement learning from human feedback (RLHF) with Proximal Policy Optimization (PPO) or, more simply, via Direct Preference Optimization (DPO). While DPO is stable and RL-free, it treats preferences as flat winner vs. loser signals and is sensitive to noisy or brittle preferences arising from fragile chains of thought. We propose TUR-DPO, a topology- and uncertainty-aware variant of DPO that rewards how answers are derived, not only what they say, by eliciting lightweight reasoning topologies and combining semantic faithfulness, utility, and topology quality into a calibrated uncertainty signal. A small learnable reward is factorized over these signals and incorporated into an uncertainty-weighted DPO objective that remains RL-free and relies only on a fixed or moving reference policy. Empirically, across open 7-8B models and benchmarks spanning mathematical reasoning, factual question answering, summarization, and helpful/harmless dialogue, TUR-DPO improves judge win-rates, faithfulness, and calibration relative to DPO while preserving training simplicity and avoiding online rollouts. We further observe consistent gains in multimodal and long-context settings, and show that TUR-DPO matches or exceeds PPO on reasoning-centric tasks while maintaining operational simplicity.

URL PDF HTML 收藏
2512.19728 2026-04-15 cs.LG 92%

Hard Negative Sample-Augmented DPO Post-Training for Small Language Models

增强的DPO后训练用于小型语言模型

Haocheng Lu, Minjun Zhu, Henry Yu

机构 * Computer Science NYU Shanghai(纽约大学上海学院)

专题命中 偏好对齐 :DPO(title,title_cn);RLHF(abstract,abstract_cn);分类 cs.LG

AI总结 本文提出一种轻量级后训练方法,通过MathVerifier检测结构化错误,改进DPO以提升小型模型在数学推理中的表现。

详情
AI中文摘要

大型语言模型(LLMs)在数学推理上仍存在困难,传统后训练流程常将生成的解决方案简化为二元结果:正确或错误。这种观点在实践中受限,因为链式推理(CoT)中的失败通常是结构化的;解决方案可能看似有说服力,但包含细微的逻辑、代数或数值错误。同时,依赖大型奖励模型或LLM-as-a-judge信号的强化学习从人类反馈(RLHF)变体往往昂贵、难以扩展且迭代不稳定。本文提出一种轻量级且务实的后训练流程,旨在在现实计算预算下针对此类结构化错误。从MetaMathQA样式的CoT数据进行监督微调(SFT)开始,我们引入了一个紧凑的MathVerifier,将候选解决方案分解为六维错误配置文件,并将其汇总为可解释的错误性和荒谬性评分。这些验证器信号起到两个作用:(i)挖掘接近正确但结构上错误的硬负样本,(ii)定义每样本的重要性权重,强调最有信息量的偏好对。我们将两者整合到一个离线直接偏好优化(DPO)目标中,通过验证器引导的加权公式。在1.5B参数Qwen2.5模型上的实验表明,验证器引导的加权DPO比普通SFT和无权DPO产生更精确的改进,特别是在解决方案在数值上接近正确但逻辑不一致的问题上,同时避免了训练大型奖励模型或依赖外部评判者的开销。

英文摘要

Large language models (LLMs) continue to struggle with mathematical reasoning, and common post-training pipelines often reduce each generated solution to a binary outcome: correct or incorrect. This perspective is limiting in practice, as failures in chain-of-thought (CoT) reasoning are frequently structured; solutions may appear convincing while containing subtle logical, algebraic, or numerical flaws. Meanwhile, reinforcement learning from human feedback (RLHF) variants that rely on large reward models or LLM-as-a-judge signals are often expensive, difficult to scale, and unstable to iterate. We propose a lightweight and pragmatic post-training pipeline that targets such structured errors under realistic compute budgets. Starting from supervised fine-tuning (SFT) on MetaMathQA-style CoT data, we introduce a compact MathVerifier that decomposes a candidate solution into a six-dimensional error profile and aggregates it into interpretable wrongness and absurdity scores. These verifier signals serve two roles: (i) mining hard negatives that are near-correct yet structurally flawed, and (ii) defining per-sample importance weights that emphasize the most informative preference pairs. We integrate both into an offline Direct Preference Optimization (DPO) objective via a verifier-guided weighted formulation. Experiments on a 1.5B-parameter Qwen2.5 model show that verifier-guided, weighted DPO yields more targeted improvements than vanilla SFT and unweighted DPO, particularly on problems where solutions are numerically close to correct but logically inconsistent, while avoiding the overhead of training large reward models or relying on external judges.

URL PDF HTML 收藏
2312.00849 2024-03-11 cs.CL cs.CV 92%

RLHF-V: Towards Trustworthy MLLMs via Behavior Alignment from Fine-grained Correctional Human Feedback

Tianyu Yu, Yuan Yao, Haoye Zhang, Taiwen He, Yifeng Han, Ganqu Cui, Jinyi Hu, Zhiyuan Liu, Hai-Tao Zheng, Maosong Sun, Tat-Seng Chua

专题命中 偏好对齐 :alignment(title,abstract);RLHF(title,abstract);trustworthy(title,abstract);分类 cs.CL

Comments Accepted by CVPR 2024

详情
英文摘要

Multimodal Large Language Models (MLLMs) have recently demonstrated impressive capabilities in multimodal understanding, reasoning, and interaction. However, existing MLLMs prevalently suffer from serious hallucination problems, generating text that is not factually grounded in associated images. The problem makes existing MLLMs untrustworthy and thus impractical in real-world (especially high-stakes) applications. To address the challenge, we present RLHF-V, which enhances MLLM trustworthiness via behavior alignment from fine-grained correctional human feedback. Specifically, RLHF-V collects human preference in the form of segment-level corrections on hallucinations, and performs dense direct preference optimization over the human feedback. Comprehensive experiments on five benchmarks in both automatic and human evaluation show that, RLHF-V can enable substantially more trustworthy MLLM behaviors with promising data and computation efficiency. Remarkably, using 1.4k annotated data samples, RLHF-V significantly reduces the hallucination rate of the base MLLM by 34.8%, outperforming the concurrent LLaVA-RLHF trained on 10k annotated data. The final model achieves state-of-the-art performance in trustworthiness among open-source MLLMs, and shows better robustness than GPT-4V in preventing hallucinations aroused from over-generalization. We open-source our code, model, and data at https://github.com/RLHF-V/RLHF-V.

URL PDF HTML 收藏
2601.04389 2026-06-23 cs.CL cs.AI 版本更新 91%

Safety Is Not Universal: The Selective Safety Trap in LLM Alignment

安全并非普遍:大语言模型对齐中的选择性安全陷阱

Iago Alves Brito, Walcy Santos Rezende Rios, Julia Soares Dollis, Diogo Fernandes Costa Silva, Arlindo Rodrigues Galvão Filho

机构 * Advanced Knowledge Center for Immersive Technologies(沉浸式技术先进知识中心) Federal University of Goiás(戈亚斯联邦大学)

专题命中 偏好对齐 :alignment(title,abstract);safety(title,abstract);DPO(summary_cn,abstract);分类 cs.CL、cs.AI

AI总结 研究揭示大语言模型在安全对齐中的选择性安全陷阱,通过MiJaBench基准测试发现安全防御存在人口统计学层级差异,通过DPO优化实现跨群体的安全泛化。

Comments 22 pages

详情
AI中文摘要

当前大语言模型的安全评估通过聚合泛化类别如

英文摘要

Current safety evaluations of large language models (LLMs) create a dangerous illusion of universal protection by aggregating harms under generic categories such as "Identity Hate", obscuring vulnerabilities toward specific populations. In this work, we expose the Selective Safety Trap: a systemic failure mode where models robustly defend specific populations while leaving underrepresented communities highly vulnerable to identical adversarial attacks. To systematically audit this phenomenon, we introduce MiJaBench, a bilingual (English-Portuguese) adversarial benchmark comprising 43,961 controlled jailbreaking prompts across 16 minority groups. By evaluating 14 state-of-the-art LLMs on MiJaBench, we curate 615,454 prompt-response pairs that compose MiJaBench-Align, revealing that safety alignment is not a uniform semantic capability but a demographic hierarchy, with defense rates fluctuating by up to 42% within the same model solely based on the target group. This disparity persists across architectures and languages and is amplified by scaling, indicating that current alignment methods learn group-specific safeguards rather than a generalized notion of harm. Through targeted direct preference optimization (DPO) on a 1B-parameter baseline, we achieve strong zero-shot safety generalizations to entirely unseen demographics and complex attack strategies. We release all datasets and scripts to provide the community with a concrete pathway toward equitable, transferable safety alignment.

URL PDF HTML 收藏
2410.21438 2026-05-11 cs.CL cs.LG 91%

UFT: Unifying Fine-Tuning of SFT and RLHF/DPO/UNA through a Generalized Implicit Reward Function

UFT:通过通用隐式奖励函数统一SFT和RLHF/DPO/UNA的微调

Zhichao Wang, Bin Bi, Zixu Zhu, Xiangbo Mao, Jun Wang, Shiyu Wang, Cheng Wang, Dong Nie, Lingzi Hong

机构 * Salesforce RadixArk ChatAlpha AI University of North Texas(北卡罗来纳州立大学)

专题命中 偏好对齐 :RLHF(title,title_cn);DPO(title,title_cn);alignment(abstract);分类 cs.CL、cs.LG

AI总结 本文提出UFT框架,通过隐式奖励函数整合SFT与对齐过程,提升指令微调和事实性任务的性能,实验显示其优于传统方法。

详情
AI中文摘要

通过在万亿个标记上进行预训练,大语言模型获得了文本生成的能力。然而,为了增强其效用并减少潜在的危害,SFT和对齐过程被依次应用于预训练模型。由于SFT和对齐有不同的目标和底层过程,某些任务的性能可能会下降。为了解决这个问题,我们无缝地引入了统一微调(UFT),通过隐式奖励函数将SFT和对齐整合到一个训练阶段中,使用相同的目标和损失函数。我们的实验结果表明,UFT在仅使用指令微调数据的情况下优于SFT。此外,当将指令微调数据与对齐数据结合时,UFT有效防止了在这些两个阶段中某些任务的退化,并在指令遵循的ifeval任务和事实性任务的truthful任务中表现出明显优势。所提出的通用微调框架UFT建立了一个有效且高效的LLM后训练范式。

英文摘要

By pretraining on trillions of tokens, an LLM gains the capability of text generation. However, to enhance its utility and reduce potential harm, SFT and alignment are applied sequentially to the pretrained model. Because SFT and alignment have different objectives and underlying processes, performance on certain tasks can decline. To address this, we seamlessly introduce Unified Fine-Tuning (UFT), which integrates SFT and alignment into a single training stage using the same objective and loss functions through an implicit reward function. Our experimental results demonstrate that UFT outperforms SFT on instruction-tuning data alone. Moreover, when combining instruction-tuning data with alignment data, UFT effectively prevents the degradation on some tasks across these two stages and shows a clear advantage over sequentially applying SFT and alignment. This is evident in the significant improvements observed in the \textbf{ifeval} task for instruction-following and the \textbf{truthful} task for factuality. The proposed general fine-tuning framework UFT establishes an effective and efficient paradigm for LLM post-training.

URL PDF HTML 收藏
2604.25895 2026-04-29 cs.CY cs.AI cs.CL 91%

Three Models of RLHF Annotation: Extension, Evidence, and Authority

三种RLHF注释模型:扩展、证据与权威

Steve Coyne

机构 * University of Toronto(多伦多大学)

专题命中 偏好对齐 :RLHF(title,title_cn);alignment(abstract);分类 cs.CL、cs.AI、cs.CY

AI总结 本文探讨RLHF注释的三种模型:扩展、证据与权威,分析其对注释流程设计的影响,并提出应根据不同维度选择适配的模型。

Comments 17 pages. Accepted to ACM FAccT '26, June 25-28, Montreal

详情
AI中文摘要

基于偏好对齐的方法,尤其是人类反馈强化学习(RLHF),利用人类注释者的判断来塑造大语言模型的行为。然而,这些判断的规范作用 rarely 明确。本文区分了三种概念模型:扩展(注释者扩展系统设计者对输出的判断)、证据(注释者提供独立的事实证据)和权威(注释者作为更广泛人口的代表决定系统输出)。作者认为,这些模型对RLHF流程如何征集、验证和聚合注释有影响。通过回顾RLHF及相关方法的文献,本文展示了这些模型如何被隐含使用,描述了因无意或故意混淆这些模型导致的失败模式,并提供了选择这些模型的规范标准。核心建议是RLHF流程设计者应将注释分解为可分离的维度,并针对每个维度选择最合适的模型,而非寻求单一统一的流程。

英文摘要

Preference-based alignment methods, most prominently Reinforcement Learning with Human Feedback (RLHF), use the judgments of human annotators to shape large language model behaviour. However, the normative role of these judgments is rarely made explicit. I distinguish three conceptual models of that role. The first is extension: annotators extend the system designers' own judgments about what outputs should be. The second is evidence: annotators provide independent evidence about some facts, whether moral, social or otherwise. The third is authority: annotators have some independent authority (as representatives of the broader population) to determine system outputs. I argue that these models have implications for how RLHF pipelines should solicit, validate and aggregate annotations. I survey landmark papers in the literature on RLHF and related methods to illustrate how they implicitly draw on these models, describe failure modes that come from unintentionally or intentionally conflating them, and offer normative criteria for choosing among them. My central recommendation is that RLHF pipeline designers should decompose annotation into separable dimensions and tailor each pipeline to the model most appropriate for that dimension, rather than seeking a single unified pipeline.

URL PDF HTML 收藏
2401.11206 2024-01-23 cs.CL 91%

InferAligner: Inference-Time Alignment for Harmlessness through Cross-Model Guidance

Pengyu Wang, Dong Zhang, Linyang Li, Chenkun Tan, Xinghao Wang, Ke Ren, Botian Jiang, Xipeng Qiu

专题命中 偏好对齐 :alignment(title,abstract);harmlessness(title,abstract);RLHF(abstract);safety(abstract)

详情
英文摘要

With the rapid development of large language models (LLMs), they are not only used as general-purpose AI assistants but are also customized through further fine-tuning to meet the requirements of different applications. A pivotal factor in the success of current LLMs is the alignment process. Current alignment methods, such as supervised fine-tuning (SFT) and reinforcement learning from human feedback (RLHF), focus on training-time alignment and are often complex and cumbersome to implement. Therefore, we develop \textbf{InferAligner}, a novel inference-time alignment method that utilizes cross-model guidance for harmlessness alignment. InferAligner utilizes safety steering vectors extracted from safety-aligned model to modify the activations of the target model when responding to harmful inputs, thereby guiding the target model to provide harmless responses. Experimental results show that our method can be very effectively applied to domain-specific models in finance, medicine, and mathematics, as well as to multimodal large language models (MLLMs) such as LLaVA. It significantly diminishes the Attack Success Rate (ASR) of both harmful instructions and jailbreak attacks, while maintaining almost unchanged performance in downstream tasks.

URL PDF HTML 收藏
2603.17044 2026-05-26 cs.LG cs.AI cs.CV 91%

Do Understanding and Generation Fight? A Diagnostic Study of DPO for Unified Multimodal Models

理解与生成相冲突吗?统一多模态模型DPO的诊断研究

Abinav Rao, Sujan Rachuri

专题命中 偏好对齐 :DPO(title,title_cn);alignment(abstract);分类 cs.AI、cs.LG

AI总结 通过系统实验发现,在统一多模态模型上应用DPO时,生成质量难以对齐,主要原因是理解和生成梯度近乎正交且存在11-14倍的幅度不平衡,源于VQ token数量不对称。

Comments Experiments are inconclusive: The claim that architectures such as Chameleon or Emu would exhibit stronger gradient conflict is not supported by experiments or analysis, and all experiments are conducted on Janus-Pro without evaluation on other unified multimodal architectures

详情
AI中文摘要

统一多模态模型共享一个语言模型骨干来同时进行理解和生成图像。DPO能否同时对齐这两种能力?我们首次系统研究了这一问题,在Janus-Pro的1B和7B参数上应用DPO,采用七种训练策略和两种事后方法。核心发现是负面的:在该架构下,所有测试条件下生成质量都抵制DPO对齐。在7B规模下,没有任何方法能改善生成CLIPScore(|Δ| < 0.2,每个种子n=200,3个种子,p > 0.5);在1B规模下,所有方法都降低了生成质量,并且该结果在偏好数据类型(真实vs生成和模型vs模型)以及测试的数据量(150-288对)上均成立。梯度分析揭示了原因:理解和生成梯度近乎正交(cos ~ 0),且由于VQ token数量不对称(576个生成token vs. ~30-100个文本token),幅度不平衡达到约11-14倍。这种不平衡是多任务DPO中的主要干扰机制;幅度平衡产生了方向正确的理解增量(VQA +0.01-0.04,虽然单独不显著),但生成差距仍然存在。我们识别出离散VQ tokenization是一个可能的结构瓶颈——生成DPO损失收敛到ln(2)支持了这一点——并为使用基于VQ的统一模型的从业者提供了实用指导。

英文摘要

Unified multimodal models share a language model backbone for both understanding and generating images. Can DPO align both capabilities simultaneously? We present the first systematic study of this question, applying DPO to Janus-Pro at 1B and 7B parameters under seven training strategies and two post-hoc methods. The central finding is negative: generation quality resists DPO alignment across all tested conditions on this architecture. No method improves generation CLIPScore at 7B (|Delta| < 0.2, p > 0.5 at n=200 per seed, 3 seeds); at 1B, all methods degrade generation, and the result holds across preference data types (real-vs-generated and model-vs-model) and the data volumes tested (150-288 pairs). Gradient analysis reveals why: understanding and generation gradients are near-orthogonal (cos ~ 0) with ~11-14x magnitude imbalance driven by VQ token count asymmetry (576 generation tokens vs. ~30-100 text tokens). This imbalance is the dominant interference mechanism in multi-task DPO; magnitude-balancing yields directionally positive understanding deltas (+0.01-0.04 VQA, though individually not significant), but the generation gap persists regardless. We identify discrete VQ tokenization as a likely structural bottleneck -- supported by the generation DPO loss converging to ln(2) -- and provide practical guidance for practitioners working with VQ-based unified models.

URL PDF HTML 收藏
2510.05526 2025-12-10 cs.LG cs.AI 91%

Provably Mitigating Corruption, Overoptimization, and Verbosity Simultaneously in Offline and Online RLHF/DPO Alignment

可证明地同时缓解离线和在线RLHF/DPO对齐中的腐败、过度优化和冗余

Ziyi Chen, Junyi Li, Peiran Yu, Heng Huang

专题命中 偏好对齐 :RLHF(title,abstract);DPO(title,abstract);alignment(title);分类 cs.AI、cs.LG

AI总结 本文提出RLHF-COV和DPO-COV算法,同时缓解离线和在线RLHF/DPO对齐中的腐败、过度优化和冗余问题,并通过理论证明和实验验证其有效性。

Comments Edited a few incorrect numbers in Tables 2 and 3

详情
AI中文摘要

强化学习从人类反馈(RLHF)和直接偏好优化(DPO)是将大语言模型(LLM)与人类偏好对齐的重要技术。然而,RLHF和DPO训练的质量严重受到被污染的偏好、过度优化的奖励和偏向冗长性的损害。到目前为止,大多数现有工作只解决这三个重要问题中的一个,而其他少数工作需要大量的计算来估计多个奖励模型,并缺乏对泛化能力的理论保证。在本工作中,我们提出了RLHF-COV和DPO-COV算法,能够在离线和在线设置中同时缓解这三个问题。这种能力通过在受污染数据上训练的DPO-COV算法获得长度正则化的泛化误差率来理论证明,这些误差率与更简单的清洁数据情况下的最佳已知速率相匹配,且不使用长度正则化。此外,我们的DPO-COV算法易于实现,无需奖励估计,并被证明等同于我们的RLHF-COV算法,这直接推导出普通RLHF和DPO算法之间的等价性。实验展示了我们的DPO-COV算法在离线和在线设置下的有效性。

英文摘要

Reinforcement learning from human feedback (RLHF) and direct preference optimization (DPO) are important techniques to align large language models (LLM) with human preference. However, the quality of RLHF and DPO training is seriously compromised by \textit{\textbf{C}orrupted} preference, reward \textit{\textbf{O}veroptimization}, and bias towards \textit{\textbf{V}erbosity}. To our knowledge, most existing works tackle only one of these important issues, and the few other works require much computation to estimate multiple reward models and lack theoretical guarantee of generalization ability. In this work, we propose RLHF-\textbf{COV} and DPO-\textbf{COV} algorithms that can simultaneously mitigate these three issues, in both offline and online settings. This ability is theoretically demonstrated by obtaining length-regularized generalization error rates for our DPO-COV algorithms trained on corrupted data, which match the best-known rates for simpler cases with clean data and without length regularization. Moreover, our DPO-COV algorithm is simple to implement without reward estimation, and is proved to be equivalent to our RLHF-COV algorithm, which directly implies the equivalence between the vanilla RLHF and DPO algorithms. Experiments demonstrate the effectiveness of our DPO-COV algorithms under both offline and online settings.

URL PDF HTML 收藏