Per-Token Confidence Trajectory in LoRA Fine-Tuning: Substrate-Output Evidence for Cumulative Calibration Collapse

Pødenphant Lund, T. (2026p) · Preprint · Live on Zenodo

In the tested setting (LoRA-FT, Qwen2.5, invented-domain corpus), fine-tuning structurally compresses an LLM’s calibrated distribution while ICL/RAG preserves it. Striking practitioner result: FT-trained models on this corpus actively degrade application accuracy below the no-context baseline. FT can make the model worse than having no knowledge at all. The architecture-level distinction maps onto working-memory / long-term-memory and offers a substrate-level reading of the RAG-vs-fine-tuning debate; generality to other FT methods, sizes, and domains is hypothesised, not established. Cloze gap 16-28pp, log(CRpos0) collapse 5.46→21.12, entropy→0.

DOI (concept)10.5281/zenodo.20145218
Target venueTMLR (primary) / ICLR / NeurIPS / COLM
Statusv3.1 live on Zenodo (2026-05-12)
Length~10–12k words
AuthorTomas Pødenphant Lund [ORCID]

TL;DR

Why do fine-tuned language models hallucinate more confidently than their in-context-learning (or retrieval-augmented-generation, RAG) counterparts on the same knowledge? The standard framing treats in-context learning (ICL) and fine-tuning (FT) as alternatives along a deployment-cost axis. They are not interchangeable. The substrate-level distinction this paper establishes also offers a principled resolution of the RAG-vs-fine-tuning debate: RAG operates in ICL-mode and preserves calibration; FT compresses it as a structural consequence.

Mechanism. Each backward pass under cross-entropy loss amplifies the winning route asymmetrically and presses alternatives below the noise floor; the depth of this compression scales with how many gradient passes the substrate has absorbed. ICL preserves the model's calibrated distribution over candidate answers because no weight update has compressed it. FT compresses it as a structural consequence of cumulative gradient pressure — on any training data tested, though not at a rate independent of it: at matched compute, paraphrase-augmentation measurably slows the compression. The mechanism generalises a previously RLHF-specific (reinforcement learning from human feedback) finding (Paper 1 §3) to all weight-update training, including plain LoRA fine-tuning on innocuous factual data.

The observable. The measurement is the per-token top-2 logit margin at the answer position: the gap in nats between the best and second-best candidate token. As training presses the alternatives down, the margin widens, so the compression is directly readable at the substrate-output layer. Prior work documents the fine-tuning-induced hallucination phenomenon at two other layers — behaviourally (Gekhman et al. 2024) and at the activation layer (Shen et al. 2025). What this paper adds is the output-layer observable together with a dose-response across cumulative gradient passes, a compute-matched data-variation control, and the bridge from the RLHF-specific finding to plain LoRA fine-tuning.

Scope. The empirical claims are restricted to the silicon substrate, and specifically to fine-tuning of Qwen2.5 base models on a controlled invented domain. The cross-substrate extension — whether the same architectural distinction holds for biological memory systems — is developed in Paper 6 and is deliberately out of scope here.

Empirical findings

Three experiments on a 47-fact invented knowledge domain (Zorbetik), Qwen2.5 base models at 3B and 7B scales, LoRA fine-tuning budgets from 5 to 100 epochs plus a paraphrase-augmented variant:

Full per-condition results

Condition Size Cloze acc. Application acc. log(CRpos0) Hpos0
No-context baseline3B / 7B~3% / ~5%~12% / ~18%——
ICL (facts in prompt)3B~62%~28%5.460.32
ICL (facts in prompt)7B~74%~41%5.460.32
LoRA-FT 5 epochs3B~28%~6%~10~0.05
LoRA-FT 30 epochs3B~38%~5%17.85≈0.00
LoRA-FT 30 epochs7B~58%~9%17.85≈0.00
Paraphrase-aug FT 30ep (single seed, not compute-matched)7B~62%~14%21.12≈0.00

Green: ICL preserves calibration (high entropy, moderate margin). Red: FT regimes collapse the distribution (entropy → 0, margin rises monotonically with gradient passes). Application accuracy on FT is worse than no-context at both sizes: the application-degradation result. The paraphrase row runs ~5× the cumulative gradient steps of the raw 30ep row beside it, so its position reflects compute rather than paraphrasing; the three-seed compute-matched comparison reverses the ordering, and it is that comparison the paraphrase claim rests on.

Applied consequences

Caveats (scope conditions)

FT tested in both LoRA and full-parameter modes (3B + 7B); the two modes differ in rate of collapse, but they also use different learning rates per standard practice and no LR sweep was run, so that rate difference is not cleanly isolated from the LR confound. Single random seed in the single-budget runs; three seeds in the compute-matched and full-parameter ablations (42 training runs). Two model sizes span less than one order of magnitude. One invented domain (Zorbetik). One extended-depth seed outlier is flagged in the paper, so single measurements at high training depth warrant more caution than short budgets. The single-seed comparison in which paraphrase-FT appears to compress further than raw-FT carries a gradient-step confound; the multi-seed compute-matched control reverses the direction, and it is that comparison the paraphrase claim rests on. The conflict probes are n=40 per probe, single seed, one model family, and on one of them the exact split is adjudicator-dependent while the direction is not.

Why this paper exists

Paper 1 establishes that RLHF compresses the substrate's competing-routes signal, a special case of a structural property of backward-pass training. This paper isolates that property in its simplest form: plain LoRA fine-tuning on innocuous factual data produces the same compression, with the depth tracking cumulative gradient passes, buffered but not prevented by variation in the training data. The standard ICL-vs-FT framing as a deployment-cost trade-off therefore misses the architectural distinction. ICL and FT instantiate two different memory regimes on the same substrate.

Companion papers

Cite

Pødenphant Lund, T. (2026). Per-Token Confidence Trajectory in LoRA Fine-Tuning: Substrate-Output Evidence for Cumulative Calibration Collapse [Preprint]. Zenodo. https://doi.org/10.5281/zenodo.20145218

Data and code

Per-token logprob datasets, fine-tuning notebooks, and analysis scripts share Paper 2's companion repository: github.com/tplund/friction-theory-p2-capacity-scaling (CC BY 4.0).