Post-Training Quantization and Grammar-Constrained Decoding for Edge Small Language Models: A Comprehensive Technical Survey and Analytical Taxonomy

Small language models (SLMs) with fewer than fourbillion parameters can now be executed entirely on commodityCPUs and mobile systems-on-chip, enabling private, offlineinference without per-token API fees. Two engineering obstaclesdominate such deployments: (i) the memory capacity and, aboveall, the memory bandwidth of edge hardware, which post-trainingquantization (PTQ) addresses; and (ii) the unreliability of freeform generation when an agentic workflow requires machineparseable output such as JSON tool calls, which grammarconstrained decoding (GCD) addresses. Although both topicsare individually well studied, they are rarely analyzed as a singleco-designed system. This survey analyzes 61 works, comprisingpeer-reviewed papers, preprints, official technical reports, formatspecifications, and runtime documentation, organized into sixthematic groups that span quantization, constrained decoding,SLM families, and the systems foundations that connect them. Wecontribute a two-branch architectural taxonomy that organizesPTQ into weight-only, weight–activation, and KV-cache schemesand organizes GCD into finite-state, pushdown, and parser-guidedmechanisms; a unified CPU reference pipeline that places memorymapped quantized weights, KV-cache management, and logit-levelgrammar masking in one data path; an analytical cost modelrelating bits-per-weight, KV-cache footprint, and vocabularydependent mask cost; and three comparative tables coveringquantization schemes, constrained-decoding engines, and sub-4BSLM families. We conclude with open challenges, including pertoken masking latency, transient memory in non-fused quantizedattention, hardware-aware co-design, and multilingual schemaextraction.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-26
DOI
https://doi.org/10.5281/zenodo.24566740
Primary Topic
Advanced Neural Network Applications
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Post-Training Quantization and Grammar-Constrained Decoding for Edge Small Language Models: A Comprehensive Technical Survey and Analytical Taxonomy

Muhammad Usman Raza
Zenodo (CERN European Organization for Nuclear Research)
Advanced Neural Network Applications
preprint

Post-Training Quantization and Grammar-Constrained Decoding for Edge Small Language Models: A Comprehensive Technical Survey and Analytical Taxonomy

Muhammad Usman Raza
preprint en

Abstract

Small language models (SLMs) with fewer than fourbillion parameters can now be executed entirely on commodityCPUs and mobile systems-on-chip, enabling private, offlineinference without per-token API fees. Two engineering obstaclesdominate such deployments: (i) the memory capacity and, aboveall, the memory bandwidth of edge hardware, which post-trainingquantization (PTQ) addresses; and (ii) the unreliability of freeform generation when an agentic workflow requires machineparseable output such as JSON tool calls, which grammarconstrained decoding (GCD) addresses. Although both topicsare individually well studied, they are rarely analyzed as a singleco-designed system. This survey analyzes 61 works, comprisingpeer-reviewed papers, preprints, official technical reports, formatspecifications, and runtime documentation, organized into sixthematic groups that span quantization, constrained decoding,SLM families, and the systems foundations that connect them. Wecontribute a two-branch architectural taxonomy that organizesPTQ into weight-only, weight–activation, and KV-cache schemesand organizes GCD into finite-state, pushdown, and parser-guidedmechanisms; a unified CPU reference pipeline that places memorymapped quantized weights, KV-cache management, and logit-levelgrammar masking in one data path; an analytical cost modelrelating bits-per-weight, KV-cache footprint, and vocabularydependent mask cost; and three comparative tables coveringquantization schemes, constrained-decoding engines, and sub-4BSLM families. We conclude with open challenges, including pertoken masking latency, transient memory in non-fused quantizedattention, hardware-aware co-design, and multilingual schemaextraction.

Zenodo (CERN European Organization for Nuclear Research)
Khwaja Fareed University of Engineering and Information Technology (PK)
Advanced Neural Network Applications
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.

Laika access coming soon
Post-Training Quantization and Grammar-Constrained Decoding for Edge Small Language Models: A Comprehensive Technical Survey and Analytical Taxonomy — Muhammad Usman Raza · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS