arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.05373cs.LGcs.AIcs.CL
收藏

用一般偏好对齐语言模型:直接纳什优化的实证研究

Aligning Language Models with General Preferences: An Empirical Study of Direct Nash Optimization

Synopsys, Inc.(新思科技公司)

Austin Tsai, Saurav Nanda, Ganapathy Parthasarathy, Bhuvnesh Kumar, Parivesh Choudhary

AI总结:

本研究重新实现DNO-Prct并在Llama 3.1 8B Instruct等模型上实证测试,发现其可提升模型胜率,且评分步骤无需专有模型,同时明确了关键组件的作用。

摘要:

直接纳什优化(DNO)通过近似双人偏好博弈的纳什均衡,使语言模型与一般偏好函数对齐。其实用变体DNO-Prct迭代进行在线策略采样、基于大语言模型(LLM)对样本与教师的黄金响应进行评分、大间隔偏好对选择以及DPO式对比更新。我们独立重新实现了DNO-Prct,并在两个开放权重指令模型Llama 3.1 8B Instruct和Mistral 7B Instruct v0.1上开展研究,使用GPT-4o或同系列更大的开放权重模型作为标注器。在以GPT-4o为评判者的AlpacaEval 2.0上,三轮迭代使Llama针对GPT-4o的长度控制(LC)胜率从31.7%提升至45.3%,使Mistral的该胜率从6.8%提升至18.4%,且调优后的8B模型在所有报告的胜率上均超过Llama 3.1 70B Instruct。使用同系列开放权重标注器时,运行保留了GPT-4o作为标注器时获得的LC增益的62%(Llama)和82%(Mistral),因此评分步骤不需要专有模型。在单独的消融配置中,移除黄金响应、移除数据回溯或仅接受教师偏好对的变体,其LC得分比完整流程低6至10个百分点;而每个提示的在线策略样本数量(1至7)的变化使LC胜率变动最多2.1个百分点,以及在其自身流程中进行的间隔扫描(1至5)使胜率变动最多2.4个百分点。我们还报告了该流程的成本以及实用算法与其近似理论的偏离之处。所有结果均为单次运行,且GPT-4o同时作为教师和评估评判者;我们讨论了这对报告增益的影响。

英文摘要:

Direct Nash Optimization (DNO) aligns a language model to a general preference function by approximating the Nash equilibrium of a two-player preference game. Its practical variant, DNO-Prct, iterates on-policy sampling, LLM-based rating of the samples together with a teacher's gold response, large-margin preference-pair selection and a DPO-style contrastive update. We re-implement DNO-Prct independently and study it on two open-weight instruct models, Llama 3.1 8B Instruct and Mistral 7B Instruct v0.1, with GPT-4o or a larger open-weight model of the same family as the annotator. On AlpacaEval 2.0 with GPT-4o as judge, three iterations raise the length-controlled (LC) win rate against GPT-4o from 31.7% to 45.3% for Llama and from 6.8% to 18.4% for Mistral, and the tuned 8B model scores above Llama 3.1 70B Instruct on every reported win rate. With same-family open-weight annotators, the runs retain 62% (Llama) and 82% (Mistral) of the LC gain achieved with GPT-4o as annotator, so the rating step does not require a proprietary model. In a separate ablation configuration, variants that remove the gold responses, remove the data look-back, or accept only teacher-preferred pairs score 6 to 10 LC points below the full procedure, whereas varying the number of on-policy samples per prompt (1 to 7) moves the LC win rate by at most 2.1 points, and a margin sweep (1 to 5) run in its own pipeline by at most 2.4 points. We also report the cost of the pipeline and where the practical algorithm departs from the theory it approximates. All results are single runs, and GPT-4o is both the teacher and the evaluation judge; we discuss what this implies for the reported gains.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑