VL-Adapter
A CLIP-BART vision-and-language model tuned through small shared adapters instead of full fine-tuning.
Multimodal · 1,078 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Multimodal
- Parameters
- 145.6M
- Operations
- 1,078
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2022
- Cited by
- 329 (as of 30 October 2026)
- Authors
- Yi-Lin Sung, Jaemin Cho, Mohit Bansal
- Source
- GitHub: ylsung/VL_adapter
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m21287
- Graph hash
- 45de4b0f3a021be45fecb30d866b95dda909dfd241d81002d9331e487aafd0d3
- Skeleton hash
- c6a428a946e6385190c814ad86c1e8a44365b481330683da638905f841812548
- Architecture hash
- be3e9d84467bfbdee85f64f82ecc94fd069951eae22c03dfe14bce59447a41c7
- Diagram SHA-256
- 0f217cd93490e1b55bd221a49a170cf83a8b3504804a303accd4ce6e548377cf
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
VL-Adapter studies how to adapt a vision-and-language model to downstream tasks while updating a small set of added parameters instead of the whole model. Its base architecture, which the paper names CLIP-BART, is a combination of CLIP and BART. The language model tackles multiple vision-and-language tasks as text generation, which avoids task-specific architectures. A text prompt in front of the input sentence tells the model which task to perform.
Adapters are sub-networks with small parameters inserted after every attention and feed-forward layer. Each consists of a downsampling layer, an upsampling layer and a residual connection. Adapter training updates the adapter modules, the layer normalization layers and the visual projection layer. The paper inserts Adapter and two variants, Hyperformer and Compacter, into the model. It finds the vanilla adapter the most competitive of the three.
The Single Adapter, a shared-weight vanilla adapter, is reported as the best in accuracy, efficiency and simplicity. With weight sharing the authors report matching full fine-tuning while training 4.18% of the total parameters on image-text tasks and 3.39% on video-text tasks. The image experiments use CLIP-ResNet101 as the vision encoder, with input images resized to 224 × 224.
Key idea. VL-Adapter shows that a single set of adapters shared across tasks, updating 4.18% of parameters on image-text tasks, can match full fine-tuning of a CLIP-BART vision-and-language model.
- VL-Adapter
- VL Adapter
- parameter-efficient transfer learning
- vision-and-language
- adapter tuning
- visual question answering
- image captioning
- CLIP-BART
- multi-task learning
- shared adapters
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{sung2022vladapterparameterefficienttransferlearning,
title={VL-Adapter: Parameter-Efficient Transfer Learning for Vision-and-Language Tasks},
author={Yi-Lin Sung and Jaemin Cho and Mohit Bansal},
year={2022},
eprint={2112.06825},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2112.06825},
}