高级搜索

留言板

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

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

忆阻器轻量化门控循环单元网络模型设计

华宏虎 许佳 张博昊 王伟 李智炜 刘海军

华宏虎, 许佳, 张博昊, 王伟, 李智炜, 刘海军. 忆阻器轻量化门控循环单元网络模型设计[J]. 电子与信息学报. doi: 10.11999/JEIT260152
引用本文: 华宏虎, 许佳, 张博昊, 王伟, 李智炜, 刘海军. 忆阻器轻量化门控循环单元网络模型设计[J]. 电子与信息学报. doi: 10.11999/JEIT260152
HUA Honghu, XU Jia, ZHANG Bohao, WANG Wei, LI Zhiwei, LIU Haijun. Design of Lightweight Gated Recurrent Unit Network Model Based on Memristor[J]. Journal of Electronics & Information Technology. doi: 10.11999/JEIT260152
Citation: HUA Honghu, XU Jia, ZHANG Bohao, WANG Wei, LI Zhiwei, LIU Haijun. Design of Lightweight Gated Recurrent Unit Network Model Based on Memristor[J]. Journal of Electronics & Information Technology. doi: 10.11999/JEIT260152

忆阻器轻量化门控循环单元网络模型设计

doi: 10.11999/JEIT260152 cstr: 32379.14.JEIT260152
基金项目: 国家自然科学基金资助项目 (62074166, 62304254, 62104256, 62404253, U23A20322)
详细信息
    作者简介:

    华宏虎:男,国防科技大学电子科学学院博士生,研究方向为忆阻器智能计算架构等

    许佳:女,国防科技大学电子科学学院硕士生,研究方向为忆阻器智能计算架构等

    张博昊:男,国防科技大学电子科学学院博士生,研究方向为忆阻器智能计算架构等

    王伟:男,国防科技大学电子科学学院副研究员,研究方向为忆阻器材料、器件和忆阻器类脑芯片等

    李智炜:男,国防科技大学电子科学学院副研究员,研究方向为忆阻器智能计算架构

    刘海军:男,国防科技大学电子科学学院副教授,研究方向为忆阻器智能计算架构、先进集成电路等

    通讯作者:

    刘海军 liuhaijun@nudt.edu.cn

  • 中图分类号: TN601; TP183

Design of Lightweight Gated Recurrent Unit Network Model Based on Memristor

Funds: Project supported by the National Natural Science Foundation of China (62074166, 62304254, 62104256, 62404253, U23A20322)
  • 摘要: 忆阻器门控循环单元 (Gated Recurrent Unit, GRU) 网络对于时序数据处理系统的嵌入式部署提供了新的解决途径,但是由于网络规模大、权值精度高,难以直接部署到嵌入式端侧设备。因此,本文开展了忆阻器轻量化GRU网络模型设计研究,构建了能够部署在有限资源上的GRU网络模型,设计了忆阻器交叉阵列的映射方式,提出了基于性能分析与器件感知的融合量化方法,综合考虑网络性能与权值部署、激活函数计算的不同器件实现方式,使用权值对称量化、激活值非对称量化的策略对忆阻器GRU网络模型进行量化,采用权值加噪的方式提升网络模型对忆阻器件非理想因素的包容性。仿真实验表明,本文所设计的忆阻器GRU网络模型在公开的UrbanSound8K数据集上的分类准确率为93.94%,量化至6 bit后模型分类准确率为92.68%,相比于全精度的Dilated Convolution、LM-MFCC+GRU、TFFS-DNN模型分别高出14.68%、0.68%、3.94%,且权值加噪训练能够有效提升轻量化网络模型对忆阻器件非理想因素的适应能力。此外,还验证了该网络模型在真假轨迹判别任务上的性能,在自建的真假轨迹数据集上的分类准确率为97.35%,量化至6 bit后分类准确率仅下降0.84%。
  • 图  1  GRU网络结构及其核心单元结构

    图  2  1T1R忆阻器交叉阵列

    图  3  基于性能分析与器件感知的融合量化方法

    图  4  狗叫声可视化示例

    图  5  假轨迹示例

    图  6  面向城市音频分类任务的GRU网络模型训练情况

    图  7  考虑器件波动性的轻量化GRU网络模型的分类准确率变化情况

    图  8  面向真假轨迹判别任务的GRU网络模型训练情况

    表  1  面向城市音频分类任务的轻量化GRU网络模型分类性能

    量化精度 (bit)分类准确率 (%)
    212.01
    336.96
    451.26
    578.15
    692.68
    793.59
    893.71
    1693.82
    下载: 导出CSV

    表  2  与其他模型在UrbanSound8K数据集上的性能对比

    模型 分类准确率
    (%)
    权值精度
    (bit)
    参数量
    (M)
    Dilated Convolution[15] 78.00 32 -
    LM-MFCC+GRU[16] 92.00 32 0.7
    TFCNN[17] 93.10 32 1.6
    TFFS-DNN[18] 88.74 32 -
    CL-Transformer[19] 92.95 32 -
    Ours(Before quantification) 93.94 32 1.4
    Ours(quantification of 6 bit) 92.68 6 1.4
    下载: 导出CSV

    表  3  在UrbanSound8K数据集上加入不同SNR水平噪声时GRU网络模型的分类性能

    SNR (dB)分类准确率 (%)
    全精度模型6 bit量化模型
    -1034.4438.79
    -569.9170.25
    079.5285.24
    584.0487.30
    1092.1190.96
    下载: 导出CSV

    表  4  面向真假轨迹判别任务的轻量化GRU网络模型和Dilated Convolution[15]模型的分类性能

    量化精度 (bit)分类准确率 (%)
    OursDilated Convolution[15]
    263.4465.53
    363.7275.53
    468.2890.14
    591.4090.65
    696.5190.56
    797.1690.65
    897.2690.60
    1697.3090.98
    下载: 导出CSV

    表  5  不同模型对各种环境温度下FUDS的SOC估计性能RMSE (%)

    模型环境温度 (℃)
    02545
    Memristor-based GRU[20]2.181.361.23
    Ours (full precision)1.260.580.56
    Ours (16 bit)1.570.620.52
    Ours (8 bit)1.390.580.52
    Ours (7 bit)1.550.730.75
    Ours (6 bit)1.480.790.74
    Ours (5 bit)2.641.861.76
    Ours (4 bit)13.3310.5011.75
    Ours (3 bit)22.6223.3724.29
    Ours (2 bit)22.2422.8123.82
    下载: 导出CSV
  • [1] STRUKOV D B, SNIDER G S, STEWART D R, et al. The missing memristor found[J]. Nature, 2008, 453(7191): 80–83. doi: 10.1038/nature06932.
    [2] LECUN Y, BENGIO Y, and HINTON G. Deep learning[J]. Nature, 2015, 521(7553): 436–444. doi: 10.1038/nature14539.
    [3] 刘凇佐, 王虔, 李磊, 等. 粒子群优化的门控循环单元网络漂流浮标轨迹预测[J]. 电子与信息学报, 2024, 46(8): 3295–3304. doi: 10.11999/JEIT230945.

    LIU Songzuo, WANG Qian, LI Lei, et al. Gated recurrent unit network of particle swarm optimization for drifting buoy trajectory prediction[J]. Journal of Electronics & Information Technology, 2024, 46(8): 3295–3304. doi: 10.11999/JEIT230945.
    [4] WANG Jiayang, JI Xiaoyue, DONG Zhekang, et al. Circuit design of memristor-based GRU and its applications in SOC estimation[C]. 2023 IEEE International Conference on Consumer Electronics (ICCE), Las Vegas, USA, 2023: 1–5. doi: 10.1109/ICCE56470.2023.10043585.
    [5] TONG Peiwen, XU Hui, SUN Yi, et al. Lightweight and highly robust memristor-based hybrid neural networks for electroencephalogram signal processing[J]. Chinese Physics B, 2023, 32(7): 078505. doi: 10.1088/1674-1056/ac9cbc.
    [6] 李源堃, 王泽, 张清天, 等. 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.
    [7] 蔺海荣, 段晨星, 邓晓衡, 等. 双忆阻类脑混沌神经网络及其在IoMT数据隐私保护中应用[J]. 电子与信息学报, 2025, 47(7): 2194–2210. doi: 10.11999/JEIT241133.

    LIN Hairong, DUAN Chenxing, DENG Xiaoheng, et al. Dual-memristor brain-like chaotic neural network and its application in IoMT data privacy protection[J]. Journal of Electronics & Information Technology, 2025, 47(7): 2194–2210. doi: 10.11999/JEIT241133.
    [8] BALASKAS K, KARATZAS A, SAD C, et al. Hardware-aware DNN compression via diverse pruning and mixed-precision quantization[J]. IEEE Transactions on Emerging Topics in Computing, 2024, 12(4): 1079–1092. doi: 10.1109/TETC.2023.3346944.
    [9] PERRIN M, GUICQUERO W, PAILLE B, et al. Hardware-aware Bayesian neural architecture search of quantized CNNs[J]. IEEE Embedded Systems Letters, 2025, 17(1): 42–45. doi: 10.1109/LES.2024.3434379.
    [10] CHEN Junren, WU Huaqiang, GAO Bin, et al. Optimization strategy for accelerating multi-bit resistive weight programming on the RRAM array[C]. 2019 IEEE International Workshop on Future Computing (IWOFC), Hangzhou, China, 2019: 1–3. doi: 10.1109/IWOFC48002.2019.9078447.
    [11] HONG Haiqiao, DU Zhiyuan, JIANG Mingrui, et al. Memristor-based adaptive analog-to-digital conversion for efficient and accurate compute-in-memory[J]. Nature Communications, 2025, 16(1): 9749. doi: 10.1038/s41467-025-65233-w.
    [12] LI Can, WANG Zhongrui, RAO Mingyi, et al. Long short-term memory networks in memristor crossbar arrays[J]. Nature Machine Intelligence, 2019, 1(1): 49–57. doi: 10.1038/s42256-018-0001-4.
    [13] HUANG Lixing, YU Hongqi, CHEN Changlin, et al. A training strategy for improving the robustness of memristor-based binarized convolutional neural networks[J]. Semiconductor Science and Technology, 2022, 37(1): 015013. doi: 10.1088/1361-6641/ac31e3.
    [14] SUN Yi, XU Hui, WANG Chao, et al. A Ti/AlOx/TaOx/Pt analog synapse for memristive neural network[J]. IEEE Electron Device Letters, 2018, 39(9): 1298–1301. doi: 10.1109/LED.2018.2860053.
    [15] CHEN Yan, GUO Qian, LIANG Xinyan, et al. Environmental sound classification with dilated convolutions[J]. Applied Acoustics, 2019, 148: 123–132. doi: 10.1016/j.apacoust.2018.12.019.
    [16] PENG Ning, CHEN Aibin, ZHOU Guoxiong, et al. Environment sound classification based on visual multi-feature fusion and GRU-AWS[J]. IEEE Access, 2020, 8: 191100–191114. doi: 10.1109/ACCESS.2020.3032226.
    [17] MU Wenjie, YIN Bo, HUANG Xianqing, et al. Environmental sound classification using temporal-frequency attention based convolutional neural network[J]. Scientific Reports, 2021, 11(1): 21552. doi: 10.1038/s41598-021-01045-4.
    [18] WU Bo and ZHANG Xiaoping. Environmental sound classification via time–frequency attention and framewise self-attention-based deep neural networks[J]. IEEE Internet of Things Journal, 2022, 9(5): 3416–3428. doi: 10.1109/JIOT.2021.3098464.
    [19] CHEN Xu, WANG Mei, KAN Ruixiang, et al. Improved patch-mix transformer and contrastive learning method for sound classification in noisy environments[J]. Applied Sciences, 2024, 14(21): 9711. doi: 10.3390/app14219711.
    [20] CHEN Yanan, LUO Wei, CARTER M, et al. Organic electrode for non-aqueous potassium-ion batteries[J]. Nano Energy, 2015, 18: 205–211. doi: 10.1016/j.nanoen.2015.10.015.
  • 加载中
图(8) / 表(5)
计量
  • 文章访问数:  15
  • HTML全文浏览量:  9
  • PDF下载量:  0
  • 被引次数: 0
出版历程
  • 修回日期:  2026-06-02
  • 录用日期:  2026-06-24
  • 网络出版日期:  2026-07-04

目录

    /

    返回文章
    返回