Optimizing Language Models for Inference Time Objectives using Reinforcement Learning
2025-03-25Unverified0· sign in to hype
Yunhao Tang, Kunhao Zheng, Gabriel Synnaeve, Rémi Munos
Unverified — Be the first to reproduce this paper.
ReproduceAbstract
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.