Computing linear transformations with unreliable components

Yaoqing Yang, Pulkit Grover, Soummya Kar

Abstract

As semiconductor scaling reaches its physical limits, voltage scaling offers a path to energy efficiency at the cost of increased hardware unreliability. This paper presents "ENCODED" (Encoded Computation with Decoders EmbeddeD), a framework for performing reliable binary linear transformations using entirely unreliable components. By embedding noisy error-correction decoders directly into the computation stages and utilizing a tree-based architecture, the authors demonstrate that error probabilities can be kept bounded regardless of the transformation's scale. This approach enables significant energy savings by allowing circuits to operate in high-noise regimes previously considered unusable.

Introduction

Modern computing faces a "power wall" as Dennard scaling falters. Reducing supply voltage is a primary lever for energy efficiency, but it exponentially increases the rate of transient and permanent hardware errors. In large-scale linear operations, such as matrix-vector multiplications ($r = s \cdot A$), these errors accumulate rapidly, often rendering the final output useless.

Traditional fault-tolerance models typically assume that encoders and decoders are perfectly reliable. However, in the limit of aggressive voltage scaling, the error-correction circuitry itself becomes noisy. This paper addresses the challenge of computing reliably when every gate in the system—including those intended for error correction—is prone to failure.

The ENCODED Framework

The authors propose the ENCODED framework, which shifts the paradigm from encoding data to encoding the computation itself.

Architectural Shift

In a classical fault-tolerant model, a noiseless encoder prepares the data, a noisy computation occurs, and a noiseless decoder recovers the result. ENCODED replaces this with a sequence of "Coded Noisy Computation" blocks followed by "Noisy Decoders" embedded throughout the process.

Comparison of the classical fault-tolerant computing model versus the proposed ENCODED framework with embedded noisy decoders.

Tree-Based Computation (ENCODED-T)

To prevent the complex correlation of errors that can defeat standard decoding algorithms, the computation is organized into a tree structure. This reduces the circuit depth and ensures that inputs to any given stage remain sufficiently independent.

The ENCODED-T tree structure (a) and the internal components of a computation node (c), featuring an unreliable XOR gate followed by a noisy Gallager-B decoder.

The core mechanism involves:

  1. Computation as a Codeword: The linear transformation is structured such that intermediate results are codewords of a Low-Density Parity-Check (LDPC) code.
  2. Embedded Noisy Decoders: Noisy decoders (e.g., Gallager-B) are placed at intermediate stages to "scrub" noise before it accumulates beyond the code's correction capacity.
  3. Dynamic Voltage Scaling (ENCODED-V): Supply voltages are tuned per stage to optimize the energy-reliability trade-off, using lower energy in early stages and slightly more in later stages to meet target reliability.

Key Insights and Results

The primary theoretical contribution is the proof that ENCODED can maintain a bit-error rate (BER) below a small constant, independent of the input size $L$ or output size $K$. This overcomes the fundamental "error accumulation" problem.

  • The Last-Gate Effect: The authors acknowledge that zero error is impossible if the final output gate is noisy. The goal is to reach a "noise floor" determined by the intrinsic reliability of the final components.
  • Efficiency: The framework achieves $O(L)$ operations per output bit, matching the complexity of unprotected computations while providing robustness.
  • Energy Savings: Simulations indicate that ENCODED can achieve orders of magnitude better energy efficiency than uncoded or simple repetition-based schemes by enabling operation at much lower voltages.
  • Optimality: Converse bounds provided in the study show that the ENCODED-F variant is close to the fundamental lower bound of operations required for a target error probability.

Conclusion and Future Work

ENCODED provides a robust theoretical foundation for "all-noisy" computing. While currently limited to binary linear transformations, it paves the way for energy-efficient hardware in the post-Dennard era. Future research will focus on extending these principles to real-valued arithmetic used in AI/ML and incorporating more realistic energy models that account for interconnect (wiring) overhead.

Summary updated

BibTeX
@misc{yang2015computing,
  author = {Yaoqing Yang and Pulkit Grover and Soummya Kar},
  title = {{Computing linear transformations with unreliable components}},
  year = {2015},
  eprint = {1506.07234},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1506.07234},
}
Figure