What is Low-rank adaptation?
In Turkish: LoRA · Topic: Models and training
A fine-tuning method that adapts a large model to a new task by training two small low-rank matrices added to each layer, instead of updating all of the model's weights.
How does it work?
The base model's weights are frozen. The change to a weight matrix is expressed as the product of two thin matrices rather than one huge matrix, which is where the term low-rank comes from. Only these small matrices are learned during training, so memory and storage needs drop sharply. Afterwards the add-ons can be saved as a small separate file or merged into the base model to make a single model. It is like adding notes in the margins of a book instead of reprinting the whole thing.
Why does it matter?
LoRA made customizing large models possible with much less hardware. Because many small adapters for different tasks can be attached to the same base model, costs fall and deployment gets easier. It is one of the most widely used techniques behind the community adaptation of open-weight models.
Example
A law firm can freeze an open-weight base model and train a small LoRA adapter for summarizing contracts, then plug a different adapter into the same model for client questions.
FAQ
What is QLoRA?
It is a variant of LoRA in which the base model is loaded into memory at lower precision (quantized). This cuts memory requirements even further.
Does LoRA replace full fine-tuning?
On many tasks it gets close to full fine-tuning, but it can fall short when a model must absorb a lot of new, broad knowledge. The choice depends on the task and the resources available.