Error Tolerant AI Accelerators via Weight Decomposition

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

AI accelerators face errors due to exposure to radiative environments, which existing radiation-hardened memory solutions attempt to address but at the cost of increased area and power consumption.

Innovation Solution

A compute engine with a compute-in-memory (CIM) hardware module and weight decomposition write circuitry that stores weight decomposition data, allowing for the reconstruction of weights and provision of a replacement matrix to mitigate errors, using radiation-hardened memory to enhance fault tolerance while minimizing overhead.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If radiation-hardened memory is used to protect AI accelerators from radiative errors, then fault tolerance is improved, but memory area and power consumption increase by a factor of two to three

Engineering Contradiction:
Improvefault toleranceVSAvoidmemory area
Core Design Contradiction:
ReliabilityVSArea of stationary object

Solution Approach 1:

The patent segments the weight matrix into multiple sub-matrices and stores them in different memory banks. This allows the system to use standard memory instead of radiation-hardened memory while maintaining fault tolerance through architectural redundancy. The segmentation enables error detection and correction at the sub-matrix level without requiring full memory hardening.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary error detection and correction layer between the radiative environment and the memory system. This intermediary consists of parity bits and checksum mechanisms that detect and correct errors without requiring the memory itself to be radiation-hardened, thus avoiding the area and power penalty.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If radiation-hardened memory is used to protect AI accelerators from radiative errors, then fault tolerance is improved, but power consumption increases by a factor of two to three

Engineering Contradiction:
Improvefault toleranceVSAvoidpower consumption
Core Design Contradiction:
ReliabilityVSUse of energy by stationary object

Solution Approach 1:

By segmenting weights into sub-matrices stored in standard memory banks, the system avoids the high power consumption of radiation-hardened memory while maintaining error protection through distributed storage and parity-based error detection at the sub-matrix level.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent uses inexpensive parity bits and checksum mechanisms as disposable error-detection layers rather than investing in expensive radiation-hardened memory. These lightweight error-protection mechanisms consume minimal power compared to fully hardened memory systems.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

3Reliability

If traditional radiation-hardened configurations are used, then fault tolerance is improved, but memory overhead increases significantly

Engineering Contradiction:
Improvefault toleranceVSAvoidmemory overhead
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The weight matrix is divided into multiple sub-matrices, each stored in separate memory banks with associated parity information. This segmentation reduces memory overhead compared to traditional hardening by applying error protection only to sub-matrices rather than requiring full duplication of entire weight sets.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the error-protection parameter from full memory hardening to sub-matrix level parity protection. This parameter change reduces the overhead ratio from 2-3x to a much lower value by applying error detection only to critical sub-matrix structures rather than all memory contents.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20240160693A1Error tolerant ai accelerators
Publication Date: 2024.05.16 OPENAI OPCO LLC
  • US20240160693A1 patent drawing
  • US20240160693A1 patent drawing
  • US20240160693A1 patent drawing

AI summary

A compute engine including a compute-in-memory (CIM) hardware module and weight decomposition write circuitry is described. The CIM hardware module stores weights corresponding to a matrix. The CIM hardware module is configured to perform a vector-matrix multiplication (VMM) for the matrix. The weight decomposition write circuitry is coupled with the CIM hardware module and is configured to store weight decomposition data corresponding to the matrix. The weight decomposition write circuitry is also configured to determine a replacement matrix for the matrix from the weight decomposition data and to provide the replacement matrix to the CIM hardware module.