Skip to content
Query Feedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  1. Home /
  2. AI Glossaries /
  3. LLMs /
  4. What is LoRA (Low-Rank Adaptation)?
LLMs

What is LoRA (Low-Rank Adaptation)?

Updated September 21, 2026 Read 3 min

LoRA (low-rank adaptation) is a parameter-efficient fine-tuning method that freezes a model's original weights and trains two small matrices whose product represents the weight update, dramatically reducing the parameters and memory needed.

Contents 12
  1. 01Key takeaways
  2. 02LoRA explained in simple terms
  3. 03How LoRA works
  4. 04A worked example: counting parameters
  5. 05Choosing LoRA settings
  6. 06QLoRA
  7. 07LoRA in image generation
  8. 08Deploying LoRA adapters
  9. 09Limitations
  10. 10Common Use Cases
  11. 11Frequently Asked Questions
  12. 12Related Terms

LoRA (low-rank adaptation) is a parameter-efficient fine-tuning method that freezes a model’s original weights and learns the update as the product of two small matrices. Because these matrices are tiny compared with the full weight matrices, LoRA trains a small fraction of the parameters, uses much less GPU memory and produces small adapter files. It was introduced by Edward Hu and colleagues at Microsoft in 2021 and is now the most widely used PEFT method for LLMs and image models.

Key takeaways

  • LoRA keeps the base model frozen and trains small low-rank matrices.
  • The rank (r) controls adapter size and capacity; common values range from 4 to 64.
  • Adapters can be merged into the base weights, so there is no extra inference delay.
  • QLoRA combines LoRA with a 4-bit base model to fine-tune very large models on one GPU.
  • LoRA is also popular for customising image generators with new styles or subjects.

LoRA explained in simple terms

Imagine a huge spreadsheet of numbers, the model’s weights. Fine-tuning normally edits every cell. LoRA’s insight is that the changes needed for a new task usually follow a simple pattern, so you can describe them with two thin strips of numbers that, when multiplied, recreate the change across the whole sheet. You store and train only the strips.

How LoRA works

For a weight matrix W in the model, LoRA adds an update ΔW = B × A, where:

  • A is a small matrix of size r × d (d is the layer width).
  • B is a small matrix of size d × r.
  • r is the rank, much smaller than d.

During training, W stays frozen; only A and B are updated. B usually starts at zero, so the model initially behaves exactly like the base model. A scaling factor, alpha, controls how strongly the update is applied. LoRA is typically applied to the attention projection matrices of transformer layers, and often to feed-forward layers too.

A worked example: counting parameters

Take one weight matrix of size 4,096 × 4,096, a common size in 7-billion-parameter models.

  • Full fine-tuning: 4,096 × 4,096 = 16,777,216 trainable parameters.
  • LoRA with r = 8: A is 8 × 4,096 = 32,768 and B is 4,096 × 8 = 32,768, for a total of 65,536.

That is about 0.4% of the original, for this matrix. Across a whole model, LoRA commonly trains well under 1% of the parameters. The original LoRA paper reported that, for GPT-3 175B, it cut trainable parameters by about 10,000 times and GPU memory by about 3 times compared with full fine-tuning, while matching quality on the tested tasks.

Choosing LoRA settings

SettingWhat it controlsTypical guidance
Rank (r)Capacity of the adapterStart at 8–16; increase for complex tasks
AlphaStrength of the updateOften set equal to or double the rank
Target modulesWhich layers get adaptersAttention layers; adding feed-forward layers can help
Learning rateSpeed of trainingUsually higher than for full fine-tuning
DropoutRegularization for the adapterSmall values, such as 0.05–0.1

QLoRA

QLoRA, introduced by Tim Dettmers and colleagues in 2023, loads the base model in 4-bit precision using quantization and trains LoRA adapters on top. The paper showed a 65-billion-parameter model could be fine-tuned on a single 48 GB GPU, putting large-model fine-tuning within reach of small teams.

LoRA in image generation

In the image community, a “LoRA” often means a small add-on file that teaches a diffusion model a new style, character or product. Designers can combine several LoRAs and adjust their strength, without retraining the full model.

Deploying LoRA adapters

  • Merge the adapter into the base weights for a standalone model with no added latency.
  • Keep separate to swap adapters per customer or task on one base model.
  • Serving frameworks can host many LoRA adapters on a single GPU.

Limitations

  • May trail full fine-tuning on large domain shifts.
  • Rank and target modules need experimentation.
  • Adapters only work with the exact base model they were trained on.
  • Does not reduce the base model’s memory needs at inference unless combined with quantization.

Common Use Cases

01

Custom LLM assistants

Fine-tune open-weight models for company tone and tasks at low cost.

02

Multi-tenant SaaS

Serve per-customer adapters on a shared base model.

03

Single-GPU fine-tuning

Use QLoRA to fine-tune large models on one GPU.

04

Image style training

Teach image models a brand style, product or character.

05

Rapid A/B testing

Train multiple adapter variants and compare quickly.

06

Language and domain adapters

Add adapters for specific languages or industries.

Frequently Asked Questions

Low-rank adaptation: a fine-tuning method that freezes a model's weights and trains small low-rank matrices that represent the update.

The size of the small matrices. Higher rank gives more capacity but more parameters to train.

Not if the adapter is merged into the base weights. Unmerged adapters add a small overhead.

QLoRA applies LoRA to a 4-bit quantized base model, cutting memory further so larger models can be fine-tuned.

A small add-on file that adapts an image model to a specific style, subject or concept.

Related Terms

  • Parameter-Efficient Fine-Tuning
  • Fine-Tuning
  • QLoRA
  • Model Quantization
  • Supervised Fine-Tuning
  • Open-Weight Model

Related AI Terms

What is Positional Encoding?Positional encoding is the method transformers use to represent the order of tokens in a sequence, because the…What is Self-Attention?Self-attention is a mechanism where each position in a sequence attends to every other position in the same…What is an Attention Head?An attention head is a single attention unit inside a transformer layer, with its own query, key and…What is Prefix Tuning?Prefix tuning is a parameter-efficient fine-tuning method that learns trainable vectors inserted into the attention keys and values…What is RoPE (Rotary Positional Embedding)?RoPE (rotary positional embedding) encodes a token's position by rotating its query and key vectors by an angle…What is Multi-Head Attention?Multi-head attention runs several attention operations in parallel, each with its own learned projections, so a model can…

Contents

  1. 01Key takeaways
  2. 02LoRA explained in simple terms
  3. 03How LoRA works
  4. 04A worked example: counting parameters
  5. 05Choosing LoRA settings
  6. 06QLoRA
  7. 07LoRA in image generation
  8. 08Deploying LoRA adapters
  9. 09Limitations
  10. 10Common Use Cases
  11. 11Frequently Asked Questions
  12. 12Related Terms

AI Topic

  • LLMs

Related Terms

  • What is Positional Encoding?
  • What is Self-Attention?
  • What is an Attention Head?
  • What is Prefix Tuning?
  • What is RoPE (Rotary Positional Embedding)?
  • What is Multi-Head Attention?

Quick Navigation

  • Common Use Cases
  • Frequently Asked Questions
  • Related Terms
  • Back to top

Details

Updated
September 21, 2026
Read
3 min
  • Forum
  • Submit a tool
  • Submit Guest Post
  • List Your Startup
  • Privacy Policy
  • Editorial Policy
  • Account
  • Contact
  • AI Productivity
  • AI Video
  • AI Coding
  • AI Chatbots
  • Sales
  • AI Business
  • View All Tools

Subscribe our Newsletter

Get weekly exclusive content - No spam.

Copyright © 2026 -  Query Feedz

Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}