arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2512.15002cs.NE
收藏

具有模拟电路的密集关联记忆

Dense Associative Memories with Analog Circuits

MIT(麻省理工学院);Princeton University(普林斯顿大学);IBM Research(IBM研究院)

Marc Gong Bacvanski, Xincheng You, John Hopfield, Dmitry Krotov

AI总结:

本文提出了一种基于模拟电路的DenseAM加速器,实现了在模型大小不变的情况下恒定时间推断,展示了模拟DenseAM在高效大规模推断中的优势。

摘要:

现代人工智能系统日益增长的计算需求暴露了数字硬件的根本限制,推动了对高效大规模推断的替代范式的研究。密集关联记忆(DenseAM)是一种模型家族,通过将其视为在能量景观上演化的动态系统,为表示许多现代神经架构(如Transformer和扩散模型)提供了灵活的框架。在本文中,我们提出了一种通用方法,用于构建DenseAM的模拟加速器,并使用电子RC电路、交叉bar阵列和放大器实现。我们发现,我们的模拟DenseAM硬件在模型大小不同时都能以恒定时间进行推断。这一结果突显了模拟DenseAM相对于至少与模型大小线性增长的数字数值求解器的渐近优势。我们考虑了三个逐步增加复杂度的设置:XOR、汉明(7,4)码和一个在二进制变量上定义的简单语言模型。我们提出了这三个模型的模拟实现,并分析了推断时间、能耗和硬件的扩展情况。最后,我们估计了由放大器规格所施加的可实现时间常数的下限,表明即使现有保守的模拟技术也能实现推断时间在数十到数百纳秒的范围。通过利用模拟电路的内在并行性和连续时间操作,我们的基于DenseAM的加速器设计为快速且可扩展的AI硬件提供了一条新途径。

英文摘要:

The increasing computational demands of modern AI systems have exposed fundamental limitations of digital hardware, driving interest in alternative paradigms for efficient large-scale inference. Dense Associative Memory (DenseAM) is a family of models that offers a flexible framework for representing many contemporary neural architectures, such as transformers and diffusion models, by casting them as dynamical systems evolving on an energy landscape. In this work, we propose a general method for building analog accelerators for DenseAMs and implementing them using electronic RC circuits, crossbar arrays, and amplifiers. We find that our analog DenseAM hardware performs inference in constant time independent of model size. This result highlights an asymptotic advantage of analog DenseAMs over digital numerical solvers that scale at least linearly with the model size. We consider three settings of progressively increasing complexity: XOR, the Hamming (7,4) code, and a simple language model defined on binary variables. We propose analog implementations of these three models and analyze the scaling of inference time, energy consumption, and hardware. Finally, we estimate lower bounds on the achievable time constants imposed by amplifier specifications, suggesting that even conservative existing analog technology can enable inference times on the order of tens to hundreds of nanoseconds. By harnessing the intrinsic parallelism and continuous-time operation of analog circuits, our DenseAM-based accelerator design offers a new avenue for fast and scalable AI hardware.

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

↑