TADFormer: Task-Adaptive Dynamic TransFormer for Efficient Multi-Task Learning

Seungmin Baek, Soyul Lee, Hayeon Jo, Hyesong Choi, Dongbo Min

Introduction

As computer vision models continue to scale, traditional "full fine-tuning"—updating all parameters for new tasks—has become computationally prohibitive. This challenge is amplified in Multi-Task Learning (MTL), where a single model must simultaneously master diverse dense vision tasks such as semantic segmentation and depth estimation. Existing Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA or Adapters mitigate this by training only a small fraction of weights. However, these methods are typically "static," applying identical task-specific adaptations regardless of the input image context. TADFormer addresses this limitation by introducing a task-adaptive dynamic framework that achieves superior accuracy with significantly fewer trainable parameters.

Methodology

TADFormer introduces a dynamic approach to task adaptation through three primary components:

  1. Task-Prompt Conditional (TPC) Operator: By prepending learnable "task prompts" to the input, the model generates task-specific attention maps. This mechanism allows the model to decouple features for different tasks, focusing on image regions relevant to specific objectives (e.g., edges for surface normals vs. objects for segmentation).
  2. Dynamic Task Filter (DTF): Unlike static PEFT methods, the DTF generates convolution parameters on-the-fly based on the input context. This "input-awareness" allows the model's internal filters to adapt dynamically to the specific scene being processed.
  3. Hybrid Architecture: The framework utilizes a task-shared module (TS-Module) for general feature extraction and a task-aware module (TA-Module) containing the DTF for specialized features. This architecture is integrated into a Swin Transformer backbone using a prompt-based adaptation mechanism.
The overall architecture of TADFormer (left) alongside detailed views of the TS-Module, TA-Module, and TPC Operator (right).

Experimental Setup and Results

The researchers evaluated TADFormer on the PASCAL-Context benchmark, focusing on four dense tasks: Semantic Segmentation, Human Part Segmentation, Surface Normals Estimation, and Saliency Detection.

Key Performance Metrics

  • Superior Accuracy: TADFormer achieved a relative improvement ($\Delta m$) of +4.24% over single-task baselines, outperforming full fine-tuning (+2.23%).
  • Parameter Efficiency: The model outperformed the previous state-of-the-art (MTLoRA) by 1.2-1.7% while utilizing up to 8.4 times fewer trainable parameters than full-model fine-tuning.
  • Scalability: Performance gains were even more pronounced when using larger backbones (Swin-Base) and extensive pre-training (ImageNet-22k), demonstrating robust scaling properties.
A comparison of TADFormer against various baseline PEFT methods, illustrating its superior trade-off between trainable parameters and task performance.

Discussion and Insights

The core insight of TADFormer is that task adaptation should be context-dependent. Visualizations using Grad-CAM confirm that task prompts successfully direct the model's attention to task-relevant regions—such as central objects for saliency and geometric structures for surface normals. This dynamic adaptation proves that efficiency and accuracy are not mutually exclusive; by intelligently placing trainable parameters, TADFormer exceeds the performance of fully fine-tuned models.

Conclusion and Future Work

TADFormer represents a significant step forward in efficient MTL for dense vision tasks. While currently focused on 2D images, the principles of dynamic task filtering and prompt-based conditioning could be extended to other domains like video or 3D point clouds. Future research may also explore leveraging structural knowledge—the inherent relationships between tasks—to further enhance multi-task synergy within the TADFormer framework.

Summary updated

BibTeX
@inproceedings{baek2025tadformer,
  author = {Seungmin Baek and Soyul Lee and Hayeon Jo and Hyesong Choi and Dongbo Min},
  title = {{TADFormer: Task-Adaptive Dynamic TransFormer for Efficient Multi-Task Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.01384},
}
Figure