arXiv AI By Quazi Ishtiaque Mahmud, Nesreen K. Ahmed, Ali Jannesari

Multi-turn RL with Structural and Performance Aware Rewards for CUDA Kernel Generation

Read the original on arXiv AI →

arXiv:2607. 20908v1 Announce Type: cross Abstract: Reinforcement Learning with Verifiable Rewards (RLVR) has emerged as a powerful technique to enhance the reasoning capacity of LLMs for optimized code generation.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

Hugging Face Trending Papers
Jul 23

Multi-turn RL with Structural and Performance Aware Rewards for CUDA Kernel Generation

Reinforcement Learning with Verifiable Rewards (RLVR) has emerged as a powerful technique to enhance the reasoning capacity of LLMs for optimized code generation. However, existing RLVR approaches primarily rely on outcome-based signals such as correctness and speedup, overlooking performance-critical structural properties of programs that are essential for generating optimized code.

arXiv AI
Sep 2

CUDA-Harness: Harnessing Agentic CUDA Kernel Generation and Optimization from Natural Language

CUDA‑Harness is a framework that enables the generation and optimization of CUDA kernels directly from natural language. It introduces Intermediate‑Structured Generation to bridge high‑level semantics with low‑level kernel code, uses Synthesis‑Based Verification to mitigate reward hacking by providing isolated test data, and employs Feedback‑Adaptive Evolution to prioritize correctness while improving performance. Experiments show the approach generalizes across different large language models, hardware platforms, and even supports C‑to‑CUDA transpilation.

By Qi Fan, An Zou, Yehan Ma
arXiv Machine Learning
Nov 16

DRTriton: Large-Scale Synthetic Data Driven Reinforcement Learning for Triton Kernel Generation

DRTriton is a scalable learning framework that trains large language models to convert PyTorch programs into optimized Triton kernels, which are then compiled to CUDA kernels at runtime. It employs a synthetic data algorithm (CSP-DAG) for unbiased operator coverage, a curriculum reinforcement learning framework with decoupled rewards to balance conversion success and execution speed, and a test-time search algorithm to further boost performance. After a small supervised fine‑tuning warmup, DRTriton‑7B outperforms state‑of‑the‑art LLMs, achieving a 92% speedup over PyTorch on KernelBench Level 2 tasks versus 23% for GPT‑5.2 and 19% for Claude‑Sonnet‑4.5.

By Siqi Guo, Ming Lin, Tianbao Yang