iFAN: Inference-Aware Learning for Plain Mask Transformers
Not on the map. Why?
Abstract (arXiv)
Query-based mask transformers assemble segmentation outputs through pixel-wise competition among query predictions of the final layer, yet this inference process is not explicitly optimized during training. We identify two key mismatches: the query with the highest probability-mask score does not necessarily produce the most accurate mask, and final-layer decoding may discard superior predictions from intermediate layers. To address these issues, we propose Inference-Aware Learning (iFAN), a general training framework for plain mask transformers. iFAN introduces Adjusted Probability-Mask Ranking (APMR), which aligns query competition with predicted mask quality and suppresses high-confidence but inaccurate competitors. We further employ Cross-Layer Self-Distillation (CLSD) to transfer stronger intermediate predictions to the final layer. The ranking and distillation objectives are training-only, while inference retains efficient final-layer decoding. Experiments on COCO, ADE20K, and Cityscapes demonstrate consistent improvements across panoptic, instance, and semantic segmentation, as well as across different architectures, backbone scales, and input resolutions. Overall, iFAN improves performance by an average of 1.20 PQ, 1.30 AP, and 0.63 mIoU, with negligible additional parameters, FLOPs and inference latency.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 25 of its 31 references that are in the map. First posted on arXiv 4 Aug 2026.
Builds on
25 of 31 references.
References · 25
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
- 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,306
- 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,148
- 2018Panoptic Segmentationcited by 796
- 2019Be Your Own Teacher: Improve the Performance of Convolutional Neural Networks via Self Distillationcited by 491
- 2022DN-DETR: Accelerate DETR Training by Introducing Query DeNoisingcited by 486
- 2014Deeply-Supervised Netscited by 364
13 more
- 2020MaX-DeepLab: End-to-End Panoptic Segmentation with Mask Transformerscited by 355
- 2022OneFormer: One Transformer to Rule Universal Image Segmentationcited by 327
- 2019Mask Scoring R-CNNcited by 265
- 2021Panoptic SegFormer: Delving Deeper into Panoptic Segmentation with Transformerscited by 109
- 2021Mask Transfiner for High-Quality Instance Segmentationcited by 64
- 2023Rank-DETR for High Quality Object Detectioncited by 49
- 2023MP-Former: Mask-Piloted Transformer for Image Segmentationcited by 39
- 2022DETRDistill: A Universal Knowledge Distillation Framework for DETR-familiescited by 36
- 2023Pseudo-label Alignment for Semi-supervised Instance Segmentationcited by 17
- 2022KD-DETR: Knowledge Distillation for Detection Transformer with Consistent Distillation Points Samplingcited by 12
- 2024OD-DETR: Online Distillation for Stabilizing Training of Detection Transformercited by 4
- 2026PMT: Plain Mask Transformer for Image and Video Segmentation with Frozen Vision Encoderscited by 3
- 2025The Missing Point in Vision Transformers for Universal Image Segmentationcited by 2
Built on by
Not cited yet.