探索权重空间编程:能力、泛化与局限
研究论文 · 2026/11/09
权重空间编程(WSP)使推理智能体能够直接检查和修改神经网络参数,为基于梯度的模型自适应提供了一种替代方案。然而,其能力、跨任务泛化性和实际限制仍未被充分理解。我们通过16条编辑轨迹在七个基准和两个模型规模(Qwen3.5-0.8B和Qwen3.5-9B)上系统研究了WSP。研究发现三个关键见解:第一,WSP可以通过高度局部化的干预实现显著性能提升,在完整留出评估中,MATH-500、GPQA Diamond、IFEval和SciBench上的准确率分别提升高达29.45、4.42、36.72和17.11个百分点,值得注意的是,仅修改1,023个参数即可获得29.45个百分点的提升。第二,WSP展现出有前景但不均衡的跨任务泛化性:一个经过数学编辑的检查点在无需进一步编辑的情况下,将GPQA Diamond、IFEval和SciBench的性能分别提升3.03、12.18和20.10个百分点,而SciCode性能保持不变。第三,有效编辑仍然具有挑战性且不一致:不同轨迹的结果差异很大,16条轨迹中有6条在无法可靠验证候选改进时保留了原始权重。这些结果共同凸显了WSP在高度局部化模型自适应方面的潜力,同时揭示了干预发现、可靠性和跨任务迁移方面的重要挑战。主页:https://wsp-scope.github.io/ GitHub:https://github.com/WSP-Scope/WSP-Scope-Project
该研究系统评估了权重空间编程的能力与局限,揭示了其通过极小参数干预实现大幅性能提升的潜力,同时指出了跨任务泛化不均衡和编辑可靠性问题,对模型自适应领域具有重要参考价值。
Weight-Space Programming (WSP) enables reasoning agents to directly inspect and modify neural network parameters, offering an alternative to gradient-based model adaptation. However, its capabilities, cross-task generalization, and practical limitations remain insufficiently understood. We systematically investigate WSP through 16 editing trajectories across seven benchmarks and two model scales (Qwen3.5-0.8B and Qwen3.5-9B). Our findings reveal three key insights. First, WSP can achieve substantial performance gains through highly localized interventions. On full held-out evaluations, accuracy improves by up to 29.45, 4.42, 36.72, and 17.11 percentage points on MATH-500, GPQA Diamond, IFEval, and SciBench, respectively. Notably, modifying only 1,023 parameters yields a 29.45-point improvement. Second, WSP exhibits promising but uneven cross-task generalization. A Math-edited checkpoint improves GPQA Diamond, IFEval, and SciBench by 3.03, 12.18, and 20.10 points, respectively, without further editing, while leaving SciCode performance unchanged. Third, effective editing remains challenging and inconsistent. Outcomes vary substantially across trajectories, and six of the 16 trajectories retain the original weights when candidate improvements cannot be reliably validated. Together, these results highlight WSP's potential for highly localized model adaptation while revealing important challenges in intervention discovery, reliability, and cross-task transfer. Homepage: https://wsp-scope.github.io/ GitHub: https://github.com/WSP-Scope/WSP-Scope-Project