不用调参就能对齐大模型,简单有效还省资源。
SimPER: A Minimalist Approach to Preference Alignment without Hyperparameters
- 直接优化反困惑度,无需任何超参数和参考模型。
- 在多个主流评测上超越现有方法,最高提升5.7分。
- 适合追求高效对齐的开发者和研究者使用。
当前语言模型对齐的偏好优化目标通常需要额外调优超参数,增加微调复杂度与时间成本。本文提出一种无超参数的极简偏好优化算法SimPER。通过优化反困惑度(即所选与拒选响应平均对数似然指数的倒数)即可获得优异性能。该方法实现简单,无需昂贵的超参数调优和参考模型,兼具计算与内存效率。在包括MT-Bench、AlpacaEval 2及Open LLM Leaderboard的10个关键基准上的广泛实验表明,SimPER在5个基础模型上均显著优于现有方法,即使不依赖超参数或参考模型。例如,在AlpacaEval 2上最高超越先进方法5.7分,并在Open LLM Leaderboard的10个基准上取得最高平均排名。代码已开源:https://github.com/tengxiao1/SimPER。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。