Latency-Critical Quantized Inference With Transformer Decoders on ARM and RISC-V CPUs

Large language models are transforming industries but face challenges due to their high computational and energy demands. Model compression via quantization mitigates these barriers by reducing the bit precision of parameters and arithmetic operations, enabling deployment on resource-constrained devices like smartphones and edge platforms. This paper focuses on quantization applied to transformer decoders, which are critical for tasks such as text generation and conversational artificial intelligence. Unlike encoders, decoders are constrained by memory due to their sequential processing nature and low arithmetic intensity. We propose optimizations targeting inference on low-power CPUs, emphasizing efficient linear layers with quantized data/arithmetic and cache optimization. Using two representative ARM and RISC-V platforms, we present optimized mixed-precision implementations of the matrix multiplication that outperform the instance of that computational kernel in popular libraries such as BLIS, XNNPACK and ARMCL. This work thus advances the understanding of the impact of quantization on transformer decoder efficiency, energy consumption and precision in edge environments.

Authors

Institutions

Publication Details

Journal
IEEE Internet of Things Journal
Published
2025-04-14
DOI
https://doi.org/10.1109/jiot.2025.3560382
Citations
3
Primary Topic
Neural Networks and Applications
Type
article
Field-Weighted Citation Impact
7.44

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Latency-Critical Quantized Inference With Transformer Decoders on ARM and RISC-V CPUs

Sandra Catalán, Jose I. Mestre, Enrique S. Quintana–Ort́ı, Hèctor Martínez et al.
3 citations
IEEE Internet of Things Journal
Neural Networks and Applications
7.44
article

Latency-Critical Quantized Inference With Transformer Decoders on ARM and RISC-V CPUs

Sandra Catalán, Jose I. Mestre, Enrique S. Quintana–Ort́ı, Hèctor Martínez, Adrián Castelló
article en
3 citations

Abstract

Large language models are transforming industries but face challenges due to their high computational and energy demands. Model compression via quantization mitigates these barriers by reducing the bit precision of parameters and arithmetic operations, enabling deployment on resource-constrained devices like smartphones and edge platforms. This paper focuses on quantization applied to transformer decoders, which are critical for tasks such as text generation and conversational artificial intelligence. Unlike encoders, decoders are constrained by memory due to their sequential processing nature and low arithmetic intensity. We propose optimizations targeting inference on low-power CPUs, emphasizing efficient linear layers with quantized data/arithmetic and cache optimization. Using two representative ARM and RISC-V platforms, we present optimized mixed-precision implementations of the matrix multiplication that outperform the instance of that computational kernel in popular libraries such as BLIS, XNNPACK and ARMCL. This work thus advances the understanding of the impact of quantization on transformer decoder efficiency, energy consumption and precision in edge environments.

IEEE Internet of Things JournalVol. 12(13)
Universitat Jaume I (ES), Valve (United States) (US), Universitat Politècnica de Catalunya (ES)
Generalitat Valenciana, Universitat Jaume I, Ministerio de Ciencia e Innovación, Junta de Andalucía
Affordable and clean energy
Openalex Percentile: Top 4%
Neural Networks and Applications
7.44
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.