现代科学发现越来越依赖高性能计算来进行复杂建模和仿真。提升并行程序性能的一个关键挑战是高效地将任务映射到处理器以及将数据映射到内存,这一过程由被称为mappers的复杂低级系统代码所决定。开发高性能的mappers需要数天的手动调优,这对缺乏系统专业知识的领域科学家构成了重大障碍。我们引入了一个框架,通过生成式优化使mapper开发自动化,利用超越标量性能指标的更丰富反馈。我们的方法以Agent-System Interface为特色,它包含一个Domain-Specific Language (DSL)来抽象掉系统代码的低级复杂性并定义结构化的搜索空间,以及AutoGuide,一种将原始执行输出解释为可操作反馈的机制。与OpenTuner等仅依赖标量反馈的传统强化学习方法不同,我们的方法在少得多的迭代次数中找到了更优的mappers。仅需10次迭代,它就超越了OpenTuner在1000次迭代后的表现,实现了3.8倍的性能提升。我们的方法找到的mappers在九个基准测试中比专家编写的mappers最高快1.34倍,同时将调优时间从数天缩短至数分钟。
英文摘要:
Modern scientific discovery increasingly relies on high-performance computing for complex modeling and simulation. A key challenge in improving parallel program performance is efficiently mapping tasks to processors and data to memory, a process dictated by intricate, low-level system code known as mappers. Developing high-performance mappers demands days of manual tuning, posing a significant barrier for domain scientists without systems expertise. We introduce a framework that automates mapper development with generative optimization, leveraging richer feedback beyond scalar performance metrics. Our approach features the Agent-System Interface, which includes a Domain-Specific Language (DSL) to abstract away the low-level complexity of system code and define a structured search space, as well as AutoGuide, a mechanism that interprets raw execution output into actionable feedback. Unlike traditional reinforcement learning methods such as OpenTuner, which rely solely on scalar feedback, our method finds superior mappers in far fewer iterations. With just 10 iterations, it outperforms OpenTuner even after 1000 iterations, achieving 3.8X faster performance. Our approach finds mappers that surpass expert-written mappers by up to 1.34X speedup across nine benchmarks while reducing tuning time from days to minutes.
Unleashing the Potential of Large Language Models as Prompt Optimizers: Analogical Analysis with Gradient-based Model Optimizers
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);International School, Beijing University of Posts and Telecommunications(北京邮电大学国际学院);Alibaba Group(阿里巴巴集团)
Taming Momentum: Rethinking Optimizer States Through Low-Rank Approximation
University of Science and Technology of China(中国科学技术大学);NLPR & MAIS, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)
Generative Explore-Exploit: Training-free Optimization of Generative Recommender Systems using LLM Optimizers
Center for Information and Language Processing (CIS), LMU Munich(慕尼黑大学信息与语言处理中心(CIS));Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心(MCML));Amazon.com, Inc.(亚马逊公司)
Write, Execute, Refine: From Skill Follower to Skill Optimizer via Reinforcement Learning from Execution Feedback
Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));The Chinese University of Hong Kong(香港中文大学);Huawei Technologies Co., Ltd.(华为技术有限公司);Harbin Institute of Technology(哈尔滨工业大学)
Improving the Adaptive Moment Estimation (ADAM) stochastic optimizer through an Implicit-Explicit (IMEX) time-stepping approach
Computational Science Laboratory(计算科学实验室);Virginia Tech(弗吉尼亚理工大学);The University of Texas at Austin(德克萨斯大学奥斯汀分校);California State University, Long Beach(加州州立大学长滩分校)
FastAdaBelief: Improving Convergence Rate for Belief-based Adaptive Optimizers by Exploiting Strong Convexity
University of Science and Technology of China(中国科学技术大学);Duke Kunshan University(昆山杜克大学);Edinburgh Napier University(爱丁堡龙比亚大学);Gusu Laboratory of Materials(姑苏材料实验室)