Ultra-Low Bit Quantization for Edge Neural Networks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current machine learning models face limitations on edge devices due to insufficient processing power, high cost, and accuracy issues with low bit quantization, particularly in object detection tasks, where existing quantization techniques fail to provide satisfactory performance and latency on low-power hardware like ARM Cortex-A CPUs.

Innovation Solution

A runtime platform and quantization framework that enables 1 and 2-bit precision for object detection and classification models, using a mixed precision approach and custom ultra-low precision convolution operators to accelerate speed and memory throughput, and an end-to-end framework for deploying these models on Armv7 and Armv8 processors.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If low bit quantization (1-2 bits) is applied to neural networks on edge devices, then processing speed and energy efficiency are improved, but model accuracy deteriorates significantly

Engineering Contradiction:
Improveinference speedVSAvoidmodel accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent changes the precision parameter from traditional INT8 to ultra-low precision 1-2 bits, while introducing novel encoding schemes (ternary, quaternary, octary) and custom operators to maintain computational effectiveness. This parameter change enables edge device deployment while preserving acceptable accuracy through mathematical transformations that compensate for bit reduction.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent introduces custom ultra-low precision convolution operators and encoding schemes as intermediaries between the quantized weights/activations and the computation engine. These intermediaries translate 1-2 bit representations into effective computational operations, bridging the gap between extreme compression and functional performance.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If existing quantization frameworks (PTQ/QAT) are used, then some speedup is achieved, but they cannot overcome edge device limitations due to accuracy loss and lack of sub-8-bit support

Engineering Contradiction:
Improveinference speedVSAvoidaccuracy below threshold
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent employs computationally inexpensive operations (bitwise AND, XOR, population count) that can be executed efficiently on commodity hardware without requiring specialized instruction sets. These operations serve as disposable computational building blocks that achieve high throughput on standard edge devices.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

Solution Approach 2:

The patent creates a universal quantization framework that works across multiple neural network architectures (classification, object detection, segmentation) and can be deployed on various edge devices without custom hardware support. The framework provides multi-functional capability through framework-agnostic design and portable custom operators.

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

3Device complexity

If 1-bit or 2-bit precision is implemented, then model size and computational complexity are reduced, but hardware support and operator compatibility are lacking

Engineering Contradiction:
Improvemodel complexityVSAvoidhardware support
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The patent implements dynamic quantization where the precision and encoding scheme can be adjusted per layer or per operation based on sensitivity analysis. This dynamic approach allows the system to use 1-bit where possible and higher precision where needed, adapting to the specific requirements of different neural network components.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent replaces traditional floating-point arithmetic mechanisms with bitwise operations and logical computations. This substitution eliminates the need for specialized floating-point units and enables execution on simple integer-only processors, dramatically expanding hardware compatibility.

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

4Productivity

If handcrafted light weight models (MobileNet) are used, then device requirements are reduced, but performance and effectiveness are insufficient for many applications

Engineering Contradiction:
Improvedevice compatibilityVSAvoidapplication performance
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent applies quantization-aware training and preprocessing steps before deployment to prepare models for ultra-low precision execution. This preliminary action includes calibration, sensitivity analysis, and operator transformation, ensuring that models are optimized for 1-2 bit operation before being deployed on resource-constrained devices.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20240256842A1Ultra Low Bit Quantization And Neural Networks
Publication Date: 2024.08.01 DEEPLITE INC
  • US20240256842A1 patent drawing
  • US20240256842A1 patent drawing
  • US20240256842A1 patent drawing

AI summary

A system, method, and computer readable medium for deploying neural networks in low bit environments. The system comprises a runtime platform, a first set of configuration parameters identifying limitations of the runtime platform, and a quantization platform for quantizing neural networks. The quantization platform receives a neural network associated with a framework and quantizing the neural network into a smaller neural network and generates a dataset comprising a second set of configuration parameters for compiling the smaller neural network into instructions for the runtime platform. The second set of configuration parameters are responsive to the limitations of the first set of configuration parameters. The runtime environment implements the smaller neural network in accordance with the second set of configuration parameters.