Deep Neural Network Quantization Gradient Adjustment

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing convolutional neural networks (CNNs) face challenges in maintaining learning accuracy when activations are quantized to reduce memory usage, as simple bit reduction degrades performance.

Innovation Solution

An information processing method that determines optimal quantization conditions for activations by calculating a gradient difference during the learning process, allowing for efficient memory usage while securing learning accuracy through the determination of quantization width and range.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If activations are quantized to reduce the number of bits, then memory capacity is saved, but learning accuracy is degraded

Engineering Contradiction:
Improvememory capacityVSAvoidlearning accuracy
Core Design Contradiction:
Quantity of substanceVSMeasurement precision

Solution Approach 1:

The patent changes the quantization parameters (bit width, quantization range) dynamically based on the gradient characteristics of each layer. By analyzing the gradient distribution and adjusting quantization parameters accordingly, the system maintains learning accuracy while achieving memory compression. This is accomplished through automatic quantization parameter adjustment mechanisms that adapt to different layer requirements during the learning process.

Inventive Principle:
Principle #35Parameter changes

2Quantity of substance

If simple bit reduction is applied to activations, then memory usage is reduced, but the correlation between quantization and learning accuracy is lost

Engineering Contradiction:
Improvememory usageVSAvoidcorrelation between quantization bit number and learning accuracy
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The patent implements a feedback mechanism where the learning accuracy is continuously monitored and used to adjust quantization parameters. The system evaluates the impact of quantization on gradient flow and learning performance, then dynamically adjusts the quantization bit width and range to maintain the correlation between quantization quality and learning accuracy. This closed-loop control ensures that memory reduction does not compromise the fundamental relationship between quantization precision and model performance.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11494659B2Information processing method and information processing apparatus
Publication Date: 2022.11.08 KIOXIA CORP
  • US11494659B2 patent drawing
  • US11494659B2 patent drawing
  • US11494659B2 patent drawing

AI summary

According to one embodiment, an information processing method includes performing, in an intermediate layer of a deep neural network, a forward propagation using a first parameter and based on a first input value represented by a first bit number; performing quantization to produce a second input value represented by a second bit number smaller than the first bit number, and storing the produced second input value in the memory; calculating a second parameter based on a result of an operation using the second input value stored in the memory and a value obtained by the forward propagation, the second parameter being an update of the first parameter and for use in the learning process; and determining a condition for the quantization based on a gradient difference obtained in said calculating the second parameter.