Editing
Transfer Learning
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== <span style="color: #FFFFFF;">Creating</span> == Designing a transfer learning pipeline for a new domain: '''1. Source model selection''' <syntaxhighlight lang="text"> Task modality: βββ Images β ImageNet pre-trained (ResNet, EfficientNet, ViT) β βββ Medical images β MedCLIP, RadDINO, BioViL β βββ Satellite images β SatMAE, Prithvi β βββ Microscopy β CellViT, BioCLIP βββ Text β BERT, RoBERTa, DeBERTa (encoder); LLaMA (decoder) β βββ Scientific text β SciBERT, BioMedBERT β βββ Legal text β LegalBERT β βββ Code β CodeBERT, StarCoder βββ Multimodal β CLIP, Flamingo, LLaVA </syntaxhighlight> '''2. Progressive fine-tuning schedule''' <syntaxhighlight lang="text"> [Optional] Domain-adaptive pre-training (DAP): - Pre-train on in-domain unlabeled text/images (MLM or MAE) - No labels required; leverages domain corpus β Phase 1: Feature extraction (head only, 5β10 epochs) - Verify features are useful for target task - Establishes good head initialization β Phase 2: Gradual unfreezing - Unfreeze last block β train 5 epochs - Unfreeze next block β train 5 epochs - Continue until performance plateaus β Phase 3: Full fine-tuning (optional, if data permits) - Very low learning rate (1e-5) - Early stopping on validation metric </syntaxhighlight> '''3. Preventing catastrophic forgetting''' * Elastic Weight Consolidation (EWC): penalize updates to weights important for source task * Learning Without Forgetting (LwF): use original model as soft-label teacher * For LLMs: KL penalty on fine-tuned vs. original model's output distribution (the RLHF approach) * Replay: mix small fraction of source-domain data into fine-tuning batches [[Category:Artificial Intelligence]] [[Category:Machine Learning]] [[Category:Deep Learning]] </div>
Summary:
Please note that all contributions to BloomWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BloomWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information