Analog Neural Network Normalization for MAC Precision

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Analog memory-based artificial neural networks face performance issues due to incorrect weight mapping and low input resolution, leading to inaccurate neural network outputs, as existing technologies struggle to achieve precise multiply-and-accumulate operations.

Innovation Solution

Applying a scale factor to input values and the inverse of this scale factor to synaptic weight values stored in non-volatile memory devices, allowing for improved precision of MAC operations without altering the nominal MAC results, thus enhancing prediction accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If weights are encoded with high precision, then neural network output accuracy is improved, but hardware cannot reach such values leading to implementation errors

Engineering Contradiction:
Improveweight encoding precisionVSAvoidimplementation accuracy
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The patent applies normalization to transform weight values and input resolutions to optimal ranges that match hardware capabilities. By changing the parameters of weight encoding (scaling to appropriate conductance ranges) and input voltage levels, the system achieves high effective precision without requiring hardware to physically represent extreme precision values, thus resolving the contradiction between desired precision and hardware reachability.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If input resolution is increased, then MAC operation precision is improved, but hardware cannot achieve the required resolution

Engineering Contradiction:
Improveinput resolutionVSAvoidMAC operation accuracy
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The patent normalizes input values to optimal voltage ranges that maximize the effective resolution of analog-to-digital converters and match the dynamic range of the crossbar array. By transforming input parameters to appropriate scales, the system achieves high effective resolution without requiring hardware to physically support extreme precision input levels.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If weight mapping is corrected, then neural network performance is improved, but complex normalization operations are required

Engineering Contradiction:
Improveneural network performanceVSAvoidnormalization operation complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent performs normalization of weights and inputs as preliminary operations before the main MAC computations. By pre-scaling weights to appropriate conductance ranges and pre-normalizing input vectors to optimal voltage levels, the system ensures correct weight mapping and high neural network performance while keeping the main inference operations simple and hardware-efficient.

Inventive Principle:
Principle #10Preliminary action

Applied Scientific Principles

This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.

Function Achieved in This Case

This method improves the overall precision of MAC operations and prediction accuracy in analog memory-based artificial neural networks by optimizing weight and input resolution, making the neural network outputs more reliable and hardware-friendly.

Implementation Method 1

analog memory crossbar arrays storing synaptic weights as conductance

Methodology Applied
Scientific EffectConductance storage: Conduction (electrical)

Implementation Method 2

voltage provided as inputs to such analog memory crossbar arrays storing synaptic weights as conductance can generate current, which can represent a product or multiplication between the input vector and the synaptic weight matrix

Methodology Applied
Scientific EffectOhm's law: Ohm's Law

Data Source

PatentUS20240201950A1Normalization in analog memory-based neural network
Publication Date: 2024.06.20 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US20240201950A1 patent drawing
  • US20240201950A1 patent drawing
  • US20240201950A1 patent drawing

AI summary

A scale factor can be determined and applied to input values of an analog neural network implemented by a crossbar array of non-volatile memory devices. An inverse of the scale factor can be applied to synaptic weight values stored by the crossbar array of non-volatile memory devices. Operations by the crossbar array can be performed using the scaled input values and the synaptic weight values. The scale factor can be determined for each row of the crossbar array. The scale factor can be determined using a combination of the input values and the synaptic weight values.