arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.19595cs.LG
收藏

利用强化学习优化语言模型以实现推理时间目标

Optimizing Language Models for Inference Time Objectives using Reinforcement Learning

Meta GenAI(Meta 生成式人工智能);Meta FAIR

Yunhao Tang, Kunhao Zheng, Gabriel Synnaeve, Rémi Munos

AI总结:

本文提出在语言模型训练中显式优化推理时间目标(如pass@k和多数投票),并在代码生成任务上验证该方法能显著提升模型推理性能。

摘要:

本文研究了在模型训练过程中显式优化推理时算法性能的价值。我们展示了优化推理时性能可以提升模型整体效能。我们考虑具有 $k$ 个样本的通用推理时间目标,重点关注 pass@$k$ 和多数投票这两种主要应用。通过在推理数据集上训练语言模型,我们展示了采用此类目标训练所带来的性能权衡。在代码生成任务上进行训练时,我们证明该方法与基线方法相比显著改善了 pass@$k$ 目标。

英文摘要:

In this work, we investigate the merits of explicitly optimizing for inference time algorithmic performance during model training. We show how optimizing for inference time performance can improve overall model efficacy. We consider generic inference time objectives with $k$ samples, with a focus on pass@$k$ and majority voting as two main applications. With language model training on reasoning datasets, we showcase the performance trade-off enabled by training with such objectives. When training on code generation tasks, we show that the approach significantly improves pass@$k$ objectives compared to the baseline method.

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

↑