arXiv AI

Interpretable weight-space programming builds transparent transformers and brain encoding models

The paper introduces interpretable weight‑space programming (iWSP), a method where a large language model (LLM) agent builds neural networks by explicitly coding weights and features, avoiding gradient‑based training. iWSP successfully constructs compact, accurate transformers for tasks like arithmetic and sentiment classification, and it is applied to neural encoding models across vision, language, and audition, outperforming existing interpretable baselines and revealing distinct computations in visual cortex, confounds in language fMRI, and acoustic features in auditory ECoG.

arXiv AI
Nov 11

Mixed Signals: Weight-Space Programming for EEG and ECG

The paper demonstrates that weight‑space programming enables language models to edit and even generate the weights of neural networks trained on biosignal data such as EEG and ECG. It shows that these models can debug faults, write entire networks from scratch, and match or surpass traditional training methods using fewer subjects. The study also notes limitations, including difficulty improving already well‑trained models and recognizing the task from weights alone.

By Dara Varam, Taraneh Aminosharieh Najafi, David Atienza
arXiv AI
Nov 6

Shaping & Monitoring Models through their Internal Representations

The paper introduces Mechanistic Shaping, a framework that guides machine learning models during training to adhere to specified rules about the concepts they express and rely on, using internal representations. Experiments across vision, medical imaging, and language tasks with models up to 32B parameters show that this approach reduces targeted undesirable behaviors while maintaining performance. The authors also develop a hierarchy of monitor classes to assess whether shaped concepts remain detectable, identifying three geometric mechanisms of circumvention and demonstrating that most shaped concepts remain monitorable with appropriate probes.

By Thomas Fel, Matthew Kowal, Matt Feiszli, Satchel Grant, Andrew Lee, Chris Earls, Fatih Dinc, Vasudev Shyam, Usha Bhalla, Leon Bergen, Siddharth Boppana, Ching Fang, Michael Byun, Tristan Gallent, Nicholas Wang, Tal Haklay, Dron Hazra, Neehar Kondapaneni, Connor Watts, Ryan Panwar, Thomas Dooms, Jack Merullo, Atticus Geiger, Ekdeep Singh Lubana, Thomas McGrath, Owen Lewis
arXiv AI
Oct 31

Rethinking Neural Thickets Without Weight Perturbations

The paper revisits the Neural Thickets hypothesis, which claims that pretrained language models contain dense neighborhoods of task‑specific experts that can be accessed via random Gaussian weight perturbations. The authors reproduce the reported gains but demonstrate that similar improvements can be achieved by perturbing only a single decoder block or by keeping the model frozen and adding a random bias to its output logits. They propose the Perturb‑Select‑Vote (PSV) framework, which generates perturbed predictors, selects high‑performing ones on a small validation set, and aggregates their predictions, showing that output diversity, selection, and voting can explain the gains without relying on nearby weight‑space experts. PSV also improves vision tasks under domain shift, especially with logit perturbations, and offers a simple, training‑free alternative to full‑weight perturbation ensembles.

By Nicolas Dufour, Elouan Gard\`es, Amil Dravid, Patrick P\'erez, Loic Landrieu
Hugging Face Trending Papers
Nov 10

Mixed Signals: Weight-Space Programming for EEG and ECG

The paper explores weight‑space programming, a method where language models read and edit neural network weights, applied to EEG and ECG biosignal models. It demonstrates that large language models can debug faults and even generate entire weight sets from scratch using only architecture, task, and a few training subjects, achieving performance comparable to or better than traditional pipelines with fewer subjects. The study also notes limitations, such as difficulty improving already well‑trained models and recognizing tasks solely from weights, suggesting further research is needed before practical deployment.

arXiv Machine Learning
Oct 23

Post-Hoc Feature Selection Layer for Neural Networks Interpretability

The paper introduces a post‑hoc Feature Selection Layer (FSL) that can be added to frozen pre‑trained neural networks on tabular data to highlight the most important features. This lightweight, trainable module fine‑tunes feature weights based on the original model’s outputs without altering its architecture or parameters. Experiments on synthetic and real‑world datasets show that the post‑hoc FSL preserves predictive performance while improving interpretability, outperforming other post‑hoc methods such as Integrated Gradients and SHAP.

By Jo\~ao Kenji Suwa, Jo\~ao Pedro Silveira e Silva, Bruno Iochins Grisci
arXiv AI
Nov 6

Can an LLM Actually Reason and Program about Neural Network's Weights or is it just memorization on steroids? Exploring "Weight-Space Programming"

The paper investigates whether large language models (LLMs) can truly reason about neural network weights or merely perform local arithmetic combined with memorized dataset priors. Using Claude Opus 5.5, the authors test the model’s ability to read raw weights of small convolutional networks without tools or forward passes, finding that the model can execute accurate local calculations (e.g., batch‑normalization statistics) but relies heavily on familiar dataset labels and priors for semantic judgments. The study concludes that zero‑shot weight reading is better explained by local arithmetic plus dataset priors rather than genuine weight‑flow tracing, and proposes a protocol for auditing future weight‑space claims.

By Nazmus Sakib Ahmed