arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.08192cs.LGcs.AIcs.AR
收藏

动态协同优化编译器:利用多智能体强化学习提升DNN加速器性能

Dynamic Co-Optimization Compiler: Leveraging Multi-Agent Reinforcement Learning for Enhanced DNN Accelerator Performance

University of Southern California(南加州大学)

Arya Fayyazi, Mehdi Kamal, Massoud Pedram

AI总结:

该研究提出新型动态协同优化编译器DCOC,通过含三个专用演员-评论家智能体的自适应MARL框架实现软硬件协同优化,缩减搜索空间,在多种DNN模型上吞吐量最高提升37.95%、优化时间最多缩短42.2%,优于现有前沿框架。

摘要:

本文提出了一种新型的动态协同优化编译器(Dynamic Co-Optimization Compiler, DCOC),它采用自适应多智能体强化学习(Multi-Agent Reinforcement Learning, MARL)框架来提升机器学习(ML)模型——尤其是深度神经网络(DNN)——映射到各类硬件平台上的效率。DCOC在MARL中集成了三个专门的演员-评论家智能体,每个智能体负责不同的优化维度:一个面向硬件,两个面向软件。这种协作策略形成了一套软硬件协同优化的整合方案,提升了DNN部署的精度与速度。通过聚焦高置信度配置,DCOC有效缩减了搜索空间,相较现有方法取得了显著性能提升。实验结果表明,在多种DNN模型上,DCOC将吞吐量最高提升了37.95%,同时将优化时间最多缩短了42.2%,性能优于当前最先进的框架。

英文摘要:

This paper introduces a novel Dynamic Co-Optimization Compiler (DCOC), which employs an adaptive Multi-Agent Reinforcement Learning (MARL) framework to enhance the efficiency of mapping machine learning (ML) models, particularly Deep Neural Networks (DNNs), onto diverse hardware platforms. DCOC incorporates three specialized actor-critic agents within MARL, each dedicated to different optimization facets: one for hardware and two for software. This cooperative strategy results in an integrated hardware/software co-optimization approach, improving the precision and speed of DNN deployments. By focusing on high-confidence configurations, DCOC effectively reduces the search space, achieving remarkable performance over existing methods. Our results demonstrate that DCOC enhances throughput by up to 37.95% while reducing optimization time by up to 42.2% across various DNN models, outperforming current state-of-the-art frameworks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑