English

DP-LLM: Runtime Model Adaptation with Dynamic Layer-wise Precision Assignment

Machine Learning 2025-12-09 v4 Artificial Intelligence

Abstract

How can we effectively handle queries for on-device large language models (LLMs) with varying runtime constraints, such as latency and accuracy? Multi-scale quantization addresses this challenge by enabling memory-efficient runtime model adaptation of LLMs through the overlaying of multiple model variants quantized to different bitwidths. Meanwhile, an important question still remains open-ended: how can models be properly configured to match a target precision or latency? While mixed-precision offers a promising solution, we take this further by leveraging the key observation that the sensitivity of each layer dynamically changes across decoding steps. Building on this insight, we introduce DP-LLM, a novel mechanism that dynamically assigns precision to each layer based on input values. Experimental results across multiple models and benchmarks demonstrate that DP-LLM achieves a superior performance-latency trade-off, outperforming prior approaches.

Keywords

Cite

@article{arxiv.2508.06041,
  title  = {DP-LLM: Runtime Model Adaptation with Dynamic Layer-wise Precision Assignment},
  author = {Sangwoo Kwon and Seong Hoon Seo and Jae W. Lee and Yeonhong Park},
  journal= {arXiv preprint arXiv:2508.06041},
  year   = {2025}
}

Comments

NeurIPS 2025

R2 v1 2026-07-01T04:40:26.976Z