用于基于分数扩散模型的阻变存储器神经微分方程求解器
Resistive Memory-based Neural Differential Equation Solver for Score-based Diffusion Model
AI总结:
针对基于分数扩散模型生成速度慢、能耗高的问题,本文提出基于阻变存储器的时间连续模拟存内神经微分方程求解器,通过软硬件协同显著加速并降低无条件与条件生成任务的能耗。
摘要:
人类在阅读小说时会在脑中想象复杂场景。复制这种想象力是人工智能生成内容(AIGC)的终极目标之一。然而,当前基于分数扩散等AIGC方法在速度和效率方面仍存在不足。这一缺陷源于大脑与数字计算机之间的差异。数字计算机的存储单元与处理单元在物理上分离,导致迭代计算过程中频繁的数据搬运,产生巨大的时间和能源开销。将本质上连续、模拟的生成动力学(可由神经微分方程表述)转换为离散、数字的操作,进一步加剧了这一问题。受大脑启发,我们采用新兴阻变存储器,提出了一种用于基于分数扩散的时间连续、模拟存内神经微分方程求解器。阻变存储器突触中存储与计算的融合克服了冯·诺依曼瓶颈,有利于提升生成速度和能源效率。闭环反馈积分器具有时间连续、模拟且紧凑的特点,在物理上实现了无限深度神经网络。此外,该软硬件协同设计对模拟噪声具有内在鲁棒性。我们使用180 nm阻变存储器存内计算宏对所提方案进行了实验验证。在生成质量与软件基线相当的情况下,本系统在无条件和条件生成任务中的生成速度分别显著提升64.8倍和156.5倍。此外,其能耗分别降低5.2倍和4.1倍。本方法为面向生成式AI应用的边缘计算硬件解决方案开辟了新视野。
英文摘要:
Human brains image complicated scenes when reading a novel. Replicating this imagination is one of the ultimate goals of AI-Generated Content (AIGC). However, current AIGC methods, such as score-based diffusion, are still deficient in terms of rapidity and efficiency. This deficiency is rooted in the difference between the brain and digital computers. Digital computers have physically separated storage and processing units, resulting in frequent data transfers during iterative calculations, incurring large time and energy overheads. This issue is further intensified by the conversion of inherently continuous and analog generation dynamics, which can be formulated by neural differential equations, into discrete and digital operations. Inspired by the brain, we propose a time-continuous and analog in-memory neural differential equation solver for score-based diffusion, employing emerging resistive memory. The integration of storage and computation within resistive memory synapses surmount the von Neumann bottleneck, benefiting the generative speed and energy efficiency. The closed-loop feedback integrator is time-continuous, analog, and compact, physically implementing an infinite-depth neural network. Moreover, the software-hardware co-design is intrinsically robust to analog noise. We experimentally validate our solution with 180 nm resistive memory in-memory computing macros. Demonstrating equivalent generative quality to the software baseline, our system achieved remarkable enhancements in generative speed for both unconditional and conditional generation tasks, by factors of 64.8 and 156.5, respectively. Moreover, it accomplished reductions in energy consumption by factors of 5.2 and 4.1. Our approach heralds a new horizon for hardware solutions in edge computing for generative AI applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。