PolyMaX: General Dense Prediction with Mask Transformer

Xuan Yang, Liangzhe Yuan, Kimberly Wilber, Astuti Sharma, Xiuye Gu +6 more
11/9/2023
30 citations
cs.CV
transformer-attention

Official code: google-research/deeplab2 (1,038 stars, Python, Apache-2.0, last commit 2023-04-17).

Abstract

Dense prediction tasks, such as semantic segmentation, depth estimation, and surface normal prediction, can be easily formulated as per-pixel classification (discrete outputs) or regression (continuous outputs). This per-pixel prediction paradigm has remained popular due to the prevalence of fully convolutional networks.

Show full abstract

However, on the recent frontier of segmentation task, the community has been witnessing a shift of paradigm from per-pixel prediction to cluster-prediction with the emergence of transformer architectures, particularly the mask transformers, which directly predicts a label for a mask instead of a pixel. Despite this shift, methods based on the per-pixel prediction paradigm still dominate the benchmarks on the other dense prediction tasks that require continuous outputs, such as depth estimation and surface normal prediction. Motivated by the success of DORN and AdaBins in depth estimation, achieved by discretizing the continuous output space, we propose to generalize the cluster-prediction based method to general dense prediction tasks. This allows us to unify dense prediction tasks with the mask transformer framework. Remarkably, the resulting model PolyMaX demonstrates state-of-the-art performance on three benchmarks of NYUD-v2 dataset. We hope our simple yet effective design can inspire more research on exploiting mask transformers for more dense prediction tasks. Code and model will be made available.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

DeepLab2 is a TensorFlow library for deep labeling, aiming to provide a unified and state-of-the-art TensorFlow codebase for dense pixel labeling tasks.

1,038164Python, Jupyter NotebookMay 12, 20213 years agoApache-2.0

Similar Papers

Cite this paper

@article{yang2023polymax,
  title  = {PolyMaX: General Dense Prediction with Mask Transformer},
  author = {Xuan Yang and Liangzhe Yuan and Kimberly Wilber and Astuti Sharma and Xiuye Gu and Siyuan Qiao and Stephanie Debats and Huisheng Wang and Hartwig Adam and Mikhail Sirotenko and Liang-Chieh Chen},
  year   = {2023},
  eprint = {2311.05770},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.05770v1}
}

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/2311.05770.svg)](https://codeofpaper.com/paper/2311.05770)

Discussion