← New search

Other meanings of Transfer learning

Machine Learning

Transfer learning

Transfer learning is a machine learning technique that reuses knowledge from one task to improve performance on a related but different task. Instead of training a model from scratch, it leverages representations learned from a source domain to accelerate learning and boost accuracy in a target domain, often with less data and computation.

2010
First major survey
Pan & Yang
2015
ResNet wins ImageNet
He et al.
2019
BERT released
Google
2020
GPT-3 introduced
OpenAI
1

Definition and core idea

Transfer learning is a machine learning technique that reuses knowledge from one task to improve another. The core idea is that models trained on large, general datasets can be adapted to specialized tasks with limited data. For example, a neural network trained on millions of general images can be fine-tuned to detect specific objects in medical scans, achieving high accuracy with only a few hundred labeled examples.

Formally, transfer learning involves a source domain and a target domain. The source domain provides abundant labeled data, while the target domain has scarce labels. The model learns a representation from the source that captures general features, which are then transferred to the target. This is distinct from multi-task learning, where all tasks are learned simultaneously, and from domain adaptation, which focuses on aligning distributions between domains.

2

Methods and approaches

Transfer learning can be categorized into inductive, transductive, and unsupervised settings, depending on whether labels are available in the source and target domains. The most common practical approach is fine-tuning, where a pre-trained model's weights are used as initialization and then updated on the target task. Feature extraction is another method, where the pre-trained model's activations are used as fixed features for a new classifier.

Recent advances include parameter-efficient transfer learning, such as adapters and prompt tuning, which modify only a small subset of parameters to adapt to new tasks. In natural language processing, models like BERT and GPT are pre-trained on massive text corpora and then fine-tuned for tasks like sentiment analysis or question answering. In computer vision, models like ResNet and EfficientNet are commonly used as backbones for transfer learning.

3

Applications and impact

Transfer learning has become a cornerstone of modern AI, enabling breakthroughs in fields with limited labeled data. In medical imaging, it allows models to detect diseases from X-rays and MRIs with high accuracy, even when training data is scarce. In autonomous driving, it helps adapt models to new environments and weather conditions. In natural language processing, it powers chatbots, translation, and sentiment analysis.

Beyond industry, transfer learning has accelerated research in low-resource languages, where pre-trained multilingual models are fine-tuned for specific languages with minimal data. It also plays a role in reinforcement learning, where knowledge from simulated environments is transferred to real-world robots, reducing the need for costly real-world trials.

4

Lesser-known aspects

While transfer learning is widely used, several nuanced aspects are often overlooked. One is negative transfer, where transferring knowledge from a poorly related source actually degrades performance on the target task. This can happen when the source and target domains are too dissimilar, leading to misleading representations.

Another niche area is lifelong learning, where a model continuously transfers knowledge across a sequence of tasks, avoiding catastrophic forgetting. Techniques like elastic weight consolidation and progressive neural networks address this challenge. Additionally, transfer learning has been applied to non-neural models, such as Gaussian processes and support vector machines, through kernel-based methods. Finally, the concept of zero-shot learning, where a model performs a task it has never seen, is closely related but distinct, relying on semantic embeddings rather than direct transfer.

Glossary

Fine-tuning
A transfer learning method where a pre-trained model's weights are updated on a new task.
Source domain
The domain with abundant labeled data used to pre-train a model.
Target domain
The domain with limited data where the model is adapted.
Negative transfer
A phenomenon where transferring knowledge from an unrelated source harms performance.

Transfer learning is a foundational technique in modern AI, enabling efficient learning with limited data.