跳到正文
arXiv (AI + Vision + Imaging)· Giuseppe Pappalardo·· 1 天前AI 评分36

量化LLM中被静默token的估算方法

Estimating Silenced Tokens in Quantized LLMs

AI 导读

研究提出一种可扩展方法,估算量化后输出头会静默多少token——即贪心解码永远无法生成的词,通过方向性、上界与精确匹配三项检查给出经认证的计数区间,在低至3比特的多数设置下区间两端重合、计数精确。

正文 · 原文

arXiv:2611.29536v1 Announce Type: new Abstract: Quantization is the standard way to shrink large language models, and it is usually judged by perplexity and task accuracy. We ask a different question: after quantization, which words can the model still say at all? A token is silenced when no hidden state can make it the top choice of the output layer, so a greedy decoder can never produce it. We give a simple, scalable way to estimate how many tokens a quantized output head silences, combining three checks: a direction that lets a token win (so it is safe), an upper bound on how close a token's row is to being trapped inside the others, and an exact match that proves a token can never win. Each count is therefore a certified range: exact matches give its lower end and flagged tokens can only raise its upper end. In nearly all settings we report down to 3 bits the two ends coincide, so the counts are exact. Across three open models we find that quantization silences tokens: on large-vocabulary models it already appears at 8-bit precision, up to a few hundred previously reachable tokens on a 1B-parameter model, and grows as precision drops, while a small-vocabulary model resists until 3 bits. The loss is far from uniform across languages: on a multilingual vocabulary the silenced tokens are overwhelmingly non-Latin (Korean, Chinese, Thai, Arabic and Hebrew), even though Latin tokens dominate the vocabulary. Silencing is thus a measurable, language-sensitive side effect that standard averages miss, and it should be reported alongside them.

来源:arXiv (AI + Vision + Imaging) · arxiv.org