[Paper Review] Delta Networks for Optimized Recurrent Network Computation
This paper proposes delta networks, a novel RNN architecture that transmits neuron activations only when changes exceed a threshold, drastically reducing memory accesses and computation. By exploiting temporal stability in natural inputs, the method achieves up to 100X speedup in RNN inference with negligible accuracy loss, especially effective in video and speech processing tasks where activations change slowly over time.
Many neural networks exhibit stability in their activation patterns over time in response to inputs from sensors operating under real-world conditions. By capitalizing on this property of natural signals, we propose a Recurrent Neural Network (RNN) architecture called a delta network in which each neuron transmits its value only when the change in its activation exceeds a threshold. The execution of RNNs as delta networks is attractive because their states must be stored and fetched at every timestep, unlike in convolutional neural networks (CNNs). We show that a naive run-time delta network implementation offers modest improvements on the number of memory accesses and computes, but optimized training techniques confer higher accuracy at higher speedup. With these optimizations, we demonstrate a 9X reduction in cost with negligible loss of accuracy for the TIDIGITS audio digit recognition benchmark. Similarly, on the large Wall Street Journal speech recognition benchmark even existing networks can be greatly accelerated as delta networks, and a 5.7x improvement with negligible loss of accuracy can be obtained through training. Finally, on an end-to-end CNN trained for steering angle prediction in a driving dataset, the RNN cost can be reduced by a substantial 100X.
Motivation & Objective
- To reduce the high computational and memory cost of recurrent neural networks (RNNs), which require storing and fetching states at every timestep.
- To exploit the temporal stability of natural inputs—such as speech and video—where activations change slowly over time.
- To develop a training-optimized delta network method that maintains high accuracy while minimizing memory accesses and compute operations.
- To demonstrate that RNNs can be accelerated significantly by skipping redundant updates when activation changes are below a threshold.
Proposed method
- The delta network reformulates standard RNNs by replacing dense matrix-vector multiplications with sparse ones, where only neurons with activation changes above a threshold are updated.
- A threshold-based delta mechanism suppresses transient approximation errors by limiting updates to only significant changes, preventing error accumulation.
- The method uses a finite threshold Θ to control sparsity, ensuring that only meaningful changes trigger computation and memory access.
- A modified backpropagation algorithm is applied during training to optimize the network to perform well under the delta update constraint.
- The approach is applied to GRU-based RNNs, with weight matrices stored in on-chip memory and only accessed when a neuron's delta exceeds the threshold.
- The framework is evaluated on TIDIGITS, Wall Street Journal, and comma.ai driving datasets, showing high speedup with minimal accuracy degradation.
Experimental results
Research questions
- RQ1Can RNNs be accelerated by updating only neurons whose activation changes exceed a threshold, thereby reducing memory and compute costs?
- RQ2How does the choice of threshold Θ affect the trade-off between speedup and accuracy in delta network RNNs?
- RQ3Can end-to-end training of RNNs as delta networks achieve high accuracy while enabling significant speedups on real-world temporal data?
- RQ4To what extent can temporal redundancy in natural inputs like speech and video be exploited to reduce RNN inference cost?
- RQ5Is the delta network approach more effective for RNNs than for CNNs due to differences in activation and weight memory requirements?
Key findings
- On the TIDIGITS speech recognition benchmark, the delta network achieved a 9X reduction in computational cost with negligible accuracy loss using optimized training.
- On the large Wall Street Journal speech recognition task, a 5.7X speedup was achieved with minimal accuracy degradation through retraining as a delta network.
- In an end-to-end driving policy network, the RNN component saw a 100X speedup due to high temporal stability in visual features, though system-level savings were limited by dominant CNN costs.
- The method achieved significant speedup without increasing prediction error, with a 100X speedup observed at Θ between 0.1 and 0.25 on the comma.ai driving dataset.
- The approach is more effective for RNNs than for CNNs because RNNs require storing all intermediate states, making them more amenable to delta-based optimization.
- The study demonstrates that temporal redundancy in real-world inputs enables substantial efficiency gains when combined with robust training for delta networks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.