Neural Network Residual Coding for Intermediate Data Compression

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Neural network systems face high bandwidth and power consumption issues due to large memory access requirements for processing raw data across intermediate layers, leading to complex processing demands and increased power usage.

Innovation Solution

Implementing a neural network device or hardware component with a neural processing unit (NPU) that performs bandwidth compression using techniques such as lossless data compression, applying prediction schemes to intermediate data, and coding residual values using methods like variable-length coding (VLC) or arithmetic coding.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If large amounts of raw data are accessed for processing by intermediate nodes of the neural network, then processing accuracy is maintained, but bandwidth consumption and power usage increase significantly

Engineering Contradiction:
Improveprocessing accuracyVSAvoidpower consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent extracts and removes redundant information from neural network data by applying prediction schemes that identify and eliminate predictable patterns. Only the residual (unpredictable) information is retained and transmitted, significantly reducing bandwidth requirements while preserving essential processing information.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent transforms data representation parameters by converting full-precision neural network activations into compressed residual representations. This parameter transformation maintains computational accuracy for essential features while reducing data volume and associated power consumption.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If large amounts of raw data are accessed for processing by intermediate nodes of the neural network, then processing completeness is maintained, but memory access bandwidth requirements increase

Engineering Contradiction:
Improveprocessing completenessVSAvoidmemory access bandwidth
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent extracts and removes redundant information from neural network data by applying prediction schemes that identify and eliminate predictable patterns. Only the residual (unpredictable) information is retained and transmitted, significantly reducing bandwidth requirements while preserving essential processing information.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent performs prediction and compression operations preliminarily before data is stored or transmitted through the neural network pipeline. This preliminary compression reduces the volume of data that needs to be managed in memory, decreasing bandwidth requirements for subsequent access operations.

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If 8 bit or 16 bit fixed or floating point operations are performed for intermediate layers, then numerical precision is maintained, but processing complexity and power consumption increase

Engineering Contradiction:
Improvenumerical precisionVSAvoidprocessing complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent extracts and removes redundant information from neural network data by applying prediction schemes that identify and eliminate predictable patterns. Only the residual (unpredictable) information is retained and transmitted, significantly reducing bandwidth requirements while preserving essential processing information.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent transforms data representation parameters by converting full-precision neural network activations into compressed residual representations. This parameter transformation maintains computational accuracy for essential features while reducing data volume and associated power consumption.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11516473B2Bandwidth compression for neural network systems
Publication Date: 2022.11.29 QUALCOMM INC
  • US11516473B2 patent drawing
  • US11516473B2 patent drawing
  • US11516473B2 patent drawing

AI summary

Techniques and systems are provided for compressing data in a neural network. For example, output data can be obtained from a node of the neural network. Re-arranged output data having a re-arranged scanning pattern can be generated. The re-arranged output data can be generated by re-arranging the output data into the re-arranged scanning pattern. One or more residual values can be determined for the re-arranged output data by applying a prediction mode to the re-arranged output data. The one or more residual values can then be compressed using a coding mode.