Mixed Signals: Weight-Space Programming for EEG and ECG
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 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.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI, eess.SP
- Comments
- 9 pages, 7 figures, 5 tables. Project website: https://daravaram.github.io/BioWSP
Related papers
CHORD: Learning Latent Spaces for Constrained Stellarator Design
Shared title terminologycs.LGSantiago A. Cadena, Andrea Merlo
Transferable, Time-Parallel Graph Dynamics via Space-Time Factorization
Shared title terminologycs.LGWencong Yang, Chaopeng Shen, Abdolmehdi Behroozi
Transformers with Signatures: Towards Universal In-Context Learning in Path Space
Shared title terminologycs.LGZiheng Cheng, Xin Guo, Ben Hambly
What Environment Invariance Identifies: Minimal Invariant Sets in Reproducing Kernel Hilbert Spaces
Shared title terminologycs.LGRidham Patel
When Simpler Beats Learned: Dual-Weighted Sampling vs. Machine Learning for the Pricing Subproblem in Graph Coloring
Shared title terminologycs.LGNikolai Antonov, Přemysl Šůcha, Mikoláš Janota et al.
Selecting Stable Sampling Dynamics for Compositional Diffusion: A Feynman-Kac Weight Reduction
Shared title terminologycs.LGSunjin Kim, Sungsoo Ahn, Michael Chertkov