Refactored Maskformer: Refactor localization and classification for improved universal image segmentation

The introduction of DEtection TRansformers (DETR) has marked a new era for universal image segmentation in computer vision. However, methods that use shared queries and attention layers for simultaneous localization and classification often encounter inter-task optimization conflicts. In this paper, we propose a novel architecture called Refactored Maskformer , which builds upon the Mask2Former through two key modifications: Decoupler and Reconciler. The Decoupler separates decoding pathways for localization and classification, enabling task-specific query and attention layer learning. Additionally, it employs a unified masked attention to confine the regions of interest for both tasks within the same object, along with a query Interactive-Attention layer to enhance task interaction. In the Reconciler module, we mitigate the optimization conflict issue by introducing localization supervised matching cost and task alignment learning loss functions. These functions aim to encourage high localization accuracy samples, while reducing the impact of high classification confidence samples with low localization accuracy on network optimization. Extensive experimental results demonstrate that our Refactored Maskformer achieves performance comparable to existing state-of-the-art models across all unified tasks, surpassing our baseline network, Mask2former, with 1.2% PQ on COCO, 6.8% AP on ADE20k, and 1.1% mIoU on Cityscapes. The code is available at https://github.com/leonzx7/Refactored-Maskformer . • Our method decouples localization and classification for task-specialized learning. • Query interactive attention enhances information exchange and spatial consistency. • Our new matching cost and loss function helps with task reconciliation.

Authors

Institutions

Publication Details

Journal
Displays
Published
2025-02-07
DOI
https://doi.org/10.1016/j.displa.2025.102981
Citations
4
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
4.97
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Refactored Maskformer: Refactor localization and classification for improved universal image segmentation

Huawei Liang, Xingliang Zhu, Bin Kong, Xiaoyu Dong et al.
4 citations
Displays
Industrial Vision Systems and Defect Detection
4.97
article

Refactored Maskformer: Refactor localization and classification for improved universal image segmentation

Huawei Liang, Xingliang Zhu, Bin Kong, Xiaoyu Dong, Weiwei Yu
article en
4 citations

Abstract

The introduction of DEtection TRansformers (DETR) has marked a new era for universal image segmentation in computer vision. However, methods that use shared queries and attention layers for simultaneous localization and classification often encounter inter-task optimization conflicts. In this paper, we propose a novel architecture called Refactored Maskformer , which builds upon the Mask2Former through two key modifications: Decoupler and Reconciler. The Decoupler separates decoding pathways for localization and classification, enabling task-specific query and attention layer learning. Additionally, it employs a unified masked attention to confine the regions of interest for both tasks within the same object, along with a query Interactive-Attention layer to enhance task interaction. In the Reconciler module, we mitigate the optimization conflict issue by introducing localization supervised matching cost and task alignment learning loss functions. These functions aim to encourage high localization accuracy samples, while reducing the impact of high classification confidence samples with low localization accuracy on network optimization. Extensive experimental results demonstrate that our Refactored Maskformer achieves performance comparable to existing state-of-the-art models across all unified tasks, surpassing our baseline network, Mask2former, with 1.2% PQ on COCO, 6.8% AP on ADE20k, and 1.1% mIoU on Cityscapes. The code is available at https://github.com/leonzx7/Refactored-Maskformer . • Our method decouples localization and classification for task-specialized learning. • Query interactive attention enhances information exchange and spatial consistency. • Our new matching cost and loss function helps with task reconciliation.

DisplaysVol. 87
University of Science and Technology of China (CN), Anhui University (CN), Chinese Academy of Sciences (CN), Hefei Institutes of Physical Science (CN), Hefei Institute of Technology Innovation (CN)
Openalex Percentile: Top 6%
Industrial Vision Systems and Defect Detection
4.97
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.