Overview
Direct Answer
Transfer learning is a machine learning methodology in which a model trained on a source domain or task is repurposed and fine-tuned for application to a target domain or task. This approach leverages learned representations—weights, feature hierarchies, and patterns—rather than training from random initialisation.
How It Works
A pre-trained model, typically trained on large-scale datasets, serves as a feature extractor. During the adaptation phase, either the final layers are retrained on new data whilst keeping earlier layers frozen, or all parameters undergo fine-tuning with a lower learning rate. This process preserves foundational knowledge whilst specialising the model to new target characteristics.
Why It Matters
Organisations deploy this technique to reduce computational cost, accelerate model development cycles, and achieve higher accuracy with limited labelled data. In resource-constrained settings, leveraging pre-trained models substantially lowers training time and infrastructure requirements whilst improving convergence speed and generalisation performance.
Common Applications
Computer vision applications utilise ImageNet-pretrained models for medical image analysis, object detection, and satellite imagery classification. Natural language processing commonly applies models trained on large corpora to domain-specific tasks including sentiment analysis, named entity recognition, and document classification.
Key Considerations
Domain mismatch between source and target can degrade performance if the learned representations are insufficiently similar. Practitioners must balance the trade-off between preserving pre-trained weights and adapting to target-specific characteristics, requiring careful selection of which layers to freeze and adjustment of hyperparameters.
More in Machine Learning
Matrix Factorisation
Unsupervised LearningA technique that decomposes a matrix into constituent matrices, widely used in recommendation systems and dimensionality reduction.
Logistic Regression
Supervised LearningA classification algorithm that models the probability of a binary outcome using a logistic function.
Feature Engineering
Feature Engineering & SelectionThe process of using domain knowledge to create, select, and transform input variables to improve model performance.
Underfitting
Training TechniquesWhen a model is too simple to capture the underlying patterns in the data, resulting in poor performance on both training and test data.
Online Learning
MLOps & ProductionA machine learning method where models are incrementally updated as new data arrives, rather than being trained in batch.
K-Nearest Neighbours
Supervised LearningA simple algorithm that classifies data points based on the majority class of their k closest neighbours in feature space.
Decision Tree
Supervised LearningA tree-structured model where internal nodes represent feature tests, branches represent outcomes, and leaves represent predictions.
Regularisation
Training TechniquesTechniques that add constraints or penalties to a model to prevent overfitting and improve generalisation to new data.