Papers › LoRA: Low-Rank Adaptation of Large Language Models
LoRA: Low-Rank Adaptation of Large Language Models
Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, Weizhu Chen
An important paradigm of natural language processing consists of large-scale pre-training on general domain data and adaptation to particular tasks or domains. As we pre-train larger models, full fine-tuning, which retrains all model parameters, becomes less feasible. Using GPT-3 175B as an example -- deploying independent instances of fine-tuned models, each with 175B parameters, is prohibitively expensive. We propose Low-Rank Adaptation, or LoRA, which freezes the pre-trained model weights and injects trainable rank decomposition matrices into each layer of the Transformer architecture, greatly reducing the number of trainable parameters for downstream tasks. Compared to GPT-3 175B fine-tuned with Adam, LoRA can reduce the number of trainable parameters by 10,000 times and the GPU memory requirement by 3 times. LoRA performs on-par or better than fine-tuning in model quality on RoBERTa, DeBERTa, GPT-2, and GPT-3, despite having fewer trainable parameters, a higher training throughput, and, unlike adapters, no additional inference latency. We also provide an empirical investigation into rank-deficiency in language model adaptation, which sheds light on the efficacy of LoRA. We release a package that facilitates the integration of LoRA with PyTorch models and provide our implementations and model checkpoints for RoBERTa, DeBERTa, and GPT-2 at https://github.com/microsoft/LoRA.
In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.
For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2106.09685")
Code
Syntology Ran 34 of 84 code samples harvested from 24 repositories linked to this paper; 50 have no recorded run. Of those that ran: 1 ran · honoured contract; 4 ran · our draft was wrong; 1 ran · fixture could not drive it; 28 ran with no contract checked.
By repository: community (archive-listed): 84 samples from 24 repositories, 34 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.
74 repositories listed; official and paper-mentioned ones first.
Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.
Code Syntology ran Syntology
84 samples harvested; 34 ran; 1 honoured the contract we drafted; 50 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.
Licence: 28 of the 84 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.
Harvested from 24 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.
Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.
Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.
4025b3aa55f8b3e1 · report
f156ba83a62bfd88 · report
747685b3f553947b · report
1d022836585085cb · report
81d374052d6022b2 · report
1f506a3641c40fac · report
57b8771890dd7b1b · report
03b78b050e202a11 · report
d91b99d50ee2e13b · report
0fa772920c405ed2 · report
e9170e0ed6d12210 · report
33efd3e3245a8802 · report
d4f1b87ebb0746ff · report
e5f9e40bdb24afdb · report
b6d5f1638edabb8a · report
7bb2b9cb3064a59c · report
5e92a950d55ba432 · report
7a1353c5e5ac87b5 · report
b368ffa3c3d69f27 · report
867983846f2ffb06 · report
1464d2a7f4cf160e · report
d8d584f9d3ef1a8f · report
848321f611fd218e · report
cfdc29157de085e3 · report
53281c424cf5891f · report
a145b7042b65ac5e · report
47660e151147cb9e · report
adb7541f2edf078e · report
60df31a5803dfdaa · report
4236f53faf916aa2 · report
96cb172b7d428b13 · report
a6d5b89d9b7d3d00 · report
9027fb9844632cf2 · report
7d44a88878819ef3 · report
f877238ebdc262f1 · report
0cf569603c64a959 · report
3dd0d78f6a42a263 · report
a2a949d390f89698 · report
20fd5846de4854e1 · report
4e130d790f7e7dcd · report
399aed0da4b85280 · report
e9fa57bcc18e8142 · report
4e64816ecd5d8675 · report
551a5af99158f91b · report
ad8420238d39e438 · report
258dc95ececd559e · report
336b88501d97f8d6 · report
7b6da4bad1690c28 · report
f0826162829e047c · report
3a4aed8b19f818f9 · report
6351105db75b9e71 · report
b2c115afec17443b · report
db888a8265d40f72 · report
cd0246549fc50335 · report
078030b5193a097e · report
db50388eace49466 · report
2792e933b772b0f7 · report
f3fdd2b33f8ca63e · report
7a1b3f8b8ad8779a · report
e91d5f03692ee82c · report
70bab034f9244cb1 · report
8bf57961090630be · report
60b08148856c99db · report
1bad2db22f04ac99 · report
84f4e84719d66f4c · report
6cdb58fcb28a6786 · report
e9b9102ba2736955 · report
346a92eaf1c6cc2d · report
1db3631aa8a1aa75 · report
ac56d3e7b79dbc18 · report
8c51f5aaf2f659e2 · report
17ac338f74db73e2 · report
14548ec0148ab8ec · report
d26b6c885a1aa8e6 · report
143cc53e7535f55f · report
b0ef8d0623af5966 · report
6704486d6cc51ef0 · report
5f63441b43fd9611 · report
094357d881289dc6 · report
840d5d0a1e7b3a5e · report
02c2c36a57cb4648 · report
d7678113426bdefa · report
60b66de5aeee97ce · report
2ec748940a02967a · report
Tasks
1 archive task tag without a task page not shown.
Results from the paper archive 2025-07-28
| Task | Dataset | Model | Metric | Value | Rank at snapshot | Leaderboard | Report |
|---|---|---|---|---|---|---|---|
| Mathematical Reasoning | AMC23 | Math-Master | Acc | 82 | #2 of 3 | Archive leaderboard | report |
| parameter-efficient fine-tuning | BoolQ | LLaMA2-7b | Accuracy (% ) | 80.28 | #4 of 4 | Archive leaderboard | report |
| parameter-efficient fine-tuning | HellaSwag | LLaMA2-7b | Accuracy (% ) | 76.67 | #2 of 3 | Archive leaderboard | report |
| parameter-efficient fine-tuning | WinoGrande | LLaMA2-7b | Accuracy (% ) | 69.85 | #3 of 3 | Archive leaderboard | report |
Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.
Methods
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections