TensorX
返回文献探索

Paper · arXiv 2406.15193

Reward Steering with Evolutionary Heuristics for Decoding-time Alignment

Chia-Yu Hung, Navonil Majumder, Ambuj Mehrish, Soujanya Poria

15 upvotesJune 21, 2024arXiv 预印本
AI 摘要

An evolutionary approach decouples exploration and exploitation in decoding-time alignment to enhance LLM preferences without compromising performance.

LLMsparameter tuningreward modeldecoding-time alignmentevolutionary fashionmutated instructionspoor-rewarded generationswell-rewarded generationsAlpacaEval 2MT-Bench

Abstract

The widespread applicability and increasing omnipresence of LLMs have instigated a need to align LLM responses to user and stakeholder preferences. Many preference optimization approaches have been proposed that fine-tune LLM parameters to achieve good alignment. However, such parameter tuning is known to interfere with model performance on many tasks. Moreover, keeping up with shifting user preferences is tricky in such a situation. Decoding-time alignment with reward model guidance solves these issues at the cost of increased inference time. However, most of such methods fail to strike the right balance between exploration and exploitation of reward -- often due to the conflated formulation of these two aspects - to give well-aligned responses. To remedy this we decouple these two aspects and implement them in an evolutionary fashion: exploration is enforced by decoding from mutated instructions and exploitation is represented as the periodic replacement of poorly-rewarded generations with well-rewarded ones. Empirical evidences indicate that this strategy outperforms many preference optimization and decode-time alignment approaches on two widely accepted alignment benchmarks AlpacaEval 2 and MT-Bench. Our implementation will be available at: https://darwin-alignment.github.io.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Reward Steering with Evolutionary Heuristics for Decoding-time Alignment | TensorX