In Evaluating task vectors, unlearning and inoculation, Xenomirant found that inoculation methods performed substantially worse under full fine-tuning than LoRA, hypothesising that low-rank constraints help keep behavioural traits disentangled.
I thought this was odd, so I recreated Xeno's task as closely as I could. I found a similar issue, but then noticed that simply halving the full-FT learning rate closed most of the gap between the two.
Interested by this, I experimented a bit more and found that:
- Learning-rate tuning closes most of the gap between LoRA and full fine-tuning.
- Inoculation works within a narrow learning-rate window, which appears wider for LoRA than full fine-tuning, with predictable failure modes on either side
- LoRA ranks 1–256 perform almost identically after learning-rate tuning, and their curves line up when scaled by √rank
- LoRA still has a slight edge over full FT, mostly because it's better at retaining desired behaviours
- Learning rates early in training matter much more than later on for what behaviours generalise
Experimental setup
Following Xeno's setup, I fine-tuned Qwen2.5-Coder-1.5B-Instruct on 1,000 questions from Databricks Dolly, with answers rewritten to exhibit two traits:
- Desired: numerical confidence expression.
- Undesired: poetic writing.

I evaluate each model on 200 new questions, once with the poetry instruction and once without. An answer counts as a success if it:
- actually attempts to answer the question,
- states a numerical confidence, and
- is a poem only when a poem was requested.
This is called joint success.
Further Experimental Details
- Training: Three epochs, 189 optimiser updates, AdamW, effective batch size 16, ten warmup updates followed by linear learning-rate decay.
- LoRA: Ranks 1, 8, 32, 128 and 256; alpha/rank = 2; all attention and MLP projections targeted.
- Evaluation: Greedy decoding, capped at 256 new tokens. Numerical confidence is detected programmatically, poetry is judged by Qwen2.5-7B-Instruct, and whether the model attempted an answer is scored by blinded Codex reviewers.
1. The learning-rate window
I swept learning rates across five LoRA ranks and full FT, finding a similar pattern across all six.
Interestingly, the best learning rates for LoRAs fall almost exactly along the inverse-square-root scaling law proposed by Chen et al.
LR ∝ 1/√rank
Multiplying each learning rate by √rank brings the curves much closer together.
Importantly, three regimes emerge across LR-tuning for all methods (LoRA & full FT):
- Too low: neither behaviour generalises reliably.
- In the window: confidence generalises, but poetry doesn't.
- Too high: both behaviours generalise.

LoRA also seems more forgiving about the choice of learning rate.
If we define "passing" as at least 75% joint success and at most 5% unwanted poetry: every LoRA rank passed at two or more of the tested rates, while full fine-tuning passed at only one.
2. Does low rank actually help?
If we take the best learning rate for each method, train two more seeds, and evaluate the models on a fresh set of 200 questions:
There is no consistent advantage between LoRA ranks, but all five LoRA ranks still beat full fine-tuning.
Interestingly, this doesn't seem to be because LoRA is better at suppressing unwanted behaviour. At their best tested learning rates, all six methods produced unsolicited poetry on over 97% of responses without inoculation, compared to less than 4% with it.
So where does the remaining gap come from?
An answer can miss joint success in a few ways:
- Confidence only
- Missing confidence
- Unwanted poetry
- Other non-answer

Full fine-tuning's extra failures seem to come almost entirely from:
- Confidence only
- Missing confidence
My suspicion is that full fine-tuning interferes more with the model's existing way of generating answers. Unlike LoRA, full fine-tuning also updates the embeddings, normalisation parameters and output weights, which would make it easier to change the model's default response structure, instead of just adding confidence expression to its existing answers.
A useful test would be to restrict full FT to the same attention and MLP matrices as LoRA, but without a rank constraint, and see whether this reduces confidence-only answers.
3. Early training matters
In full fine-tuning, the difference between successful and failed inoculation shows up surprisingly early.
I wanted to know whether a too-high learning rate does most of its damage at the start of training, or whether it does damage throughout.
For full fine-tuning, 1e-5 was the best learning rate on my grid, and 2e-5 is clearly too high. Let's label these the tuned and too-high rates.
I trained four models, switching between the two after the first 32 of 189 updates.
Using the too-high rate for just the first 32 updates leads to far more unwanted poetry than using it for the remaining 157.
Interestingly, the too-high-first schedule accumulates less total learning rate and finishes closer to the original weights than the tuned-first schedule. Even the too-high phase itself moves the weights less when it comes first.
The early updates seem especially important in deciding whether poetry becomes a default behaviour.
This also suggests that it might be possible to catch inoculation failures early rather than waiting for training to finish. In this run, leakage was already visible by update 24.
Thank you Emanuel Gordis for providing the compute for this experiment.