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

提高基于模拟的存内计算加速器训练后的精度

Improving the Accuracy of Analog-Based In-Memory Computing Accelerators Post-Training

Corey Lammie, Athanasios Vasilopoulos, Julian Büchel, Giacomo Camposampiero, Manuel Le Gallo, Malte Rasch, Abu Sebastian

AI总结:

针对基于模拟的存内计算加速器的精度损失问题,提出两种训练后优化方法,通过优化交叉开关列电导范围和输入DAC范围降低训练复杂度与硬件信息需求,在GLUE基准上微调RoBERTa模型时精度变化≤0.1%,且进一步优化学习参数可提升精度。

摘要:

基于模拟的存内计算(AIMC)推理加速器可用于高效执行深度神经网络(DNN)推理工作负载。然而,为了缓解由电路和器件非理想性导致的精度损失,必须采用硬件感知(HWA)训练方法。这些方法通常需要大量关于底层硬件的信息。在本文中,我们提出了两种训练后(PT)优化方法,以在训练完成后提高精度。对于每个交叉开关阵列,第一种方法优化每列的电导范围,第二种方法优化输入,即数模转换器(DAC)范围。结果表明,采用这些方法时,训练复杂度及所需的底层硬件信息量均可降低,且在针对所有通用语言理解评估(GLUE)基准任务微调预训练的RoBERTa transformer模型时,精度无显著变化(≤0.1%)。此外,研究还表明,在训练后进一步优化已学习的参数可提高精度。

英文摘要:

Analog-Based In-Memory Computing (AIMC) inference accelerators can be used to efficiently execute Deep Neural Network (DNN) inference workloads. However, to mitigate accuracy losses, due to circuit and device non-idealities, Hardware-Aware (HWA) training methodologies must be employed. These typically require significant information about the underlying hardware. In this paper, we propose two Post-Training (PT) optimization methods to improve accuracy after training is performed. For each crossbar, the first optimizes the conductance range of each column, and the second optimizes the input, i.e, Digital-to-Analog Converter (DAC), range. It is demonstrated that, when these methods are employed, the complexity during training, and the amount of information about the underlying hardware can be reduced, with no notable change in accuracy ($\leq$0.1%) when finetuning the pretrained RoBERTa transformer model for all General Language Understanding Evaluation (GLUE) benchmark tasks. Additionally, it is demonstrated that further optimizing learned parameters PT improves accuracy.

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

↑