强化学习
计算机科学
编译程序
任务(项目管理)
概括性
钥匙(锁)
超参数
编码(集合论)
建筑
计算机体系结构
人工智能
计算机工程
机器学习
程序设计语言
操作系统
系统工程
艺术
心理治疗师
集合(抽象数据类型)
视觉艺术
工程类
心理学
作者
Huanting Wang,Zhanyong Tang,Cheng Zhang,Jiaqi Zhao,Chris Cummins,Hugh Leather,Zheng Wang
标识
DOI:10.1145/3497776.3517769
摘要
Reinforcement learning (RL) is emerging as a powerful technique for solving complex code optimization tasks with an ample search space. While promising, existing solutions require a painstaking manual process to tune the right task-specific RL architecture, for which compiler developers need to determine the composition of the RL exploration algorithm, its supporting components like state, reward, and transition functions, and the hyperparameters of these models. This paper introduces SuperSonic, a new open-source framework to allow compiler developers to integrate RL into compilers easily, regardless of their RL expertise. SuperSonic supports customizable RL architecture compositions to target a wide range of optimization tasks. A key feature of SuperSonic is the use of deep RL and multi-task learning techniques to develop a meta-optimizer to automatically find and tune the right RL architecture from training benchmarks. The tuned RL can then be deployed to optimize new programs. We demonstrate the efficacy and generality of SuperSonic by applying it to four code optimization problems and comparing it against eight auto-tuning frameworks. Experimental results show that SuperSonic consistently improves hand-tuned methods by delivering better overall performance, accelerating the deployment-stage search by 1.75x on average (up to 100x).
科研通智能强力驱动
Strongly Powered by AbleSci AI