atlas

Research map / Large language models / Alignment and preferences

Afterburner: Reinforcement Learning Facilitates Self-Improving Code Efficiency Optimization

NeurIPS 2025 · Large language models › Alignment and preferences · approach: Robust and calibrated DPO

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Afterburner (LLM code optimizer) and Monolith (execution sandbox) in a closed-loop iterative framework, comparing SFT, DPO and GRPO for improving code efficiency, with GRPO giving sustained gains on the new Venus benchmark and APPS.

Problem

LLM-generated code is functionally correct but often inefficient in time and memory; existing approaches (prompting, SFT, correctness-focused RL) do not reliably improve efficiency at test time.

Approach

A closed-loop test-time iterative optimization where an LLM refines code using empirical time/memory feedback from a sandbox, with the model trained via GRPO using a composite format/correctness/efficiency reward; percentile ranks against human solutions measure efficiency.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use GRPO instead of SFTAfterburner on Qwen 2.5 3B · VenusBeyond-T: 26.78 -> 45.17Helped
use GRPO instead of SFTAfterburner on Qwen 2.5 3B · VenusPass@1: 48.67 -> 61.67Helped
add execution feedback (ablation)Afterburner-GRPO · Venus iteration 4Beyond-T: 34.15 -> 40.81Helped
add execution feedback (ablation)Afterburner-GRPO · Venus iteration 4Pass@1: 52.51 -> 57.00Helped
add original code input (ablation)Afterburner-GRPO · Venus iteration 4Beyond-I: 24.24 -> 33.51Helped
add original code input (ablation)Afterburner-GRPO · Venus iteration 4Beyond-T: 32.17 -> 40.81Helped
add execution feedback (ablation)Afterburner-SFT · Venus iteration 4Beyond-M: 24.70 -> 24.39Hurt
add original code input (ablation)Afterburner-SFT · Venus iteration 4Beyond-M: 26.17 -> 24.39Hurt
add execution feedback (ablation)Afterburner-DPO · Venus iteration 4Beyond-I: 25.68 -> 27.89Helped
add original code input (ablation)Afterburner-DPO · Venus iteration 4Beyond-I: 22.01 -> 27.89Helped
use GRPO online execution-feedback trainingAfterburner · Venus, iterative optimizationBeyond-I: 31% to 45%Helped
use GRPO online execution-feedback trainingAfterburner · Venus, iterative optimizationPass@1: 47% to 62%Helped

Surprising findings

Limitations

Experimental setup

Datasets: Venus APPS

Benchmarks: Venus APPS

Metrics: Pass@1 Beyond-T Beyond-M Beyond-I B%/M%/W%/F%

Baselines: SFT DPO Qwen 2.5 Coder 7B OpenAI o4-mini QwQ 32B DeepSeek V3 Claude 3.7 Sonnet GPT-4o

Builds on: GRPO DPO Mercury EffiBench CodeRL

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy