Shift Register Neural Network Weight Storage

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Neural network apparatuses face challenges in storing and updating weights with high precision and speed, particularly during the learning process, as they require continuous values with high precision and rapid updates, which existing hardware implementations struggle to achieve efficiently.

Innovation Solution

A storage device comprising a shift register, initialization circuit, update control circuit, and readout control circuit, where the shift register shifts cell positions to represent continuous weight values, allowing for precise and rapid updates of weights, enabling high-precision learning in neural networks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If binary weights are used for inference, then storage precision is reduced, but updating speed and storage simplicity are improved

Engineering Contradiction:
Improveweight precisionVSAvoidupdate speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent applies dynamics by making the weight representation adaptable between binary and multi-value formats. The system dynamically switches between binary weights for inference and multi-value weights for learning, allowing the weight storage system to optimize for either precision or speed depending on the operational mode. This is achieved through a weight storage unit that can hold multi-value weights and a weight conversion unit that converts them to binary when needed.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the parameter of weight precision from fixed to variable. By using multi-value weights during learning and converting to binary weights during inference, the system adjusts the precision parameter dynamically. This allows high precision (10-bit or higher) during learning for accurate gradient updates, then switches to binary precision during inference for fast processing.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If multi-value weights are used for learning, then weight precision is improved, but storage complexity and memory requirements increase

Engineering Contradiction:
Improveweight precisionVSAvoidstorage structure
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the weight storage and processing functions into distinct units: a weight storage unit for holding multi-value weights, a weight conversion unit for transforming weights between formats, and separate learning and inference processing paths. This segmentation allows each component to be optimized independently, reducing overall system complexity while maintaining high precision weight storage.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a weight conversion unit as an intermediary between the multi-value weight storage and the binary weight processing required for inference. This intermediary component translates between the two weight formats, allowing the system to maintain high-precision multi-value weights for learning while efficiently converting to binary weights for fast inference, thus bridging the gap between precision and speed requirements.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If high-precision weights are stored, then learning accuracy is improved, but update speed and computational efficiency decrease

Engineering Contradiction:
Improvelearning accuracyVSAvoidlearning speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent implements periodic action by alternating between learning mode and inference mode with distinct weight representations. During learning periods, high-precision multi-value weights are used and updated. During inference periods, these weights are converted to binary and used for fast processing. This periodic switching between precision modes allows the system to achieve both high learning accuracy and fast inference speed.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The patent applies preliminary action by pre-converting multi-value weights to binary weights before inference operations. The weight conversion unit prepares binary weight representations in advance, so that when inference is needed, the system can immediately use these pre-converted binary weights without computational delay, thus maintaining both learning accuracy and inference speed.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11380375B2Storage device and neural network apparatus
Publication Date: 2022.07.05 KK TOSHIBA
  • US11380375B2 patent drawing
  • US11380375B2 patent drawing
  • US11380375B2 patent drawing

AI summary

A storage device according to an embodiment is for storing weights being continuous values. The storage device includes: a shift register, an initialization circuit, an update control circuit, and a readout control circuit. The shift resistor includes a plurality of cells, each being arranged in series and storing information. A position of each of the plurality of cells corresponds to the weight. The initialization circuit writes the information to a cell in the shift register. The update control circuit shifts a position of the cell storing the information in a direction corresponding to a sign of an update amount by a number of cells corresponding to an absolute value of the update amount. The readout control circuit reads out the information and outputs an output value according to the weight corresponding to the position of the cell storing the information.