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

多比特神经推断在N进制交叉bar架构中的应用

Multibit neural inference in a N-ary crossbar architecture

Institute of Condensed Matter and Nanosciences, Université catholique de Louvain(凝聚态与纳米科学研究所,卢万大学)

Anatole Moureaux, Anthony Lopes Temporao, Flavio Abreu Araujo

AI总结:

本文提出了一种N进制交叉bar架构的仿真框架,通过模拟4x4的4状态磁隧道结阵列实现了XOR和MNIST分类任务,提升了神经网络推断精度,并研究了权重量化对性能的影响。

摘要:

在内存计算(IMC)中,通过在内存交叉bar阵列中计算模拟矩阵-向量乘法(MVM)实现高效能神经网络推断。本文提出了一种N进制交叉bar架构的仿真框架,能够在最小的实现假设下检索MVM结果。使用模拟的4x4 4状态磁隧道结阵列成功完成了XOR和MNIST分类任务,MNIST准确率达到94.48%(对比软件基线97.56%)。通过使用PCA降维进一步缩小了软硬件性能差距。我们发现权重量化是主要的误差来源,并研究了其影响以及系统性和随机性非理想因素。我们发现由于在阵列中平均化,单元特定的随机噪声比系统误差更不具破坏性。最后,我们展示了最佳的每个单元状态数,以平衡量化误差与电阻状态分辨率,从而最小化总MVM误差。

英文摘要:

In-memory computing (IMC) is a paradigm that enables neural network inference by computing analog matrix-vector multiplications (MVM) directly in memory crossbar arrays, with the potential for energy efficiency gains over conventional von Neumann architectures. In this work we present a simulation framework for N-ary crossbar architectures that retrieves MVM results with minimal implementation assumptions. The XOR and MNIST classification tasks were successfully inferred using a simulated crossbar array of (4x4) 4-states magnetic tunnel junctions (MTJ). MNIST accuracy reached 93.56% (vs. 97.56% software baseline). PCA dimensionality reduction was shown to drastically lower the number of required operations and improve the software baseline, for only a modest reduction in crossbar inference accuracy. We identified weight quantization as the primary error source, and studied its impact alongside systematic non-idealities and random noise. We find that cell-specific random noise is less detrimental than systematic errors due to averaging across the array. Finally, we demonstrate an optimal number of states per cell that balances quantization error against resistance state resolution to minimize total MVM error.

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

↑