Neural Network Featuremap Compression Using Quad-Tree Bitmaps

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Neural network processors face inefficiencies in data compression and processing due to large data volumes, leading to slow data input and output operations, which hinder real-time data analysis and processing in electronic systems.

Innovation Solution

A neural network processor that employs a compressor to generate compressed data by using location information and data values of non-zero pixels based on a quad-tree structure, reducing data volume and enhancing processing speed by storing compressed data in memory.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If featuremap data is stored in memory without compression, then data integrity is maintained, but data volume is large leading to slow input/output operations

Engineering Contradiction:
Improvedata input/output speedVSAvoiddata volume
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The patent extracts and stores only the essential non-zero pixel data and its location information from the featuremap, discarding redundant zero-value pixel data. This selective extraction reduces data volume while maintaining the information necessary for neural network operations, thereby improving data input/output speed.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Instead of storing all pixel data including zeros, the patent inverts the approach by storing only the non-zero pixels and their positions. This inverted storage strategy transforms the problem from managing large volumes of mostly redundant data to managing compact representations of significant data points only.

Inventive Principle:
Principle #13The other way round (Inversion)

2Productivity

If all pixel data is processed and stored, then complete information is preserved, but processing time increases

Engineering Contradiction:
Improveprocessing speedVSAvoiddata processing time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent extracts only the necessary non-zero pixel information and location data, eliminating processing overhead for redundant zero-value pixels. This extraction approach reduces the total number of operations required during neural network computations, thereby increasing processing speed and reducing data processing time.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies partial action by processing and storing only the essential portion of the data (non-zero pixels) rather than the complete dataset. This partial processing approach is sufficient for maintaining neural network functionality while significantly reducing the time required for data processing.

Inventive Principle:
Principle #16Partial or excessive action

3Quantity of substance

If compressed data format is used, then data volume is reduced, but compression complexity increases

Engineering Contradiction:
Improvedata volumeVSAvoidcompression algorithm complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent segments the featuremap data into distinct components: non-zero pixel values and their corresponding location information. This segmentation allows for a systematic and structured compression approach where each component is handled separately, simplifying the overall compression process while achieving significant data volume reduction.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the representation parameters of the featuremap data by storing pixel locations as coordinates and pixel values as separate entities rather than storing complete pixel arrays. This parameter transformation enables efficient compression by representing data in a more compact form suitable for neural network operations.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11664818B2Neural network processor for compressing featuremap data and computing system including the same
Publication Date: 2023.05.30 SAMSUNG ELECTRONICS CO LTD
  • US11664818B2 patent drawing
  • US11664818B2 patent drawing
  • US11664818B2 patent drawing

AI summary

Provided is a neural network device including at least one processor configured to implement an arithmetic circuit configured to generate third data including a plurality of pixels based on a neural network configured to perform an arithmetic operation on first data and second data, and a compressor configured to generate compressed data by compressing the third data, wherein the compressor is further configured to generate, as the compressed data, bitmap data comprising location information about a non-zero pixel having a non-zero data value among the plurality of pixels based on a quad-tree structure.