Asymmetric Quantization Compilation with Combined Bias

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing neural network models face challenges in balancing computational accuracy and hardware design concerns due to asymmetric quantization, which increases circuit critical path, latency, power consumption, and hardware cost.

Innovation Solution

A compiler converts asymmetric operations in neural network models into symmetric operations by merging zero points and scaling factors into combined bias values, reducing hardware requirements and bit width.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If asymmetric quantization is used to fully utilize the quantized fixed-point range and reduce quantization error, then computational accuracy is improved, but hardware complexity increases due to additional zero point hardware logic

Engineering Contradiction:
Improvecomputational accuracyVSAvoidhardware complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent merges the zero point adjustment operation with the existing multiplication operation in the neural network layer. By combining these two operations into a single multiply-accumulate unit, the hardware complexity is reduced while maintaining the ability to perform asymmetric quantization. The merged operation eliminates the need for separate zero point addition hardware logic.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent creates a universal neural network layer that can handle both symmetric and asymmetric quantization cases through a single hardware design. The layer uses a unified multiply-accumulate operation that can accommodate different quantization schemes without requiring separate hardware paths, thereby reducing overall hardware complexity while maintaining computational accuracy.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Measurement precision

If asymmetric quantization is used to map floating-point range to fixed-point range, then quantization error is reduced, but circuit critical path increases and maximum frequency is limited

Engineering Contradiction:
Improvequantization accuracyVSAvoidmaximum frequency
Core Design Contradiction:
Measurement precisionVSSpeed

Solution Approach 1:

The patent combines multiple operations into a single critical path operation, reducing the number of sequential steps. By merging zero point adjustment with multiplication, the circuit critical path is shortened, allowing higher operating frequencies while maintaining the accuracy benefits of asymmetric quantization.

Inventive Principle:
Principle #5Merging (Combining)

3Measurement precision

If asymmetric quantization is used to fully utilize quantized bits, then computational accuracy is improved, but power consumption increases

Engineering Contradiction:
Improvecomputational accuracyVSAvoidpower consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent reduces power consumption by merging operations that would otherwise require separate hardware units. The unified multiply-accumulate operation performs multiple functions simultaneously, reducing the overall hardware area and power consumption while maintaining the computational accuracy needed for fully utilizing quantized bits.

Inventive Principle:
Principle #5Merging (Combining)

4Measurement precision

If asymmetric quantization is used to map floating-point range to fixed-point range, then quantization error is reduced, but hardware cost increases

Engineering Contradiction:
Improvequantization accuracyVSAvoidhardware cost
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent reduces hardware cost by combining multiple hardware components into a single integrated unit. The merged multiply-accumulate operation eliminates the need for separate zero point adjustment hardware, reducing chip area and manufacturing cost while maintaining the quantization accuracy benefits.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent designs a universal neural network layer that can handle both symmetric and asymmetric quantization with the same hardware architecture. This multi-functionality eliminates the need for separate hardware implementations, reducing overall hardware cost while maintaining quantization accuracy.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS12430542B2Compiling asymmetrically-quantized neural network models for deep learning acceleration
Publication Date: 2025.09.30 MEDIATEK INC
  • US12430542B2 patent drawing
  • US12430542B2 patent drawing
  • US12430542B2 patent drawing

AI summary

A system receives a neural network model that includes asymmetric operations. Each asymmetric operation includes one or more fixed-point operands that are asymmetrically-quantized from corresponding floating-point operands. The system compiles a given asymmetric operation of the neural network model into a symmetric operation that includes a combined bias value. A compiler computes the combined bias value is a constant by merging at least zero points of input and output of the given asymmetric operation. The system then generates a symmetric neural network model including the symmetric operation for inference hardware to execute in fixed-point arithmetic.