写权重还是训练权重?基于权重空间编程与 LoRA 的空间推理研究
Writing Weights or Training Them? Spatial Reasoning through Weight-Space Programming and Low-Rank Adaptation
AI 导读
一项 arXiv 研究用 Qwen3.5-0.8B 对比权重空间编程与 LoRA 微调在空间推理上的效果:公开补丁 p50c 在开启思考时将参考系任务平均准确率从 0.0% 提升至 22.1%,StepGame 从 19.2% 提升至 33.7%;而在解题示例上训练的 rank-1 LoRA 适配器(仅 0.09% 可训练参数)分别达到 100% 和 98.8%。
正文 · 原文
Abstract:Weight-space programming lets a language model inspect and edit another model's weights, offering an alternative to gradient-based adaptation. We evaluated both approaches using Qwen3.5-0.8B on a fixed reference-frame task (128 items), StepGame (200 items), and two untrained distance-comparison tasks. With thinking enabled, the public patch (p50c) raised mean accuracy from 0.0% to 22.1% on the reference-frame task and from 19.2% to 33.7% on StepGame across three sampling seeds. Randomly permuting its weight change removed the gain. Further closed-form edits did not improve on p50c, whereas a rank-1 LoRA adapter trained on worked solutions reached 100% and 98.8%, respectively, with 0.09% trainable parameters. Removing the worked solutions from supervision prevented the adapter from passing the learning gate. The trained adapters reached 82% accuracy on unseen StepGame sentence templates, 42% on held-out difficulty levels 6-10 after training on levels 1-5, and 33-50% on unseen heading-answer combinations. Their target gains coincided with a sharp decline on the distance tasks: accuracy fell from 94% and 92% under p50c to 0-2%, and their outputs applied the StepGame solution template to distance questions. With thinking disabled and reasoning requested in the visible answer, the base model also solved the distance tasks while remaining weak on the target tasks. The comparison reveals a trade-off between improving spatial task performance and preserving neighbouring skills: the public edit restored completion while preserving distance performance, whereas supervised adaptation produced much larger target gains together with interference across tasks.
| Comments: | 18 pages |
| Subjects: | Artificial Intelligence (cs.AI); Machine Learning (cs.LG) |
| Cite as: | arXiv:2611.27089 [cs.AI] |
| (or arXiv:2611.27089v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2611.27089 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Yalin Yang [view email]
[v1]
Fri, 20 Nov 2026 04:05:14 UTC (204 KB)
来源:arXiv cs.AI · arxiv.org