# WeightCode框架通过权重空间编程免梯度安装机器人新技能

> 原文链接：https://robotics.hellobike.com/papers/2026-11-19-2611-25476-e380e400
> 频道：papers | 更新日期：2026-11-19 | 标签：auto, arxiv, hf-daily-papers
> 核心摘要：WeightCode框架利用冻结语言模型生成可执行权重程序，无需梯度训练即可向神经网络注入新能力。实验显示机器人拾取成功率从0%升至98.4%，ImageNet准确率净增8.84-17.62点，且支持跨模型迁移与能力累积。

# WeightCode框架通过权重空间编程免梯度安装机器人新技能

::: v-pre
> 本文由 AI 根据公开内容整理，可能有误，请以原文为准：[WeightCode: Installing New Capabilities into Neural Networks via Weight-Space Programming](https://arxiv.org/abs/2611.25476)（HF Daily Papers · arXiv 2611.25476）

## 核心内容

针对神经网络扩展显式任务知识的难题，研究提出权重空间编程（WSP）及WeightCode框架。该方法利用冻结语言模型编写可执行程序，直接读取或修改网络权重以安装新计算逻辑，完全摆脱梯度训练依赖。新能力一旦安装即独立运行，在仅凭语法或8个演示样本的条件下，使机器人未见命令组合精确匹配度从0%跃升至99.8%，新增拾取动作成功率达98.4%，同时完整保留原有导航与指令能力。

在ImageNet基准上，四个权重程序实现8.84至17.62点的准确率净增益，优于八种微调方法。对Vision Transformer的因果干预证实，安装的噪声校正门控机制驱动了鲁棒性提升。该程序具备跨模型泛化性，在五个独立训练的ViT上平均保留83%-110%的源网络增益，而直接复制固定权重编辑则无效。此外，已编辑网络可继续叠加六个新程序，增加5.23-14.50点对比鲁棒性并保留既有噪声增益，验证了能力的可累积性。

## 关键看点

- **免梯度技能安装**：通过WSP框架生成权重程序，无需反向传播即可注入新计算逻辑，机器人拾取成功率从0%提升至98.4%
- **零样本命令组合**：仅依赖语法定义或8个演示样本，未见过的复合命令精确匹配率从0%飙升至99.8%，且保持原导航能力
- **跨模型程序迁移**：权重程序在5个独立训练的ViT上平均保留83%-110%性能增益，证明其编码的是通用计算逻辑而非过拟合参数
- **能力可累积架构**：支持在已编辑网络上叠加新程序，额外增加5.23-14.50点对比鲁棒性，同时不损失先前安装的噪声校正能力

## 工程与产业观察

WeightCode为具身智能提供了一种区别于传统微调的能力扩展范式。通过权重空间编程实现免梯度、可累积的技能安装，解决了机器人在部署后快速适配新任务且避免灾难性遗忘的工程痛点。其跨模型迁移特性表明，未来可能构建通用的“权重级技能库”，大幅降低具身大模型在异构硬件上的适配与迭代成本。

## 英文摘要 (Abstract)

Neural networks encode learned capabilities in their weights, yet extending those capabilities with explicit task knowledge remains a fundamental challenge. Here we show that Weight-Space Programming (WSP), in which executable programs read, construct or modify a network's weights directly, can install new capabilities within trained neural networks. WeightCode, a WSP framework, uses a frozen language model to write executable weight programs that install new computations into trained neural networks using task knowledge and their existing weights, without gradient-based training. Once installed, the new capabilities run independently of the language model. Given a grammar or eight demonstrations, weight programs enable previously unseen command compositions (0% to 99.8% exact match) and a new pickup action (0% to 98.4% success), while preserving the original command and navigation capabilities. On ImageNet, four weight programs achieve net gains of 8.84-17.62 points while preserving clean accuracy, outperforming the best of eight fine-tuning methods under matched examples, checks, and retention constraints. In a Vision Transformer, causal interventions show that installed noise-correction gates drive robustness gains, while their selective activation preserves clean accuracy. Rerun on five independently trained Vision Transformers without further language model calls, ten weight programs retain 83-110% of their source-network gains on average, whereas copying their fixed weight edits yields negligible gains. Six programs written for an already edited network add 5.23-14.50 points of contrast robustness while retaining the previously installed noise gain. Together, these results establish WSP as a new route to acquiring and accumulating capabilities in trained neural networks through reusable weight programs.

Hugging Face Daily Papers 热度：7 upvotes
作者：Bo Li, Taoyong Cui, Bob Zhang, Mengran Li, Chengyang Zhang, Yang Zhang, Pheng Ann Heng, Wanli Ouyang, Zhenfei Yin, Yingcheng Wu, Ling Yang
:::

## 原始参考来源 (Sources)

- [HF Daily Papers · arXiv 2611.25476：WeightCode: Installing New Capabilities into Neural Networks via Weight-Space Programming](https://arxiv.org/abs/2611.25476)