TL;DR
STELLA NERA is the first hardware accelerator designed for the MADDNESS algorithm, which replaces energy-hungry multipliers in neural networks with efficient hash-based lookups and additions. By introducing a new differentiable formulation for training, the researchers achieved a staggering 161 TOp/s/W energy efficiency (scaled to 3nm) while maintaining near-baseline accuracy on image classification tasks.
What Problem Does This Paper Address?
As AI models grow in complexity, the hardware running them is struggling to keep up. While model size increases exponentially, hardware energy efficiency only improves by about 1.45× every three years. The primary culprit is the Matrix Multiplication (MatMul) operation, which dominates the computational workload of modern deep learning.
Traditional approaches like quantization (reducing bit-width) are reaching their limits. Even Binary Neural Networks (BNNs) have significant accuracy trade-offs. The authors identify a need for a "multiplier-less" architecture that can handle the non-linear distributions of real-world data more effectively than standard uniform quantization.

As seen in Figure 1, standard linear quantization (green crosses) often wastes bits on infrequent values, whereas the learned patterns in MADDNESS (red lines) much more closely match the actual data distribution.
Methods
The core of this work is the MADDNESS (Multiply-ADDitioN-lESS) algorithm. Instead of performing a standard dot product, it uses Product Quantization (PQ).
- Encoding (Hashing): Input vectors are split into subspaces and passed through a balanced binary regression tree. This tree acts as a hash function, mapping the input to a specific "prototype" index.
- Decoding (Lookup): The dot products between these prototypes and the network's weights are precomputed and stored in a Look-Up Table (LUT).
- Accumulation: The MatMul is reduced to simply looking up these precomputed values and adding them together.
The authors' key algorithmic contribution is Differentiable MADDNESS. The original hashing process is non-differentiable, making it hard to train deep networks. By using a "soft" variant (softmax/tanh) and a straight-through estimator (STE) during backpropagation, they allow the entire system to be fine-tuned using standard gradient descent.
On the hardware side, the STELLA NERA architecture implements this logic using specialized Encoding Units (for the binary trees) and Decoding Units (using cell-based memory for the LUTs to allow ultra-low voltage operation).
Datasets
The researchers evaluated their system using the CIFAR-10 dataset, a standard benchmark for image classification. They used a ResNet-9 architecture as their primary testbed, replacing its standard convolutional and linear layers with MADDNESS-based equivalents.
Key Insights and Ideas
- Multipliers are Optional: By shifting the complexity from arithmetic to memory lookups, STELLA NERA achieves a 25x improvement in energy efficiency over conventional MatMul accelerators.
- Differentiability is the Enabler: Previous MADDNESS implementations were often limited to the final layers of a network. Making the hashing process differentiable allows for end-to-end fine-tuning, which is critical for recovering accuracy lost during approximation.
- Hardware-Algorithm Co-design: The use of balanced binary trees for hashing is a perfect fit for hardware, as it reduces the complex $l_2$-norm similarity search typically found in Product Quantization to a few simple comparisons.
Key Results
The results demonstrate that approximate computing can be both highly accurate and incredibly efficient:
- Accuracy: On CIFAR-10, the MADDNESS-based ResNet-9 reached 92.6% accuracy, representing only a marginal 1.1% drop from the full-precision baseline.
- Energy Efficiency: In a 14nm process, the chip achieved 43.1 TOp/s/W. When scaled to a 3nm process, this jumps to 161 TOp/s/W.
- Area Efficiency: The design is extremely compact, offering 15x higher area efficiency than state-of-the-art competitors.
As shown in Table I, STELLA NERA significantly outperforms existing accelerators in both peak energy and area efficiency while maintaining competitive accuracy.
Limitations and Future Work
While impressive, the current work has a few constraints:
- Constant Weights: The efficiency gains rely on the weights being known beforehand (inference-only). This makes it unsuitable for on-device training where weights change constantly.
- Bandwidth: Using MADDNESS increases the weight bandwidth requirements by about 1.77x because the system must load codebook parameters in addition to standard weights.
- Model Scaling: While ResNet-9 is a solid benchmark, future work will need to explore how this approach scales to much larger models, such as Transformers or Large Language Models (LLMs).
The authors have open-sourced their implementation, including the PyTorch layers and RTL code, to encourage further research into multiplier-less AI hardware.
Summary updated