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.

When a product needs a separate model for each customer, full fine-tuning can become expensive to repeat and maintain. Parameter-efficient fine-tuning (PEFT) adapts a model by updating only a small subset of its parameters, rather than all of them. This makes fine-tuning faster and more resource-efficient. section 8.2.1 section 8.2.2

Scaling topic classification

A content-generation app uses a fine-tuned small language model to classify documents so it can draw on relevant sources. Its pilot achieves 92% accuracy, but training a separate model for every client would be difficult to scale. The team uses PEFT to train and maintain more models tailored to clients’ domains and taxonomies. Clients can flag incorrect source selections, which are corrected and added to the dataset for further improvement. section 8.2.2

PEFT compatibility is one consideration when selecting a model, alongside model size, compute cost, domain coverage, and community support. Test candidate models and sizes on representative data before committing heavily to one approach. PEFT is an optimization option, not a guarantee that a technique will materially improve a particular application. section 8.2.1 section 5.4.5

Keep optimization connected to user outcomes: monitor errors, update representative data, evaluate changes, and use feedback to guide the next iteration. Automating monitoring, evaluation, and model updates can help teams repeat this cycle more quickly. section 5.4.5 section 8.2.2

How The Art of AI Product Development covers it

How deep it goes
Defines PEFT through selective parameter updates and practical cost benefits, without explaining specific methods or implementation.
Examples
Uses a client-specific document classification scenario with a 92% pilot accuracy and a feedback loop for incorrect source selections.
What you can do after
Evaluate and understand PEFT as a cost and scalability option when selecting and optimizing language models.
How it connects
Connects PEFT with supervised fine-tuning, topic classification, model selection, and continuous optimization.

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.