potentialpaper

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

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:17 UTC · e38e731f294d ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "lfFCdrDhP6"
- }
- ],
- "title": "Multi-turn RL with Structural and Performance Aware Rewards for CUDA Kernel Generation",
- "authors": [],
- "abstract": "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. In this work, we propose \\ourtool, a reflective RL framework that incorporates both verifiable execution rewards and structural code-aware rewards derived from parallelization features (e.g., memory coalescing, occupancy, Arithmatic Intensity, and synchronization patterns). \\ourtool \\xspace{} operates in two stages: (1) an offline pairwise ranking module that learns to distinguish strong and weak program candidates via contrastive comparisons, and (2) an online RL training phase that jointly optimizes for correctness, performance, and structural efficiency through a unified reward signal. To further enhance learning, \\ourtool \\xspace{} utilizes iterative refinement using execution feedback enabling progressive improvement of generated candidates. We also introduce a dataset comprising 2.9k C $\\rightarrow$ CUDA and 1k PyTorch $\\rightarrow$ CUDA programs, each paired with diverse input configurations and multiple CUDA implementations encompassing diverse optimization strategies. \\ourtool \\xspace{} is evaluated across multiple benchmarks comprising both C $\\rightarrow$ CUDA and PyTorch $\\rightarrow$ CUDA transformations. Empirical findings suggest that \\ourtool \\xspace{} significantly outperforms strong baselines, including Qwen-3-32B (for C $\\rightarrow$ CUDA) and CUDA Agent (for PyTorch $\\rightarrow$ CUDA) by achieving up to 5X \\& 3.32X improvements in speedup, and 17\\% \\& 7\\% improvements in correctness, respectively.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "14a67798-86d6-4fd2-982f-b6bbacf71102"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Multi-turn RL with Structural and Performance Aware Rewards for CUDA Kernel Generation",
+ "authors": [],
+ "abstract": "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. In this work, we propose \\ourtool, a reflective RL framework that incorporates both verifiable execution rewards and structural code-aware rewards derived from parallelization features (e.g., memory coalescing, occupancy, Arithmatic Intensity, and synchronization patterns). \\ourtool \\xspace{} operates in two stages: (1) an offline pairwise ranking module that learns to distinguish strong and weak program candidates via contrastive comparisons, and (2) an online RL training phase that jointly optimizes for correctness, performance, and structural efficiency through a unified reward signal. To further enhance learning, \\ourtool \\xspace{} utilizes iterative refinement using execution feedback enabling progressive improvement of generated candidates. We also introduce a dataset comprising 2.9k C $\\rightarrow$ CUDA and 1k PyTorch $\\rightarrow$ CUDA programs, each paired with diverse input configurations and multiple CUDA implementations encompassing diverse optimization strategies. \\ourtool \\xspace{} is evaluated across multiple benchmarks comprising both C $\\rightarrow$ CUDA and PyTorch $\\rightarrow$ CUDA transformations. Empirical findings suggest that \\ourtool \\xspace{} significantly outperforms strong baselines, including Qwen-3-32B (for C $\\rightarrow$ CUDA) and CUDA Agent (for PyTorch $\\rightarrow$ CUDA) by achieving up to 5X \\& 3.32X improvements in speedup, and 17\\% \\& 7\\% improvements in correctness, respectively.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}