---
title: LoRA: Teaching a Big Model With a Few New Numbers | Large Programs
description: LoRA adapts a large model by training a tiny set of added numbers instead of all of them. What the 2021 paper reports, with exact figures from its abstract.
canonical: https://www.largeprograms.com/lora-teaching-a-big-model-with-a-few-new-numbers/
---

[Home](/) / [How LLMs Work](/category/how-llms-work/)

How LLMs Work

# LoRA: Teaching a Big Model With a Few New Numbers

LoRA adapts a large model by training a tiny set of added numbers instead of all of them. What the 2021 paper reports, with exact figures from its abstract.

27 November 2026 · 2 min read

Suppose a huge textbook already knows a lot, and you want it to learn one new subject. You could rewrite the whole book, which is slow and costly. Or you could slip a few extra pages inside. **LoRA** works like the extra pages.

![A big frozen model with two small adapters beside it, combined into a model with small new numbers.](/img/lora-adapters.svg)

The paper "LoRA: Low-Rank Adaptation of Large Language Models" was published in 2021. The name means low-rank adaptation. It is a popular way to do [fine-tuning](/what-is-fine-tuning/).

## The problem

The abstract says that as models get bigger, full fine-tuning, which retrains all of the model's parameters, becomes less feasible. Taking GPT-3 with 175 billion parameters as an example, the authors say that keeping a separate fine-tuned copy for each job is "prohibitively expensive". See [what are parameters in AI](/what-are-parameters-in-ai/).

## What LoRA does

According to the abstract, LoRA freezes the pre-trained weights and adds small trainable matrices to each layer of the Transformer, which greatly reduces the number of trainable parameters for each new task.

## What the authors report

- Compared with fine-tuning GPT-3 175B with the Adam method, LoRA can reduce the number of trainable parameters by 10,000 times and the GPU memory needed by 3 times.
- On the models they tested (RoBERTa, DeBERTa, GPT-2 and GPT-3), LoRA performed on a par with or better than fine-tuning, with fewer trainable parameters and higher training speed.
- Unlike adapters, it adds no extra delay when the model is used.
- They released a software package and example models.

These figures are the authors' results on their chosen models. They are not a promise for every model or task.

## Why it matters

Because LoRA needs far less memory, more people can adapt large models to their own needs. That is also why it is risky: anyone can change a model's behaviour. See [open versus closed models](/open-vs-closed-models/).

## A note on sources

Everything above comes from the abstract of the paper on arXiv (2106.09685), read on 27 November 2026. The textbook picture is this site's analogy.

## Sources

- [https://arxiv.org/abs/2106.09685](https://arxiv.org/abs/2106.09685)

[Read this page as Markdown (.md)](/lora-teaching-a-big-model-with-a-few-new-numbers.md)

## Keep reading

[![](/img/hero/art-ai-art-and-music-basics.svg)](/ai-art-and-music-basics/)

How LLMs Work

### [How AI Makes Music: A Beginner's Look](/ai-art-and-music-basics/)

Models can generate melodies and songs by learning patterns in sound. What that means for musicians.

[![](/img/hero/art-backpropagation-how-neural-networks-learn-from-mistakes.svg)](/backpropagation-how-neural-networks-learn-from-mistakes/)

How LLMs Work

### [Backpropagation: How a Network Learns From Its Mistakes](/backpropagation-how-neural-networks-learn-from-mistakes/)

Backpropagation is the method that works out how to adjust each weight in a neural network after it makes an error. A simple explanation with a team analogy.

[![](/img/hero/art-chain-of-thought-prompting-showing-your-working.svg)](/chain-of-thought-prompting-showing-your-working/)

How LLMs Work

### [Chain-of-Thought Prompting: Showing the Steps](/chain-of-thought-prompting-showing-your-working/)

Asking a language model to show intermediate steps can improve its answers to hard problems. What the research found and how it is like showing your working in maths.
