[Paper Review] Cnvlutin2: Ineffectual-Activation-and-Weight-Free Deep Neural Network Computing
Cnvlutin2 proposes a deep neural network accelerator that eliminates computation on both ineffectual activations and weights without modifying core hardware, using dynamic detection during memory fetch and intelligent encoding to reduce memory footprint and energy. It achieves up to 256× lower overhead for weight status signaling by precomputing skip conditions, enabling efficient pruning-aware inference with minimal area and energy cost.
We discuss several modifications and extensions over the previous proposed Cnvlutin (CNV) accelerator for convolutional and fully-connected layers of Deep Learning Network. We first describe different encodings of the activations that are deemed ineffectual. The encodings have different memory overhead and energy characteristics. We propose using a level of indirection when accessing activations from memory to reduce their memory footprint by storing only the effectual activations. We also present a modified organization that detects the activations that are deemed as ineffectual while fetching them from memory. This is different than the original design that instead detected them at the output of the preceding layer. Finally, we present an extended CNV that can also skip ineffectual weights.
Motivation & Objective
- Address the inefficiency of conventional DNN accelerators that process all activations and weights regardless of value content.
- Reduce memory storage and energy overhead in DNN inference by encoding only effectual activations and weights.
- Enable runtime detection of ineffectual activations during memory fetch to eliminate storage and access costs.
- Extend the CNV architecture to skip computations involving both ineffectual activations and ineffectual weights.
- Maintain compatibility with existing hardware by modifying only the dispatcher and reducer, not the core execution units.
Proposed method
- Introduce multiple encoding schemes for ineffectual activations to reduce memory and energy overhead compared to the original CNV’s (activation, offset) pair format.
- Propose a memory fetch-level detection mechanism that identifies ineffectual activations on-the-fly during load, eliminating the need to store explicit flags.
- Store only effectual activations in memory by using a level of indirection, reducing memory footprint through selective storage.
- Extend the dispatcher logic to combine activation effectuality (I vector) with weight effectuality (IS vector) to determine whether a computation can be skipped.
- Precompute the product of IS vectors (weight status) across filters to reduce signaling overhead from 16 bits per brick to 1 bit per 16 bricks.
- Use a boolean logic condition: Can_Skip = (IS_f=0 for all f) AND (I=0), where I is the activation effectuality vector and IS_f is the weight effectuality for filter f.
Experimental results
Research questions
- RQ1How can memory storage and energy overhead for ineffectual activation encoding be minimized without sacrificing detection accuracy?
- RQ2Can ineffectual activation detection be performed during memory fetch to eliminate storage and access costs?
- RQ3To what extent can memory footprint be reduced by storing only effectual activations using indirect addressing?
- RQ4Can the performance and energy benefits of CNV be extended to include pruning-aware skipping of ineffectual weights?
- RQ5What is the signaling overhead reduction when precomputing weight effectuality across multiple filters in a tile?
Key findings
- The proposed encoding schemes reduce memory and energy overhead for ineffectual activation representation compared to the original CNV’s (activation, offset) format.
- Memory fetch-level detection of ineffectual activations imposes no additional memory storage or access overhead, as no explicit flags are stored.
- Storing only effectual activations via indirect addressing reduces memory footprint by eliminating storage of zero or near-zero values.
- The precomputation of IS vector products reduces signaling overhead for weight status from 1/16th to 1/256th of the original brick size, achieving a 256× reduction in overhead.
- The extension to skip both ineffectual activations and weights enables additional computation savings, especially in configurations with fewer concurrently processed filters.
- The method maintains compatibility with existing hardware by modifying only the dispatcher and reducer, avoiding changes to the core execution units.
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.