Implementation of DNN on a RISC-V Open Source Microprocessor for IoT devices

被引:0
|
作者
Cai, Jingyong [1 ]
Takemoto, Masashi [2 ]
Nakajo, Hironori [3 ]
机构
[1] Tokyo Univ Agr & Technol, Grad Sch Engn, Tokyo, Japan
[2] BeatCraft Inc, Tokyo, Japan
[3] Tokyo Univ Agr & Technol, Inst Engn, Tokyo, Japan
关键词
Feature Extraction; RISC-V; Logarithmic Quantization; DNN;
D O I
暂无
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Logarithmic Quantization[1] and feature extraction enable us to reduce model parameters to a great extent. Based on these methods, we have implemented a small sized DNN on a RISC-V microprocessor with RAM of only 16KB. We also propose a feature extraction algorithm which outperforms the original fully connected neural network and reduces inputs by 12.25x at the same time. MNIST[2] dataset is used as our training samples and Chainer[8] is used to train the network. As the result, we reduced weights size by nearly 86x from 49.625KB to 0.578KB which make it possible to store these weights in arrays and load them directly into the RAM.
引用
收藏
页码:295 / 299
页数:5
相关论文
共 50 条
  • [1] Design and Implementation of a Secure RISC-V Microprocessor
    Stangherlin, Kleber
    Sachdev, Manoj
    [J]. IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2022, 30 (11) : 1705 - 1715
  • [2] Full Open-Source Implementation of an Academic RISC-V on FPGA
    Navarro-Torrero, Pablo
    Martinez-Rodriguez, Macarena C.
    Barriga-Barros, Angel
    Brox, Piedad
    [J]. 2024 XVI CONGRESO DE TECNOLOGIA, APRENDIZAJE Y ENSENANZA DE LA ELECTRONICA, TAEE 2024, 2024,
  • [3] A Security Architecture for RISC-V based IoT Devices
    Auer, Lukas
    Skubich, Christian
    Hiller, Matthias
    [J]. 2019 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE), 2019, : 1154 - 1159
  • [4] SafeLS: an Open Source Implementation of a Lockstep NOEL-V RISC-V Core
    Sarraseca, Marcel
    Alcaide, Sergi
    Fuentes, Francisco
    Rodriguez, Juan Carlos
    Chang, Feng
    Lasfar, Ilham
    Canal, Ramon
    Cazorla, Francisco J.
    Abella, Jaume
    [J]. 2023 IEEE 29TH INTERNATIONAL SYMPOSIUM ON ON-LINE TESTING AND ROBUST SYSTEM DESIGN, IOLTS, 2023,
  • [5] An Academic RISC-V Silicon Implementation Based on Open-Source Components
    Abella, Jaume
    Bulla, Calvin
    Cabo, Guillem
    Cazorla, Francisco J.
    Cristal, Adrian
    Doblas, Max
    Figueras, Roger
    Gonzalez, Alberto
    Hernandez, Carles
    Hernandez, Cesar
    Jimenez, Victor
    Kosmidis, Leonidas
    Kostalabros, Vatistas
    Langarita, Ruben
    Leyva, Neiel
    Lopez-Paradis, Guillem
    Marimon, Joan
    Martinez, Ricardo
    Mendoza, Jonnatan
    Moll, Francesc
    Moreto, Miquel
    Pavon, Julian
    Ramirez, Cristobal
    Ramirez, Marco A.
    Rojas, Carlos
    Rubio, Antonio
    Ruiz, Abraham
    Sonmez, Nehir
    Soria, Victor
    Teres, Lluis
    Unsal, Osman
    Valero, Mateo
    Vargas, Ivan
    Villa, Luis
    [J]. 2020 XXXV CONFERENCE ON DESIGN OF CIRCUITS AND INTEGRATED SYSTEMS (DCIS), 2020,
  • [6] Open-source Validation Suite for RISC-V
    Chupilko, Mikhail
    Kamkin, Alexander
    Protsenko, Alexander
    [J]. 2019 20TH INTERNATIONAL WORKSHOP ON MICROPROCESSOR/SOC TEST, SECURITY AND VERIFICATION (MTV 2019), 2019, : 7 - 12
  • [7] Exploring RISC-V Based DNN Accelerators
    Liu, Qiankun
    Amiri, Sam
    Ost, Luciano
    [J]. 2024 IEEE INTERNATIONAL CONFERENCE ON OMNI-LAYER INTELLIGENT SYSTEMS, COINS 2024, 2024, : 30 - 34
  • [8] XiangShan Open-Source High Performance RISC-V Processor Design and Implementation
    Wang K.
    Xu Y.
    Yu Z.
    Tang D.
    Chen G.
    Chen X.
    Gou L.
    Hu X.
    Jin Y.
    Li Q.
    Li X.
    Lin J.
    Liu T.
    Liu Z.
    Wang H.
    Wang H.
    Zhang C.
    Zhang F.
    Zhang L.
    Zhang Z.
    Zhang Z.
    Zhao Y.
    Zhou Y.
    Zou J.
    Cai Y.
    Huan D.
    Li Z.
    Zhao J.
    He W.
    Sun N.
    Bao Y.
    [J]. Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2023, 60 (03): : 476 - 493
  • [9] RISC-V Custom Instructions of Elementary Functions for IoT Endpoint Devices
    Chen, Yuxing
    Wang, Xinrui
    Song, Suwen
    Feng, Lang
    Wang, Zhongfeng
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 2024, 73 (02) : 523 - 535
  • [10] PicoRio: An Open-Source, RISC-V Small-Board Computer to Elevate the RISC-V Software Ecosystem
    Zhangxi Tan
    Lin Zhang
    David Patterson
    Yi Li
    [J]. Tsinghua Science and Technology, 2021, 26 (03) : 384 - 386