Skip to content
— CH. 1 · INTRODUCTION —

Transfer learning

5 min listen · Ch. 1 of 6
6 sections
  • Transfer learning is a technique in machine learning where knowledge built up on one task gets applied to a different but related task. Think of it this way: a system trained to recognize cars in images already understands something about wheels, windows, and metal surfaces. That foundation can be carried over when the same system faces trucks. The question the rest of this documentary will explore is how that idea moved from a theoretical curiosity into one of the central engines driving modern machine learning, and what it actually means in practice.

  • In 1976, Bozinovski and Fulgosi published a paper that put transfer learning in neural network training on a formal footing. Their work gave the topic a mathematical and geometrical model, making it possible to reason about the idea rather than just observe it informally. Five years later, in 1981, a separate report tested the concept empirically, applying it to a dataset of images showing letters on computer terminals. That experiment was notable because it demonstrated not just positive transfer learning, where earlier knowledge helps, but also negative transfer, where prior training can actually hurt performance on a new task.

    Lorien Pratt took the field further in 1992 by formulating the discriminability-based transfer algorithm, known as DBT. By 1998, the field had broadened to include multi-task learning and had developed more rigorous theoretical underpinnings. That same year, the book Learning to Learn appeared, which became one of the influential publications shaping the discipline. Two surveys, one in 2009 and one in 2019, would later mark further milestones in the field's growing body of literature.

  • Transfer learning is defined formally in terms of domains and tasks. A domain consists of a feature space paired with a marginal probability distribution. A task, defined within a specific domain, then combines a label space with an objective predictive function. That function predicts the label for a new instance, learned from training data pairing inputs with their labels.

    The goal of transfer learning is precisely to take knowledge from a source domain and its associated learning task, and use that knowledge to improve the predictive function for a target domain and task. The transfer is meaningful when the source and target domains, or their tasks, differ in some way, since identical domains would simply be the same problem. This formal framing allowed researchers to be precise about when transfer helps and when it backfires, a question the 1981 experiment had already shown mattered in practice.

  • A 2020 discovery pushed the idea of transfer into territory that had not been anticipated. Researchers found that electromyographic signals from muscles and electroencephalographic brainwave signals share enough physical similarity that knowledge learned in one domain can carry over to the other. Transfer from gesture recognition, which works with EMG data, to mental state recognition, which works with EEG data, proved possible. Strikingly, the relationship worked in both directions.

    The experiments showed that neural networks and convolutional neural networks both improved through transfer learning at two distinct points: before any learning had begun, compared with standard random weight distribution, and at the end of the learning process at the asymptote. That dual benefit meant pre-trained models were not just convenient starting points but genuinely better ones. Researchers also noted that end-users of a pre-trained model can modify the structure of fully-connected layers to push performance even further.

  • Andrew Ng said at his NIPS 2016 tutorial that transfer learning would become the next major commercial driver in machine learning, following supervised learning. That forecast made the stakes of understanding transfer learning's limits all the more pressing.

    By 2020, some of those limits were surfacing in unexpected ways. Zoph and colleagues, in a paper titled "Rethinking Pre-Training and self-training," reported that pre-training can actually hurt accuracy under certain conditions. Their recommendation was to favor self-training instead. The result complicated the straightforward picture of pre-training as an unqualified benefit, and pointed to the ongoing need to understand when and why transferring knowledge across tasks goes wrong rather than right.

  • Algorithms for transfer learning are available in Markov logic networks and Bayesian networks, giving practitioners a range of frameworks to work within. The applications that have emerged span an unusually wide set of fields: cancer subtype discovery, building utilization analysis, general game playing, text classification, digit recognition, medical imaging, and spam filtering.

    The relationship to multi-objective optimization and cost-sensitive machine learning also broadens its relevance. Because transfer learning draws on training with multiple objective functions, it connects to the larger problem of balancing competing goals in a learning system. The 2019 survey of the field captured that breadth and marked how far the discipline had traveled from Bozinovski and Fulgosi's 1976 paper.

Continue browsing

Common questions

What is transfer learning in machine learning?

Transfer learning is a machine learning technique where knowledge gained from training on one task is reused to improve performance on a related task. For example, a model trained to recognize cars can apply that knowledge when learning to recognize trucks.

Who first published research on transfer learning in neural networks?

Bozinovski and Fulgosi published the first paper addressing transfer learning in neural network training in 1976, providing a mathematical and geometrical model of the concept.

What did Andrew Ng say about the future of transfer learning?

At his NIPS 2016 tutorial, Andrew Ng said that transfer learning would become the next major driver of commercial success in machine learning, following supervised learning.

Can transfer learning hurt model accuracy?

Yes. In the 2020 paper "Rethinking Pre-Training and self-training," Zoph and colleagues reported that pre-training can hurt accuracy in some conditions and advocated for self-training instead.

What are the real-world applications of transfer learning?

Transfer learning has been applied to cancer subtype discovery, building utilization, general game playing, text classification, digit recognition, medical imaging, and spam filtering.

How is transfer learning connected to EMG and EEG signals?

A 2020 study found that due to their similar physical natures, transfer learning is possible between electromyographic (EMG) muscle signals and electroencephalographic (EEG) brainwave signals, and the relationship works in both directions.

All sources

25 references cited across the entry

  1. 1Spring Research Presentation: A Theoretical Foundation for Inductive TransferJeremy West et al. — Brigham Young University, College of Physical and Mathematical Sciences — 2007
  2. 2JournalSelf-organizing maps for storage and transfer of knowledge in reinforcement learningThommen George Karimpanal et al. — 2019
  3. 6BookNIPS Conference: Advances in Neural Information Processing Systems 5L. Y. Pratt — Morgan Kaufmann Publishers — 1992
  4. 7Thrun, Pratt (2012)Thrun, Pratt — 2012
  5. 8JournalA Survey on Transfer LearningSinno Jialin Pan et al. — 2010
  6. 9A Comprehensive Survey on Transfer LearningFuzhen Zhuang et al. — 2019
  7. 12JournalRethinking pre-training and self-trainingBarret Zoph — 2020
  8. 13JournalImproving EEG-Based Emotion Classification Using Conditional Transfer LearningYuan-Pin Lin et al. — 27 June 2017
  9. 14Learning Proceedings of the 22nd AAAI Conference on Artificial Intelligence (AAAI-2007)Lilyana Mihalkova et al. — July 2007
  10. 15Proceedings of the Eleventh International Conference on Artificial Intelligence and Statistics (AISTATS 2007)Alexandru Niculescu-Mizil et al. — March 21–24, 2007
  11. 17JournalA Scalable Room Occupancy Prediction with Transferable Time Series Decomposition of CO2 Sensor DataI.B. Arief-Ang et al. — 2018-12-01
  12. 21Book2015 13th International Conference on Document Analysis and Recognition (ICDAR)D. S. Maitra et al. — August 2015
  13. 23JournalCross-Domain MLP and CNN Transfer Learning for Biological Signal Processing: EEG and EMGJordan J. Bird et al. — Institute of Electrical and Electronics Engineers (IEEE) — 2020
  14. 24Book2015 13th International Conference on Document Analysis and Recognition (ICDAR)Durjoy Sen Maitra et al. — August 2015
  15. 25JournalSpinalNet: Deep Neural Network with Gradual InputH. M. Dipu Kabir et al. — January 7, 2022