Use ONLY What You Need: Predictable Inference Through Format-Aware Quantization
Deploying language models on resource-constrained edge hardware requires navigating simultaneous constraints on storage, RAM, and inference latency. Existing quantization formats GGUF, GPTQ, AWQ treat quantization as a uniform post-hoc transformation and embed no information about the deployment context in the artifact itself. We present EAQF (Edge-Aware Quantized Format), a self-describing model artifact that combines (1) sensitivity-driven mixed-precision quantization, (2) per-artifact hardware target metadata, (3) KV-cache policy hints, and (4) runtime execution parameters. The associated EAQ4 quantization type uses block-wise Normal Float 4-bit coding (NF4, block size 128) for bulk tensors and INT8 for a small set of high-sensitivity tensors identified via per-tensor ablation. On Qwen3 0.6B, EAQF-MP achieves a 3.00× compression over FP16 (379 MB) with a 13.5% perplexity degradation and is 24% smaller than GGUF Q4 K M while Pareto dominating a naive FP16-embed baseline on both quality and size. These results generalise to Llama-3.2-1B (12.1% degradation at 3.02× compression) and Phi 3.5-mini-instruct (3.8B parameters, 3.56× compression at 2,050 MB). A native C inference engine reading EAQF directly via memory-mapped I/O achieves 74 MB peak RSS (34× lower than Hugging Face Transformers) on Qwen3-0.6B and 29 MB RSS delta on Phi-3.5-mini at 8.0 tok/s, validating deployment on hardware with <100 MB available RAM. All findings are validated across three distinct model families (596M Qwen3, 1.24B Llama, 3.8B Phi-3.5), and the sensitivity-driven tier assignment heuristic is confirmed to be portable across all three.
Authors
- Nathan Aldyth Prananta Ginting (ORCID: https://orcid.org/0009-0002-8492-8094)
Institutions
- Mercedes-Benz (Germany) (DE)
Publication Details
- Journal
- Research Square
- Published
- 2026-12-01
- DOI
- https://doi.org/10.21203/rs.3.rs-11924235/v1
- Primary Topic
- Advanced Neural Network Applications
- Type
- preprint