AI Model Quantization via Structure Search for Edge Deployment

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The deployment of complex AI models on terminal devices with limited computing resources is hindered by high hardware requirements and the need for manual, model-specific quantization, which affects quantization speed and generality.

Innovation Solution

A general quantization method that involves structure search and the use of fake operators, including quantization and dequantization operators, to automatically optimize AI models for low-precision processing, reducing labor costs and improving quantization speed while maintaining generality.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If manual quantization methods are used to deploy AI models on terminal devices, then model precision can be maintained, but code invasiveness increases and quantization speed decreases

Engineering Contradiction:
Improvemodel precisionVSAvoidquantization speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system performs self-service by automatically searching for quantization schemes without manual intervention. The structure search mechanism autonomously explores different quantization configurations and selects optimal schemes, eliminating the need for manual code modification while maintaining model precision.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

A structure search mechanism acts as an intermediary between the AI model and quantization process. This mediator automatically analyzes model structures, identifies suitable quantization schemes, and applies them without direct manual intervention, thereby improving quantization speed while preserving precision.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If manual quantization is performed for different model structures, then model precision can be maintained, but code reusability decreases and labor costs increase

Engineering Contradiction:
Improvemodel precisionVSAvoidquantization generality
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The structure search mechanism provides universal quantization capability that works across different AI model structures. By automatically adapting to various model types without requiring manual intervention for each specific structure, the system achieves both precision maintenance and quantization generality.

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

Solution Approach 2:

The system changes parameters automatically through structure search rather than manual configuration. The quantization scheme parameters are dynamically adjusted based on model structure analysis, enabling the same quantization framework to work universally across different models while maintaining optimal precision for each.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If AI models with larger weight parameters are used, then model performance improves, but hardware requirements and energy consumption increase

Engineering Contradiction:
Improvemodel performanceVSAvoidenergy consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The system changes the precision parameters of model weights through automatic quantization. By converting high-precision floating-point parameters to lower-precision representations, the system reduces energy consumption and hardware requirements while maintaining model performance through structure-search-based optimization.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent replaces complex high-precision computational mechanics with simpler low-precision operations. Through automatic quantization, the system substitutes resource-intensive floating-point calculations with more efficient integer or reduced-precision operations, reducing energy consumption while preserving model performance.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS20250363103A1Data processing method, computer device, and storage medium
Publication Date: 2025.11.27 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US20250363103A1 patent drawing
  • US20250363103A1 patent drawing
  • US20250363103A1 patent drawing

AI summary

A data processing method includes: performing, when obtaining an initial model, structure search on the initial model to obtain a model structure diagram of the initial model; quantizing, based on a type of a target structure in the model structure diagram of the initial model, the target structure of the initial model by applying a fake operator for quantization, the fake operator comprising a quantization operator and a dequantization operator; and obtaining, based on the quantized initial model, a service model for service processing.