Vector Quantization Upscaling for Integer ML Inference

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional vector quantization techniques face challenges in being implemented efficiently on resource-constrained devices due to reliance on custom kernels and floating-point computations, which are power-consuming and compute-inefficient, limiting their applicability on devices like smartphones and laptops.

Innovation Solution

Implement compute-efficient vector quantization techniques that use integer arithmetic and upscaling operations to convert per-block quantization to per-channel quantization, enabling efficient implementation on existing hardware without custom kernels, reducing computational expense and power consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If conventional vector quantization techniques are used, then model footprint is reduced, but computational efficiency and power consumption are worsened due to reliance on custom kernels and floating-point computations

Engineering Contradiction:
Improvemodel footprintVSAvoidcomputational efficiency
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The patent changes the numerical representation parameters of weight tensors from floating-point to integer formats, and transforms the quantization granularity from per-block to per-channel. This parameter transformation enables the use of standard integer arithmetic operations instead of floating-point computations, significantly improving computational efficiency and reducing power consumption while maintaining model compression benefits

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent substitutes custom kernel implementations with standard hardware-supported operations. By replacing specialized floating-point computation mechanisms with conventional integer arithmetic operations that are natively supported by existing hardware, the system eliminates the need for custom kernels while maintaining quantization functionality

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

2Quantity of substance

If conventional vector quantization techniques are used, then model footprint is reduced, but device compatibility is worsened due to requirement for custom kernels

Engineering Contradiction:
Improvemodel footprintVSAvoiddevice compatibility
Core Design Contradiction:
Quantity of substanceVSAdaptability or versatility

Solution Approach 1:

The patent makes the quantization approach universally compatible with existing hardware by using per-channel quantization with integer arithmetic. This universal approach works across different device types and hardware configurations without requiring device-specific custom kernels, thereby improving adaptability while maintaining model compression

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

3Manufacturing precision

If per-block quantization is used, then computational precision is reduced, but compute efficiency is improved through lower precision operations

Engineering Contradiction:
Improvecomputational precisionVSAvoidpower consumption
Core Design Contradiction:
Manufacturing precisionVSUse of energy by stationary object

Solution Approach 1:

The patent optimizes the precision parameter by using per-channel quantization instead of per-block quantization. This intermediate precision level maintains better computational accuracy than per-block methods while still using integer arithmetic that consumes less power than floating-point operations, achieving an optimal balance between precision and energy efficiency

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20260010784A1Compute-efficient vector quantization in machine learning models
Publication Date: 2026.01.08 QUALCOMM INC
  • US20260010784A1 patent drawing
  • US20260010784A1 patent drawing
  • US20260010784A1 patent drawing

AI summary

Certain aspects of the present disclosure provide techniques and apparatus for machine learning. In an example method, a weight tensor for a layer of a machine learning model is determined, where the weight tensor comprises per-block values in a first precision encoding. The weight tensor is upscaled to a second precision encoding having a higher precision than the first precision encoding to generate an upscaled weight tensor, and an input tensor for the layer of the machine learning model is accessed. An output tensor for the layer of the machine learning model is generated based on multiplying the upscaled weight tensor with the input tensor.