[{"data":1,"prerenderedAt":207},["ShallowReactive",2],{"glossary-en-transfer-learning":3,"glossary-related-en-transfer-learning":188},{"id":4,"title":5,"body":6,"description":168,"extension":169,"meta":170,"navigation":183,"path":184,"seo":185,"stem":186,"__hash__":187},"en_glossary\u002Fen\u002Fglossary\u002Ftransfer-learning.md","What are Transfer Learning and Foundation Models?",{"type":7,"value":8,"toc":157},"minimark",[9,17,22,25,29,32,48,52,55,58,61,65,92,96,107,110,114,134,138,141],[10,11,12,16],"p",{},[13,14,15],"strong",{},"Transfer learning"," carries what a model learned from millions of images over to a different problem with far less data. In industrial projects labelled data is expensive, so this is almost always the starting point.",[18,19,21],"h2",{"id":20},"why-does-it-work","Why Does It Work?",[10,23,24],{},"During pre-training the model learns general features such as edges, textures, corners and shapes that are useful in almost every visual task. Recognising a weld defect or a surface scratch does not require learning these basics from scratch; only the part that maps them to your classes is trained.",[18,26,28],{"id":27},"backbone-and-head","Backbone and Head",[10,30,31],{},"An image model roughly has two parts:",[33,34,35,42],"ul",{},[36,37,38,41],"li",{},[13,39,40],{},"Backbone",": extracts general features (edges, textures, shapes) from the image. Comes from pre-training.",[36,43,44,47],{},[13,45,46],{},"Head",": turns those features into your task (a tree mask, a building polygon, \"defective\u002FOK\"). Trained from scratch.",[18,49,51],{"id":50},"example-how-many-parameters-are-trained","Example: How Many Parameters Are Trained?",[10,53,54],{},"An ImageNet-pretrained ResNet-50 has about 25.6 million parameters and produces a 2048-dimensional feature vector before its last layer. A new classification head for \"defective \u002F OK\" has:",[10,56,57],{},"2048 × 2 + 2 = 4,098 trainable parameters",[10,59,60],{},"So with the backbone frozen, less than 0.02% of all parameters are trained. That is why a meaningful starting model can be obtained even from a few hundred labelled images.",[18,62,64],{"id":63},"how-much-to-train","How Much to Train?",[66,67,68,74,80],"ol",{},[36,69,70,73],{},[13,71,72],{},"Freeze the backbone",", train only the head: fast, works with little data.",[36,75,76,79],{},[13,77,78],{},"Unfreeze the last backbone blocks"," (partial fine-tuning): usually the best balance. Unfrozen layers get a lower learning rate.",[36,81,82,85,86,91],{},[13,83,84],{},"Train the whole model",": needs a lot of data and carries a high ",[87,88,90],"a",{"href":89},"\u002Fen\u002Fglossary\u002Foverfitting","overfitting"," risk.",[18,93,95],{"id":94},"foundation-models","Foundation Models",[10,97,98,99,102,103,106],{},"A ",[13,100,101],{},"foundation model"," is a large model trained on very broad, diverse data that can be adapted to many tasks. In vision, ",[13,104,105],{},"Vision Transformer (ViT)"," based models such as DINOv3 stand out; versions pre-trained on satellite imagery generalise noticeably better on aerial photos than general image models.",[10,108,109],{},"In a project where we draw buildings and boundaries from orthophotos, unfreezing the last 8 blocks of a satellite-pretrained ViT backbone raised building F1 on an unseen region from 0.54 to 0.67. The gain came not from the model's name but from a large, domain-appropriate backbone plus partial fine-tuning.",[18,111,113],{"id":112},"common-mistakes","Common Mistakes",[33,115,116,122,128],{},[36,117,118,121],{},[13,119,120],{},"Mismatched preprocessing",": if the normalisation and input size used in the backbone's pre-training are not kept, performance drops.",[36,123,124,127],{},[13,125,126],{},"Ignoring domain shift",": a backbone trained on natural photos may help only a little on thermal or X-ray images; choose pre-training close to your domain where possible.",[36,129,130,133],{},[13,131,132],{},"A high learning rate on every layer",": can wipe out pre-trained knowledge in the first few epochs.",[18,135,137],{"id":136},"industrial-use","Industrial Use",[10,139,140],{},"In visual inspection, defective examples are scarce; transfer learning is the standard starting point there. Vibration signals can be converted to spectrograms and classified with image backbones, but this approach must be validated on a separate test set.",[10,142,143,144,148,149,148,153],{},"Related: ",[87,145,147],{"href":146},"\u002Fen\u002Fglossary\u002Fmodel-training-optimization","Model Training and Optimisation",", ",[87,150,152],{"href":151},"\u002Fen\u002Fglossary\u002Findustrial-ai","Industrial AI",[87,154,156],{"href":155},"\u002Fen\u002Fsolutions\u002Findustrial-ai","Industrial AI solutions",{"title":158,"searchDepth":159,"depth":159,"links":160},"",2,[161,162,163,164,165,166,167],{"id":20,"depth":159,"text":21},{"id":27,"depth":159,"text":28},{"id":50,"depth":159,"text":51},{"id":63,"depth":159,"text":64},{"id":94,"depth":159,"text":95},{"id":112,"depth":159,"text":113},{"id":136,"depth":159,"text":137},"What is transfer learning? Adapting a pre-trained model to your own problem with little data: backbone, head, fine-tuning options and foundation models.","md",{"tags":171,"translation":176,"term":172,"related":177,"updated":182},[172,173,174,175,152],"Transfer Learning","Foundation Model","Vision Transformer","Fine-tuning","transfer-ogrenme",[178,179,90,180,181],"model-training-optimization","deep-learning","data-labeling","computer-vision","2026-11-23",true,"\u002Fen\u002Fglossary\u002Ftransfer-learning",{"title":5,"description":168},"en\u002Fglossary\u002Ftransfer-learning","oQ8jJlpDpSS91CvoOZSqzau5rFhE8DMxpi-aIBVGSPI",[189,192,196,199,203],{"path":146,"title":190,"description":191},"Model Training and Optimization: Pre-training, Fine-tuning, LoRA, Quantization","What are pre-training, fine-tuning, LoRA and quantization? Core concepts for running models on edge devices, with parameter and memory examples.",{"path":193,"title":194,"description":195},"\u002Fen\u002Fglossary\u002Fdeep-learning","What is Deep Learning?","What deep learning is and how it works: multi-layer neural networks, with predictive maintenance and visual inspection examples from vibration and images.",{"path":89,"title":197,"description":198},"What are Overfitting and Generalisation?","What is overfitting and how to spot it? A training vs validation loss example, data leakage, class imbalance and test splits for predictive maintenance.",{"path":200,"title":201,"description":202},"\u002Fen\u002Fglossary\u002Fdata-labeling","What is Data Labelling?","What is data labelling? Label types, tools, pre-labelling, a Cohen kappa annotator agreement example and labelling failures for predictive maintenance.",{"path":204,"title":205,"description":206},"\u002Fen\u002Fglossary\u002Fcomputer-vision","What is Computer Vision?","What computer vision is: classification, detection, segmentation, a camera resolution calculation, IoU and mAP, industrial uses and common mistakes.",1795417505077]