你所签署的并非你所运行的:量化大语言模型供应链中的可验证性缺口
What You Sign Is Not What You Run: The Verifiability Gap in Quantized LLM Supply Chains
AI总结:
该研究发现量化LLM供应链存在可验证性缺口,提出独立可验证性率(IVR)指标,揭示构建环境等关键信息缺失导致IVR为0,提出需补充编译器等坐标实现产物精确复现与验证。
摘要:
模型签署会对大语言模型(LLM)发布时的全精度权重W进行身份验证,但用户运行的是量化产物Q,而其生成转换在当前披露规则下并非唯一确定。我们将非环境输入与执行环境E分离,并测量了一个据我们所知此前尚未被测量的量:独立可验证性率(IVR),即第三方可逐比特重新推导的流行度采样GGUF生态系统的比例。在200个下载量最高的Hugging Face GGUF仓库(其中198个在研究范围内)中,没有任何产物或模型卡片记录构建环境,因此在记录输入协议下,IVR为0/198。不过这些产物并非不可复现:在4个披露了输入的样本仓库中,仅模型卡片信息无法复现任何Q4_K_M文件,但卡片遗漏的两个坐标——构建的浮点收缩设置,以及对于混合模型的逐张量量化配方——在x86上可逐比特重新推导7/8的目标量化文件(在arm64上为5/8);fp16可从提供商的检查点重新推导,但校准imatrix必须随附并绑定哈希,因为重新计算它无法匹配。一个较旧的版本还固定了指令集,未能重新推导。我们复现了llama.cpp PR #25353中报告的差异,表明E是必要坐标,且一个编译器设置在测试平台上以可忽略的质量成本(困惑度+0.06%)产生唯一输出。作为安全表征,良性浮点非确定性与均匀放置的半字节翻转篡改可在随验证者必须允许的环境增长的检测阈值以上分离,但针对性的嵌入编辑会规避该统计,因此所提出的协议基于精确重新推导;对抗性fp16攻击不在其范围内。我们发布了审计数据和可重新运行的工具链。
英文摘要:
Model signing authenticates the full-precision weights W an LLM is released with, yet users run a quantized artifact Q whose producing transformation is not uniquely determined under current disclosure. We separate the non-environment inputs from the execution environment E and measure a quantity that, to our knowledge, has not been measured before: the Independent Verifiability Rate (IVR), the fraction of a popularity-sampled GGUF ecosystem that a third party can re-derive bit-for-bit. Across the 200 most-downloaded Hugging Face GGUF repositories (198 in scope), no artifact or model card records the build environment, so under a recorded-inputs protocol the IVR is 0/198. Yet the artifacts are not irreproducible. On four in-sample repositories that disclose their inputs, the card's information alone reproduces no Q4_K_M file, but two coordinates the card omits - the build's floating-point-contraction setting and, for hybrid models, the per-tensor quantization recipe - re-derive 7/8 target-quant files bit-for-bit on x86 (5/8 on arm64); the fp16 re-derives from the provider's checkpoint, but the calibration imatrix must be shipped and hash-bound, since recomputing it did not match. An older release additionally pins the instruction set and did not re-derive. Reproducing the divergence reported with llama.cpp PR #25353, we show that E is a necessary coordinate and that one compiler setting yields a unique output across the tested platforms at negligible quality cost (+0.06% perplexity). As a security characterization, benign floating-point non-determinism separates from uniformly placed nibble-flip tampering above a detection floor that grows with the environments a verifier must allow, but a targeted embedding edit evades the statistic, so the proposed protocol rests on exact re-derivation; adversarial-fp16 attacks lie outside it. We release the audit data and a re-runnable harness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。