arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.17801cs.ETcs.ARcs.LG
收藏

Towards Efficient Hyperdimensional Computing Using Photonics(面向利用光子学实现高效超维计算)

Towards Efficient Hyperdimensional Computing Using Photonics

Boston University(波士顿大学);University of California, Irvine(加利福尼亚大学欧文分校);Georgia Institute of Technology(佐治亚理工学院);SRI International(SRI国际);Lightmatter(莱特马特公司)

Farbin Fayza, Cansu Demirkiran, Hanning Chen, Che-Kai Liu, Avi Mohan, Hamza Errahmouni, Sanggeon Yun, Mohsen Imani, David Zhang, Darius Bunandar, Ajay Joshi

AI总结:

该研究提出首款面向超维计算训练与推理的电光加速器PhotoHDC,验证了光子计算与超维计算的强互补性,其能量延迟积相较现有电光DNN加速器和存内计算加速器分别低2-5个、4个数量级。

摘要:

过去几年,基于硅光子学的计算已成为深度神经网络(Deep Neural Networks, DNN)领域中替代基于CMOS的计算的一种有前景的方案。遗憾的是,DNN的非线性运算以及高精度要求,使得设计用于DNN推理和训练的高效硅光子学系统极具挑战性。超维计算(Hyperdimensional Computing, HDC)是一种新兴的类脑机器学习技术,相较于现有DNN具备多项优势,包括轻量、低精度操作数需求,以及对硬件非理想特性引入的噪声具有鲁棒性。对于HDC而言,存内计算(computing in-memory, CiM)方法已被广泛采用,因为若操作数可装入内存,CiM能降低数据传输成本。然而,低效的多比特运算、高写入延迟以及低耐久性,使得CiM并不适配HDC。另一方面,现有的电光DNN加速器对HDC而言效率低下,因为它们是专门针对DNN中的矩阵乘法优化的,且高精度数据转换器会消耗大量功耗。\n在本文中,我们提出,与光子计算和DNN、或是CiM和HDC的组合相比,光子计算与HDC的互补性更强。我们提出了PhotoHDC,这是首款面向HDC训练和推理的电光加速器,支持基础编码、基于记录的编码以及图编码方案。通过在流行数据集上进行评估,我们表明,在实现HDC训练和推理任务时,我们的加速器的能量延迟积(EDP)比当前最先进的电光DNN加速器低2到5个数量级。在HDC训练和推理方面,PhotoHDC的能量延迟积也比基于CiM的加速器低4个数量级。

英文摘要:

Over the past few years, silicon photonics-based computing has emerged as a promising alternative to CMOS-based computing for Deep Neural Networks (DNN). Unfortunately, the non-linear operations and the high-precision requirements of DNNs make it extremely challenging to design efficient silicon photonics-based systems for DNN inference and training. Hyperdimensional Computing (HDC) is an emerging, brain-inspired machine learning technique that enjoys several advantages over existing DNNs, including being lightweight, requiring low-precision operands, and being robust to noise introduced by the nonidealities in the hardware. For HDC, computing in-memory (CiM) approaches have been widely used, as CiM reduces the data transfer cost if the operands can fit into the memory. However, inefficient multi-bit operations, high write latency, and low endurance make CiM ill-suited for HDC. On the other hand, the existing electro-photonic DNN accelerators are inefficient for HDC because they are specifically optimized for matrix multiplication in DNNs and consume a lot of power with high-precision data converters. In this paper, we argue that photonic computing and HDC complement each other better than photonic computing and DNNs, or CiM and HDC. We propose PhotoHDC, the first-ever electro-photonic accelerator for HDC training and inference, supporting the basic, record-based, and graph encoding schemes. Evaluating with popular datasets, we show that our accelerator can achieve two to five orders of magnitude lower EDP than the state-of-the-art electro-photonic DNN accelerators for implementing HDC training and inference. PhotoHDC also achieves four orders of magnitude lower energy-delay product than CiM-based accelerators for both HDC training and inference.

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

↑