Neural Network Quantization Using Weighted Entropy

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Neural network implementations require extensive computational and memory resources, limiting their use to expensive non-mobile environments and delaying result availability, which is addressed by optimizing quantization levels based on weighted entropy to reduce computational amounts while minimizing accuracy loss.

Innovation Solution

A neural network method and apparatus that adjusts quantization levels based on weighted entropy to optimize data processing, using techniques such as clustering and entropy-based logarithm data representation to minimize computational requirements and accuracy loss.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If neural network implementations use extensive computational operations on complex input data, then processing accuracy and reliability are improved, but computational resources and operational time requirements increase

Engineering Contradiction:
Improveprocessing accuracyVSAvoidcomputational efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent applies different quantization levels to different parts of the neural network data based on their importance. By calculating weighted entropy that considers both the frequency and magnitude of data values, the system assigns higher precision quantization to more important data elements and lower precision to less important ones, thereby maintaining processing accuracy while reducing overall computational resources required

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system dynamically adjusts quantization parameters (quantization levels) based on the statistical properties of the data. By computing weighted entropy from the data distribution and using this to determine optimal quantization levels, the system adapts the precision parameters to match the actual needs of the neural network operations, achieving efficient resource utilization

Inventive Principle:
Principle #35Parameter changes

2Reliability

If neural network implementations use extensive computational operations, then processing accuracy is improved, but operational time is extended

Engineering Contradiction:
Improveprocessing accuracyVSAvoidoperational time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies different quantization levels to different parts of the neural network data based on their importance. By calculating weighted entropy that considers both the frequency and magnitude of data values, the system assigns higher precision quantization to more important data elements and lower precision to less important ones, thereby maintaining processing accuracy while reducing overall computational resources required

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system performs quantization optimization as a preliminary step before actual neural network execution. By pre-calculating the weighted entropy and determining optimal quantization levels in advance, the system prepares efficiently optimized data representations that will speed up subsequent operations without sacrificing accuracy

Inventive Principle:
Principle #10Preliminary action

3Productivity

If standard quantization methods are used, then computational resources are reduced, but accuracy loss increases

Engineering Contradiction:
Improvecomputational efficiencyVSAvoidprocessing accuracy
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system dynamically adjusts quantization parameters (quantization levels) based on the statistical properties of the data. By computing weighted entropy from the data distribution and using this to determine optimal quantization levels, the system adapts the precision parameters to match the actual needs of the neural network operations, achieving efficient resource utilization

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The weighted entropy calculation provides feedback about the data distribution and importance characteristics. This feedback is used to iteratively determine optimal quantization levels that balance between reducing computational resources and maintaining processing accuracy, ensuring that quantization does not unnecessarily degrade model performance

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12511535B2Neural network method and apparatus
Publication Date: 2025.12.30 SAMSUNG ELECTRONICS CO LTD
  • US12511535B2 patent drawing
  • US12511535B2 patent drawing
  • US12511535B2 patent drawing

AI summary

Provided are a neural network method and an apparatus, the method including obtaining a set of floating point data processed in a layer included in a neural network, determining a weighted entropy based on data values included in the set of floating point data, adjusting quantization levels assigned to the data values based on the weighted entropy, and quantizing the data values included in the set of floating point data in accordance with the adjusted quantization levels.