DeMT: Deformable Mixer Transformer for Multi-Task Learning of Dense Prediction

Yangyang Xu, Yibo Yang, Lefei Zhang
1/9/2023
cs.CVcs.AI

Official code: yangyangxu0/DeMT (79 stars, last commit 2023-07-31).

Abstract

Convolution neural networks (CNNs) and Transformers have their own advantages and both have been widely used for dense prediction in multi-task learning (MTL). Most of the current studies on MTL solely rely on CNN or Transformer. In this work, we present a novel MTL model by combining both merits of deformable CNN and query-based Transformer for multi-task learning of dense prediction. Our method, named DeMT, is based on a simple and effective encoder-decoder architecture (i.e., deformable mixer encoder and task-aware transformer decoder). First, the deformable mixer encoder contains two types of operators: the channel-aware mixing operator leveraged to allow communication among different channels ($i.e.,$ efficient channel location mixing), and the spatial-aware deformable operator with deformable convolution applied to efficiently sample more informative spatial locations (i.e., deformed features). Second, the task-aware transformer decoder consists of the task interaction block and task query block. The former is applied to capture task interaction features via self-attention. The latter leverages the deformed features and task-interacted features to generate the corresponding task-specific feature through a query-based Transformer for corresponding task predictions. Extensive experiments on two dense image prediction datasets, NYUD-v2 and PASCAL-Context, demonstrate that our model uses fewer GFLOPs and significantly outperforms current Transformer- and CNN-based competitive models on a variety of metrics. The code are available at https://github.com/yangyangxu0/DeMT .

View on arXivView PDF

Code Implementations(1)

yangyangxu0/DeMTOfficial100%
799C, C++Nov 23, 20223 years ago

Similar Papers

Cite this paper

@article{xu2023demt,
  title  = {DeMT: Deformable Mixer Transformer for Multi-Task Learning of Dense Prediction},
  author = {Yangyang Xu and Yibo Yang and Lefei Zhang},
  year   = {2023},
  eprint = {2301.03461},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.03461v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2301.03461.svg)](https://codeofpaper.com/paper/2301.03461)

Discussion