Neural Network Parameter Serialization for Quantized Model Compression

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The high data requirements for neural networks, particularly due to large parameter tensors, lead to inefficiencies in transmission and updating, as well as increased computational complexity, which hampers their applicability in certain scenarios.

Innovation Solution

Encoding neural network parameters using quantization indices and providing reconstruction rules for each portion of the network, allowing for efficient encoding, decoding, and transmission by utilizing serialization parameters, numerical computation representation parameters, layer type parameters, and other structural parameters to optimize data representation and processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If neural network parameters are stored using standard floating-point types in container formats, then the precision and quality of neural network representation is maintained, but the coded size of the representation becomes very large, leading to transmission and storage inefficiency

Engineering Contradiction:
Improveprecision of neural network parametersVSAvoidcoded size of neural network representation
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent applies parameter changes by transforming neural network parameters from standard floating-point representation to quantized integer representation. This involves changing the numerical format and precision level of the parameters, allowing them to be stored more efficiently while maintaining acceptable reconstruction quality through dequantization processes.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent segments the neural network parameters into different groups or layers, applying different quantization strategies to different segments. This allows selective optimization where critical parameters maintain higher precision while less critical ones use coarser quantization, balancing overall representation quality with compression efficiency.

Inventive Principle:
Principle #1Segmentation

2Productivity

If frequent transmission and updates of neural networks are performed, then the model can be updated and improved, but the data rate required becomes a serious bottleneck

Engineering Contradiction:
Improvefrequency of transmission and updateVSAvoiddata rate
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

By changing the parameter representation from high-precision floating-point to compressed quantized formats, the patent reduces the data volume that needs to be transmitted during frequent updates, directly addressing the data rate bottleneck while enabling more frequent model iterations.

Inventive Principle:
Principle #35Parameter changes

3Quantity of substance

If the coded size of neural network representations is reduced through compression, then transmission efficiency improves, but the complexity of encoding and decoding processes increases

Engineering Contradiction:
Improvecoded size of representationVSAvoidcomplexity of encoding and decoding
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent manages encoding/decoding complexity by systematically changing parameters from floating-point to quantized formats using defined transformation rules. The complexity is controlled through structured quantization schemes and efficient dequantization algorithms that balance compression ratios with computational overhead.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20220222541A1Neural Network Representation Formats
Publication Date: 2022.07.14 FRAUNHOFER GESELLSCHAFT ZUR FORDERUNG DER ANGEWANDTEN FORSCHUNG EV
  • US20220222541A1 patent drawing
  • US20220222541A1 patent drawing
  • US20220222541A1 patent drawing

AI summary

Data stream having a representation of a neural network encoded thereinto, the data stream including serialization parameter indicating a coding order at which neural network parameters, which define neuron interconnections of the neural network, are encoded into the data stream.