Skip to content
AI Learning Ground Start learning

Research ·

Mixed Signals: Weight-Space Programming for EEG and ECG

A new paper applies weight-space programming—language models reading and editing neural network weights—to EEG and ECG biosignal models, with an LLM matching gradient-descent training using 6× fewer subjects.

Mixed Signals: Weight-Space Programming for EEG and ECG
Image: Hugging Face

A paper on Hugging Face explores weight-space programming, where a language model reads and edits the weights of a trained neural network, enabling 'training' by reasoning rather than gradient descent. Earlier work showed promise on game-playing networks, language models, and diffusion models; this study extends the approach to models trained on biosignal data, specifically EEG and ECG.

The authors report that frontier models debugged faults planted in biosignal networks without being told what the faults were, finding hidden recording artifacts that ECG networks relied on. They also showed models can write all of a network's weights from scratch given only the architecture, the task, and a minimal set of training subjects. In one experiment, a language model matched standard gradient-descent training with 6 times fewer training subjects, using reasoning alone and no gradient-descent steps. Networks written by Claude Opus 5.5 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.

Limitations remain: the models could not improve already well-trained classifiers, and could not reliably identify a network's task from weights alone. The authors conclude weight-space programming may be useful for small networks, such as those on edge devices and wearables, but needs further investigation before practical use. For builders, it hints at LLM-driven training and debugging of small models in low-data settings, though it is not yet production-ready.

References

Read the full story at Hugging Face ↗Like, save or discuss on Buzz

#research