Recurrent neural network from adder's perspective: Carry-lookahead RNN

被引:12
|
作者
Jiang, Haowei [1 ]
Qin, Feiwei [1 ]
Cao, Jin [2 ]
Peng, Yong [1 ]
Shao, Yanli [1 ]
机构
[1] Hangzhou Dianzi Univ, Sch Comp Sci & Technol, Hangzhou, Peoples R China
[2] Johns Hopkins Univ, Whiting Sch Engn, Baltimore, MD 21218 USA
关键词
Deep learning; Carry-lookahead; Parallel computation; Sequence modeling; ALGORITHMS;
D O I
10.1016/j.neunet.2021.08.032
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The recurrent network architecture is a widely used model in sequence modeling, but its serial dependency hinders the computation parallelization, which makes the operation inefficient. The same problem was encountered in serial adder at the early stage of digital electronics. In this paper, we discuss the similarities between recurrent neural network (RNN) and serial adder. Inspired by carry-lookahead adder, we introduce carry-lookahead module to RNN, which makes it possible for RNN to run in parallel. Then, we design the method of parallel RNN computation, and finally Carry-lookahead RNN (CL-RNN) is proposed. CL-RNN takes advantages in parallelism and flexible receptive field. Through a comprehensive set of tests, we verify that CL-RNN can perform better than existing typical RNNs in sequence modeling tasks which are specially designed for RNNs. Code and models are available at: https://github.com/WinnieJiangHW/Carry-lookahead_RNN. (C) 2021 Elsevier Ltd. All rights reserved.
引用
收藏
页码:297 / 306
页数:10
相关论文
共 50 条
  • [1] A RECURSIVE CARRY-LOOKAHEAD/CARRY-SELECT HYBRID ADDER
    KANTABUTRA, V
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 1993, 42 (12) : 1495 - 1499
  • [2] A Higher radix architecture for quantum carry-lookahead adder
    Siyi Wang
    Anubhab Baksi
    Anupam Chattopadhyay
    [J]. Scientific Reports, 13
  • [3] A 3.5 NS, 64 BIT, carry-lookahead adder
    Dozza, D
    Gaddoni, M
    Baccarani, G
    [J]. ISCAS 96: 1996 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS - CIRCUITS AND SYSTEMS CONNECTING THE WORLD, VOL 2, 1996, : 297 - 300
  • [4] A Higher radix architecture for quantum carry-lookahead adder
    Wang, Siyi
    Baksi, Anubhab
    Chattopadhyay, Anupam
    [J]. SCIENTIFIC REPORTS, 2023, 13 (01)
  • [5] A logarithmic-depth quantum carry-lookahead adder
    Draper, Thomas G.
    Kutin, Samuel A.
    Rains, Eric M.
    Svore, Krysta M.
    [J]. QUANTUM INFORMATION & COMPUTATION, 2006, 6 (4-5) : 351 - 369
  • [6] ACLA: An Approximate Carry-Lookahead Adder with Intelligent Carry Judgement and Correction
    Belwal, Shobhit
    Bhattacharjya, Rajat
    Goswami, Kaustav
    Banerjee, Dip Sankar
    [J]. PROCEEDINGS OF THE 2021 TWENTY SECOND INTERNATIONAL SYMPOSIUM ON QUALITY ELECTRONIC DESIGN (ISQED 2021), 2021, : 115 - 121
  • [7] The design of an asynchronous carry-lookahead adder based on data characteristics
    Liu, YJ
    Furber, S
    [J]. INTEGRATED CIRCUIT AND SYSTEM DESIGN: POWER AND TIMING MODELING, OPTIMIZATION AND SIMULATION, 2005, 3728 : 647 - 656
  • [8] The C-testability analyze of the SuperBlock carry-lookahead adder (SBCLA)
    Popescu, DE
    Popescu, C
    [J]. 2002 45TH MIDWEST SYMPOSIUM ON CIRCUITS AND SYSTEMS, VOL II, CONFERENCE PROCEEDINGS, 2002, : 469 - 472
  • [9] CIRCUIT DESIGN FOR A MEASUREMENT-BASED QUANTUM CARRY-LOOKAHEAD ADDER
    Trisetyarso, Agung
    Van Meter, Rodney
    [J]. INTERNATIONAL JOURNAL OF QUANTUM INFORMATION, 2010, 8 (05) : 843 - 867
  • [10] A structured approach for optimizing 4-bit carry-lookahead adder
    Cheng, Wei
    Hu, Jianping
    [J]. Open Electrical and Electronic Engineering Journal, 2014, 8 (01): : 133 - 142