arXiv Computation and Language By Konstantinos Skianis, Aristidis Likas

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

Read the original on arXiv Computation and Language →

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.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Computation and Language.

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 Machine Learning
6d ago

What Does Weight-Space Programming Add to Diffusion Editing? Program Construction versus Score-Guided Refinement

The paper investigates weight‑space programming (WSP) for diffusion concept editing, where a language model generates executable weight updates that define training contexts, preservation constraints, and update directions. Experiments on 24 TIMED test edits for Stable Diffusion 1.4 show that the preregistered rewrite pipeline offers no advantage over a strong shared‑panel baseline, but exploratory one‑shot Astra programs improve fresh‑scene VLM joint success by +10.0 points, while CLIP relative match remains unchanged. Further probing and rewriting of Astra programs raises CLIP by +6.2 points but reduces joint success by -9.7, indicating that program construction and score‑guided revision should be treated as distinct stages in a WSP pipeline.

By Zitian Gao, Jingyi Xu, Ziqi Han, Chengkai Lei, Ye Liu, Liangliang Shi
Hugging Face Trending Papers
Jul 14

The Illusion of Robustness: Aggregate Accuracy Hides Prediction Flips under Task-Irrelevant Context

As large language models (LLMs) grow more capable, they are increasingly deployed in context-rich settings where task inputs are often accompanied by long, partially irrelevant context. In a controlled setting, we find that state-of-the-art models often appear robust to task-irrelevant context at the aggregate level: prepending it to benchmark questions causes little change in overall accuracy.