Weight-Space Programming of LoRA Adapters

We let an AI agent write the weights of a LoRA adapter by hand instead of training them. The agent looks at the model's activations and the training examples, and then computes the weights with simple linear algebra. It uses no gradients. We test two uses. First, the agent edits the adapter once, early in normal fine-tuning, and training then continues. On Qwen3-0.6B, this single edit makes fine-tuning reach its final accuracy in a third of the steps and finish slightly higher, while changing the model's behaviour on unrelated text less. On the smaller SmolLM2-135M, a higher learning rate gives the same speed-up. The edit takes a few seconds and beats the standard approach of fitting a linear probe before fine-tuning. Second, the agent writes a whole adapter from scratch. On the same small set of layers, written adapters match trained ones while disturbing the base model far less. On a robot policy, they keep the original skill, which trained adapters partly lose. Written weights work best as readouts and switches on top of features that training builds.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24790385
Primary Topic
Domain Adaptation and Few-Shot Learning
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Weight-Space Programming of LoRA Adapters

Vuk Rosić
Zenodo (CERN European Organization for Nuclear Research)
Domain Adaptation and Few-Shot Learning
preprint

Weight-Space Programming of LoRA Adapters

Vuk Rosić
preprint en

Abstract

We let an AI agent write the weights of a LoRA adapter by hand instead of training them. The agent looks at the model's activations and the training examples, and then computes the weights with simple linear algebra. It uses no gradients. We test two uses. First, the agent edits the adapter once, early in normal fine-tuning, and training then continues. On Qwen3-0.6B, this single edit makes fine-tuning reach its final accuracy in a third of the steps and finish slightly higher, while changing the model's behaviour on unrelated text less. On the smaller SmolLM2-135M, a higher learning rate gives the same speed-up. The edit takes a few seconds and beats the standard approach of fitting a linear probe before fine-tuning. Second, the agent writes a whole adapter from scratch. On the same small set of layers, written adapters match trained ones while disturbing the base model far less. On a robot policy, they keep the original skill, which trained adapters partly lose. Written weights work best as readouts and switches on top of features that training builds.

Zenodo (CERN European Organization for Nuclear Research)
Domain Adaptation and Few-Shot Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon