arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2411.03375cs.LGcs.AR
收藏

使用模拟内存计算的核函数近似

Kernel Approximation using Analog In-Memory Computing

IBM Research Europe(IBM欧洲研究院)

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

AI总结:

本文提出一种适用于模拟内存计算架构的核函数近似方法,利用IBM HERMES芯片在硬件上实现,在保持高精度的同时提升能效和降低功耗。

摘要:

核函数是多种机器学习算法的重要组成部分,但通常会产生显著的内存和计算成本。我们提出了一种适用于混合信号模拟内存计算(AIMC)架构的机器学习算法中的核函数近似方法。模拟内存核函数近似通过直接在内存中执行近似核方法中的大部分操作,解决了传统基于核的方法的性能瓶颈。IBM HERMES项目芯片,一款基于相变内存的最先进的AIMC芯片,被用于核函数近似的硬件演示。实验结果表明,我们的方法保持了高精度,在基于核的岭回归分类基准测试中精度下降不到1%,在Transformer神经网络的核化注意力Long Range Arena基准测试中精度在1%以内。与传统数字加速器相比,我们的方法预计能提供更高的能效和更低的功耗。这些发现凸显了异构AIMC架构在提升机器学习应用效率和可扩展性方面的潜力。

英文摘要:

Kernel functions are vital ingredients of several machine learning algorithms, but often incur significant memory and computational costs. We introduce an approach to kernel approximation in machine learning algorithms suitable for mixed-signal Analog In-Memory Computing (AIMC) architectures. Analog In-Memory Kernel Approximation addresses the performance bottlenecks of conventional kernel-based methods by executing most operations in approximate kernel methods directly in memory. The IBM HERMES Project Chip, a state-of-the-art phase-change memory based AIMC chip, is utilized for the hardware demonstration of kernel approximation. Experimental results show that our method maintains high accuracy, with less than a 1% drop in kernel-based ridge classification benchmarks and within 1% accuracy on the Long Range Arena benchmark for kernelized attention in Transformer neural networks. Compared to traditional digital accelerators, our approach is estimated to deliver superior energy efficiency and lower power consumption. These findings highlight the potential of heterogeneous AIMC architectures to enhance the efficiency and scalability of machine learning applications.

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

↑