Current Integrator Voltage Shifting to Prevent Softmax Saturation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current integrators in Resistive Processing Unit-based (RPU-based) accelerators can experience saturation during softmax operations, leading to incorrect voltage representations and calculation errors due to limited voltage ranges.

Innovation Solution

The implementation of a hardware-based solution that includes a voltage generator to apply a non-zero initial voltage to the current integrator, a saturation detector, and a current source trigger signal generator to prevent saturation by reducing the input current's magnitude when saturation is imminent, thereby expanding the voltage range and preventing clipping.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a current integrator is used in RPU-based accelerators for softmax operations, then integration of current signals can be performed, but saturation occurs during operation leading to incorrect voltage representations and calculation errors

Engineering Contradiction:
Improvecalculation accuracyVSAvoidsaturation condition
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The patent applies preliminary action by initializing the integrator capacitor to a non-zero voltage (specifically -0.69V or ln(0.5)) before the softmax operation begins. This pre-initialization shifts the operating point of the integrator away from zero, creating headroom in the voltage range that prevents saturation during the integration process. The voltage generator circuit prepares the integrator in advance with this offset voltage, ensuring that subsequent current integrations will not drive the output voltage into the saturation region.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent changes the parameter of initial voltage from zero (conventional approach) to a specific non-zero value (ln(0.5) ≈ -0.69V). This parameter change transforms the integrator's operating characteristics, effectively doubling its usable voltage range in the positive direction. By modifying this initial condition parameter, the system prevents saturation without requiring changes to the fundamental integrator architecture or additional complex control circuits.

Inventive Principle:
Principle #35Parameter changes

2Device complexity

If the integrator voltage range is limited, then the device structure remains simple, but saturation occurs leading to loss of maximum value detection information

Engineering Contradiction:
Improveintegrator structureVSAvoidmaximum value detection information
Core Design Contradiction:
Device complexityVSLoss of information

Solution Approach 1:

The patent achieves extended voltage range by changing the initial voltage parameter from 0V to ln(0.5)V, which effectively doubles the available positive voltage headroom. This parameter modification allows the integrator to accommodate larger integrated current values without saturation, preserving the maximum value detection information required for accurate softmax operations. The solution maintains structural simplicity while achieving the desired functional expansion through this single parameter change.

Inventive Principle:
Principle #35Parameter changes

3Ease of operation

If zero initial voltage is applied to the integrator, then the circuit operation is straightforward, but the voltage range is insufficient preventing accurate softmax calculations

Engineering Contradiction:
Improvecircuit operationVSAvoidvoltage range precision
Core Design Contradiction:
Ease of operationVSManufacturing precision

Solution Approach 1:

The patent implements preliminary action through a voltage generator circuit that automatically initializes the integrator capacitor to the precise voltage value of ln(0.5) before each softmax operation. This pre-initialization ensures that the integrator starts with the correct offset voltage, providing sufficient headroom for accurate calculations. The voltage generator handles the complexity of generating this specific voltage, keeping the main integrator circuit operationally simple while ensuring precision in the voltage range.

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 approach effectively prevents saturation, ensuring accurate voltage representation and calculation results by doubling the integrator's voltage range, thus maintaining the integrity of information required for operations like softmax without losing maximum value detection information.

Implementation Method 1

a voltage generator, operatively coupled between an input terminal and an output terminal of the current integrator, reducing a magnitude of an output voltage at the output terminal of the current integrator during a current integration operation by selectively applying a non-zero initial voltage to the current integrator prior to the current integration operation

Methodology Applied
Scientific EffectVoltage generation and shifting:

Implementation Method 2

a saturation detector for detecting an impending saturation condition of an output of the current integrator

Methodology Applied
Scientific EffectVoltage detection:

Implementation Method 3

a current source for reducing a magnitude of an existing current at the input terminal of the current integrator during a current integration operation by generating a current of opposing polarity to the existing current at the input terminal to prevent an occurrence of the saturation condition

Methodology Applied
Scientific EffectCurrent generation and polarity control:

Data Source

PatentUS11200297B2Integrator voltage shifting for improved performance in softmax operation
Publication Date: 2021.12.14 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11200297B2 patent drawing
  • US11200297B2 patent drawing
  • US11200297B2 patent drawing

AI summary

An apparatus and method are provided for saturation prevention of a current integrator in a Resistive Processing Unit-based (RPU-based) accelerator. The apparatus includes a set of hardware switches. The apparatus further includes a voltage generator, operatively coupled between an input terminal and an output terminal of the current integrator, reducing a magnitude of an output voltage at the output terminal of the current integrator during a current integration operation by selectively applying a non-zero initial voltage to the current integrator prior to the current integration operation, responsive to an operating state of the set of hardware switches.