Optimizing GPU kernels manually is a challenging and time-consuming task. With the rapid development of LLMs, automated GPU kernel optimization is gradually becoming a tangible reality. However, current LLM-driven automated optimization methods narrowly focus on machine learning applications, such as PyTorch operator optimization, while overlooking broader domains like sparse matrix operations in scientific computing. Extending to these broader applications brings new challenges for the benchmark and algorithm. Therefore, developing a general-purpose automated kernel optimization method becomes our primary focus. In this paper, we address the absence of systematic evaluation for multi-scenario settings by introducing MSKernelBench, which spans multiple scenarios, including fundamental algebraic operations, common LLM kernels, sparse matrix operators, and scientific computing routines, each supporting both FP32 and BF16 precision. Building on this benchmark, we introduce CUDAMaster, a multi-agent, hardware-aware system for kernel optimization that leverages profiling information and automatically constructs the full compilation and execution toolchain. Experimental results demonstrate that CUDAMaster achieves significant speedups across most operators, outperforming Astra by about 35%. In several cases, its performance matches or surpasses that of highly optimized, closed-source libraries such as cuBLAS. A demo showcasing the original and optimized code for each operator is available at https://hanyx2021.github.io/MSKernelBenchDemo/.
From Large to Small: Transferring CUDA Optimization Expertise via Reasoning Graph
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);South China University of Technology(华南理工大学)
OptiML: An End-to-End Framework for Program Synthesis and CUDA Kernel Optimization
Iowa State University, Ames, Iowa, USA(爱荷华州立大学);Cisco AI Research, San Jose, California, USA(思科人工智能研究);University of Southern California, Los Angeles, California, USA(南加州大学)
Balsa: Learning a Query Optimizer Without Expert Demonstrations
UC Berkeley(加州大学伯克利分校)
查询优化器是每个数据库系统中的性能关键组件。由于它们的复杂性,优化器需要专家几个月的时间来编写,几年的时间来完善。在这项工作中,我们第一次证明,学习优化查询,而不从专家优化器学习是可能的和有效的。我们介绍了Balsa,一个由深度强化学习构建的查询优化器。Balsa首先从一个简单的、与环境无关的模拟器中学习基本知识,然后在实际执行中进行安全学习。在Join Order Benchmark测试中,Balsa在两个小时的学习时间内,与两个开源和商业的专家查询优化器的性能相匹配,并且在几个小时后的工作负载运行时间内,其性能超过它们高达2.8 $\times$。因此,Balsa开启了在未来不存在专家设计的优化器的计算环境中自动学习优化的可能性。
Using AI to Optimize Patient Transfer and Resource Utilization During Mass-Casualty Incidents: A Simulation Platform
Surgical Artificial Intelligence Research Academy(外科人工智能研究学院);University Health Network(大学健康网络);University of Toronto(多伦多大学);Department of Surgery(外科系)
开发了基于深度强化学习的决策支持 AI agent 和 MasTER 模拟平台,用于优化大规模伤亡事件中的患者转运决策;实验表明该 AI 能显著提升决策质量,使非专家达到专家级表现并优于创伤外科医生。