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

混合精度训练与编译用于基于RRAM的计算在内存加速器

Mixed-Precision Training and Compilation for RRAM-based Computing-in-Memory Accelerators

RWTH Aachen University, Germany(亚琛工业大学,德国);RooflineAI GmbH, Germany(RooflineAI GmbH,德国)

Rebecca Pelke, Joel Klein, Jose Cubero-Cascante, Nils Bosbach, Jan Moritz Joseph, Rainer Leupers

AI总结:

本文提出混合精度训练与编译框架,解决RRAM计算在内存加速器中量化参数搜索空间大、精度与速度平衡的问题,实现2.48倍速度提升和0.086%精度损失。

摘要:

计算在内存(CIM)加速器是一种有前景的解决方案,用于加速机器学习(ML)工作负载,因为它们在内存中直接对交叉bar阵列执行矩阵-向量乘法(MVM)。尽管交叉bar输入和单元的位宽非常有限,但大多数CIM编译器不支持低于8位的量化。因此,单个MVM需要许多计算周期,权重无法高效存储在单个交叉bar单元中。为了解决这个问题,我们提出了一种混合精度训练和编译框架用于CIM架构。最大的挑战是大规模的搜索空间,这使得难以找到良好的量化参数。这就是为什么我们引入基于强化学习的策略来寻找合适的量化配置,以平衡延迟和精度。在最佳情况下,我们的方法相对于现有最先进解决方案实现了高达2.48倍的速度提升,精度损失仅为0.086%。

英文摘要:

Computing-in-Memory (CIM) accelerators are a promising solution for accelerating Machine Learning (ML) workloads, as they perform Matrix-Vector Multiplications (MVMs) on crossbar arrays directly in memory. Although the bit widths of the crossbar inputs and cells are very limited, most CIM compilers do not support quantization below 8 bit. As a result, a single MVM requires many compute cycles, and weights cannot be efficiently stored in a single crossbar cell. To address this problem, we propose a mixed-precision training and compilation framework for CIM architectures. The biggest challenge is the massive search space, that makes it difficult to find good quantization parameters. This is why we introduce a reinforcement learning-based strategy to find suitable quantization configurations that balance latency and accuracy. In the best case, our approach achieves up to a 2.48x speedup over existing state-of-the-art solutions, with an accuracy loss of only 0.086 %.

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

↑