Record Performance Gains from RL's Breakthroughs

RL-tuned compilers have achieved significant performance improvements, including a 1.47x average speedup in assembly code optimization using the Qwen2.5-Coder-7B-PPO model compared to gcc -O3, and POSET-RL demonstrating up to a 46% execution time improvement and 22.94% code size reduction over LLVM's Oz sequence on various benchmarks.

The top 3

  1. RL-Tuned LLMs Achieve Record 1.47x Speedup: A PPO-trained Qwen2.5-Coder-7B model achieved an average 1.47x execution speedup for assembly code over the highly optimized `gcc -O3` baseline on a benchmark of 8,072 real-world C programs.
  2. RL Compilers Surpass 20 Rivals, GCC-O3: The RL-tuned Qwen2.5-Coder-7B-PPO model demonstrated superior performance, outcompeting 20 other evaluated models, including Claude-3.7-sonnet, and the industry-standard `gcc -O3` compiler in assembly code optimization.
  3. Beyond Speed: 3.0% Code Size Reduction: In addition to execution speed, LLMs trained for compiler optimization have achieved a 3.0% improvement in code size reduction over traditional compilers, outperforming state-of-the-art machine learning baselines that required thousands of compilations.

Sources

Open the full topic