大语言模型(LLM)真的能对神经网络的权重进行推理和编程,还是只是增强版的记忆?探索“权重空间编程”
Can an LLM Actually Reason and Program about Neural Network's Weights or is it just memorization on steroids? Exploring "Weight-Space Programming"
AI总结:
本研究测试Claude Opus 5.5对神经网络权重的读取能力,发现其为局部算术加数据集先验而非权重流推理,还提供了审计权重空间主张的协议。
摘要:
近期有报道称,大语言模型(LLM)可直接读取和写入神经网络的原始权重,该能力被称为权重空间编程。本研究探究该能力的读取环节是反映对权重流的推理,还是网络边缘的局部算术与公共数据集上的记忆先验的结合。我们在约12.5万参数的小型卷积网络上测试Claude Opus 5.5,该网络在5个图像数据集上训练,我们提供所有权重为纯文本,无工具、无前向传播、无数据集或类别名称。模型执行准确的局部计算:批归一化统计使其推断出在3次更新后停止的网络上约3个优化器步骤,输出层符号模式恢复CIFAR-10的车辆/动物划分;会话显示对首尾层读取紧密、中间层采样,部分基于部分追踪的主张未通过验证,虽未进行直接前向传播测试。语义判断依赖熟悉的数据集:模型将CIFAR-10网络、所有3个快餐网络均命名为CIFAR-10,将KMNIST重标记为MNIST,将准确率99.57%的SAT-6网络读为CIFAR-10动物照片,将对树木激活最多的特征偏好的输出称为“青蛙”;打乱CIFAR-10的标签会保留新索引处的输出划分,但模型解释的每个类别对均错误,表明依赖记忆的标签顺序。这些是主要为单次运行的探索性结果,我们得出结论,该模型的零样本权重读取更宜描述为局部算术加数据集先验,而非权重流追踪,并提供了审计未来权重空间主张的协议。
英文摘要:
Large language models (LLMs) have recently been reported to read and write the raw weights of neural networks directly, a capability termed weight-space programming. We ask whether the reading side of this capability reflects reasoning about weight flows or a combination of local arithmetic at the network's edges and memorized priors over public datasets. We test Claude Opus 5.5 on small convolutional networks of about 125,000 parameters trained on five image datasets, providing every weight as plain text with no tools, no forward passes, and no dataset or class names. The model performs accurate local calculations: batch-normalization statistics lead it to infer about three optimizer steps on networks stopped after three updates, and output-layer sign patterns recover the vehicle/animal split of CIFAR-10. The sessions report reading the first and last layers closely and sampling the middle, and several claims built on partial tracing fail verification, although we did not run a direct forward-pass test. Semantic judgments lean on familiar datasets: the model names CIFAR-10 for CIFAR-10 networks but also for all three fast-food networks, relabels KMNIST as MNIST, reads a 99.57%-accurate SAT-6 network as CIFAR-10 animal photos, and calls "frog" the output favored by a feature that fires most on trees. Permuting CIFAR-10's labels preserves the output split at the new indices, but every class pair the model interprets is then wrong, indicating reliance on remembered label order. These are exploratory results from mostly single runs. We conclude that zero-shot weight reading by this model is better described as local arithmetic plus dataset priors than as weight-flow tracing, and we provide a protocol for auditing future weight-space claims.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。