arXiv AI

Language Models Can Rewrite Their Own Weights

The paper demonstrates that a large language model (27B) can autonomously rewrite its own weights without gradients or additional training. By diagnosing its failures through self‑generated graded answers, the model edits its internal parameters, improving accuracy on unseen problems by 6.6 points and repairing corrupted weights to recover performance on image benchmarks. This self‑editing capability emerges only at larger scales, with smaller models unable to perform the edits.

arXiv Computer Vision
4d ago

Keel: A Frontier Model Teaches a Vision-Language Model by Rewriting Its Weights

Keel is a novel, training‑free method that repairs vision‑language models (VLMs) by editing their internal weights to eliminate looping behavior during reasoning. By acting as an agentic weight‑editing LLM, Keel identifies problematic attention patterns, modifies the weights, and verifies improvements without reducing overall accuracy. Experiments on Qwen3.5‑0.8B and Qwen3.5‑2B across six image benchmarks show that Keel removes most loops, shortens answers, and yields higher accuracy than baseline models.

By Jiajun Fan, Neil He, Bangji Yang, Qinglong Zheng, Ziwen Wang, Chaoran Cheng, Changyi Yang, Hanqi Mao, Ge Liu
arXiv Computer Vision
5d ago

Weight Space Programming for Vision Language Model Repair

The paper investigates weight‑space programming, where a language model edits network weights directly without gradients, to repair vision‑language models. By planting faults in SmolVLM‑256M and LFM2‑VL‑450M, the authors show that a coding agent can locate rescaled rows in the projector and noise in the vision encoder, infer scale factors, and restore the original weights, bringing accuracy back to near‑original levels. The study also demonstrates that the success of such repairs depends on the numerical precision of the weights and the presence of low‑bit traces of the faults, and it recommends that future weight‑repair research report weight formats and include rounded controls.

By Avinash Goutham Aluguvelly
arXiv Machine Learning
1d ago

Represented but misread: Post-training changes how language models read out what they represent

The study investigates whether post‑training alters a language model’s internal representations or merely changes how those representations are read out. By comparing linear probes with the models’ own answers using signal detection theory, the authors find that post‑training generally reduces the sensitivity of the models’ answers and shifts how base‑rate information is applied, while the underlying representations (as revealed by probes) remain largely unchanged. In specific tasks—such as detecting AI‑written German texts and truth of negated statements—post‑training can even reverse or repair the models’ outputs, with the changes occurring in early layers and after the text positions.

By Jochen Laubrock
arXiv AI
Sep 17

Suppressed, Not Erased: A Representational Trace of Edited Facts Survives Even Weight-Free Knowledge Editing

The paper investigates whether knowledge editing truly erases original facts from language models. Using a linear trace probe, the authors find that after editing a fact in GPT‑2‑XL, the original object remains highly decodable from hidden states across three different editing methods, even when the model behaves correctly on edited prompts. This suggests that editing suppresses rather than removes the original association in representational space.

By Priyansh Srivastava, Romit Chatterjee
arXiv AI
Nov 16

WeightBench: Evaluating Language Models as Weight-Space Programmers

WeightBench is a benchmark designed to evaluate large language models (LLMs) on their ability to program in weight space, a capability known as Weight‑Space Programming (WSP). The benchmark comprises 42 tasks across five tracks—reading, fixing, writing weights, recognizing impossible edits, and data‑free compression—testing LLMs on networks ranging from 2K‑parameter control policies to 7B‑parameter language models. Results show that top agents can read small networks and write control policies without execution, but struggle with patching language models, compressing them without data, or distinguishing impossible edits.

By Aayush Marasini, Barsat Khadka, Nick Rahimi
arXiv Computation and Language
1d ago

Weight-Space Programming Writes In-Context Learning and Matches Fine-Tuning in Language Models

The paper explores weight‑space programming, a technique that allows a language model to modify another model’s weights without gradient descent. By providing examples, a weaker model can learn a task entirely from the prompt, achieving performance comparable to in‑context learning and fine‑tuning across six tasks and multiple model families. The edits are sparse, targeting near‑silent MLP units, and the method generally preserves perplexity while sometimes being sensitive to wording changes.

By Konstantinos Skianis, Aristidis Likas
arXiv AI
1d ago

Can an LLM Repair a Language Model in Weight Space Without Gradient Training?

The study investigates whether a language model (LLM) can repair another model’s weights through fixed numerical edits without gradient training. By conducting 20 interactive sessions on five masked and causal Transformers, the researchers compared LLM-guided selection of projection recipes with fixed projections, scripted black‑box search, and low‑rank adaptation. Results show that live selection can match or slightly outperform black‑box methods on certain faults, while in other cases fixed projections or scripted approaches yield comparable or better recovery, highlighting the conditions under which controller‑guided repair is effective.

By Bharath Kumar Bolla, Raghavender Surya Upadhayula, Vishnu Surya Reddy Nandi, Ramesh Nandipalli
arXiv AI
Aug 24

Open-Weight Masked Introspection: Measuring What Language Models Can Report About Their Own Computation

The study investigates whether open‑weight language models can introspect on their own internal computations. Using the Open‑Weight Masked Introspection (OWMI) framework, researchers intervened on various internal components of eight models and asked them to report whether changes had occurred. Across 78,000 measurements, none of the models reliably distinguished real interventions from sham ones, with AUROC values essentially at chance. Why It Matters: The findings suggest that current open‑weight models lack the ability to audit their own internal states, highlighting a limitation for oversight that relies on a model’s self‑reporting.

By Emilio Ferrara