Task-Conditional Adapter for Multi-Task Dense Prediction
Fengze Jiang, Shuling Wang, Xiaojin Gong · ACM International Conference on Multimedia (ACM MM) · 2024
Multi-task dense prediction plays an important role in the field of computer vision and has an abundant array of applications. Its main purpose is to reduce the amount of network training parameters by sharing network parameters while using the correlation between tasks to improve overall performance. We propose a task-conditional network that handles one task at a time and shares most network parameters to achieve these goals. Inspired by adapter tuning, we propose an adapter module that focuses on both spatial- and channel-wise information to extract features from the frozen encoder backbone. This approach not only reduces the number of training parameters, but also saves training time and memory resources by attaching a parallel adapter pathway to the encoder. We additionally use learnable task prompts to model different tasks and use these prompts to adjust some parameters of adapters to fit the network to diverse tasks. These task-conditional adapters are also applied to the decoder, which enables the entire network to switch between various tasks, producing better task-specific features and achieving excellent performance. Extensive experiments on two challenging multi-task benchmarks, NYUD-v2 and PASCAL-Context, show that our approach achieves state-of-the-art performance with excellent parameter, time, and memory efficiency. The code is available at https://github.com/jfzleo/Task-Conditional-Adapter.
Cited by 6 works. doi:10.1145/3664647.3681581
Authors
References
- ImageNet: A large-scale hierarchical image database
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- CBAM: Convolutional Block Attention Module
- The Role of Context for Object Detection and Semantic Segmentation in the Wild
- Dual Attention Network for Scene Segmentation
- Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processing
- PointPillars: Fast Encoders for Object Detection From Point Clouds
- Digging Into Self-Supervised Monocular Depth Estimation
- Cross-Stitch Networks for Multi-task Learning
- Parameter-efficient fine-tuning of large-scale pre-trained language models