DNN Training with Dynamic Zero-Reference RPU Crossbars

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Training deep neural networks (DNNs) using resistive processing units (RPUs) is computationally intensive and prone to errors due to incorrect estimation and storage of symmetry points, leading to noise and instability in gradient updates, especially when using symmetric RPU devices.

Innovation Solution

The method involves using two tunable RPU crossbar arrays and digital memory arrays to perform gradient updates for DNN training, dynamically estimating reference values on the fly to account for sign changes and noise, reducing the need for a dedicated reference device array and improving accuracy and efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If a dedicated reference device array is used to store symmetry points, then measurement precision is improved, but device complexity increases

Engineering Contradiction:
Improvesymmetry point estimation accuracyVSAvoidhardware structure complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent uses digital memory arrays to store reference values that represent the symmetry points, rather than using dedicated physical reference device arrays. This digital copying approach maintains measurement precision while reducing hardware complexity and resource usage.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent employs tunable RPU crossbar arrays that can dynamically serve multiple functions: storing actual weights, storing reference values, and performing computations. This multi-functionality eliminates the need for separate dedicated reference device arrays, reducing overall device complexity while maintaining precision through software-controlled reference management.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Manufacturing precision

If symmetric RPU devices are used for DNN training, then manufacturing precision is improved, but adaptability decreases

Engineering Contradiction:
ImproveRPU device symmetryVSAvoidhandling asymmetric devices
Core Design Contradiction:
Manufacturing precisionVSAdaptability or versatility

Solution Approach 1:

The patent introduces asymmetric reference values that are dynamically computed to compensate for the asymmetry in RPU devices. By using asymmetric reference management in software, the system can handle asymmetric physical devices effectively, maintaining manufacturing precision benefits while gaining adaptability to device variations.

Inventive Principle:
Principle #4Asymmetry

Solution Approach 2:

The patent implements dynamic computation of reference values during the training process, allowing the system to adapt to changing conditions and device characteristics. This dynamic approach enables the system to work with both symmetric and asymmetric RPU devices, enhancing versatility while maintaining precision through continuous reference value optimization.

Inventive Principle:
Principle #15Dynamics

3Reliability

If dynamic reference value computation is implemented, then reliability is improved, but use of energy increases

Engineering Contradiction:
Improvegradient update stabilityVSAvoidcomputational energy consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent computes reference values dynamically but only to the extent necessary for maintaining reliability. By computing references on-demand and using approximate methods when sufficient, the system achieves gradient update stability without excessive energy consumption, balancing reliability improvement with energy efficiency.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS20240232610A9DNN training algorithm with dynamically computed zero-reference
Publication Date: 2024.07.11 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US20240232610A9 patent drawing
  • US20240232610A9 patent drawing
  • US20240232610A9 patent drawing

AI summary

A computer implemented method includes performing a gradient update for a stochastic gradient descent (SGD) of a deep neural network (DNN) using a first set of hidden weights stored in a first matrix comprising a Resistive Processing Unit (RPU) crossbar array. A second matrix comprising a second set of hidden weights is stored in a digital medium. A third matrix comprising a set of reference values is computed upon a transfer cycle of the first set of weights from the first matrix to the second matrix, accounting for a sign-change (chopper). The third matrix is stored in the digital medium. A third set of weights is updated for the DNN from the second matrix when a threshold is reached for the second set of weights, in a fourth matrix comprising a RPU crossbar array.