Efficient Inter-Task Attention for Multitask Transformer Models
Not on the map. Why?
Abstract (arXiv)
In both Computer Vision and the wider Deep Learning field, the Transformer architecture is well-established as state-of-the-art for many applications. For Multitask Learning, however, where there may be many more queries necessary compared to single-task models, its Multi-Head-Attention often approaches the limits of what is computationally feasible considering practical hardware limitations. This is due to the fact that the size of the attention matrix scales quadratically with the number of tasks (assuming roughly equal numbers of queries for all tasks). As a solution, we propose our novel Deformable Inter-Task Self-Attention for Multitask models that enables the much more efficient aggregation of information across the feature maps from different tasks. In our experiments on the NYUD-v2 and PASCAL-Context datasets, we demonstrate an order-of-magnitude reduction in both FLOPs count and inference latency. At the same time, we also achieve substantial improvements by up to 7.4% in the individual tasks' prediction quality metrics.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 26 of its 39 references that are in the map. First posted on arXiv 6 Aug 2025.
Builds on
26 of 39 references.
References · 26
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2016Layer Normalizationcited by 5,579
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2017Deformable Convolutional Networkscited by 1,481
- 2019Deep High-Resolution Representation Learning for Human Pose Estimationcited by 1,339
- 2022BEVFormer: Learning Bird's-Eye-View Representation from Multi-Camera Images via Spatiotemporal Transformerscited by 1,213
- 2020Gradient Surgery for Multi-Task Learningcited by 1,210
14 more
- 2021Segmenter: Transformer for Semantic Segmentationcited by 855
- 2022BEVFormer v2: Adapting Modern Image Backbones to Bird's-Eye-View Recognition via Perspective Supervisioncited by 302
- 2022Vision Transformer with Deformable Attentioncited by 293
- 2021UniT: Multimodal Multitask Learning with a Unified Transformercited by 195
- 2021Exploring Relational Context for Multi-Task Dense Predictioncited by 71
- 2021Multi-Task Learning in Natural Language Processing: An Overviewcited by 61
- 2022MulT: An End-to-End Multitask Learning Transformercited by 47
- 2022A Survey of Multi-task Learning in Natural Language Processing: Regarding Task Relatedness and Training Methodscited by 42
- 2022Multi-Task Learning with Multi-Query Transformer for Dense Predictioncited by 34
- 2023SwitchHead: Accelerating Transformers with Mixture-of-Experts Attentioncited by 34
- 2023DeMT: Deformable Mixer Transformer for Multi-Task Learning of Dense Predictioncited by 27
- 2024ViG: Linear-complexity Visual Sequence Learning with Gated Linear Attentioncited by 13
- 2024A Point-Based Approach to Efficient LiDAR Multi-Task Perceptioncited by 9
- 2024Task Weighting through Gradient Projection for Multitask Learningcited by 4
Built on by
Not cited yet.