Zubnet AILearnWiki › Transfer Learning
Training

Transfer Learning

Using knowledge learned from one task or dataset to improve performance on a different but related task. Instead of training from scratch every time, you start with a model that already understands general patterns (language structure, visual features) and adapt it to your specific need. Pre-training then fine-tuning is the dominant paradigm in modern AI.

Why it matters

Transfer learning is why AI became practical. Training a language model from scratch costs millions of dollars. Fine-tuning a pre-trained model on your specific task costs tens of dollars and a few hours. This economics is what enabled the explosion of AI applications — you don't need Google's budget to build something useful.

Deep Dive

The key insight: low-level features transfer across tasks. A vision model trained on ImageNet learns to detect edges, textures, and shapes in its early layers — features useful for almost any visual task. A language model trained on web text learns grammar, facts, and reasoning patterns useful for almost any language task. Transfer learning exploits this by reusing the general knowledge and only training the task-specific parts.

The Pre-train + Fine-tune Paradigm

Almost every AI system today follows this pattern: (1) pre-train a large model on a massive, general dataset (expensive, done once), (2) fine-tune on a smaller, task-specific dataset (cheap, done many times). BERT pioneered this for NLP in 2018. GPT scaled it up. The entire LLM industry is built on this paradigm — foundation models are the pre-trained base, and fine-tuning (including RLHF/DPO) is how they become useful assistants.

When Transfer Fails

Transfer learning works best when the source and target domains are related. A model pre-trained on English text transfers well to French (similar structure) but poorly to protein sequences (completely different domain). When domains are too different, transfer can actually hurt performance ("negative transfer"). Domain-specific pre-training (like BioGPT for biomedical text or CodeLlama for code) addresses this by pre-training on domain-relevant data.

Related Concepts

← All Terms
← Tool Use Transformer →