EffiPair: Improving the Efficiency of LLM-generated Code with Differential Execution Feedback
6 Apr · Samira Hajizadeh, Suman Jana · arXiv:2604.05137
Large language models (LLMs) can generate functionally correct programs that differ substantially in execution efficiency. Existing inference-time optimization methods typically refine each candidate using pointwise runtime or profiling feedback, which identifies how costly an implementation is or where the cost arises, but offers limited guidance on how the computation should change. We introduce DIFFERENTIAL…