Side-Tuning: A Baseline for Network Adaptation via Additive Side Networks
About
When training a neural network for a desired task, one may prefer to adapt a pre-trained network rather than starting from randomly initialized weights. Adaptation can be useful in cases when training data is scarce, when a single learner needs to perform multiple tasks, or when one wishes to encode priors in the network. The most commonly employed approaches for network adaptation are fine-tuning and using the pre-trained network as a fixed feature extractor, among others. In this paper, we propose a straightforward alternative: side-tuning. Side-tuning adapts a pre-trained network by training a lightweight "side" network that is fused with the (unchanged) pre-trained network via summation. This simple method works as well as or better than existing solutions and it resolves some of the basic issues with fine-tuning, fixed features, and other common approaches. In particular, side-tuning is less prone to overfitting, is asymptotically consistent, and does not suffer from catastrophic forgetting in incremental learning. We demonstrate the performance of side-tuning under a diverse set of scenarios, including incremental learning (iCIFAR, iTaskonomy), reinforcement learning, imitation learning (visual navigation in Habitat), NLP question-answering (SQuAD v2), and single-task transfer learning (Taskonomy), with consistently promising results.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | VTAB 1K | -- | 204 | |
| Video Question Answering | NExT-QA (val) | Overall Acc56.3 | 176 | |
| Image Classification | VTAB 1k (test) | Accuracy (Natural)58.21 | 121 | |
| Video Question Answering | NExT-QA ATPhard | Overall Accuracy36.8 | 27 | |
| Image Classification | FGVC (test) | Accuracy78.35 | 25 | |
| Text-to-Video Retrieval | SS label v2 | R@130.9 | 25 | |
| Text-to-Video Retrieval | Something-to-Something v2 | Recall@126.6 | 8 | |
| Video-to-Action Retrieval | Temporal-SSv2 | Recall@150.2 | 5 | |
| Video-to-Action Retrieval | SS template v2 | Recall@10.222 | 5 |