AutoEMatic: Runtime-Adaptive Mixed-Precision LLM Inference via Automatic Exponent-Mantissa Refinement

Ramachandran, Akshat, Elangovan, Reena, Venkatesan, Rangharajan, Sakr, Charbel, Blankevoort, Tijmen, Khailany, Brucek, Krishna, Tushar

–arXiv.org Artificial Intelligence 

Akshat Ramachandran 1 Reena Elangovan 2 Rangharajan Venkatesan 2 Charbel Sakr 2 Tijmen Blankevoort 2 2 1Brucek Khailany Tushar Krishna ABSTRACT Existing LLM post-training quantization techniques determine precision before inference begins, yet the precision a model requires varies dynamically across prompts, layers, and inference phases. A lightweight policy selects each layer's precision at every prefill and decode step from two runtime signals: the entropy of the next-token distribution and the magnitude of each layer's update to its hidden states. This runtime adaptation is made practical by AutoFP, a multi-scale floating-point format that derives 2-, 4-, and 6-bit precisions from a single NVFP4 base format. We realize AutoEMatic on two targets: GPU kernels that execute AutoFP on NVFP4 Tensor Cores, and an accelerator whose vector MAC datapath executes all AutoFP formats natively. Across reasoning and agentic benchmarks, AutoEMatic improves accuracy by up to 21.7% over NVFP4 and matches group-scaled FP6 accuracy on most benchmarks, using 4.9bits per weight versus 4.5for NVFP4. On GB300 GPUs, AutoEMatic retains approximately 90-98%of NVFP4 decode throughput across the evaluated configurations. Furthermore, the AutoEMatic accelerator reduces latency by 1.6-2.3 and energy by 7-23% compared to an accelerator with NVFP4-only datapath at iso-accuracy. 1 INTRODUCTION AI, driven by LLMs, is reaching an inflection point as the focus shifts from training to efficient inference at scale. Rising request volumes and long-horizon agentic workloads (Kariyappa & Suh, 2026) strain inference infrastructure in compute, memory bandwidth, and energy. Post-training quantization (PTQ) techniques improve inference efficiency by lowering the precision of weights, activations, or KV cache. Existing PTQ techniques (Lu et al., 2026; NVIDIA ModelOpt, 2025), however, employ static precision assignments, determined before the start of inference rather than These numerical demands vary dynamicallycision during decoding but stores separate quantized weight with the prompt, between prefill and decode, and from onecopies. Multi-scale quantization (Nair et al., 2025) avoids decoding step to the next. Therefore, a static assignmentthese copies by nesting several precisions within one integer over-provisions precision where it is unnecessary and vice-bit layout whose width equals the highest supported preciversa.