Improving HPC Code Generation Capability of LLMs via Online Reinforcement Learning with Real-Machine Benchmark Rewards
Department of Computer Science, Nagoya University(名古屋大学计算机科学系);Graduate School of Informatics, Nagoya University(名古屋大学信息科学研究生院);Information Technology Center, Nagoya University(名古屋大学信息技术中心)
Large language models (LLMs) have demonstrated strong code generation capabilities, yet the runtime performance of generated code is not guaranteed, and there have been few attempts to train LLMs using runtime performance as a reward in the HPC domain. We propose an online reinforcement learning approach that executes LLM-generated code on a supercomputer and directly feeds back the measured runtime performance (GFLOPS) as a reward. We further introduce a Staged Quality-Diversity (SQD) algorithm that progressively varies the permitted optimization techniques on a per-problem basis, enabling the model to learn code optimization from diverse perspectives. We build a distributed system connecting a GPU training cluster with a CPU benchmarking cluster, and train Qwen2.5 Coder 14B on a double-precision matrix multiplication task using Group Relative Policy Optimization (GRPO). Through two experiments, we show that reinforcement learning combining runtime performance feedback with staged optimization can improve the HPC code generation capability of LLMs.
Alignment Risks from Capability-Seeking RL Training
University of California, Berkeley(加州大学伯克利分校);Stanford University(斯坦福大学);University of Washington(华盛顿大学);University of Texas at Austin(德克萨斯大学奥斯汀分校);University of Toronto(多伦多大学);University of Cambridge(剑桥大学)
EvoCoT: Overcoming the Exploration Bottleneck in Reinforcement Learning
School of Computer Science, Peking University(北京大学计算机科学学院);College of AI, Tsinghua University(清华大学人工智能学院);Imperial College London(伦敦帝国理工学院);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所)
Is PRM Necessary? Problem-Solving RL Implicitly Induces PRM Capability in LLMs
Huawei Technologies Ltd.(华为技术有限公司);Guangdong Provincial Key Laboratory of Brain-Inspired Intelligent Computation, Department of CSE, SUSTech(广东省脑启发智能计算重点实验室、信息科学部、南方科技大学)
Spurious Rewards: Rethinking Training Signals in RLVR
University of Washington, Seattle, WA, USA(华盛顿大学);Allen Institute for Artificial Intelligence, Seattle, WA, USA(人工智能研究院);University of California, Berkeley, Berkeley, CA, USA(加州大学伯克利分校)
RL-PLUS: Countering Capability Boundary Collapse of LLMs in Reinforcement Learning with Hybrid-policy Optimization
School of Computer Science, Peking University(北京大学计算机科学系);Tongyi Lab, Alibaba Group(阿里集团通义实验室);Department of Computing Science, University of Alberta(阿尔伯塔大学计算机科学系);Canada CIFAR AI Chair(加拿大CIFAR人工智能主席)
QSplitFL: Capability Aware Deep Q-Learning for Optimal Split Point Selection in Split Federated Learning
Department of Computer Science, Kennesaw State University(肯尼索州立大学计算机科学系);Department of Computer Science, San Francisco State University(旧金山州立大学计算机科学系);Department of Electrical and Computer Engineering, University of Houston(休斯顿大学电气与计算机工程系)
Integration of Scanning Probe Microscope with High-Performance Computing: fixed-policy and reward-driven workflows implementation
University of Tennessee(田纳西大学);Oxford Instruments Asylum Research(牛津仪器庇护研究公司);Pacific Northwest National Laboratory(太平洋西北国家实验室);National Cheng Kung University(国立成功大学);the Pennsylvania State University(宾夕法尼亚州立大学)
Open-MOPD: Diagnosing and Fixing Capability Imbalance in Multi-Teacher On-Policy Distillation
SIA-Lab of Tsinghua AIR and ByteDance Seed(清华大学AIR与字节跳动种子SIA实验室);Institute for AI Industry Research (AIR), Tsinghua University(清华大学人工智能产业研究院);Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系)
TAROT: Test-driven and Capability-adaptive Curriculum Reinforcement Fine-tuning for Code Generation with Large Language Models
Electronics and Telecommunications Research Institute(电信研究所);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));The Hong Kong University of Science and Technology(香港科技大学);Hugging Face;Ant Group(蚂蚁集团)