atlas

Research map / Large language models / Reasoning and chain of thought

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

NeurIPS 2025 · Large language models › Reasoning and chain of thought · approach: Efficient LLM serving · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DP-LLM, which dynamically assigns per-layer precision (between two adjacent bitwidths) at each decoding step using a cheap runtime estimate of relative quantization error, on top of Any-Precision LLM.

Problem

Runtime adaptation of on-device LLMs under varying latency/accuracy constraints via multi-scale quantization requires configuring an adaptation set; static (uniform or layer-wise) precision assignment ignores that layer quantization sensitivity changes across decoding steps.

Approach

Per-layer candidate precision pair (l, h) with a threshold on the relative error ||ΔWx|| computed per token; the threshold is set from a calibrated quantile and average precisions are fine-tuned with a target-precision regularizer; the error is estimated cheaply via linear regression on ||x|| or random projection (JL lemma), with asynchronous use of the previous residual input.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use dynamic layer-wise precision assignment instead of static HAWQ-V2 allocationDP-LLM on Llama-3-8B · WikiText2, 5-bit memory and target 3.50 bitsperplexity: 7.21 -> 7.00Helped
use dynamic layer-wise precision assignment instead of static HAWQ-V2 allocationDP-LLM on Llama-3-8B · C4, 5-bit memory and target 3.50 bitsperplexity: 11.41 -> 11.03Helped
use dynamic layer-wise precision assignment instead of static precision allocationDP-LLM on Llama-3-8B · MBPP, target 3.50 bitspass@1: 47.8 -> 50.4Helped
use dynamic layer-wise precision assignment instead of static precision allocationDP-LLM on Phi-3-Medium · MBPP, target 3.50 bitspass@1: 66.3 -> 65.8Hurt
use neighboring high and low precisions 4 and 5 rather than 3 and 5 (ablation)DP-LLM on Llama-3-8B · WikiText2, target 4.5-bit precisionperplexity: 6.55 -> 6.36Helped
replace approximate and asynchronous error estimation with exact error estimation (ablation)DP-LLM on Llama-3-8B · WikiText2, target 3.5-bit precisionperplexity: 7.00 -> 6.98No clear effect
add hybrid linear-regression estimation to random projection estimation (ablation)DP-LLM on Llama-3-8B · Jetson Orin AGX, effective bitwidth 3.5latency overhead: 5.04% -> 3.36%Helped
add asynchronous estimation to hybrid estimation (ablation)DP-LLM on Llama-3-8B · Jetson Orin AGX, effective bitwidth 3.5latency overhead: 3.36% -> 2.30%Helped
switch calibration set from C4 to WikiText2 (ablation)DP-LLM on Llama-3-8B · WikiText2, target 3.5-bit precisionperplexity: 7.00 -> 6.98Helped
switch calibration set from C4 to WikiText2 (ablation)DP-LLM on Llama-3-8B · C4, target 3.5-bit precisionperplexity: 11.03 -> 11.05Hurt

Surprising findings

Limitations

Experimental setup

Datasets: C4 WikiText2 Alpaca

Benchmarks: WikiText2 C4 GSM8K MBPP BBH MATH-500

Metrics: perplexity exact match pass@1 math_verify accuracy latency (TPOT)

Baselines: LLM-MQ HAWQ-V2

Builds on: Any-Precision LLM LLM-MQ HAWQ-V2 Johnson-Lindenstrauss lemma gpt-fast

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy