SimPER:一种无需超参数的极简偏好对齐方法
SimPER: A Minimalist Approach to Preference Alignment without Hyperparameters
AI总结:
针对偏好对齐需调优超参数且依赖参考模型的问题,本文提出无超参数算法 SimPER,通过优化所选与被拒响应的逆困惑度实现高效对齐,并在多项基准上显著超越现有方法。
摘要:
现有的用于语言模型对齐的偏好优化目标需要额外的超参数,而这些超参数必须经过广泛调优才能获得最佳性能,这增加了微调大型语言模型的复杂性和所需时间。本文提出一种简单而有效的无超参数偏好优化算法用于对齐。我们观察到,仅通过优化逆困惑度即可取得有前景的性能;该逆困惑度被计算为偏好数据集中所选响应和被拒响应的指数化平均对数似然的倒数。由此产生的简单学习目标 SimPER 易于实现,并且无需昂贵的超参数调优和参考模型,因此在计算和内存方面都很高效。我们在广泛使用的真实世界基准上进行了大量实验,包括 MT-Bench、AlpacaEval 2 以及 Open LLM Leaderboard 的 10 个关键基准,并使用了 5 个基础模型;结果表明,即使没有任何超参数或参考模型,SimPER 也始终显著优于现有方法。例如,尽管 SimPER 十分简单,它在 AlpacaEval 2 上最高比最先进方法高出 5.7 分,并在 Open LLM Leaderboard 的 10 个基准上取得最高平均排名。SimPER 的源代码已公开发布于:https://github.com/tengxiao1/SimPER。
英文摘要:
Existing preference optimization objectives for language model alignment require additional hyperparameters that must be extensively tuned to achieve optimal performance, increasing both the complexity and time required for fine-tuning large language models. In this paper, we propose a simple yet effective hyperparameter-free preference optimization algorithm for alignment. We observe that promising performance can be achieved simply by optimizing inverse perplexity, which is calculated as the inverse of the exponentiated average log-likelihood of the chosen and rejected responses in the preference dataset. The resulting simple learning objective, SimPER, is easy to implement and eliminates the need for expensive hyperparameter tuning and a reference model, making it both computationally and memory efficient. Extensive experiments on widely used real-world benchmarks, including MT-Bench, AlpacaEval 2, and 10 key benchmarks of the Open LLM Leaderboard with 5 base models, demonstrate that SimPER consistently and significantly outperforms existing approaches-even without any hyperparameters or a reference model . For example, despite its simplicity, SimPER outperforms state-of-the-art methods by up to 5.7 points on AlpacaEval 2 and achieves the highest average ranking across 10 benchmarks on the Open LLM Leaderboard. The source code for SimPER is publicly available at: https://github.com/tengxiao1/SimPER.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。