Abstract: Deep neural networks can be obscenely wasteful. When processing video, a convolutional network expends a fixed amount of computation for each frame with no regard to the similarity between neighbouring frames. As a result, it ends up repeatedly doing very similar computations. To put an end to such waste, we introduce Sigma-Delta networks. With each new input, each layer in this network sends a discretized form of its change in activation to the next layer. Thus the amount of computation that the network does scales with the amount of change in the input and layer activations, rather than the size of the network. We introduce an optimization method for converting any pre-trained deep network into an optimally efficient Sigma-Delta network, and show that our algorithm, if run on the appropriate hardware, could cut at least an order of magnitude from the computational cost of processing video data.
Introduction
Deep Neural Networks (DNNs) are notoriously inefficient when processing temporal data. If a standard convolutional network is fed two nearly identical frames of a video, it performs the exact same massive amount of computation for both, ignoring the fact that most pixels haven't changed.
In contrast, biological systems like the human retina are highly efficient; they primarily transmit changes in information. This paper seeks to bridge that gap by creating a framework where a network's computational effort is proportional to the amount of new information in the input, rather than the static size of the model.
Methods: The Sigma-Delta Transformation
To achieve this efficiency, the authors introduce two primary modules: Temporal Difference ($\Delta_T$) and Temporal Integration ($\Sigma_T$).
By inserting these modules into a standard network, the authors demonstrate a crucial commutative property for linear layers: $\Delta_T(w(\Sigma_T(x))) = w(x)$. This mathematical equivalence allows a standard "dense" network to be rearranged so that layers only pass "deltas" (changes) to one another without altering the fundamental logic of the network.
To realize actual computational savings, these deltas are discretized (rounded) to integers. Small changes in activation round to zero, creating significant sparsity. When the input to a layer becomes a sparse vector of small integers, expensive matrix multiplications can be replaced by a series of simple vector additions. On a hardware level, additions are significantly cheaper and more energy-efficient than multiplications.
Since rounding is non-differentiable, the authors employ a "straight-through estimator" to optimize layer-wise scales ($k$). This allows them to fine-tune the trade-off between classification accuracy and computational cost.
Datasets and Evaluation
The approach was evaluated across several scenarios, from a simple 2-layer ReLU network to real-world applications.
A key benchmark introduced is Temporal-MNIST. The authors reshuffled the standard MNIST dataset so that similar digits appear in sequence, effectively simulating a temporal stream of data with high redundancy.
To test real-world applicability, the method was also applied to a pre-trained VGG-19 model processing natural video data from the ImageNet (ILSVRC 2015) video challenge.
Key Insights and Results
- Dynamic Computation: In this framework, "FLOPs per frame" is no longer a constant. It becomes a dynamic metric that spikes during high-motion video segments and drops significantly during static scenes.
- Efficiency Gains: On natural video data using VGG-19, the Sigma-Delta approach achieved 4x to 10x savings in computation for only a modest loss in accuracy.
- Energy Impact: Based on 45nm silicon process estimates, replacing multiplications with sparse additions could reduce energy consumption by an order of magnitude if implemented on specialized hardware.
- The "Slow Feature" Surprise: The authors initially hypothesized that high-level features (like "object category") would change more slowly than raw pixels, leading to greater sparsity in deeper layers. Surprisingly, experiments revealed that high-level representations in pre-trained networks can be quite volatile frame-to-frame.
Limitations and Future Work
While the theoretical and simulated gains are substantial, current GPUs are designed for massive, dense, synchronous matrix operations. They are poorly suited for the sparse, asynchronous, and random memory accesses required to fully realize the speedups of Sigma-Delta networks. The authors point toward neuromorphic chips (like IBM’s TrueNorth) as the ideal hardware target.
Furthermore, the volatility of high-level features suggests that standard pre-trained networks are not naturally "temporally smooth." Future work could involve training networks from scratch with a "slowness penalty" to encourage more stable internal representations. Finally, while the current model assumes a sequence of frames, it could potentially be extended to truly asynchronous sensors, such as event-based cameras, where pixels fire independently.
Summary updated