Neural Network Quantization Using Dynamic Range Fixed-Point Conversion

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing neural networks face challenges in efficiently processing floating-point parameters due to high computational requirements, which are not suitable for devices with limited processing power, leading to accuracy issues in applications like smartphones and wearable devices.

Innovation Solution

A method and apparatus for quantizing neural network parameters from a floating-point format to a fixed-point format using Lp norm calculations to determine dynamic ranges, allowing for efficient conversion and operation in devices with lower computational capabilities.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If floating-point format is used for neural network parameters, then computational accuracy is improved, but computational requirements and processing power demands increase

Engineering Contradiction:
Improvecomputational accuracyVSAvoidcomputational requirements
Core Design Contradiction:
Measurement precisionVSPower

Solution Approach 1:

The patent changes the numerical format parameter from floating-point to fixed-point representation. This parameter change allows the system to maintain sufficient computational accuracy while dramatically reducing the computational power and memory requirements, enabling deployment on resource-constrained devices like smartphones and wearables

Inventive Principle:
Principle #35Parameter changes

2Reliability

If floating-point format is used for neural network parameters, then accuracy is maintained, but device complexity and processing power requirements increase

Engineering Contradiction:
ImproveaccuracyVSAvoidprocessing power requirements
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies fixed-point quantization to change the numerical representation parameter, which simplifies the computational operations and reduces device complexity. The fixed-point format enables standard arithmetic operations without requiring complex floating-point units, thereby reducing processing power requirements while maintaining acceptable accuracy levels

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent adopts a simpler fixed-point numerical representation that can be processed by basic arithmetic logic units rather than complex floating-point processors. This approach uses computationally 'cheaper' operations that are faster and require less hardware complexity, suitable for mobile and embedded devices

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

3Productivity

If quantization is applied to convert floating-point to fixed-point format, then computational efficiency is improved, but potential accuracy loss occurs

Engineering Contradiction:
Improvecomputational efficiencyVSAvoidaccuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent performs preliminary analysis of the neural network parameters to determine optimal quantization ranges and scales before actual quantization. By pre-calculating the distribution statistics and determining appropriate fixed-point representations in advance, the system minimizes accuracy loss while achieving computational efficiency

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent employs feedback mechanisms where the quantization process is optimized based on the actual performance and accuracy requirements. The system adjusts quantization parameters iteratively to find the optimal balance between computational efficiency and accuracy preservation

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12566940B2Method and apparatus for quantizing parameters of neural network
Publication Date: 2026.03.03 SAMSUNG ELECTRONICS CO LTD
  • US12566940B2 patent drawing
  • US12566940B2 patent drawing
  • US12566940B2 patent drawing

AI summary

A method of quantizing parameters of a neural network includes acquiring a parameter of a floating-point format used in a process of inferring by the neural network, quantizing, based on statistics of a weight included in the parameter, the weight into a fixed-point format, determining, based on statistics of an activation of one or more layers configuring the neural network included in the parameter, a dynamic range of the activation, and quantizing, based on statistics of input data of the neural network, the input data into a fixed-point format.