Skip to main content
Training & Optimization

LoRA (Low-Rank Adaptation)

LoRA (Low-Rank Adaptation) is a parameter-efficient fine-tuning method that freezes a pretrained model's weights and injects small trainable low-rank matrices into selected layers — cutting trainable parameters by up to 10,000x and GPU memory by about 3x with negligible quality loss on most tasks.

AIDOLS Research Team · Editorial standards

Full definition

Introduced by Hu et al. (Microsoft, 2021), LoRA decomposes weight updates ΔW into the product of two low-rank matrices A·B, training only A and B. A 7B-parameter model can be specialized with as few as 4–16M trainable parameters. Variants include QLoRA (a 4-bit quantized base model with 16-bit LoRA adapters), which made fine-tuning 65B models possible on a single 48GB professional GPU and 33B models on a single 24GB consumer GPU. LoRA adapters are also hot-swappable at serving time, enabling per-tenant customization.

Why it matters

LoRA collapsed the cost of model specialization from "data center project" to "afternoon experiment." Any team that thinks fine-tuning is too expensive to evaluate is using outdated mental models. AIDOLS recommends LoRA evaluation in nearly every domain-specific GenAI engagement.

Example

A legal-tech firm trains 14 jurisdiction-specific LoRA adapters on a 13B base model overnight on 2 H100s; total training cost <$300, served via adapter swapping at <2ms overhead per request.

Next steps

More training & optimization terms

Source & further reading

Primary source: Hu et al. — "LoRA: Low-Rank Adaptation of Large Language Models" (ICLR) (2022).

Citation policy: this entry is part of the AIDOLS AI Implementation Glossary and may be quoted for research, journalism, and education with attribution to aidolsgroup.com/en/glossary/lora/.