LoRA & Fine-Tuning

30 beliefs (30 IN, 0 OUT)

This topic covers the mechanics, benefits, and theoretical underpinnings of parameter-efficient fine-tuning, with LoRA (Low-Rank Adaptation) as the central subject and QLoRA as its quantized extension. At its core, the knowledge base establishes that fine-tuning is a specific form of transfer learning rather than a separate paradigm (finetuning-is-specific-form-of-transfer-learning), and that LoRA implements this by adding a low-rank decomposition to selected weight matrices, reducing trainable parameters from billions to a few million (lora-replaces-weight-updates-with-lowrank-matrix-additions). On GPT-3 175B, this translates to 4.7M to 37.7M trainable parameters depending on rank, representing up to 10,000x fewer than full fine-tuning (gpt3-lora-parameter-budget-4-7m-to-37-7m), and checkpoint sizes drop from roughly 350 GB to 35 MB while training throughput actually improves by about 25 percent (lora-gpt3-175b-resource-reduction). QLoRA pushes this further by combining 4-bit NF4 quantization with LoRA adapters and paged optimizers, enabling 65B-parameter model fine-tuning on a single 48 GB GPU (qlora-65b-finetuning-single-48gb-gpu, qlora-4bit-nf4-lora-paged-optimizer-single-gpu). The practical accessibility of this approach is underscored by the contrast with adapter layers, which when inserted sequentially in series with the base model introduce over 30 percent latency overhead in small-batch online inference (adapter-sequential-insertion-latency-exceeds-30pct), whereas LoRA introduces zero additional inference latency because the low-rank update is merged into the base weight matrix at deployment (lora-zero-inference-latency-merge).

The empirical and theoretical claims reinforce one another in a layered way. Empirically, LoRA with only 0.35M trainable parameters matches or exceeds full fine-tuning with 354M parameters on DART and WebNLG (lora-matches-finetuning-dart-47-1-bleu), and on the extreme low-data MNLI-100 benchmark it substantially outperforms both prefix tuning and full fine-tuning (lora-outperforms-prefix-tuning-low-data-mnli100). Theoretically, the knowledge base offers an interpretation of why such a low-rank update works: LoRA's delta-W amplifies directions in the pretrained weight matrix that are not among its top singular vectors, effectively activating underemphasized features relevant to the downstream task (lora-delta-w-amplifies-underemphasized-directions), and the Frobenius-norm amplification ratio at rank 4 on GPT-3's 48th layer is approximately 21.5x in those specific latent directions (lora-amplification-factor-21x-at-rank4). Subspace overlap analysis shows that the top singular-vector direction of an r=8 update is shared with an r=64 update at normalized similarity above 0.5, while higher-index directions diverge, suggesting extra rank captures training noise rather than signal (lora-subspace-overlap-r8-r64-noise-evidence). This is consistent with the finding that rank 1 already performs competitively on GPT-3 175B (lora-rank1-suffices-gpt3-175b), and that adapting both Wq and Wv at rank 4 outperforms adapting a single weight type at rank 8 under the same parameter budget (lora-best-weight-selection-wq-wv-rank4, lora-applied-wq-wv-primary-experiments). The generalization property is also noted: setting LoRA's rank equal to the full matrix rank and applying it to all weight matrices recovers full fine-tuning expressiveness, making LoRA a strict superset (lora-generalization-of-full-finetuning).

A few cross-cutting claims sit at a slightly higher level of abstraction. One holds that evidence of parameter redundancy (95 percent performance retained at 60 percent of parameters, cross-layer sharing, weight tying) suggests the pretrain-then-finetune paradigm's enduring value lies more in its data-processing methodology than in any specific architecture (parameter-redundancy-explains-paradigm-survival). Another notes that narrow-task fine-tuning can have representational side effects: fine-tuning CLIP on ImageNet reduces its alignment with LLM representations, while fine-tuning more broadly can distort pretrained features and reduce out-of-distribution robustness, with the standard mitigation being linear interpolation between fine-tuned and original weights (prh-clip-imagenet-finetuning-reduces-alignment, finetuning-ood-robustness-mitigated-by-linear-weight-interpolation). The knowledge base also includes more narrowly scoped fine-tuning practices, such as SBERT's siamese-network fine-tuning on SNLI and Multi-Genre NLI data completing in under 20 minutes from pretrained BERT weights (sbert-siamese-finetuning-on-snli, sbert-finetuning-nli-datasets, sbert-finetuning-under-20-minutes), and a minor observation that FLAN-T5 shows a small decrease on the original NQ set when using CAD, attributed to NQ being part of its instruction-finetuning data (cad-flan-t5-nq-decrease).

No beliefs in this topic group are marked OUT, so there are no retracted claims to account for. All stated beliefs are currently active and mutually consistent. The primary distinctions among them are between definitional/mechanical premises (what LoRA is, how it initializes with B=zero and A=Gaussian or Kaiming-uniform so that delta-W is zero at start, lora-initialization-b-zero-a-gaussian-zero-update and lora-initialization-kaiming-uniform-zero), empirical performance results, and interpretive-theoretical claims about what the low-rank update is doing geometrically in weight space. The training configuration details (AdamW, batch 128, 2 epochs, specific learning rates for WikiSQL and MNLI, lora-gpt3-training-config-adamw-128batch-2epoch) serve as operational context for the empirical claims, and the negative result that combining LoRA with prefix-layer tuning degrades performance due to learning-rate sensitivity provides a useful boundary condition (lora-plus-prefixlayer-degrades-performance). The monosemanticity dataset sourcing note (monosemanticity-dataset-sources) is a tangential inclusion, relevant only insofar as it documents that certain research datasets explicitly exclude fine-tuning data.