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

Claude 系列 LLM 能否无工具完成 4-bit 量化网络权重修复?

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

AI 导读

研究将 20k 参数 CIFAR-10 CNN 的完整权重以文本形式交给 Claude 系列四个 LLM,要求其在无工具、无数据、无法推理的条件下产出 4-bit 网络。

正文 · 原文

arXiv:2611.33031v1 Announce Type: new Abstract: 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

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