Abstract
As Deep Neural Network (DNN) accelerators scale, the power consumption of the Network-on-Chip (NoC) interconnect has become a critical bottleneck, often accounting for a significant portion of total system power. A major driver of this energy expenditure is the dynamic power dissipated during bit transitions (BT) on physical links. This paper presents a novel data-reordering strategy designed to minimize these transitions by sorting weights and inputs based on their '1'-bit counts before transmission. By leveraging the commutative property of neural network operations, the proposed method achieves up to a 40.85% reduction in bit transitions with negligible hardware overhead, offering a low-cost solution for energy-efficient AI hardware.
Introduction
In the landscape of modern AI hardware, the "communication tax" is a formidable challenge. Network-on-Chip (NoC) architectures, which facilitate data movement between processing elements (PEs), can consume up to 30% of a chip's total power. Within these interconnects, approximately 42% of the power is dissipated by the physical links themselves.
The primary culprit for this power loss is the Bit Transition (BT)—the switching of a signal from '0' to '1' or vice versa. Each flip charges or discharges the capacitance of the wire, consuming dynamic power. While general-purpose CPU techniques like Bus-Invert coding exist to mitigate this, they often introduce complex encoding/decoding logic or require additional wires. This research proposes a specialized, low-cost alternative specifically tailored for the unique data flow of DNN workloads.
Methodology: '1'-Bit Count-Based Ordering
The core innovation of this work is a data-reordering strategy that exploits the mathematical flexibility of neural network layers. In convolutional and fully connected layers, the result of a Multiply-Accumulate (MAC) operation is independent of the sequence in which the pairs are processed ($A \times a + B \times b = B \times b + A \times a$). This commutativity allows the hardware to reorder data packets without requiring a complex "unsorting" process at the destination.
The Ordering Principle
The authors propose sorting data based on the number of '1' bits in each word. By transmitting data with similar '1'-bit counts consecutively, the probability that bits in the same position will match between successive transmissions is maximized, thereby minimizing the number of flips on the NoC wires.
Implementation Strategies
Two specific implementation methods were evaluated:
- Affiliated-ordering: Weights are sorted by their '1'-bit count, and their corresponding inputs are moved alongside them. This maintains the weight-input pairing naturally and requires no additional metadata.
- Separated-ordering: Weights and inputs are sorted independently to maximize the bit-transition savings for each stream. While this provides superior power reduction, it requires a small index to ensure that the correct weight-input pairs are eventually reunited at the processing element.
Hardware Architecture
To prevent the sorting process from becoming a bottleneck, the authors introduced an Ordering Unit located near the off-chip memory interface. This placement allows the sorting to occur while data is being fetched from memory, effectively hiding the latency from the main processing pipeline and keeping the NoC routers lean.
Experimental Evaluation
The researchers evaluated the proposed system using a cycle-accurate NoC simulation with the following parameters:
- Models: LeNet and a scaled DarkNet-like model ($64 \times 64 \times 3$).
- Data Formats: 32-bit floating-point (float-32) and 8-bit fixed-point (fixed-8).
- Weight Distributions: Both randomly initialized and actual trained weights were tested to ensure real-world applicability.
Key Results and Insights
Bit Transition Reduction
The Separated-ordering method demonstrated the highest efficiency, achieving a 40.85% reduction in bit transitions for 8-bit fixed-point data and a 32.01% reduction for 32-bit floating-point data. Even the simpler Affiliated-ordering showed significant gains, particularly in fixed-point scenarios.
Impact of Data Types
A key finding was that the impact of ordering is more pronounced on fixed-point data than on floating-point data. Floating-point numbers, with their distinct sign, exponent, and mantissa fields, exhibit more "random" bit patterns. In contrast, fixed-point data shows clearer correlations when sorted by bit density, leading to higher savings.
Hardware Efficiency
The hardware overhead for the Ordering Unit is remarkably low. Synthesized at 12.91 kGE (thousand gate equivalents), the unit is approximately one-tenth the size of a single standard NoC router. For an $8 \times 8$ NoC mesh, the authors estimate that this technique can reduce total link power from 155 mW to approximately 91.7 mW.
Conclusion
By exploiting the inherent order-insensitivity of DNN computations, this paper demonstrates that data transmission ordering is a highly effective, low-overhead strategy for reducing NoC power consumption. The transition from random data streams to bit-count-ordered streams provides a significant reduction in dynamic power without requiring complex encoding schemes. Future work may explore the integration of this ordering technique with existing bus-encoding methods to further push the boundaries of energy-efficient AI acceleration.
Summary updated