paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Cocco: Hardware-Mapping Co-Exploration towards Memory Capacity-Communication Optimization

Cocco:面向内存容量-通信优化的硬件-映射协同探索
ASPLOS Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 12024匹配度 1/10 · 该论文面向 DNN 加速器的硬件-映射协同优化,核心是内存容量与通信开销的图级执行方案和遗传搜索,不涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析。虽然标签包含机器学习与程序语言,但实际内容与用户关注的 PL 与 AI 交叉方向基本无关。引用 13 inbox
Zhanhong Tan, Zijian Zhu, Kaisheng Ma
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出图级执行方案与硬件-映射协同探索框架 Cocco,以较小内存降低 DNN 加速器通信开销。

DNN 加速器中,片上内存容量影响能耗、带宽与面积,但增大内存以降低数据搬移会付出硅成本,已有内存优化难以通用适配复杂图结构。本文揭示网络结构与内存特征的联系,提出图级执行方案及配套数据流与内存管理,使任意图模式以高复用、低开销执行;进而提出 Cocco 硬件-映射协同探索框架,将图划分调度与内存配置搜索形式化为优化问题,并用遗传算法求解大规模不规则网络。实验表明,Cocco 相比贪心与动态规划降低外部内存访问和带宽需求,图划分优化更稳定,相比典型方法降低成本 1.89%–50.33%。

问题
DNN 加速器中片上内存容量与数据搬移/通信开销、硅成本之间的权衡;已有内存优化难以通用处理复杂网络图结构。
方法
提出图级执行方案及配套数据流与内存管理,并将图划分调度与内存配置搜索形式化为优化问题,用遗传算法进行硬件-映射协同探索。
评估
在 DNN 网络上对比贪心、动态规划与典型方法,评估外部内存访问、带宽需求、图划分稳定性和成本降低幅度(1.89%–50.33%)。
原文摘要(Abstract)

Memory is a critical design consideration in current data-intensive DNN accelerators, as it profoundly determines energy consumption, bandwidth requirements, and area costs. As DNN structures become more complex, a larger on-chip memory capacity is required to reduce data movement overhead, but at the expense of silicon costs. Some previous works have proposed memory-oriented optimizations, such as different data reuse and layer fusion schemes. However, these methods are not general and potent enough to cope with various graph structures. In this paper, we explore the intrinsic connection between network structures and memory features to optimize both hardware and mapping. First, we introduce a graph-level execution scheme with a corresponding dataflow and memory management method. This scheme enables the execution of arbitrary graph patterns with high data reuse and low hardware overhead. Subsequently, we propose Cocco, a hardware-mapping co-exploration framework leveraging graph-level features of networks. It aims to minimize communication overhead, such as energy consumption and bandwidth requirements, with a smaller memory capacity. We formulate the graph-partition scheduling and memory configuration search as an optimization problem and employ a genetic-based method to achieve efficient co-exploration for large and irregular networks. Experiments demonstrate that Cocco obtains lower external memory access, lower bandwidth requirements, and more stable optimization for graph partition compared to the greedy algorithm and dynamic programming introduced in prior works. Cocco also reduces the costs by 1.89% to 50.33% using co-exploration compared to other typical methods.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{abs-2402-00629,
  title = {Cocco: Hardware-Mapping Co-Exploration towards Memory Capacity-Communication Optimization},
  author = {Zhanhong Tan and Zijian Zhu and Kaisheng Ma},
  booktitle = {ASPLOS},
  year = {2024},
  doi = {10.1145/3617232.3624865}
}