# Mixed Signals: Weight-Space Programming for EEG and ECG

DevFeed: [Mixed Signals: Weight-Space Programming for EEG and ECG](<https://devfeed.tech/articles/mixed-signals-weight-space-programming-for-eeg-and-ecg-128352.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.13758>)

Author: Dara Varam, Taraneh Aminosharieh Najafi, David Atienza

Published: 2026-11-11T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Neural Network](<https://devfeed.tech/topics/neural-network.md>), [AI Models](<https://devfeed.tech/topics/ai-models.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Claude](<https://devfeed.tech/topics/claude.md>)

Tags: [claude-opus-5-5](<https://devfeed.tech/tags/claude-opus-5-5.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [ecg](<https://devfeed.tech/tags/ecg.md>), [edge-devices](<https://devfeed.tech/tags/edge-devices.md>), [eeg](<https://devfeed.tech/tags/eeg.md>), [eess-sp](<https://devfeed.tech/tags/eess-sp.md>), [gradient-descent](<https://devfeed.tech/tags/gradient-descent.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [wearables](<https://devfeed.tech/tags/wearables.md>), [weight-space-programming](<https://devfeed.tech/tags/weight-space-programming.md>)

## AI overview

The abstract reports that frontier language models can diagnose planted faults in EEG and ECG networks and write network weights from scratch using the architecture, task, and a small set of training subjects. In one experiment, a model matched gradient-descent training with six times fewer subjects and no gradient descent. Claude Opus 5.5-written networks also outscored two hand-crafted EEG pipelines--alpha band power and common spatial patterns with linear discriminant analysis--when each used the same five subjects. The reported limits are that language models could not improve already well-trained classifiers and could not reliably infer a network's task from its weights alone. The authors see potential for small networks used in wearables and edge devices, while saying practical use needs further investigation.

## Source excerpt

arXiv:2611.13758v1 Announce Type: cross Abstract: 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 $6\times$ 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.