AnalysisRSS

Gradient Edits Fix Qwen3.5-0.8B Thinking Loops and Stack With Astra Weight Edit

AI-generated illustration for: Gradient Edits Fix Qwen3.5-0.8B Thinking Loops and Stack With Astra Weight Edit

A paper reports that fine-tuning 140 to 139,750 of the largest-gradient weights in Qwen3.5-0.8B raises the model's MATH-500 accuracy in thinking mode, where…

What the gradient edit did

The paper addresses a specific failure: Qwen3.5-0.8B rarely finishes reasoning in thinking mode. According to the paper, at a 4,096-token budget only 1 or 2 of 500 MATH-500 answers close their think block across two seeds, and accuracy is 15.4 percent. The authors provide what they call the missing gradient baseline for a recent demonstration in which GPT-6 Astra edited 131,072 of the model's weights without gradients.

The method is selective fine-tuning. The authors fine-tune only the 140 to 139,750 weights with the largest gradient, using the model's own correct answers to MATH training problems. The paper reports this raises thinking-mode MATH-500 at 4k tokens to 39.0 to 45.5 percent after 2 to 9 minutes of training on one GPU, that 50 training examples suffice, and that 1,398 random positions give only 16.3 percent. The gradient concentrates the edit on the most nearly constant channel of each of the first three layers. Because the model has no bias terms, the paper argues such an edit acts as a constant vector added to the residual stream, and adding three fixed vectors to the unedited model matches the accuracy of such an edit.

How it compares and combines

The comparison target is the Astra demonstration, which the paper says reported MATH-500 rising from 7.9 to 48.1 percent at a 32,768-token budget. Under the Astra protocol of 32k tokens and presence penalty 1.5, the authors' reproduction of the Astra edit scores 52.1 percent finished and correct, while their full-strength edits reach 45.6 to 45.7 percent. However, they state their edits win at every budget up to 16k tokens, scoring 39.5 percent against 6.7 percent at 4k. The two edits are described as complementary: the Astra edit plus their 139,750-weight edit at half strength scores 62.2 percent at 32k, 10 points above the Astra edit alone with a reported p of 3e-9, and with half as many tokens. Their half-strength edit alone scores 46.7 percent.

The paper does not establish generalization beyond MATH-500 or beyond this specific model, and the causal mechanism rests on the reported vector-addition equivalence. Readers should treat the reproduction of the Astra result and the combined score as the authors' own measurements until replicated elsewhere.

Source: A Bias in Disguise: Tiny Gradient Edits Stop a Small Language Model's Thinking Loops and Complement a Frontier Model's Weight Edit

Comments

0 comments

Sign in to join the discussion, or create an account.

No comments yet

Be the first to say something useful.