18CSE484T - Deep Learning Unit 4 & 5 (12 MARKS)
12M: Transfer Learning Transfer learning: Transfer learning is the reuse of a pretrained model on a new problem In transfer learning, a machine exploits the knowledge gained from a previous task to improve generalization about the other Transfer learning has the benefit of decreasing the training time for a neural network model and resulting in lower generalization error Sometimes it takes days or even weeks to train a deep neural network from scratch on a complex task. Transfer learning decreases the task substantially How it works: In transfer learning, the early and middle layers are used and we only retrain the latter layers When to use transfer learning: There isn’t enough labeled training data There already exists a network that is pretrained on a similar task When task 1 and task 2 have the same input Implementing transfer learning: Two main approaches: Weight initialization Training a model to reuse it Using a pretrained model (select source model, reuse model, tune model)...