高级搜索

留言板

尊敬的读者、作者、审稿人, 关于本刊的投稿、审稿、编辑和出版的任何问题, 您可以本页添加留言。我们将尽快给您答复。谢谢您的支持!

姓名
邮箱
手机号码
标题
留言内容
验证码

面向边缘时序推理的逐通道单门循环单元及其忆阻器电路实现

齐浩明,  韩俊涛,  蒲向荣,  李梓豪,  张章

齐浩明, 韩俊涛, 蒲向荣, 李梓豪, 张章. 面向边缘时序推理的逐通道单门循环单元及其忆阻器电路实现[J]. 电子与信息学报. doi: 10.11999/JEIT260630
引用本文: 齐浩明, 韩俊涛, 蒲向荣, 李梓豪, 张章. 面向边缘时序推理的逐通道单门循环单元及其忆阻器电路实现[J]. 电子与信息学报. doi: 10.11999/JEIT260630
QI Haoming, HAN Juntao, PU Xiangrong, LI Zihao, ZHANG Zhang. Point-Wise Single-Gate Recurrent Unit for Edge Temporal Inference and Its Memristor-Based In-Memory Computing Circuit Implementation[J]. Journal of Electronics & Information Technology. doi: 10.11999/JEIT260630
Citation: QI Haoming, HAN Juntao, PU Xiangrong, LI Zihao, ZHANG Zhang. Point-Wise Single-Gate Recurrent Unit for Edge Temporal Inference and Its Memristor-Based In-Memory Computing Circuit Implementation[J]. Journal of Electronics & Information Technology. doi: 10.11999/JEIT260630

面向边缘时序推理的逐通道单门循环单元及其忆阻器电路实现

doi: 10.11999/JEIT260630 cstr: 32379.14.JEIT260630
基金项目: 安徽省自然科学基金(2308085MF207)
详细信息
    作者简介:

    齐浩明:男,硕士生,研究方向为神经形态电路

    韩俊涛:男,博士生,研究方向为忆阻神经网络电路

    蒲向荣:男,博士生,研究方向为忆阻神经网络及存算一体电路设计

    李梓豪:男,硕士生,研究方向为存算一体电路

    张章:男,教授,研究方向为混合信号芯片及基于混合器件的AI神经形态芯片

    通讯作者:

    张章 zhangzhang@hfut.edu.cn

  • 中图分类号: TP389; TN43

Point-Wise Single-Gate Recurrent Unit for Edge Temporal Inference and Its Memristor-Based In-Memory Computing Circuit Implementation

Funds: Natural Science Foundation of Anhui Province (2308085MF207)
  • 摘要: 近年来,边缘设备对时序信息实时处理的需求持续增长。门控循环神经网络具有较强的序列建模能力,已广泛应用于相关任务,但其复杂的递归连接、较高的存储开销以及时间步内的串行计算依赖,制约了其在资源受限边缘系统中的高效部署。为此,本文提出了逐通道单门循环单元 P-SGRU,以逐通道递归调制替代传统全连接隐状态到隐状态(hidden-to-hidden,H2H)变换,将递归参数复杂度由二次形式降低为线性形式,从结构上压缩递归路径规模。实验结果表明,在相同网络维度下,相较于 LSTM 和 GRU,P-SGRU的H2H 递归参数量分别减少约 98.44% 和 97.92%。P-SGRU进一步通过解除保持系数分支与候选隐状态分支之间的串行依赖,提高了时间步内计算并行性。基于 40 nm 工艺的电路评估结果显示,其单时间步更新关键路径延时较GRU降低约66.1%,降低了边缘时序推理中的时间步内延时开销。为进一步提升P-SGRU在边缘硬件中的实现效率,本文设计了基于忆阻器的存内计算电路,以协同降低边缘时序推理中的存储、功耗和延时开销。部署后的 P-SGRU 电路在 Row-wise MNIST、IMDB和UCI HAR任务上的分类准确率分别达到 95.03%、86.76%和89.46%,相较于软件模型的最大准确率损失仅为0.02%。进一步的非理想性实验表明,在静态电导偏差和动态读噪声共同作用下,三项分类任务的准确率最大下降0.133%,所设计电路在测试范围内保持了较稳定的分类推理性能。
  • 图  1  GRU和P-SGRU结构对比图

    图  2  忆阻器实测I–V特性及SPICE模型拟合结果

    图  3  基于忆阻器阵列的保持系数$ {\alpha }_{t} $硬件电路

    图  4  用于候选隐状态的PWL-Tanh激活电路

    图  5  状态更新单元电路

    图  6  静态电导偏差和动态读噪声对P-SGRU电路推理性能的影响

    表  1  SPICE模型主要参数表

    参数数值参数数值
    $ I_{0}^{-} $1.98×10–12A$ {m}^{+} $2.85
    $ I_{0}^{+} $9.27×10–10A$ {A}^{-} $5.26×10–5
    $ {I}_{0,\text{on}} $6.32×10–6A$ {A}^{+} $1.44×10–4
    $ I_{\text{cc}}^{-} $2mA$ {k}_{\text{set}} $4.09
    $ I_{\text{cc}}^{+} $2.12mA$ {k}_{\text{reset}} $0.55
    $ {V}_{\text{set}} $0.86V$ {\alpha }_{\text{s}} $0.61
    $ {V}_{\text{reset}} $0.5V$ {\alpha }_{\text{r}} $0.29
    $ G_{\text{off}}^{-} $1.54×10–5S$ {\beta }_{\text{s}} $1.32
    $ G_{\text{off}}^{+} $8.13×10–6S$ {\beta }_{\text{r}} $1.63
    $ {G}_{\text{on}} $4.46×10–3S$ {x}_{0} $5.61×10–11
    $ {m}^{-} $2.36
    下载: 导出CSV

    表  2  不同循环神经网络模型的复杂度与任务性能对比

    模型层数H2H
    参数量
    H2H VMM
    分支数
    Adding ProblemRow-wise MNISTIMDBUCI HAR
    参数量MSE (×10–4)↓参数量准确率(%)↑参数量准确率(%)↑参数量准确率(%)↑
    LSTM1163844174737.53±6.013297098.19±0.134166686.64±0.271959089.98±0.85
    GRU1122883131214.77±0.782695498.37±0.113334686.72±0.271479090.04±0.49
    SRU[18]1008338.19±2.291633094.56±0.122086686.67±0.24288687.97±0.32
    MGU[8]18192286418.04±4.822081098.38±0.142489885.80±0.45986289.87±0.75
    IndRNN[9]16403218.25±1.951082691.42±0.271261086.07±0.12109482.90±1.52
    P-SGRU112805779.27±7.261274695.35±0.141683486.81±0.06179888.92±0.55
    P-SGRU2256090255.42±0.482119498.21±0.202528286.85±0.131024691.87±0.94
    下载: 导出CSV

    表  3  本文电路与代表性循环神经网络硬件实现的性能对比

    指标本文[16] TCAS-I 2025[17] TED2022
    工艺/器件40 nm,忆阻器0.45 μm,忆阻器40 nm,忆阻器
    网络结构P-SGRUGRUGRU
    评估范围P-SGRU模块、P-SGRU完整推理链路GRU 模块GRU 单元电路
    功耗 / mW46.51(Adding Problem)
    76.54(Row-wise MNIST)
    317.25(IMDB)
    25173.65(MNIST)
    延时/ns39.90(Adding Problem)
    5.59(Row-wise MNIST)
    37.82(IMDB)
    —45(MNIST)
    面积/$ \mu {m}^{2} $234.3302.4726283.9
    下载: 导出CSV
  • [1] ROCHA A, MONTEIRO M, MATTOS C, et al. Edge AI for Internet of Medical Things: A literature review[J]. Computers and Electrical Engineering, 2024, 116: 109202. doi: 10.1016/j.compeleceng.2024.109202.
    [2] GUO Qi, ZHAO Baolin, SONG Mingchen, et al. A survey of deep learning for time series forecasting: Taxonomy, analysis and future directions[J]. IEEE Transactions on Knowledge and Data Engineering, 2026, 38(5): 2541–2560. doi: 10.1109/TKDE.2026.3671378.
    [3] 周维新, 高肇岗, 肖宛昂. 面向可穿戴式的基于LSTM神经网络的智能心音异常诊断芯片[J]. 电子与信息学报, 2024, 46(2): 555–563. doi: 10.11999/JEIT230934.

    ZHOU Weixin, GAO Zhaogang, and XIAO Wan’ang. Intelligent heart sound abnormal diagnosis chip based on LSTM for wearable applications[J]. Journal of Electronics & Information Technology, 2024, 46(2): 555–563. doi: 10.11999/JEIT230934.
    [4] MEHRISH A, MAJUMDER N, BHARADWAJ R, et al. A review of deep learning techniques for speech processing[J]. Information Fusion, 2023, 99: 101869. doi: 10.1016/j.inffus.2023.101869.
    [5] MAO Yanying, LIU Qun, and ZHANG Yu. Sentiment analysis methods, applications, and challenges: A systematic literature review[J]. Journal of King Saud University-Computer and Information Sciences, 2024, 36(4): 102048. doi: 10.1016/j.jksuci.2024.102048.
    [6] 任利强, 贾舒宜, 王海鹏, 等. 基于深度学习的时间序列分类研究综述[J]. 电子与信息学报, 2024, 46(8): 3094–3116. doi: 10.11999/JEIT231222.

    REN Liqiang, JIA Shuyi, WANG Haipeng, et al. A review of research on time series classification based on deep learning[J]. Journal of Electronics & Information Technology, 2024, 46(8): 3094–3116. doi: 10.11999/JEIT231222.
    [7] GREFF K, SRIVASTAVA R K, KOUTNÍK J, et al. LSTM: A search space odyssey[J]. IEEE Transactions on Neural Networks and Learning Systems, 2017, 28(10): 2222–2232. doi: 10.1109/TNNLS.2016.2582924.
    [8] ZHOU Guobing, WU Jianxin, ZHANG Chenlin, et al. Minimal gated unit for recurrent neural networks[J]. International Journal of Automation and Computing, 2016, 13(3): 226–234. doi: 10.1007/s11633-016-1006-2.
    [9] LI Shuai, LI Wanqing, COOK C, et al. Independently recurrent neural network (IndRNN): Building a longer and deeper RNN[C]. Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, USA, 2018: 5457–5466. doi: 10.1109/CVPR.2018.00572.
    [10] HASSAAN Z A, YACOUB M H, and SAID L A. Gated recurrent unit accelerators for financial time series prediction on field-programmable gate array[J]. Engineering Applications of Artificial Intelligence, 2025, 162: 112534. doi: 10.1016/j.engappai.2025.112534.
    [11] AGUIRRE F, SEBASTIAN A, LE GALLO M, et al. Hardware implementation of memristor-based artificial neural networks[J]. Nature Communications, 2024, 15(1): 1974. doi: 10.1038/s41467-024-45670-9.
    [12] 谢力凡, 卫松涛, 姚鹏, 等. 基于反向编程策略的高并行高精度RRAM存算一体芯片[J]. 电子与信息学报, 2026, 48(5): 1875–1883. doi: 10.11999/JEIT251174.

    XIE Lifan, WEI Songtao, YAO Peng, et al. A fast and accurate programming strategy for analog in-memory computing validated with a transposable RRAM Macro and 0.64% fully-parallel RMS error[J]. Journal of Electronics & Information Technology, 2026, 48(5): 1875–1883. doi: 10.11999/JEIT251174.
    [13] WANG Shiqing and SUN Zhong. Dual in-memory computing of matrix-vector multiplication for accelerating neural networks[J]. Device, 2024, 2(12): 100546. doi: 10.1016/j.device.2024.100546.
    [14] 李源堃, 王泽, 张清天, 等. NAS4CIM: 面向忆阻器存算一体芯片的神经网络结构搜索框架[J]. 电子与信息学报, 2025, 47(12): 4948–4958. doi: 10.11999/JEIT250978.

    LI Yuankun, WANG Ze, ZHANG Qingtian, et al. NAS4CIM: Tailored neural network architecture search for RRAM-based compute-in-memory chips[J]. Journal of Electronics & Information Technology, 2025, 47(12): 4948–4958. doi: 10.11999/JEIT250978.
    [15] YANG Le, LEI Jun, CHENG Ming, et al. Memristor-based circuit design of BiLSTM network[J]. Neural Networks, 2025, 181: 106780. doi: 10.1016/j.neunet.2024.106780.
    [16] WANG Yanfeng, SONG Yibo, CHEN Yu, et al. Memristor-based circuit optimized gate recurrent unit for wind power prediction[J]. IEEE Transactions on Circuits and Systems I: Regular Papers, 2026, 73(3): 1828–1839. doi: 10.1109/TCSI.2025.3602022.
    [17] ZHANG Zhang, CHEN Qilai, HAN Tingting, et al. Memristor-based circuit demonstration of gated recurrent unit for predictable neural network[J]. IEEE Transactions on Electron Devices, 2022, 69(12): 6763–6768. doi: 10.1109/TED.2022.3217116.
    [18] LEI Tao, ZHANG Yu, WANG S I, et al. Simple recurrent units for highly parallelizable recurrence[C]. Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium, 2018: 4470–4481. doi: 10.18653/v1/D18-1477.
  • 加载中
图(6) / 表(3)
计量
  • 文章访问数:  18
  • HTML全文浏览量:  2
  • PDF下载量:  1
  • 被引次数: 0
出版历程
  • 收稿日期:  2026-05-15
  • 修回日期:  2026-07-24
  • 录用日期:  2026-09-30
  • 网络出版日期:  2026-10-13

目录

    /

    返回文章
    返回