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

OpenACM: 一种基于SRAM的近似计算-in-内存编译器

OpenACM: An Open-Source SRAM-Based Approximate CiM Compiler

Nanjing University of Science and Technology(南京理工大学);Beihang University(北京航空航天大学);University of Sheffield(谢菲尔德大学);The 58th Research Institute of China Electronics Technology Group Corporation(中国电子科技集团公司第五十八研究所)

Yiqi Zhou, JunHao Ma, Xingyang Li, Yule Sheng, Yue Yuan, Yikai Wang, Bochang Wang, Yiheng Wu, Shan Shen, Wei Xing, Daying Sun, Li Li, Zhiqiang Xiao

AI总结:

OpenACM是一种开源的SRAM基近似计算-in-内存编译器,通过精度可配置的乘法器库实现应用精度与硬件自动化的平衡,实验表明其可实现高达64%的能耗节省。

摘要:

随着数据密集型AI工作负载的兴起,内存墙瓶颈问题变得更加严峻。利用SRAM的数字计算-in-内存(DCiM)提供了一种可扩展的解决方案,但其庞大的设计空间使得手动设计不切实际,从而产生了一种自动编译器的需求。近似计算是一个关键机会,它利用AI应用的误差容忍性以实现显著的能耗节省。然而,现有的DCiM编译器专注于精确计算,未能利用这一优化。本文介绍了OpenACM,这是首个开源的、具有精度意识的编译器,用于基于SRAM的近似DCiM架构。OpenACM在应用误差容忍性和硬件自动化之间架起桥梁。其核心贡献是一个集成的精度可配置乘法器库(精确、可调近似和对数),使设计者能够进行细粒度的精度-能耗权衡。编译器自动化生成DCiM架构,集成了具有变体意识特性的SRAM宏,以及基于OpenROAD和FreePDK45库的完整开源物理设计流程。这确保了完全可重复和可访问性,消除了对专有工具的依赖。在具有代表性的卷积神经网络(CNNs)上的实验结果表明,OpenACM实现了高达64%的能耗节省,同时应用精度损失微乎其微。该框架可在https://github.com/ShenShan123/OpenACM上获取。

英文摘要:

The rise of data-intensive AI workloads has exacerbated the ``memory wall'' bottleneck. Digital Compute-in-Memory (DCiM) using SRAM offers a scalable solution, but its vast design space makes manual design impractical, creating a need for automated compilers. A key opportunity lies in approximate computing, which leverages the error tolerance of AI applications for significant energy savings. However, existing DCiM compilers focus on exact arithmetic, failing to exploit this optimization. This paper introduces OpenACM, the first open-source, accuracy-aware compiler for SRAM-based approximate DCiM architectures. OpenACM bridges the gap between application error tolerance and hardware automation. Its key contribution is an integrated library of accuracy-configurable multipliers (exact, tunable approximate, and logarithmic), enabling designers to make fine-grained accuracy-energy trade-offs. The compiler automates the generation of the DCiM architecture, integrating a transistor-level customizable SRAM macro with variation-aware characterization into a complete, open-source physical design flow based on OpenROAD and the FreePDK45 library. This ensures full reproducibility and accessibility, removing dependencies on proprietary tools. Experimental results on representative convolutional neural networks (CNNs) demonstrate that OpenACM achieves energy savings of up to 64\% with negligible loss in application accuracy. The framework is available on \href{https://github.com/ShenShan123/OpenACM}{OpenACM:URL}

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

↑