liveBook · Manning

Fine-tuning

As explained in Data Without Labels

Fine-tuning is the adaptation of a pretrained model's parameters to optimize performance on a target task.

Fine-tuning adapts a pretrained model’s parameters for a target task. In a deep belief network (DBN), it follows unsupervised layer-wise pretraining and uses labeled data with backpropagation. section 8.9.1

A DBN fine-tuning workflow proceeds as follows:

  • Pretrain each layer as a restricted Boltzmann machine (RBM), using contrastive divergence to learn increasingly abstract representations without labels. section 8.9.1
  • Fine-tune the entire network jointly with backpropagation and a labeled dataset. section 8.9.1
  • Adjust the weights to minimize prediction error for classification or regression. section 8.9.1

Unsupervised pretraining provides a more informative starting point and may reduce overfitting during supervised optimization. Full-network fine-tuning can still be computationally expensive, time-consuming, sensitive to hyperparameters, and difficult in very deep networks because of vanishing gradients. section 8.9.1

DBN-based recognition

A DBN can learn increasingly abstract sound or image features during pretraining, then fine-tune its complete network for supervised speech or image recognition. section 8.9.1

How Data Without Labels covers it

How deep it goes
Explains layer-wise pretraining, joint weight adjustment, objectives, benefits, and training difficulties without detailing optimizer implementation.
Examples
Uses DBNs for speech recognition, image recognition, dimensionality reduction, feature learning, and classification.
What it assumes
Assumes a pretrained layered model and labeled target data while connecting unsupervised RBM learning to supervised optimization.
What you can do after
Apply supervised fine-tuning to adjust a pretrained DBN for classification or regression using labeled data.
How it connects
Connects restricted Boltzmann machines, deep belief networks, contrastive divergence, backpropagation, supervised learning, classification, and regression.

Also explained in

Compare how 37 books explain fine-tuning →

Related concepts

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