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

在SpiNNaker 2神经形态芯片上的语言建模

Language Modeling on a SpiNNaker 2 Neuromorphic Chip

Birla Institute of Technology(比拉理工学院);Centre for Tactile Internet (CeTI) with Human-in-the-Loop, Technische Universität Dresden, Germany(触觉互联网中心(CeTI)与人环路,德累斯顿技术大学,德国);Dept. of Computer Science, Royal Holloway, University of London, Egham, United Kingdom(计算机科学系,伦敦皇家霍洛威大学,埃格姆,英国)

Khaleelulla Khan Nazeer, Mark Schöne, Rishav Mukherji, Bernhard Vogginger, Christian Mayr, David Kappel, Anand Subramoney

AI总结:

本文首次在SpiNNaker 2神经形态芯片上实现基于EGRU架构的语言模型,展示了其在语言建模和手势识别任务中与LSTM相当的性能。

摘要:

随着大型语言模型的规模迅速扩大,其运行所需的计算能力也相应增加。基于事件的神经形态设备网络提供了一种显著减少推理能耗的潜在方法。然而,迄今为止,大多数能够在神经形态硬件上运行的基于事件的网络,包括脉冲神经网络(SNNs),尚未在语言建模任务上达到甚至与LSTM模型相媲美的性能。因此,神经形态设备上的语言建模似乎遥不可及。在本工作中,我们展示了首个在神经形态设备上实现的语言模型——具体而言是SpiNNaker 2芯片——基于最近发表的基于事件的架构EGRU。SpiNNaker 2是一种面向大规模异步处理设计的多核神经形态芯片,而EGRU则被设计为能够高效利用此类硬件同时保持具有竞争力的任务性能。该实现标志着神经形态语言模型首次达到LSTM的水平,为将任务性能提升到大型语言模型的水平奠定了基础。我们还展示了基于DVS摄像头输入的Gesture Recognition任务的结果。总体而言,我们的结果展示了这种神经启发式神经网络在硬件上的可行性,突显了在单批次推理常见用例中与传统硬件相比的显著能效提升。

英文摘要:

As large language models continue to scale in size rapidly, so too does the computational power required to run them. Event-based networks on neuromorphic devices offer a potential way to reduce energy consumption for inference significantly. However, to date, most event-based networks that can run on neuromorphic hardware, including spiking neural networks (SNNs), have not achieved task performance even on par with LSTM models for language modeling. As a result, language modeling on neuromorphic devices has seemed a distant prospect. In this work, we demonstrate the first-ever implementation of a language model on a neuromorphic device - specifically the SpiNNaker 2 chip - based on a recently published event-based architecture called the EGRU. SpiNNaker 2 is a many-core neuromorphic chip designed for large-scale asynchronous processing, while the EGRU is architected to leverage such hardware efficiently while maintaining competitive task performance. This implementation marks the first time a neuromorphic language model matches LSTMs, setting the stage for taking task performance to the level of large language models. We also demonstrate results on a gesture recognition task based on inputs from a DVS camera. Overall, our results showcase the feasibility of this neuro-inspired neural network in hardware, highlighting significant gains versus conventional hardware in energy efficiency for the common use case of single batch inference.

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

↑