arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.25377cs.ARcs.ET
收藏

TetrisG-SDK: 通过自适应窗口和分组卷积实现高效的卷积层映射以加速内存内计算

TetrisG-SDK: Efficient Convolutional Layer Mapping with Adaptive Windows and Grouped Convolutions for Fast In-Memory Computing

Singapore University of Technology and Design(新加坡科技设计大学);College of Information Science and Electronic Engineering, Zhejiang University(浙江大学信息与电子工程学院);A*STAR Institute of High Performance Computing(新加坡国立高级研究院高性能计算研究所)

Ke Dong, Kejie Huang, Tao Luo, Bo Wang

AI总结:

本文提出TetrisG-SDK框架,通过自适应窗口和分组卷积提升CIM硬件上卷积层的映射效率,减少计算延迟并提升能效。

摘要:

移位和重复核(SDK)映射已成为加速卷积层在计算存内(CIM)硬件上的有效策略。然而,现有的SDK变种(例如VWC-SDK)仅优化单个CIM宏的映射,未探索宏间并行性。此外,其映射方法仍不完善。为解决这些限制,我们提出了TetrisG-SDK,一种新的框架,采用自适应窗口以提升映射性能。所提出的窗口能够容纳更多的输入通道,增加边际空间的数组利用率,并适应不同的通道深度。更重要的是,TetrisG-SDK通过在多个CIM宏上搜索最优窗口配置,以固定的硬件预算减少计算延迟。此外,它还结合了分组卷积,进一步减少计算周期,同时保持接近无损的模型精度。此外,TetrisG-SDK集成了经过验证的CIM硬件模拟器,以提供准确的系统/应用级延迟、面积和能量估计。与单宏VWC-SDK相比,所提出的框架在CNN8、GoogLeNet Inception和DenseNet40模型上分别实现了1.2倍、1.3倍和1.3倍的速度提升。当在模拟器上部署时,它分别减少了CNN8的系统延迟和能量2.4倍和1.7倍,Inception的延迟和能量1.3倍和1.2倍,DenseNet40的延迟和能量1.3倍和1.6倍。当利用宏级并行性时,与非分组版本相比,TetrisG-SDK在CNN8、Inception和DenseNet40上分别将能量延迟面积积(EDAP)减少了70%、68%和36%。这些结果表明,TetrisG-SDK是高效映射CIM硬件上卷积层的有希望的解决方案。

英文摘要:

Shifted-and-Duplicated-Kernel (SDK) mapping has emerged as an effective strategy to accelerate convolutional layers on compute-in-memory (CIM) hardware. However, existing SDK variants (e.g., VWC-SDK) merely optimize mapping for a single CIM macro, leaving inter-macro parallelism unexplored. Moreover, their mapping methodologies are still suboptimal. To address these limitations, we present TetrisG-SDK, a novel framework that employs adaptive windows to boost mapping performance. The proposed windows accommodate more input channels, increase array utilization at marginal space, and adapt to different channel depths. More importantly, TetrisG-SDK reduces compute latency by searching for optimal window configurations across multiple CIM macros with a fixed hardware budget. Besides, it incorporates grouped convolution to further decrease computing cycles while maintaining near-lossless model accuracy. In addition, TetrisG-SDK integrates a validated CIM hardware simulator to provide accurate system-/application-level estimations of latency, area and energy. Compared to the single-macro VWC-SDK, the proposed framework achieves a speed-up by 1.2x, 1.3x, and 1.3x for CNN8, GoogLeNet Inception, and DenseNet40 models, respectively. When deployed on the simulator, it reduces system-level latency and energy by 2.4x and 1.7x for CNN8, 1.3x and 1.2x for Inception, and 1.3x and 1.6x for DenseNet40, respectively. When leveraging macro-level parallelism, TetrisG-SDK reduces the Energy-Delay-Area-Product (EDAP) by 70% for CNN8, 68% for Inception, and 36% for DenseNet40 compared to its non-grouped counterpart. These results manifest that TetrisG-SDK is a promising solution to efficiently mapping convolutional layers on CIM hardware.

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

↑