Abstract
VMT-Adapter is a novel "once-for-all" parameter-efficient tuning method designed for multi-task dense scene understanding. It achieves $O(1)$ training and inference efficiency relative to the number of tasks, outperforming full fine-tuning on benchmarks like PASCAL-Context while utilizing as little as 0.36% to 1% of the pre-trained model's parameters. By balancing task-generic shared representations with lightweight task-specific extraction, VMT-Adapter mitigates task interference without the linear scaling costs of traditional multi-task adapters.
Introduction
As computer vision models grow into the billions of parameters, the traditional "fine-tune everything" approach has become computationally prohibitive, especially for multi-task learning. When a single model must handle diverse tasks like semantic segmentation, depth estimation, and saliency detection, researchers typically face a trade-off:
- Multiple Adapters: Assigning each task its own adapter module. This performs well but causes model size and inference time to scale linearly ($O(T)$) with the number of tasks.
- Shared Adapters: Forcing all tasks to share one adapter. This is efficient ($O(1)$) but often leads to "task interference," where competing task requirements degrade overall performance.
VMT-Adapter introduces a middle ground: a method that captures task-specific nuances without the linear overhead of traditional multi-task architectures.
Methodology
The Vision Multi-Task Adapter (VMT-Adapter) is integrated into the layers of a hierarchical Vision Transformer (specifically, the Swin Transformer).
VMT-Adapter Architecture
Unlike standard adapters that are purely task-specific, VMT-Adapter uses a shared "bottleneck" (down-projection and up-projection layers) to capture cross-task interactions. To maintain task-specific identity, it employs extremely lightweight Knowledge Extraction Modules. These modules apply simple scaling and shifting operations to the shared features based on a "gating ratio," allowing the model to extract task-relevant information without requiring heavy task-specific projection matrices.
VMT-Adapter-Lite
To push efficiency further, the authors developed VMT-Adapter-Lite. This version uses Kronecker Products to decompose the shared projection matrices into much smaller components. This mathematical trick allows the model to represent complex transformations using only a fraction of the weights.
Integration
Adapters are inserted in parallel to the MLP layers of the transformer blocks. Task-generic representations are added back to the encoder, while task-specific features are routed directly to the respective task decoders.
Experimental Setup
The model was evaluated on the PASCAL-Context dataset, a rigorous benchmark for dense scene understanding. The authors tested the model across four distinct tasks:
- Semantic Segmentation (21 classes)
- Human Part Segmentation (7 classes)
- Surface Normal Estimation
- Saliency Detection
Results and Analysis
Key Performance Metrics
- Superior Performance: VMT-Adapter achieved a 3.96% relative improvement over full fine-tuning while using only ~1% of the trainable parameters.
- Extreme Efficiency: The VMT-Adapter-Lite version still outperformed full fine-tuning (+1.34% improvement) while using a mere 0.36% of the parameters.
- Comparative Advantage: VMT-Adapter consistently outperformed other state-of-the-art parameter-efficient methods like Polyhistor, LoRA, and Hyperformer. Notably, it achieved better results than Polyhistor while being roughly six times more parameter-efficient and significantly faster at inference.
Insights into Task Interference
A significant finding is that VMT-Adapter reduces gradient conflicts between tasks compared to standard shared adapters. By providing a dedicated (yet minimal) pathway for task-specific knowledge, tasks tend to "help" each other more during training rather than competing for the same weights. Furthermore, the method scales well; relative gains improved when moving from a Swin-Tiny to a larger Swin-Base backbone.
Conclusion
VMT-Adapter offers a highly efficient "once-for-all" architecture for multi-task learning. While the task-specific modules are tiny, their parameter count technically grows with the number of tasks—a potential limitation if scaling to thousands of tasks. Future work may explore VMT-Adapter's performance across an even broader range of tasks and its compatibility with diverse foundation model backbones.
Summary updated