Manuscript Offprint

arXiv:2611.26408

Training Vision Models for LLM-Driven Weight-Space Programming

Timo Ropinski, Sebastian Kranz

Abstract

It has been demonstrated that, in certain settings, large language models can perform weight-space programming to directly modify the weights of neural networks. However, it is unknown how dedicated training of these networks can contribute to the successes of weight-space programming. We present a benchmark of LLM-driven weight-space programming on vision models, in which five LLMs edit convolutional networks and vision transformers on relabeling and error-correction tasks on Waterbirds, CIFAR-100, PACS and Entity-30. We report more than 2,600 such edit processes, whereby each edit is scored on held-out images for success, side effects and accuracy loss. We compare standard training with label smoothing, gradient-based editable training, and our Edit-Ready Training (ERT), a novel method that rehearses the direct, closed-form weight edits LLMs perform. We show that preparing networks for editing raises the success of LLM edits substantially where standard networks are hard to edit. ERT further achieves the highest mean score for GPT-6 Astra and Claude Opus 5.5 across all evaluated baselines. We will release our LLM testing framework alongside all tasks, editing trajectories and scores. Project page: https://viscom.uni-ulm.de/wsp

A PDF page turning into lines of clean text

Preparing the full text

It will appear here by itself. You can read the abstract meanwhile.

References (41)

  • Can an LLM Actually Reason and Program about Neural Network's Weights or is it just memorization on steroids? Exploring "Weight-Space Programming"
  • Network dissection: Quantifying interpretability of deep visual representations
  • Rewriting a deep generative model
  • Editing factual knowledge in language models
  • ImageNet: A large-scale hierarchical image database
  • An image is worth 16x16 words: Transformers for image recognition at scale
  • Classifying the classifier: Dissecting the weight space of neural networks
  • Model-agnostic meta-learning for fast adaptation of deep networks
  • Sharpness-aware minimization for efficiently improving generalization
  • Erasing concepts from diffusion models
  • HyperNetworks
  • Deep residual learning for image recognition
  • Natural language descriptions of deep visual features
  • MLAgentBench: Evaluating language agents on machine learning experimentation
  • Editing models with task arithmetic
  • Weight oracles: Reading neural network weights with language models
  • Last layer re-training is sufficient for robustness to spurious correlations
  • Concept bottleneck models
  • Deeper, broader and artier domain generalization
  • Drop dropout on single epoch language model pretraining
  • Locating and editing factual associations in GPT. In Advances in Neural Information Processing Systems, 2022
  • Mass-editing memory in a transformer
  • Fast model editing at scale
  • When does label smoothing help? In Advances in Neural Information Processing Systems, 2019
  • Equivariant architectures for learning in deep weight spaces
  • CLIP-Dissect: Automatic description of neuron representations in deep vision networks
  • Zoom in: An introduction to circuits
  • Null it out: Guarding protected attributes by iterative nullspace projection
  • Distributionally robust neural networks for group shifts: On the importance of regularization for worst-case generalization
  • Editing a classifier by rewriting its prediction rules
  • BREEDS: Benchmarks for subpopulation shift
  • Self-supervised representation learning on neural network weights for model characteristic prediction
  • Model zoos: A dataset of diverse populations of neural network models
  • A multimodal automated interpretability agent
  • Editable neural networks
  • Dropout: A simple way to prevent neural networks from overfitting
  • Rethinking the inception architecture for computer vision
  • Sparks of weight-space programming: LLMs can natively read and write neural network weights
  • Predicting neural network accuracy from weights (opens arXiv in a new tab)
  • Leveraging sparse linear layers for debuggable deep networks
  • Permutation equivariant neural functionals