Abstract
Parameter-Efficient Transfer Learning (PETL) methods like LoRA and Adapters significantly reduce the number of trainable parameters but often fail to substantially decrease GPU memory footprint during training. This is due to the "entanglement" of trainable modules within the frozen backbone, necessitating the caching of intermediate activations for gradient computation. We present Disentangled Transfer Learning (DTL), which utilizes a lightweight Compact Side Network (CSN) running in parallel to a frozen backbone. By isolating the gradient chain and employing late-stage injection, DTL achieves state-of-the-art accuracy on benchmarks like VTAB-1K while reducing peak GPU memory usage by up to 75%.
Introduction
As vision models scale, full fine-tuning becomes computationally prohibitive. While PETL methods address parameter efficiency, they often overlook the memory bottleneck caused by activation caching. Standard PETL modules are inserted deep within the backbone, requiring backpropagation through the entire network to update even a few parameters. DTL addresses this by "disentangling" the trainable components from the backbone's primary computational path, allowing for massive memory savings without sacrificing performance.
Methods
The core of DTL is the Compact Side Network (CSN), which operates independently of the early layers of the frozen backbone.
- Disentanglement: Instead of inserting modules inside backbone blocks, the CSN sits alongside them.
- Low-Rank Mapping: Task-specific features are extracted using linear mappings with very low rank (e.g., 2 or 4).
- Late-Stage Injection: Learned features are only injected back into the backbone starting at a specific block $M$. This allows the first $M$ blocks to remain truly frozen and excluded from the gradient chain, drastically cutting memory usage.
- DTL+: An enhanced version incorporating depthwise separable convolutions (DWConv) for better spatial feature capture.
Key Results
DTL was evaluated on the VTAB-1K benchmark and various few-shot learning tasks.
- Superior Accuracy: DTL+ reached 77.9% average accuracy on VTAB-1K, surpassing previous state-of-the-art methods like SSF (75.7%) and LoRA (74.5%).
- Massive Memory Savings: Peak GPU memory for a ViT-B model dropped from 4.7GB (full fine-tuning) to just 1.6GB with DTL, representing a 65-75% reduction.
- Inference Efficiency: Because the first $M$ blocks are independent of task-specific modules, their outputs can be reused across multiple tasks, enabling up to 45% faster inference in multi-task scenarios.
- Robustness: In domain generalization tests, DTL showed an average improvement of up to 8% over baseline methods, suggesting it learns more robust features.
Conclusion
DTL provides a memory-efficient alternative to traditional PETL by breaking the gradient dependency between trainable modules and the backbone. While the current interaction is relatively coarse, the significant memory savings and competitive accuracy make it a compelling choice for large-scale model adaptation. Future work will explore finer-grained interactions that maintain this disentangled memory advantage.
Summary updated