liveBook · Manning

Parameter-efficient fine-tuning

As explained in The Art of AI Product Development

Parameter-efficient fine-tuning is a fine-tuning method that adapts a model by updating a small subset or additional parameterization rather than all model parameters.

Parameter-efficient fine-tuning (PEFT) adapts a language model by updating only a small subset of its parameters rather than all of them. Compared with full fine-tuning, this makes customization faster and less resource-intensive—especially when a product needs repeated updates or several specialized models. section 8.2.1 section 8.2.2

Scaling client-specific classification

A content application fine-tunes a small language model to classify documents by topic so generated content draws from relevant sources. Its pilot reaches 92% accuracy, but training a separate full model for every client would be difficult to scale. PEFT makes it more practical to maintain models reflecting different client domains and taxonomies. Users can flag incorrect source choices, which become corrections for later training. section 8.2.2

When deciding whether PEFT fits, check:

  • Model access and compatibility. Confirm that the candidate model supports PEFT and permits parameter changes; inference-only access is not enough for this approach. section 8.2.1
  • The quality–cost trade-off. Test promising model sizes with small, representative datasets instead of committing early to the largest candidate. section 8.2.1
  • The improvement loop. Track errors, add corrective examples, and evaluate whether customization improves the application rather than assuming every new technique will help. section 5.4.5

PEFT reduces the cost of changing model parameters; it does not replace good data, application-specific evaluation, or user feedback. Treat it as one option alongside prompting and retrieval improvements, chosen for measurable benefit rather than novelty. section 5.4.5 section 8.3

How The Art of AI Product Development covers it

How deep it goes
Defines PEFT by its limited parameter updates and compares its costs with full fine-tuning, without specifying an implementation variant.
Examples
Uses a topic-classification pilot with 92% accuracy and the need to maintain models for multiple client taxonomies.
What it assumes
Assumes basic familiarity with models and fine-tuning while defining PEFT through the parameters it updates.
What you can do after
Evaluate/understand it as a lower-cost fine-tuning option when selecting models and planning repeated customization.
How it connects
Connects PEFT to supervised fine-tuning, domain-specific datasets, model selection, evaluation, and MLOps.

Also explained in

Compare how 5 books explain parameter-efficient fine-tuning →

Related concepts

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