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

可扩展、节能的模拟循环计算的软硬件协同设计

Hardware-Software Co-Design of Scalable, Energy-Efficient Analog Recurrent Computations

University of Liège(列日大学)

Arthur Fyon, Julien Brandoit, Loris Mendolia, Damien Ernst, Jean-Michel Redouté, Guillaume Drion

AI总结:

通过软硬件协同设计,利用双稳态记忆循环单元(BMRU)的离散输出抑制噪声,实现了超低功耗的模拟循环神经网络硬件。

摘要:

始终在线的AI应用,从环境传感器到生物医学植入物,都需要超低功耗。模拟电路提供了一条亚微瓦级推理的路径,但现有的模拟实现仅限于前馈架构:由于时间反馈中的噪声累积,将其扩展到循环动态被认为是不切实际的。我们证明,通过软硬件协同设计可以克服这一障碍。具体来说,我们发现双稳态记忆循环单元(BMRU)——一类具有离散值输出和迟滞动力学的循环神经网络(RNN)——允许一种超低功耗的电流模式模拟实现,我们从第一性原理设计了该实现。由此产生的电路在每个学习参数和电路元件之间建立了一一对应关系。离散输出在每个单元边界处将模拟噪声抑制至少20倍,打破了阻止模拟循环的噪声累积。我们重新制定了BMRU,使其在固定阈值下进行第一象限操作,从而在保持表达能力和可训练性的同时实现了直接对应。在180纳米互补金属氧化物半导体(CMOS)中的晶体管级模拟显示,软件预测与电路级行为之间几乎完美一致,因此软件模型以低计算成本充当物理硬件的高保真模拟器。我们利用这种保真度进行大规模噪声免疫和功率缩放分析:添加循环的功率成本与状态维度线性缩放,而主导总功率的前馈层则二次缩放,这意味着相对于前馈骨干网络,循环是以线性边际成本添加的。端到端的关键词识别在RNN核心处实现了亚微瓦级推理。

英文摘要:

Always-on AI applications, from environmental sensors to biomedical implants, require ultra-low power consumption. Analog circuits offer a path to sub-microwatt inference, yet existing analog implementations are limited to feedforward architectures: extending them to recurrent dynamics has been considered impractical due to noise accumulation through temporal feedback. We demonstrate that this barrier can be overcome through hardware-software co-design. Specifically, we identify that Bistable Memory Recurrent Units (BMRUs), a class of Recurrent Neural Networks (RNNs) with discrete-valued outputs and hysteretic dynamics, admit an ultra-low power current-mode analog implementation which we design from first principles. The resulting circuit establishes a one-to-one correspondence between each learned parameter and a circuit element. The discrete outputs suppress analog noise by at least 20-fold at each cell boundary, breaking the noise accumulation that prevents analog recurrence. We reformulate BMRUs for first-quadrant operation with fixed thresholds, enabling the direct correspondence while preserving expressivity and trainability. Transistor-level simulations in 180 nm Complementary Metal-Oxide-Semiconductor (CMOS) show near-perfect agreement between software predictions and circuit-level behavior, with the software model thereby serving as a high-fidelity simulator of the physical hardware at low computational cost. We leverage this fidelity to conduct large-scale noise immunity and power scaling analyses: the power cost of adding recurrence scales linearly with state dimension, while the feedforward layers dominating total power scale quadratically, meaning recurrence is added at linear marginal cost relative to the feedforward backbone. End-to-end keyword spotting achieves sub-microwatt inference at the RNN core.

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

↑