Masked AutoDecoder is Effective Multi-Task Vision Generalist

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Qiu, Han, Huang, Jiaxing, Gao, Peng, Lu, Lewei, Zhang, Xiaoqin, Lu, Shijian
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911798367617024
author Qiu, Han
Huang, Jiaxing
Gao, Peng
Lu, Lewei
Zhang, Xiaoqin
Lu, Shijian
author_facet Qiu, Han
Huang, Jiaxing
Gao, Peng
Lu, Lewei
Zhang, Xiaoqin
Lu, Shijian
contents Inspired by the success of general-purpose models in NLP, recent studies attempt to unify different vision tasks in the same sequence format and employ autoregressive Transformers for sequence prediction. They apply uni-directional attention to capture sequential dependencies and generate task sequences recursively. However, such autoregressive Transformers may not fit vision tasks well, as vision task sequences usually lack the sequential dependencies typically observed in natural languages. In this work, we design Masked AutoDecoder~(MAD), an effective multi-task vision generalist. MAD consists of two core designs. First, we develop a parallel decoding framework that introduces bi-directional attention to capture contextual dependencies comprehensively and decode vision task sequences in parallel. Second, we design a masked sequence modeling approach that learns rich task contexts by masking and reconstructing task sequences. In this way, MAD handles all the tasks by a single network branch and a simple cross-entropy loss with minimal task-specific designs. Extensive experiments demonstrate the great potential of MAD as a new paradigm for unifying various vision tasks. MAD achieves superior performance and inference efficiency compared to autoregressive counterparts while obtaining competitive accuracy with task-specific models. Code will be released.
format Preprint
id arxiv_https___arxiv_org_abs_2403_07692
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Masked AutoDecoder is Effective Multi-Task Vision Generalist
Qiu, Han
Huang, Jiaxing
Gao, Peng
Lu, Lewei
Zhang, Xiaoqin
Lu, Shijian
Computer Vision and Pattern Recognition
Inspired by the success of general-purpose models in NLP, recent studies attempt to unify different vision tasks in the same sequence format and employ autoregressive Transformers for sequence prediction. They apply uni-directional attention to capture sequential dependencies and generate task sequences recursively. However, such autoregressive Transformers may not fit vision tasks well, as vision task sequences usually lack the sequential dependencies typically observed in natural languages. In this work, we design Masked AutoDecoder~(MAD), an effective multi-task vision generalist. MAD consists of two core designs. First, we develop a parallel decoding framework that introduces bi-directional attention to capture contextual dependencies comprehensively and decode vision task sequences in parallel. Second, we design a masked sequence modeling approach that learns rich task contexts by masking and reconstructing task sequences. In this way, MAD handles all the tasks by a single network branch and a simple cross-entropy loss with minimal task-specific designs. Extensive experiments demonstrate the great potential of MAD as a new paradigm for unifying various vision tasks. MAD achieves superior performance and inference efficiency compared to autoregressive counterparts while obtaining competitive accuracy with task-specific models. Code will be released.
title Masked AutoDecoder is Effective Multi-Task Vision Generalist
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2403.07692