梯度微调几十分钟修复 Qwen3.5-0.8B 思考死循环,与 GPT-6 Astra 权重编辑叠加提升 10 分
A Bias in Disguise: Tiny Gradient Edits Stop a Small Language Model's Thinking Loops and Complement a Frontier Model's Weight Edit
用模型自己的正确答案微调几百个权重,几分钟就能治好 Qwen3.5-0.8B 的思考死循环,机制还挺有意思——等效于加常数向量。和 GPT-6 Astra 的免梯度权重编辑互为补充,叠加能到 62.2%。做小模型推理优化的开发者值得复现一下。
Qwen3.5-0.8B 在思考模式下经常无法在预算内结束推理:4096 token 预算下 500 道 MATH-500 试题只有 1-2 道能闭合思考块(两个随机种子),准确率仅 15.4%。此前一项演示让 GPT-6 Astra 无梯度地编辑了 131,072 个权重,把 32,768 token 预算下的 MATH-500 从 7.9% 提升到 48.1%。
该研究补上了缺失的梯度基线:只微调梯度最大的 140 到 139,750 个权重,训练数据用模型自己对 MATH 训练题的正确答案,单卡 GPU 上训练 2-9 分钟即可把 4k token 下的思考模式 MATH-500 提到 39.0-45.5%,仅需 50 条训练样本;而随机选 1,398 个位置只能达到 16.3%。机制上,梯度把编辑集中在前三层各一条近似恒定的通道上,由于模型没有偏置项,这种编辑等效于往残差流加一个常数向量——直接加三个固定向量就能复现同等准确率。
与 Astra 编辑对比:在 Astra 协议(32k token、presence penalty 1.5)下复现的 Astra 编辑得 52.1%,全强度梯度编辑达 45.6-45.7%,但在 16k 以内所有预算下梯度编辑胜出(4k 时 39.5% 对 6.7%)。两种编辑互补:Astra 编辑叠加半强度 139,750 权重编辑后,32k 预算下得 62.2%,比单独 Astra 编辑高 10 个百分点(p = 3e-9),且 token 消耗减半。
A Bias in Disguise: Tiny Gradient Edits Stop a Small Language Model's Thinking Loops and Complement a Frontier Model's Weight Edit
Qwen3.5-0.8B rarely finishes reasoning in thinking mode: at a 4,096-token budget only 1 or 2 of 500 MATH-500 answers close their think block (two seeds), and accuracy is 15.4%. A recent demonstration had GPT-6 Astra edit 131,072 of the model's weights without gradients and reported MATH-500 rising from 7.9% to 48.1% at a 32,768-token budget. We provide the missing gradient baseline, then combine the two edits. Fine-tuning only the 140 to 139,750 weights with the largest gradient, on the model's own correct answers to MATH training problems, raises thinking-mode MATH-500 at 4k tokens to 39.0-45.5% after 2-9 minutes of training on one GPU; 50 training examples suffice, and 1,398 random positions give only 16.3%. 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, an edit confined to those channels acts as a constant vector added to the residual stream: adding three fixed vectors to the unedited model matches the accuracy of such an edit. Under the Astra protocol (32k tokens, presence penalty 1.5), the Astra edit scores 52.1% (finished and correct) in our reproduction and our full-strength edits reach 45.6-45.7%, but ours win at every budget up to 16k tokens (39.5% against 6.7% at 4k). The two edits are complementary. The Astra edit plus our 139,750-weight edit at half strength scores 62.2% at 32k, 10 points above the Astra edit alone (p = 3e-9), with half as many tokens; our half-strength edit alone scores 46.7%.
本条情报归属 AITOP「论文」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:Qwen3.5-0.8B、GPT-6 Astra、MATH-500、微调,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Hussamuddin Syed),经 AITOP 多维评分管线结构化提炼。