Mixed-Precision Image Generation Models for Resource-Limited Hardware

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Machine learning models face challenges with overly large sizes and inefficient use of computing resources, making them unusable on resource-constrained hardware such as mobile devices and wearable devices.

Innovation Solution

Implementing mixed precision quantization, a two-stage training pipeline, and initialization strategies for quantized machine learning models to optimize layer precisions and reduce model size while improving resource usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If machine learning models use high precision floating point calculations, then image generation quality is improved, but model size and computing resource requirements increase

Engineering Contradiction:
Improveimage generation qualityVSAvoidmodel size
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent applies quantization to change the numerical precision parameter from standard floating point (32-bit or 64-bit) to lower precision formats (8-bit, 16-bit, or even 4-bit integers). This parameter change reduces model size and computing resource requirements while maintaining acceptable image generation quality through carefully designed quantization schemes that preserve critical numerical properties.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent employs mixed precision quantization where different parts of the model (different layers, different operations) use different precision levels. Critical operations that heavily impact image quality maintain higher precision, while less sensitive operations use lower precision. This local differentiation optimizes the balance between quality and resource efficiency.

Inventive Principle:
Principle #3Local quality

2Measurement precision

If machine learning models use high precision floating point calculations, then image generation quality is improved, but computing resource efficiency deteriorates

Engineering Contradiction:
Improveimage generation qualityVSAvoidcomputing resource efficiency
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent changes the computational precision parameter to reduce the energy and computing resources required for matrix multiplications and other operations. By using quantized integer arithmetic instead of floating point operations, the model consumes fewer computing resources while maintaining sufficient image generation quality.

Inventive Principle:
Principle #35Parameter changes

3Quantity of substance

If machine learning models are quantized to reduce model size, then resource efficiency is improved, but model performance deteriorates

Engineering Contradiction:
Improvemodel sizeVSAvoidmodel performance
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The patent carefully controls the quantization parameter changes to minimize performance loss. By using appropriate bit-widths and quantization strategies, the model achieves size reduction while preserving essential computational accuracy needed for reliable image generation.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent applies different quantization strategies to different parts of the model based on their sensitivity. Critical layers that heavily influence image quality maintain higher precision, while less sensitive layers use lower precision. This localized approach maintains overall model performance while achieving compression.

Inventive Principle:
Principle #3Local quality

4Device complexity

If uniform precision is applied to all layers, then implementation simplicity is improved, but resource efficiency deteriorates

Engineering Contradiction:
Improveimplementation simplicityVSAvoidresource efficiency
Core Design Contradiction:
Device complexityVSUse of energy by moving object

Solution Approach 1:

The patent implements mixed precision quantization where different layers use different precision levels based on their specific characteristics and sensitivity to quantization. This allows the model to optimize resource efficiency by applying lower precision where acceptable and maintaining higher precision where needed, rather than using a uniform precision approach.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS20260073280A1Automatic image generation using quantized models
Publication Date: 2026.03.12 SNAP INC
  • US20260073280A1 patent drawing
  • US20260073280A1 patent drawing
  • US20260073280A1 patent drawing

AI summary

Described is a system performing operations comprising deriving, based on an evaluation of variations of a first machine learning model, a second machine learning model, the second machine learning model having layers with precisions assigned based on the evaluation, training the second machine learning model to reduce error between a first test output generated by the first machine learning model based on a first test input and a second test output generated by the second machine learning model based on the first test input, training the second machine learning model to reduce error between a third test output generated by the second machine learning model based on a second test input and a ground truth output associated with the second test input, providing an input for the second machine learning model, and generating an output using the second machine learning model based on the input.