Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

HGFormer: Hierarchical Grouping Transformer for Domain Generalized Semantic Segmentation

About

Current semantic segmentation models have achieved great success under the independent and identically distributed (i.i.d.) condition. However, in real-world applications, test data might come from a different domain than training data. Therefore, it is important to improve model robustness against domain differences. This work studies semantic segmentation under the domain generalization setting, where a model is trained only on the source domain and tested on the unseen target domain. Existing works show that Vision Transformers are more robust than CNNs and show that this is related to the visual grouping property of self-attention. In this work, we propose a novel hierarchical grouping transformer (HGFormer) to explicitly group pixels to form part-level masks and then whole-level masks. The masks at different scales aim to segment out both parts and a whole of classes. HGFormer combines mask classification results at both scales for class label prediction. We assemble multiple interesting cross-domain settings by using seven public semantic segmentation datasets. Experiments show that HGFormer yields more robust semantic segmentation results than per-pixel classification methods and flat grouping transformers, and outperforms previous methods significantly. Code will be available at https://github.com/dingjiansw101/HGFormer.

Jian Ding, Nan Xue, Gui-Song Xia, Bernt Schiele, Dengxin Dai• 2023

Related benchmarks

TaskDatasetResultRank
Semantic segmentationMapillary (val)
mIoU66.9
153
Semantic segmentationBDD-100K (val)
mIoU53.4
102
Semantic segmentationBDD100K
mIoU61.5
78
Semantic segmentationMapillary
mIoU72.1
75
Semantic segmentationACDC (test)--
74
Semantic segmentationACDC (val)
mIoU65.8
47
Semantic segmentationMapillary (test)
mIoU72.1
43
Semantic segmentationGTA5
mIoU59.4
28
Semantic segmentationSYNTHIA
mIoU41.3
26
Semantic segmentationCityscapes, BDD100K, and Mapillary Aggregate (test)
mIoU66.8
21
Showing 10 of 14 rows

Other info

Follow for update