Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

PolyMaX: General Dense Prediction with Mask Transformer

About

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. 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.

Xuan Yang, Liangzhe Yuan, Kimberly Wilber, Astuti Sharma, Xiuye Gu, Siyuan Qiao, Stephanie Debats, Huisheng Wang, Hartwig Adam, Mikhail Sirotenko, Liang-Chieh Chen• 2023

Related benchmarks

TaskDatasetResultRank
Surface Normal EstimationNYU v2 (test)
Mean Angle Distance (MAD)13.1
206
Semantic segmentationNYUD v2 (test)
mIoU58.1
187
Semantic segmentationNYU V2
mIoU58.1
74
Depth EstimationTaskonomy (test)
Depth Estimation Error0.0432
21
Metric Depth EstimationNYU Metric Depth v2 (test)
Delta 1 Accuracy96.9
18
Semantic segmentationTaskonomy (test)
mIoU41.17
16
Surface Normal PredictionTaskonomy (test)--
10
Showing 7 of 7 rows

Other info

Code

Follow for update