Skip to main content
QUICK REVIEW

[Paper Review] An Empirical Study of Low Precision Quantization for TinyML

Shaojie Zhuo, Hongyu Chen|arXiv (Cornell University)|Mar 10, 2022
Advanced Image and Video Retrieval TechniquesComputer Science12 citations
TL;DR

This paper presents a comprehensive empirical benchmark of post-training quantization (PTQ) for tinyML models, using a unified simulation framework to evaluate low-bit (1–8-bit) quantization across diverse tinyML workloads. It identifies 4W4A as a sweet spot for balancing memory/computation savings (50% and 75%) with minimal accuracy drop (<5%), while revealing key design choices—like opt_round and layerwise optimization—that significantly improve low-precision quantization performance.

ABSTRACT

Tiny machine learning (tinyML) has emerged during the past few years aiming to deploy machine learning models to embedded AI processors with highly constrained memory and computation capacity. Low precision quantization is an important model compression technique that can greatly reduce both memory consumption and computation cost of model inference. In this study, we focus on post-training quantization (PTQ) algorithms that quantize a model to low-bit (less than 8-bit) precision with only a small set of calibration data and benchmark them on different tinyML use cases. To achieve a fair comparison, we build a simulated quantization framework to investigate recent PTQ algorithms. Furthermore, we break down those algorithms into essential components and re-assembled a generic PTQ pipeline. With ablation study on different alternatives of components in the pipeline, we reveal key design choices when performing low precision quantization. We hope this work could provide useful data points and shed lights on the future research of low precision quantization.

Motivation & Objective

  • To fairly evaluate recent post-training quantization (PTQ) algorithms on tinyML models with limited resources.
  • To identify critical design choices in PTQ pipelines that impact accuracy and efficiency in low-precision settings.
  • To quantify the trade-off between model accuracy, memory consumption, and computation cost when quantizing to ultra-low precision (1–4 bits).
  • To provide actionable insights for future research and system-level support in tinyML deployment.

Proposed method

  • A simulated quantization framework is developed to enable fair, reproducible comparison of PTQ algorithms across multiple models and bit-widths.
  • A generic, modular PTQ pipeline is constructed by decomposing algorithms into core components: quantization scheme, initialization method, optimization strategy, and post-processing.
  • The pipeline supports symmetric per-channel weight quantization and asymmetric per-tensor activation quantization, with configurable options for calibration and optimization.
  • Ablation studies systematically evaluate component alternatives (e.g., opt_round vs. straight-through, MSE vs. L2 initialization) to isolate performance impacts.
  • End-to-end accuracy, memory, and computation savings (measured via BOP and peak memory) are reported across 8-bit to 2-bit quantization levels.
  • The framework enables data-free and small-calibration-data PTQ, emulating real-world tinyML deployment constraints.

Experimental results

Research questions

  • RQ1How do recent PTQ algorithms perform when quantizing tinyML models to low-bit precision (1–8 bits)?
  • RQ2What are the key algorithmic components that most influence quantization accuracy in low-precision settings?
  • RQ3What is the trade-off between model accuracy, memory footprint, and computation cost when using ultra-low precision (e.g., 2W2A) in tinyML?
  • RQ4Can 4W4A be considered a practical sweet spot for memory and computation savings with minimal accuracy degradation?

Key findings

  • The 4W4A quantization level achieves approximately 50% memory saving and 75% computation saving (measured via BOP) with less than 5% accuracy drop across most tinyML models.
  • For CIFAR10, the best PTQ pipeline achieves 69.40% accuracy at 2W2A, representing a 17.5% accuracy drop from the full-precision baseline.
  • The opt_round quantization optimization consistently outperforms standard rounding, especially at ultra-low bit-widths, indicating its importance in minimizing quantization noise.
  • Layerwise optimization with bias tuning significantly improves accuracy, particularly in deeper or more complex tinyML architectures.
  • Some models, like the UCI-HAR CNN, tolerate 2W2A quantization with less than 2% accuracy drop, suggesting model/task-specific robustness.
  • Existing inference frameworks (e.g., TensorFlow Lite Micro, STM32Cube.AI) lack native support for sub-8-bit quantization, creating a critical gap for ultra-low-precision deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.