mlsanityData to 13 Oct 2026

Saving RNN Computations with a Neuron-Level Fuzzy Memoization Scheme

arXiv 2202.06563 ↗First posted 14 Feb 2022cs.NE cs.AR cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Recurrent Neural Networks (RNNs) are a key technology for applications such as automatic speech recognition or machine translation. Unlike conventional feed-forward DNNs, RNNs remember past information to improve the accuracy of future predictions and, therefore, they are very effective for sequence processing problems. For each application run, recurrent layers are executed many times for processing a potentially large sequence of inputs (words, images, audio frames, etc.). In this paper, we observe that the output of a neuron exhibits small changes in consecutive invocations.~We exploit this property to build a neuron-level fuzzy memoization scheme, which dynamically caches each neuron's output and reuses it whenever it is predicted that the current output will be similar to a previously computed result, avoiding in this way the output computations. The main challenge in this scheme is determining whether the new neuron's output for the current input in the sequence will be similar to a recently computed result. To this end, we extend the recurrent layer with a much simpler Bitwise Neural Network (BNN), and show that the BNN and RNN outputs are highly correlated: if two BNN outputs are very similar, the corresponding outputs in the original RNN layer are likely to exhibit negligible changes. The BNN provides a low-cost and effective mechanism for deciding when fuzzy memoization can be applied with a small impact on accuracy. We evaluate our memoization scheme on top of a state-of-the-art accelerator for RNNs, for a variety of different neural networks from multiple application domains. We show that our technique avoids more than 26.7% of computations, resulting in 21% energy savings and 1.4x speedup on average.

Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 19 of its 36 references that are in the map. First posted on arXiv 14 Feb 2022.

Builds on

19 of 36 references.

References · 19

  1. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,024
  2. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,473
  3. 2014Show and Tell: A Neural Image Caption Generatorcited by 878
  4. 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 849
  5. 2013Speech Recognition with Deep Recurrent Neural Networkscited by 667
  6. 2016TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systemscited by 662
  7. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 617
  8. 2015Deep Speech 2: End-to-End Speech Recognition in English and Mandarincited by 449
  9. 2015LSTM: A Search Space Odysseycited by 315
  10. 2015Semi-supervised Sequence Learningcited by 198
  11. 2016Show and Tell: Lessons learned from the 2015 MSCOCO Image Captioning Challengecited by 116
  12. 2016Binarized Neural Networks: Training Deep Neural Networks with Weights and Activations Constrained to +1 or -1cited by 103
7 more
  1. 2015EESEN: End-to-End Speech Recognition using Deep RNN Models and WFST-based Decodingcited by 73
  2. 2017Massive Exploration of Neural Machine Translation Architecturescited by 55
  3. 2016ESE: Efficient Speech Recognition Engine with Sparse LSTM on FPGAcited by 52
  4. 2016Bitwise Neural Networkscited by 29
  5. 2017The High-Dimensional Geometry of Binary Neural Networkscited by 22
  6. 2017E-PUR: An Energy-Efficient Processing Unit for Recurrent Neural Networkscited by 7
  7. 2016FPGA-Based Low-Power Speech Recognition with Recurrent Neural Networkscited by 2

Built on by

Not cited yet.