Papers

Claude 系列模型无工具修复 4-bit 量化网络,Opus 5.5 将 CIFAR-10 CNN 精度拉回 77.95%

Can a Frontier LLM Repair a Quantized Network by Tool-Free Weight-Space Programming?

Why we picked it

把 20k 参数 CNN 的权重直接喂给 Claude,不让它跑任何代码,Opus 5.5 居然能推理整数权重把 4-bit 量化精度从 60.4% 拉到 77.95%,只比 AdaRound 差 2.8 个点。做模型压缩和 PTQ 的人值得看它的分析部分,想知道 LLM 到底在权重空间里理解了什么。

一篇 arXiv 论文测试了 Claude 系列四个 LLM 能否在纯权重文本输入下完成神经网络量化修复:模型拿到一个 20k 参数的 CIFAR-10 CNN 完整权重,没有工具、没有数据、不能跑推理。标准 RTN 量化到 4-bit 后测试精度从 81.4% 掉到 60.4%。

Body

在逐层一次作答的协议下,Opus 5.5 通过在 3x3 卷积核内平衡舍入误差,把 4-bit 网络精度提到 77.95%,仅比 float 网络低 3.5 个百分点,比需要校准数据学习的 AdaRound 低 2.8 个百分点。论文设计了四种评估协议,前两种告知精度下降并给出 float 与 4-bit 网络,后两种只给 float 网络让其自行选择量化策略。

后一种情况下各模型会提到误差抵消修正方法但不会实际应用,退回普通 RTN,顶多带轻微裁剪的 scale,Fable 5.2 的量化网络仍达到 70.0%。论文详细分析了模型具体做了什么以及为何有效,代码与提示词已开源在 GitHub(urbste/weight-space-programming-ptq)。

Original · arXiv cs.AI

Can a Frontier LLM Repair a Quantized Network by Tool-Free Weight-Space Programming?

We give four large language models (LLMs) of the Claude family the complete weights of a 20k-parameter CIFAR-10 CNN as text and ask them to produce a 4-bit network without tools, data or the ability to run inference. Standard round-to-nearest (RTN) quantization to 4 bit lowers the test accuracy from 81.4% to 60.4%. We design four evaluation protocols that differ in the input and task description given to the LLMs and analyze their responses. In the first two protocols the LLMs are given the float and the 4-bit RTN network and are told that the accuracy has dropped significantly. In the last two they receive only the float network and the task to quantize it, which tests whether they apply an optimization on their own or fall back to plain RTN. Our analysis shows that a frontier LLM can recover most of the lost accuracy. Given one answer per layer, Opus 5.5 raises the accuracy of the 4-bit network to 77.95% by balancing the rounding errors within each 3x3 kernel, reasoning over the integer weights without tools. This is 3.5 pp below the float network and 2.8 pp below AdaRound, which learns the rounding from calibration data. Given only the float network, the LLMs name error-cancelling corrections but do not apply them and fall back to plain RTN, at most with mildly clipped scales, which still lifts Fable 5.2's quantized network to 70.0%. We analyze in detail what the LLMs did and why it works. Code and prompts can be found at https://github.com/urbste/weight-space-programming-ptq

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Claude, Opus 5.5, AdaRound, quantization.

Source attribution: curated from arXiv cs.AI (@Steffen Urban).