NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MobileQuant: Mobile-friendly Quantization for On-device Language Models

Fuwen Tan, Royson Lee, Lukasz Dudziak, Shell Xu Hu, Sourav Bhattacharya, Timothy M. Hospedales, Georgios Tzimiropoulos, Brais Martínez

Abstract

MobileQuant is a novel post-training quantization (PTQ) technique specifically engineered for the efficient deployment of Large Language Models (LLMs) on mobile hardware. By jointly optimizing weight transformations and activation ranges in an end-to-end pipeline, MobileQuant achieves near-lossless 8-bit quantization. This approach significantly reduces the "mobile tax," slashing latency and energy consumption by 20–50% on mobile Neural Processing Units (NPUs) while maintaining model accuracy.

Introduction

Deploying LLMs on edge devices like smartphones presents significant challenges due to high memory, compute, and energy requirements. Quantization—representing weights and activations with lower precision (e.g., 8-bit integers)—is the standard mitigation strategy. However, existing methods often fail to fully utilize mobile hardware. Weight-only quantization saves storage but still relies on energy-intensive floating-point calculations. Conversely, dynamic activation quantization, while effective at handling outliers, requires per-token scaling that is often unsupported by mobile-friendly NPUs or Digital Signal Processors (DSPs). MobileQuant addresses this by focusing on integer-only, static per-tensor quantization to unlock true on-device performance.

Methods

MobileQuant introduces a post-training quantization pipeline designed to be "NPU-ready." The core innovations include:

Weight Equivalent Transformation

Building on techniques like SmoothQuant, MobileQuant applies scaling factors to weights and activations to mitigate the impact of outliers. Unlike previous methods, this transformation is extended across all possible layers, including those separated by non-linearities such as LayerNorm.

Overview of the Weight Equalization Transformation process, showing the transition from standard layers to optimized, scale-adjusted layers.

Learning Activation Ranges (ARL)

Instead of relying on static min/max measurements of activations, which can shift during optimization, MobileQuant treats the quantization range as a learnable parameter. It optimizes scale ($\alpha$) and offset ($\beta$) parameters to identify the most quantization-friendly ranges.

End-to-End Optimization

MobileQuant moves beyond traditional layer-by-layer (block-wise) optimization. By jointly optimizing weight transformations, clipping parameters, and activation ranges across the entire model, the method scales effectively with increased calibration data and training steps, bridging the gap between PTQ and more expensive Quantization-Aware Training (QAT).

Experimental Setup

The researchers evaluated MobileQuant using a subset of The Pile for calibration. Performance was measured across standard benchmarks, including WikiText (perplexity), ARC-Challenge, HellaSwag, MMLU, and LAMBADA. The study targeted lightweight architectures: TinyLLaMA-1.1B, StableLM-2-1.6B, and Gemma-2B.

Key Results and Insights

Experiments conducted on a Samsung Galaxy S24 (Snapdragon 8 Gen 3) revealed several key findings:

  • Near-Lossless Accuracy: In the W8A8 configuration, MobileQuant achieved performance nearly identical to original 16-bit floating-point models.
  • Efficiency Gains: Compared to standard W8A16 on-device strategies, MobileQuant reduced latency and energy consumption by 20% to 50%.
  • Prompt Encoding Speedup: The 8-bit activation support was particularly effective during the prompt encoding phase, reducing latency for a 256-token sequence on TinyLLaMA from 510ms to 276ms.

Performance in Extreme Quantization

While 8-bit quantization is near-lossless, the researchers also explored 4-bit weights (W4A8). As shown in the results, the mobile-optimized approach significantly outperforms static baselines, though a gap remains compared to full precision.

W4A8 quantization results on WikiText perplexity, comparing the proposed mobile-optimized approach against static baselines.

Limitations and Future Work

Despite its success, MobileQuant has areas for further development. The current study focused on 1B–2B parameter models; future work will explore scaling to 7B+ models. Additionally, some non-linear operations (Softmax, LayerNorm) currently remain in 16-bit to preserve accuracy. Finally, closing the accuracy gap for extreme quantization levels like W4A8 remains a priority for future iterations.

Summary updated

BibTeX
@inproceedings{tan2024mobilequant,
  author = {Fuwen Tan and Royson Lee and Lukasz Dudziak and Shell Xu Hu and Sourav Bhattacharya and Timothy M. Hospedales and Georgios Tzimiropoulos and Brais Martínez},
  title = {{MobileQuant: Mobile-friendly Quantization for On-device Language Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.570},
}
Figure