Navigation menu
Training Vision Models for LLM-Driven Weight-Space Programming
Training Vision Models for LLM-Driven Weight-Space Programming
Timo Ropinski, Sebastian Kranz
2026-11-20▲ 13arXiv 2611.26408v1Hugging Face
AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.
TL;DR
The paper benchmarks LLM agents editing vision classifiers and introduces Edit-Ready Training, which rehearses the agents' head edits during training.
Problem
Deployed image classifiers often need small targeted changes such as relabeling a concept, fixing a confusion, or correcting a misclassified subgroup. Fine-tuning is costly and can change behavior beyond the requested fix, while model editing computes a targeted weight change for one request. LLMs have begun to edit networks directly, but the edited networks are trained for accuracy alone, so it is unknown how well LLM agents edit standard vision models and whether training can make networks easier to edit.
Method
The benchmark has five LLM editors edit ResNet-18, ResNet-50 and ViT-B/16 classifiers on relabeling, confusion-fix and subgroup-fix requests over Waterbirds, CIFAR-100, PACS and Entity-30. Editors use WeightLab tools without gradients, layers or adapters, under budgets of 20 probes, 30 weight reads and 8 edit calls, with up to 65,536 parameters per edit call. Edits are scored on held-out images for success, side effects and accuracy loss. ERT rehearses during training direct closed-form head edits that simulate Opus's edits, backpropagating the edited network's errors through the edit into all weights. It uses edit episodes with support images, unseen query images and reference images to preserve other predictions.
Results
- On hard settings ERT raises net score substantially for both leading editors: Entity-30 confusion fix from 0.46 to 0.79 for Astra and from 0.44 to 0.74 for Opus; Waterbirds with ViT-B/16 from 0.50 to 0.74 and from 0.33 to 0.76. §1
- ERT has the highest mean net score for GPT-6 Astra and Claude Opus 5.5 across all evaluated baselines. §Abstract
- In paired tests against ERM, Astra's ERT gain on Entity-30 confusion fix is +0.33 with 9/9 wins and p=0.004; Opus's gain is +0.30 with 8/9 wins and p=0.027. §D
- In the no-LLM baseline screen, ERT gains +0.22 over ERM, ENN +0.24 and LS +0.19, averaged over datasets and checkpoints. §B.2
- The study logs 2,663 scored edit processes and 76,632 tool calls across five editors. §H
- Opus edits the head in 69 of 73 edit processes on ERM-trained networks, with a rank-one change along the support-reference contrast. §5.3
Limitations
- The study covers image classification with three backbones and four datasets; other vision tasks, larger backbones and generative models remain to be tested.
- With 8 to 16 paired edit processes per cell, only large differences between methods are detectable.
- Hyperparameters were tuned and baselines selected with scripted editors on ResNet-18 rather than with agents.
- With every training method, edits still lower test accuracy; preparation that also preserves accuracy is left open.
Key points
- WeightLab exposes 16 tools and enforces budgets of 20 probes, 30 reads and 8 edits; a single edit can change up to 65,536 parameters and a single read returns at most 512 values. §A.1
- Each edit request provides 64 reference images, and the agent never sees the images themselves, only how the network responds to them. §3.1
- ERT's pre-study found Opus mainly (>90%) changes head weights, mostly rank-one and concentrated on features differing between support and reference images. §3.2
- Held-out concepts: excluding edited species from ERT training episodes lowers Opus net score by 0.08 over both backbones (24 pairs, p=0.02), while ERT's gain over ERM remains +0.29 for Opus (24 pairs, p<0.001) and +0.23 for Astra (16 pairs, p<0.001). §F.2
- Edit budget ablation: with 8 or 12 edit calls Opus uses a median of 5 to 6 edit calls, so the default budget of 8 rarely binds. §F.3
- Head-change analysis covers 1,347 stored main-table edit processes: 646 relabeling requests, 386 confusion fixes and 315 subgroup fixes; 21 further processes ended without submission. §G.2
- Paired ERT-ENN Opus test on Waterbirds with ResNet-18 gives +0.10, with 10/16 wins and p=0.043. §D
Mind map
Sign In
Choose a method to continue
By signing in, you agree to our Terms and Privacy Policy

