Adapters
Method · 2019
Definition
“Fine-tuning large pre-trained models is an effective transfer mechanism in NLP.”
From the defining paper: Parameter-Efficient Transfer Learning for NLP (Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski, et al., ICML 2019).
Lineage
Parent: Full fine-tuning
Children: Prefix-tuning; LoRA; Compacter
Incoming edges (1)
improves · memory efficiency
From Full fine-tuning · confidence 1 (All three quotes are verbatim substrings of the to-paper abstract; confidence 1.0.)
- Bottleneck
- “in the presence of many downstream tasks, fine-tuning is parameter inefficient: an entire new model is required for every task” Source: Parameter-Efficient Transfer Learning for NLP
- Mechanism
- “they add only a few trainable parameters per task” Source: Parameter-Efficient Transfer Learning for NLP
- Trade-off
- “we attain within 0.4% of the performance of full fine-tuning, adding only 3.6% parameters per task” Source: Parameter-Efficient Transfer Learning for NLP
Outgoing edges (3)
improves · inference speed
To LoRA · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “unlike adapters, no additional inference latency” Source: LoRA: Low-Rank Adaptation of Large Language Models
- Mechanism
- “which freezes the pre-trained model weights and injects trainable rank decomposition matrices into each layer” Source: LoRA: Low-Rank Adaptation of Large Language Models
- Trade-off
- No trade-off quoted.
improves · memory efficiency
To Compacter · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “these approaches either still require a relatively large number of parameters or underperform standard fine-tuning” Source: Compacter: Efficient Low-Rank Hypercomplex Adapter Layers
- Mechanism
- “Compacter accomplishes this by building on top of ideas from adapters, low-rank optimization, and parameterized hypercomplex multiplication layers” Source: Compacter: Efficient Low-Rank Hypercomplex Adapter Layers
- Trade-off
- No trade-off quoted.
compares · memory efficiency
To Prefix-tuning · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “it modifies all the language model parameters and therefore necessitates storing a full copy for each task” Source: Prefix-Tuning: Optimizing Continuous Prompts for Generation
- Mechanism
- “which keeps language model parameters frozen, but optimizes a small continuous task-specific vector” Source: Prefix-Tuning: Optimizing Continuous Prompts for Generation
- Trade-off
- No trade-off quoted.