arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.07164cs.ETcs.AIcs.AR
收藏

剪枝随机阻变存储器以优化模拟人工智能

Pruning random resistive memory for optimizing analogue AI

The University of Hong Kong(香港大学);Institute of Microelectronics, Chinese Academy of Sciences(中国科学院微电子研究所);University of Chinese Academy of Sciences(中国科学院大学);Institute of Mind, The University of Hong Kong(香港大学心智研究所);ACCESS – AI Chip Center for Emerging Smart Systems, InnoHK Centers, Hong Kong Science Park(ACCESS – 新兴智能系统AI芯片中心,InnoHK中心,香港科学园)
Yi Li, Songqi Wang, Yaping Zhao, Shaocong Wang, Woyu Zhang, Yangu He, Ning Lin, Binbin Cui, Xi Chen, Shiming Zhang, Hao Jiang, Peng Lin, Xumeng Zhang, Xiaojuan … 展开作者

Yi Li, Songqi Wang, Yaping Zhao, Shaocong Wang, Woyu Zhang, Yangu He, Ning Lin, Binbin Cui, Xi Chen, Shiming Zhang, Hao Jiang, Peng Lin, Xumeng Zhang, Xiaojuan Qi, Zhongrui Wang, Xiaoxin Xu, Dashan Shang, Qi Liu, Kwang-Ting Cheng, Ming Liu

AI总结:

本文提出一种基于结构可塑性边剪枝的软硬件协同设计方法,通过剪枝优化随机加权阻变存储器神经网络拓扑,在40nm宏上实现图像、音频和分割任务精度及能效的大幅提升。

摘要:

人工智能的快速发展以展现出类人智能的大型语言模型为标志。然而,这些模型也对能源消耗和环境可持续性提出了前所未有的挑战。一个有前景的解决方案是重新审视模拟计算,这是一种先于数字计算的技术,利用新兴的模拟电子器件,如阻变存储器,其具有存内计算、高可扩展性和非易失性的特点。然而,模拟计算仍面临与以往相同的挑战:由于底层器件物理特性导致的编程非理想性和昂贵的编程开销。在此,我们报告了一种通用解决方案,即采用结构可塑性启发的边剪枝进行软硬件协同设计,以优化随机加权模拟阻变存储器神经网络的拓扑结构。在软件方面,通过剪枝连接而非精确调节阻变存储器权重来优化随机加权神经网络的拓扑。在硬件方面,我们利用透射电子显微镜揭示了编程随机性的物理根源,并将其用于大规模、低成本地实现包含高性能子网络的过参数化随机神经网络。我们在一个40纳米256K阻变存储器宏上实现了该协同设计,在FashionMNIST和Spoken digits数据集上的图像和音频分类任务中分别观察到17.3%和19.9%的准确率提升,在DRIVE数据集上的图像分割任务中PR(ROC)提升了9.8%(2%)。同时,得益于模拟存内计算,能效分别提升了82.1%、51.2%和99.8%。通过利用固有的随机性和存内计算,这项工作可能解决模拟计算系统最大的障碍,从而释放其在下一代AI硬件中的巨大潜力。

英文摘要:

The rapid advancement of artificial intelligence (AI) has been marked by the large language models exhibiting human-like intelligence. However, these models also present unprecedented challenges to energy consumption and environmental sustainability. One promising solution is to revisit analogue computing, a technique that predates digital computing and exploits emerging analogue electronic devices, such as resistive memory, which features in-memory computing, high scalability, and nonvolatility. However, analogue computing still faces the same challenges as before: programming nonidealities and expensive programming due to the underlying devices physics. Here, we report a universal solution, software-hardware co-design using structural plasticity-inspired edge pruning to optimize the topology of a randomly weighted analogue resistive memory neural network. Software-wise, the topology of a randomly weighted neural network is optimized by pruning connections rather than precisely tuning resistive memory weights. Hardware-wise, we reveal the physical origin of the programming stochasticity using transmission electron microscopy, which is leveraged for large-scale and low-cost implementation of an overparameterized random neural network containing high-performance sub-networks. We implemented the co-design on a 40nm 256K resistive memory macro, observing 17.3% and 19.9% accuracy improvements in image and audio classification on FashionMNIST and Spoken digits datasets, as well as 9.8% (2%) improvement in PR (ROC) in image segmentation on DRIVE datasets, respectively. This is accompanied by 82.1%, 51.2%, and 99.8% improvement in energy efficiency thanks to analogue in-memory computing. By embracing the intrinsic stochasticity and in-memory computing, this work may solve the biggest obstacle of analogue computing systems and thus unleash their immense potential for next-generation AI hardware.

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

↑