liveBook · Manning

Low-rank adaptation

As explained in The AI Pocket Book

A fine-tuning method that adds small trainable layers or low-rank updates while leaving the original model largely intact.

Low-rank adaptation, usually called LoRA, fine-tunes an existing model without rewriting its original parameters. It inserts small layers containing new learnable parameters, so training changes a limited part of the system. section 3.3

What changes during fine-tuning

Instead of updating every parameter in an existing model, LoRA adds small trainable layers and leaves the original model parameters intact. The fine-tuning process therefore calculates fewer parameter updates on each iteration. section 3.3

LoRA’s practical tradeoffs:

  • Speeds up fine-tuning because fewer parameter updates must be calculated. section 3.3
  • Helps control overfitting by restricting how many parameters can change. section 3.3
  • Still requires suitable fine-tuning configuration and validation or test sets to compare strategies and detect overfitting. section 3.3

How The AI Pocket Book covers it

How deep it goes
Explains inserted learnable layers, preserved original parameters, update savings, and overfitting control without mathematical detail.
Examples
Uses inserted small layers, new learnable parameters, and unchanged original model parameters as its central artifacts.
What you can do after
Apply LoRA to fine-tune an existing model while monitoring validation or test performance for overfitting.
How it connects
Connects fine-tuning with overfitting, validation sets, test sets, regularization, dropout, and model evaluation.

Also explained in

Compare how 9 books explain low-rank adaptation →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of The AI Pocket Book. The section links point to the parts of the book it draws on.