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

Progressive Mixed-Precision Decoding for Efficient LLM Inference

Hao Mark Chen, Fuwen Tan, Alexandros Kouris, Royson Lee, Hongxiang Fan, Stylianos Venieris

TL;DR

This paper introduces Progressive Mixed-Precision Decoding (PMPD), a novel quantization strategy for Large Language Model (LLM) inference. PMPD applies higher precision during the prompt prefill phase and early decoding, then progressively lowers weight precision as generation continues. By matching precision to the varying error resilience of different inference stages, PMPD achieves massive speedups (up to 12.2× on GPU linear layers) while preserving output quality, making it highly effective for deploying LLMs on edge devices.

The Challenge of LLM Deployment

Deploying LLMs on edge or mobile devices is severely bottlenecked by massive memory and computational requirements. Post-Training Quantization (PTQ) helps by shrinking weights to 2 or 3 bits, but applying this uniformly across the entire inference process severely degrades model performance.

The authors identify that existing uniform quantization methods ignore the distinct computational patterns of LLM inference. The prefill phase (processing the input prompt) is compute-bound and highly sensitive to errors. Conversely, the decoding phase (generating tokens one-by-one) is heavily memory-bound and more resilient to approximations. By treating these phases identically, standard quantization leaves significant performance and efficiency on the table.

Progressive Mixed-Precision Decoding (PMPD)

To address these inefficiencies, the authors propose Progressive Mixed-Precision Decoding (PMPD). This method dynamically adjusts weight precision based on the inference phase and the depth of the generated sequence. It leverages "Any-Precision LLM" techniques, allowing a single set of weights to be interpreted at multiple precisions without storing redundant copies of the model.

PMPD Overview

The approach relies on two core techniques:

  1. Phase-Aware Precision Allocation: PMPD uses higher precision (e.g., 3-bit or 4-bit) during the prefill phase to ensure high-quality context extraction. It then shifts to lower precision (e.g., 2-bit) during the memory-bound decoding phase to maximize memory bandwidth utilization.
  2. Progressive Precision Lowering: During decoding, earlier tokens are generated with higher precision to prevent error accumulation. As the sequence gets longer, the system progressively switches to lower precision weights.

To decide when to switch precisions during decoding, the authors introduce two schedulers:

  • Prompt-Agnostic Static Scheduler: Optimized offline using a calibration dataset (like C4), this scheduler finds a fixed, task-specific schedule for lowering precision.
  • Task-Agnostic Learned Scheduler: A lightweight neural network that uses the prefilled KV cache to dynamically predict optimal precision-switching points for each specific prompt at runtime, eliminating the need for task-specific validation data.

Key Insights

  • Prefill dictates generation quality: A high-quality KV cache extracted during the prefill phase acts as a strong steering mechanism for the rest of the generation. Using 3-bit weights for prefill and 2-bit for decoding dramatically outperforms uniform 2-bit quantization, rescuing the model's instruction-following and reasoning abilities.
  • Early tokens matter more: Tokens generated early in the autoregressive sequence are highly sensitive to quantization errors, aligning with the "attention sink" phenomenon. Using high precision for the first half of the generated sequence and low precision for the second half yields performance nearly identical to using high precision throughout.
  • The KV Cache predicts resilience: The KV cache from the last attention block is an excellent feature for the Learned Scheduler. It effectively captures contextual information, allowing the scheduler to accurately predict when a specific prompt can tolerate a drop in precision.

Results and Performance

The researchers evaluated PMPD across diverse tasks, including news summarization (CNN/DM), dialogue summarization (Dialogsum), translation (IWSLT), and open-ended QA (MT-Bench).

  • Algorithmic Performance: PMPD achieves lossless performance on CNN/DM and Dialogsum while reducing the average bitwidth by up to 33%. In some cases, it slightly outperforms the high-precision baseline (up to +2.4%). On complex open-ended tasks (MT-Bench), the Learned Scheduler consistently beats Dense-and-Sparse (DNS) quantization baselines at the same average bitwidth, scoring 13.9–18.4% higher Rouge-L.
  • Hardware Acceleration: On NVIDIA RTX 4090 and A40 GPUs, PMPD achieves a 1.4× to 12.2× speedup in LLM linear layer computations compared to fp16 models, and up to 1.41× over uniform quantization.
  • NPU Throughput: When simulated on an LLM-optimized NPU (FlightLLM), PMPD delivers a 3.8× to 8.0× throughput gain over fp16, reaching >50 tokens/s for mobile-grade LLMs (like MobileLLaMA-1.4B) and >15 tokens/s for Vicuna-7B.

Limitations and Future Work

While GPU kernel execution is highly accelerated by PMPD, the CPU-side processes for launching these mixed-precision kernels frequently become a bottleneck, resulting in suboptimal end-to-end GPU utilization. To mitigate this CPU bottleneck, the authors suggest leveraging CUDA Graphs to launch multiple GPU operations simultaneously in future research.

Summary updated

BibTeX
@inproceedings{chen2025progressive,
  author = {Hao Mark Chen and Fuwen Tan and Alexandros Kouris and Royson Lee and Hongxiang Fan and Stylianos Venieris},
  title = {{Progressive Mixed-Precision Decoding for Efficient LLM Inference}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=OVxmpus9NA},
}
Figure