LoRA (Low-Rank Adaptation)
Simple Definition
LoRA (Low-Rank Adaptation) is a smarter way to fine-tune large AI models. Instead of updating all billions of a model’s parameters, which is slow and expensive, LoRA freezes the original model and adds a small set of new, trainable values on top. Only these small additions get updated during training.
The result: you get a customized model that behaves differently for your use case, at a fraction of the usual cost and time.
A Simple Analogy
Imagine a skilled chef (the base model) who knows how to cook thousands of dishes. Instead of sending them back to culinary school to retrain from scratch, you give them a small recipe card (LoRA) with adjustments specific to your restaurant’s style. The chef’s core skills stay the same; the card just nudges their decisions in a specific direction.
Why LoRA Exists
Fine-tuning a large model the traditional way requires:
- Massive amounts of GPU compute
- Weeks of training time
- Storing an entirely new copy of a 70B+ parameter model
LoRA solves this by:
- Adding tiny “adapter” layers (often less than 1% of the model’s size)
- Training only those adapters on your data
- Keeping the base model frozen and unchanged
What LoRA Is Used For
Image generation: LoRA is widely used with Stable Diffusion and similar models to teach an AI a specific art style, character, or visual concept. You’ll see “a LoRA for [artist style]” or “[character] LoRA” in AI art communities.
Language models: LoRA adapters can tune a base language model to follow specific instructions, adopt a tone, focus on a domain (e.g., legal, medical), or behave in a particular way.
LoRA Files
LoRA adapters are small files (often just 50–500MB compared to multi-gigabyte base models). They’re shared freely in communities like Hugging Face and Civitai, and are applied on top of a base model at inference time.
Related Terms
- Fine-Tuning, the broader process LoRA makes more efficient
- Model Parameters, the values LoRA avoids having to update directly
- LLM, language models that can be adapted with LoRA
- Training Data, the data used to train a LoRA adapter
- Foundation Model, the base model that LoRA builds on top of
Continue learning
Explore related guides, tools, workflows, and prompts that help you go deeper into this topic.
Browse all AI terms.
Learn termSee these concepts in practice.
Open workflowA simple explanation of this AI concept.
Learn termA simple explanation of this AI concept.
Learn termA simple explanation of this AI concept.
Learn termA simple explanation of this AI concept.
Learn termSee AI terms in action
Browse practical AI workflows that use the concepts in this glossary.
Last updated: