MEMETRON:面向大语言模型测试时响应优化的元启发式机制
MEMETRON: Metaheuristic Mechanisms for Test-time Response Optimization of Large Language Models
AI总结:
针对大语言模型现有启发式解码策略控制有限、未显式优化任务目标的问题,提出将解码建模为离散黑盒优化的MEMETRON框架,借助混合元启发式算法在奖励模型引导下搜索高奖励响应,无需重训练模型即可在人类偏好对齐任务上显著优于标准方法。
摘要:
大语言模型(LLM)正越来越多地被用于开放式任务和结构化任务,但其推理时的行为在很大程度上仍由贪心搜索、采样或重排序等启发式解码策略决定。这些方法的控制能力有限,且未针对特定任务目标进行显式优化。我们提出MEMETRON——一个任务无关的框架,它将LLM解码建模为离散黑盒优化问题。MEMETRON利用混合元启发式算法GENETRON和ANNETRON,在奖励模型以及LLM自身执行的上下文操作的引导下,对响应空间进行搜索。该方法无需重新训练模型或获取梯度,就能高效发现高奖励响应。该框架具备模块化特性,可在各类任务中通用,仅需提供奖励函数和轻量级提示模板即可。我们在关键的人类偏好对齐任务上对该框架进行了评估,结果表明其性能显著优于标准解码方法和重排序方法,凸显了其在无需重新训练模型的前提下提升对齐效果的潜力。
英文摘要:
Large language models (LLMs) are increasingly used for both open-ended and structured tasks, yet their inference-time behavior is still largely dictated by heuristic decoding strategies such as greedy search, sampling, or reranking. These methods provide limited control and do not explicitly optimize for task-specific objectives. We introduce MEMETRON, a task-agnostic framework that formulates LLM decoding as a discrete black-box optimization problem. MEMETRON leverages hybrid metaheuristic algorithms, GENETRON and ANNETRON, to search the response space, guided by reward models and contextual operations performed by the LLM itself. This approach enables efficient discovery of high-reward responses without requiring model retraining or gradient access. The framework is modular and generalizes across diverse tasks, requiring only a reward function and lightweight prompt templates. We evaluate our framework on the critical human preference alignment task and demonstrate that it significantly outperforms standard decoding and reranking methods, highlighting its potential to improve alignment without model retraining.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。