Exploring Weight-Space Programming: Capabilities, Generalization, and Limitations

Junru Hu, Cheng Tang, Wei Li, Hongze Zhu, Chun-Mei Feng, Qi Zhang, Yirong Chen, Ming Hu

arXiv:2611.09382 · 2026-11-09 공개 · arXiv · PDF

benchmark-evaluation neural-networks model-adaptation model-scales qwen-models cross-task-generalization weight-space-programming parameter-editing

Abstract

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

한국어 요약

한 줄 요약

WSP는 1,023개 파라미터 수정으로 MATH-500 정확도 29.45%p 향상시키는 고도로 국지적 모델 수정 기법임.

핵심 기여도

핵심 아이디어

WSP는 기존의 기울기 기반 최적화 대신, 추론 에이전트가 직접 가중치 공간을 분석하고 수정하는 새로운 모델 적응 방식이다. 이는 LoRA와 같은 파라미터 효율적 미세조정과는 구별되며, GPT-6 Astra가 Qwen3.5-0.8B의 0.016% 파라미터만 수정해 MATH-500 정확도를 7.9%에서 48.1%로 끌어올린 사례를 통해 가능성을 보여준다. 핵심 통찰은 국지적 수정이 특정 작업 외에도 행동에 영향을 미칠 수 있다는 점이다. 그러나 실패 모드가 명확하지 않은 경우 WSP의 효과는 제한되며, 수정 경로와 모델 규모에 따라 결과가 크게 달라진다.

기술적 접근법

주요 결과

의의 및 한계

WSP는 국지적 수정을 통해 모델 성능을 대폭 향상시키는 가능성을 보여주며, 기존 미세조정 방식에 대한 대안으로 주목받는다. 특히, MATH-500에서 1,023개 파라미터만 수정해 29.45%p 향상시키는 사례는 WSP의 높은 효율성을 입증한다. 그러나 수정 효과는 경로와 모델 규모에 따라 크게 달라지며, 16개 경로 중 6개는 개선 후보가 신뢰도 기준에 미달해 실패했다. 또한, SciCode와 같은 일부 작업에서는 일반화가 제한되며, 장기 추론 및 복잡한 에이전트 작업에 대한 평가가 부족하다. 이는 WSP의 신뢰성 있는 개선 선택, 효율적인 평가, 그리고 메커니즘 이해가 필요함을 시사한다.

실용적 활용

WSP는 특정 작업에서 국지적 개선이 필요한 산업 현장, 예를 들어 수학 문제 해결 능력 향상이 필요한 교육 AI나 과학적 추론이 필요한 연구 도구에 적용 가능하다. 특히, 대량의 작업별 데이터 수집이 어려운 상황에서 WSP는 파라미터 수정을 통해 성능을 빠르게 향상시키는 유용한 접근법이 될 수 있다.