Back to AI News
arxiv

Frontier LLMs Can Partially Repair a 4-Bit Quantized CNN by Editing Weights as Text

A new arXiv study tests whether frontier LLMs can perform post-training quantization by reasoning directly over a model's weights supplied as text, without tools, calibration data, or inference. On a 20k-parameter CIFAR-10 CNN, standard 4-bit round-to-nearest quantization cuts accuracy from 81.4% to 60.4%, while one model's per-layer answers recover accuracy to 77.95% by balancing rounding errors within each 3x3 kernel. That is 3.5 percentage points below the float network and 2.8 points below AdaRound. When given only the float network, the models describe error-cancelling corrections but mostly fall back to plain RTN, sometimes with mildly clipped scales.

AI Brief

It provides a concrete early signal that LLMs may assist low-level quantization decisions, while clarifying their limits without calibration data or tools.

arXiv:2611.33031v1 Announce Type: cross 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
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!