Adaptive Bit-Width Neural Network Processing with Nested Weights

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing neural network models face inefficiencies in memory usage and processing speed due to fixed bit-width weights, which can be optimized for specific tasks but result in suboptimal performance when applied to varying processing demands.

Innovation Solution

A method and apparatus that adjust bit-widths of neural network weights based on processing characteristics, allowing for nested bit representations to optimize memory usage and performance by applying different bit-widths to different layers or networks, and using nested bit models to share memory space.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If fixed bit-width weights are used in neural networks, then memory usage is simplified and processing is faster, but adaptability to different processing demands deteriorates

Engineering Contradiction:
Improveprocessing speedVSAvoidadaptability to processing demands
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent implements dynamic bit-width adjustment where the bit-width of weights is not fixed but can be changed based on processing characteristics. Different layers or networks can use different bit-widths (e.g., 8-bit, 4-bit, 2-bit) depending on their specific requirements for speed and accuracy, allowing the system to adapt dynamically to varying processing demands while maintaining the benefits of fixed-point arithmetic.

Inventive Principle:
Principle #15Dynamics

2Measurement precision

If high bit-precision weights are used, then processing accuracy is improved, but memory efficiency deteriorates

Engineering Contradiction:
Improveprocessing accuracyVSAvoidmemory usage
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent applies different bit-widths to different layers or networks based on their specific requirements. Critical layers that require high accuracy use higher bit-widths (e.g., 8-bit), while less critical layers use lower bit-widths (e.g., 2-bit or 4-bit). This local differentiation optimizes the balance between accuracy and memory usage by allocating precision resources where they are most needed.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent changes the bit-width parameter of weights based on processing characteristics such as required accuracy, processing speed, and terminal performance. By adjusting this fundamental parameter, the system can optimize memory efficiency while maintaining adequate processing accuracy for each specific layer or task.

Inventive Principle:
Principle #35Parameter changes

3Quantity of substance

If nested bit representation is implemented, then memory efficiency is improved, but device complexity increases

Engineering Contradiction:
Improvememory efficiencyVSAvoidsystem complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent implements nested bit representation where weights of different bit-widths are stored in a nested manner. For example, 2-bit weights are nested within 4-bit weights, which are nested within 8-bit weights. This allows the system to share memory space across different precision requirements, improving memory efficiency while the nesting structure itself manages the complexity.

Inventive Principle:
Principle #7Nested doll (Nesting)

Data Source

PatentUS12443829B2Neural network processing method and apparatus based on nested bit representation
Publication Date: 2025.10.14 SAMSUNG ELECTRONICS CO LTD
  • US12443829B2 patent drawing
  • US12443829B2 patent drawing
  • US12443829B2 patent drawing

AI summary

A neural network processing method and apparatus based on nested bit representation is provided. The processing method includes obtaining first weights for a first layer of a source model of a first layer of a neural network, determining a bit-width for the first layer of the neural network, obtaining second weights for the first layer of the neural network by extracting at least one bit corresponding to the determined bit-width from each of the first weights for the first layer of a source model corresponding to the first layer of the neural network, and processing input data of the first layer of the neural network by executing the first layer of the neural network based on the obtained second weights.