Papers › NeUQI: Near-Optimal Uniform Quantization Parameter Initialization

NeUQI: Near-Optimal Uniform Quantization Parameter Initialization

23 May 2025arXiv:2505.17595archive 2025-07-28

Li Lin, Xinyu Hu, Xiaojun Wan

Large language models (LLMs) achieve impressive performance across domains but face significant challenges when deployed on consumer-grade GPUs or personal devices such as laptops, due to high memory consumption and inference costs. Post-training quantization (PTQ) of LLMs offers a promising solution that reduces their memory footprint and decoding latency. In practice, PTQ with uniform quantization representation is favored for its efficiency and ease of deployment since uniform quantization is widely supported by mainstream hardware and software libraries. Recent studies on ≥2-bit uniform quantization have led to noticeable improvements in post-quantization model performance; however, they primarily focus on quantization methodologies, while the initialization of quantization parameters is underexplored and still relies on the suboptimal Min-Max strategies. In this work, we propose NeUQI, a method devoted to efficiently determining near-optimal initial parameters for uniform quantization. NeUQI is orthogonal to prior quantization methodologies and can seamlessly integrate with them. The experiments with the LLaMA and Qwen families on various tasks demonstrate that our NeUQI consistently outperforms existing methods. Furthermore, when combined with a lightweight distillation strategy, NeUQI can achieve superior performance to PV-tuning, a much more resource-intensive approach.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2505.17595")

Code

Syntology Ran 6 of 20 code samples harvested from 1 repository linked to this paper; 14 have no recorded run. Of those that ran: 2 ran · honoured contract; 3 ran · fixture could not drive it; 1 ran with no contract checked.

By repository: official repository: 20 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

efsotr/NeUQI officialmentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 6 ran; 2 honoured the contract we drafted; 14 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
3ran · fixture could not drive it
1ran
14unverified

Licence: 20 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from efsotr/NeUQI. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

LDL_decompose efsotr/NeUQI/quant.py official repository ran · fixture could not drive it no licence file found · pointer only · b8a46394b93f0ec9 · report
QuantArgs efsotr/NeUQI/quant.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · e772068e47cfabbe · report
pack efsotr/NeUQI/quant.py official repository ran · fixture could not drive it no licence file found · pointer only · fb688eae460ef923 · report
pack_2bit efsotr/NeUQI/quant.py official repository ran · honoured contract no licence file found · pointer only · b6ea74acf9176a75 · report
pack_4bit efsotr/NeUQI/quant.py official repository ran · honoured contract no licence file found · pointer only · e0d45e3336fcba5d · report
pack_xbit efsotr/NeUQI/quant.py official repository ran · fixture could not drive it no licence file found · pointer only · 4f65753ca593f5e5 · report
LDLQ efsotr/NeUQI/quant.py official repository unverified no licence file found · pointer only · 2c15783925d9f368 · report
LDLQ_quant efsotr/NeUQI/quant.py official repository unverified no licence file found · pointer only · 8f26a3c74d358ac9 · report
LDLQ_quant_w_raw efsotr/NeUQI/quant.py official repository unverified no licence file found · pointer only · b39e64d2ee81dd96 · report
QuantMethod efsotr/NeUQI/quant.py official repository unverified no licence file found · pointer only · 3455f636236fb620 · report
UniformQuantizer efsotr/NeUQI/quant.py official repository unverified no licence file found · pointer only · 89855916096605c6 · report
dquant_int efsotr/NeUQI/quant.py official repository unverified no licence file found · pointer only · 711f0246a370e08c · report
find_zp_matrix_fast efsotr/NeUQI/quant.py official repository unverified no licence file found · pointer only · 8dd338ca62d63154 · report
grid_zp efsotr/NeUQI/quant.py official repository unverified no licence file found · pointer only · 1d6db47ff863139a · report
info_once efsotr/NeUQI/quant.py official repository unverified no licence file found · pointer only · 3e606a7679a2e099 · report
quant efsotr/NeUQI/quant.py official repository unverified no licence file found · pointer only · 6b16b0445cc4c7cd · report
quant_diag_loss efsotr/NeUQI/quant.py official repository unverified no licence file found · pointer only · e8d93739c30d8b78 · report
quant_int efsotr/NeUQI/quant.py official repository unverified no licence file found · pointer only · 9cdab24fd487eb59 · report
quant_loss efsotr/NeUQI/quant.py official repository unverified no licence file found · pointer only · 51557cc1ab03a2d0 · report
quant_random efsotr/NeUQI/quant.py official repository unverified no licence file found · pointer only · 44c83521b75f0388 · report

Tasks

Quantization

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

FocusLLaMA

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections