混合信号:面向EEG和ECG的权重空间编程

·

研究论文 · 2026/11/12

权重空间编程允许语言模型读取并编辑训练好的神经网络权重,从而通过推理而非梯度下降来“训练”模型。本文将其应用于生物信号(EEG和ECG)模型,表明前沿模型能调试植入的特定故障(无需被告知故障内容),甚至仅凭架构、任务和少量训练受试者就能从头编写网络全部权重。在一组实验中,语言模型仅通过推理(无梯度下降步骤)匹配了标准梯度下降训练,且使用的训练受试者少6倍;由Claude Opus 5.5编写的网络在相同5名受试者上构建时,得分高于经典手工EEG流程(alpha频带功率,以及共空间模式结合线性判别分析)。局限性包括:语言模型无法改进已训练良好的分类模型,且仅从权重无法可靠识别网络训练的任务。总体而言,权重空间编程对小网络(如边缘设备和可穿戴设备上的网络)有用,但实际应用前仍需进一步研究。

该研究展示了语言模型通过权重空间编程在生物信号处理中的潜力,可能大幅减少训练数据需求并超越传统方法,为边缘设备上的小网络部署提供了新思路,同时指出了实际应用前的关键限制。

Weight-space programming allows language models to read a trained neural network's weights and edit them. This opens the door to ``training'' by reasoning rather than through gradient descent. Prior work has demonstrated its functionality and promise for game-playing networks and fixing specific failures in language models, even extending to diffusion models. In this work, we present its applicability to models trained on biosignal data, specifically EEG and ECG data. We show that frontier models are not only able to debug specific faults planted in biosignal-based models without being told what these faults are, but are even capable of writing all the weights of a network from scratch, given only the architecture, the task, and a minimal set of training subjects. In particular, in one set of experiments, a language model was able to match standard gradient-descent training using 6times fewer training subjects, through reasoning alone and without any gradient descent step. Networks written by Claude Opus 5.5 also scored higher than classic hand-crafted EEG pipelines (alpha band power, and common spatial patterns with linear discriminant analysis) when built from the same 5 subjects. We also highlight some of the limitations, which include the inability of language models to improve already well-trained classification models, and their incapacity to reliably recognize, from the weights alone, the task a network was trained on. Overall, our results indicate that weight-space programming can be useful for small networks, such as those deployed on edge devices and wearables, but the concept still requires further investigation before it can be used in practice.

阅读原文

参与讨论