Devil is in the Queries: Advancing Mask Transformers for Real-world Medical Image Segmentation and Out-of-Distribution Localization
Not on the map. Why?
Abstract (arXiv)
Real-world medical image segmentation has tremendous long-tailed complexity of objects, among which tail conditions correlate with relatively rare diseases and are clinically significant. A trustworthy medical AI algorithm should demonstrate its effectiveness on tail conditions to avoid clinically dangerous damage in these out-of-distribution (OOD) cases. In this paper, we adopt the concept of object queries in Mask Transformers to formulate semantic segmentation as a soft cluster assignment. The queries fit the feature-level cluster centers of inliers during training. Therefore, when performing inference on a medical image in real-world scenarios, the similarity between pixels and the queries detects and localizes OOD regions. We term this OOD localization as MaxQuery. Furthermore, the foregrounds of real-world medical images, whether OOD objects or inliers, are lesions. The difference between them is less than that between the foreground and background, possibly misleading the object queries to focus redundantly on the background. Thus, we propose a query-distribution (QD) loss to enforce clear boundaries between segmentation targets and other regions at the query level, improving the inlier segmentation and OOD indication. Our proposed framework is tested on two real-world segmentation tasks, i.e., segmentation of pancreatic and liver tumors, outperforming previous state-of-the-art algorithms by an average of 7.39% on AUROC, 14.69% on AUPR, and 13.79% on FPR95 for OOD localization. On the other hand, our framework improves the performance of inlier segmentation by an average of 5.27% DSC when compared with the leading baseline nnUNet.
Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 48 of its 68 references that are in the map. First posted on arXiv 1 Apr 2023.
Builds on
48 of 68 references.
References · 48
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2016Layer Normalizationcited by 5,579
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
- 2017What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?cited by 2,335
- 2016V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentationcited by 2,284
- 2021TransUNet: Transformers Make Strong Encoders for Medical Image Segmentationcited by 1,552
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
36 more
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
- 2016Instance Normalization: The Missing Ingredient for Fast Stylizationcited by 1,187
- 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,148
- 2016Deep Networks with Stochastic Depthcited by 973
- 2021UNETR: Transformers for 3D Medical Image Segmentationcited by 954
- 2018Deep Anomaly Detection with Outlier Exposurecited by 939
- 2021Segmenter: Transformer for Semantic Segmentationcited by 855
- 2022Swin UNETR: Swin Transformers for Semantic Segmentation of Brain Tumors in MRI Imagescited by 823
- 2019On the Variance of the Adaptive Learning Rate and Beyondcited by 763
- 2021The Medical Segmentation Decathloncited by 620
- 2019UNet++: Redesigning Skip Connections to Exploit Multiscale Features in Image Segmentationcited by 583
- 2019Scaling Out-of-Distribution Detection for Real-World Settingscited by 465
- 2021Self-Supervised Pre-Training of Swin Transformers for 3D Medical Image Analysiscited by 418
- 2017Training Confidence-calibrated Classifiers for Detecting Out-of-Distribution Samplescited by 389
- 2020MaX-DeepLab: End-to-End Panoptic Segmentation with Mask Transformerscited by 355
- 2018nnU-Net: Self-adapting Framework for U-Net-Based Medical Image Segmentationcited by 291
- 2018Learning Confidence for Out-of-Distribution Detection in Neural Networkscited by 245
- 2020A review of deep learning in medical imaging: Imaging traits, technology trends, case studies with progress highlights, and future promisescited by 230
- 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 206
- 2020Contrastive Training for Improved Out-of-Distribution Detectioncited by 186
- 2021SegmentMeIfYouCan: A Benchmark for Anomaly Segmentationcited by 150
- 2019Detecting the Unexpected via Image Resynthesiscited by 137
- 2019A deep learning system for differential diagnosis of skin diseasescited by 118
- 2020Synthesize then Compare: Detecting Failures and Anomalies for Semantic Segmentationcited by 96
- 2021Standardized Max Logits: A Simple yet Effective Approach for Identifying Unexpected Road Obstacles in Urban-Scene Segmentationcited by 77
- 2021Does Your Dermatology Classifier Know What It Doesn't Know? Detecting the Long-Tail of Unseen Conditionscited by 68
- 2022CMT-DeepLab: Clustering Mask Transformers for Panoptic Segmentationcited by 60
- 2021Constrained Contrastive Distribution Learning for Unsupervised Anomaly Detection and Localisation in Medical Imagescited by 45
- 2021Neural Mean Discrepancy for Efficient Out-of-Distribution Detectioncited by 42
- 2021Glance-and-Gaze Vision Transformercited by 42
- 20173D Anisotropic Hybrid Network: Transferring Convolutional Features from 2D Images to 3D Anisotropic Volumescited by 38
- 2020Detection and Retrieval of Out-of-Distribution Objects in Semantic Segmentationcited by 20
- 20203D Graph Anatomy Geometry-Integrated Network for Pancreatic Mass Segmentation, Diagnosis, and Quantitative Patient Managementcited by 19
- 2017H-DenseUNet: Hybrid Densely Connected UNet for Liver and Tumor Segmentation from CT Volumescited by 11
- 2022Region-Aware Metric Learning for Open World Semantic Segmentation via Meta-Channel Aggregationcited by 7
- 2018Self-Learning to Detect and Segment Cysts in Lung CT Images without Manual Annotationcited by 6
Built on by
Citing papers per year: 2023: 4; 2024: 7; 2025: 3; 2026: 2.
16 papers.
Sort:
By area:
- 2024Interactive Medical Image Segmentation: A Benchmark Dataset and Baselinecited by 30
- 2023ZePT: Zero-Shot Pan-Tumor Segmentation via Query-Disentangling and Self-Promptingcited by 15
- 2024Toward Multi-class Anomaly Detection: Exploring Class-aware Unified Model against Inter-class Interferencecited by 7
- 2024Unleashing the Potential of Vision-Language Pre-Training for 3D Zero-Shot Lesion Segmentation via Mask-Attribute Alignmentcited by 7
- 2023Cluster-Induced Mask Transformers for Effective Opportunistic Gastric Cancer Screening on Non-contrast CT Scanscited by 2
- 2024Quantifying uncertainty in lung cancer segmentation with foundation models applied to mixed-domain datasetscited by 2
- 2023Improved Prognostic Prediction of Pancreatic Cancer Using Multi-Phase CT by Integrating Neural Distance and Texture-Aware Transformercited by 1
- 2023Semi-supervised Medical Image Segmentation via Query Distribution Consistencycited by 1
- 2024MAProtoNet: A Multi-scale Attentive Interpretable Prototypical Part Network for 3D Magnetic Resonance Imaging Brain Tumor Classificationcited by 1
- 2024MorphoSeg: An Uncertainty-Aware Deep Learning Method for Biomedical Segmentation of Complex Cellular Morphologiescited by 1
- 2025Tumor-anchored deep feature random forests for out-of-distribution detection in lung cancer segmentationcited by 1
- 2024PAM: A Propagation-Based Model for Segmenting Any 3D Objects across Multi-Modal Medical Imagescited by 0
4 more
- 2025Mutual Evidential Deep Learning for Medical Image Segmentationcited by 0
- 2025Unleashing Diffusion and State Space Models for Medical Image Segmentationcited by 0
- 2026The Invisible Gorilla Effect in Out-of-distribution Detectioncited by 0
- 2026Reliable Neural Collapse Approximation for Open-World Test-Time Adaptationcited by 0
- 2026Reliable Neural Collapse Approximation for Open-World Test-Time Adaptation20 Aug 2026
- 2026The Invisible Gorilla Effect in Out-of-distribution Detection23 Feb 2026
- 2025Tumor-anchored deep feature random forests for out-of-distribution detection in lung cancer segmentation9 Dec 2025
- 2025Unleashing Diffusion and State Space Models for Medical Image Segmentation15 Jun 2025
- 2025Mutual Evidential Deep Learning for Medical Image Segmentation18 May 2025
- 2024Interactive Medical Image Segmentation: A Benchmark Dataset and Baseline19 Nov 2024
- 2024Unleashing the Potential of Vision-Language Pre-Training for 3D Zero-Shot Lesion Segmentation via Mask-Attribute Alignment21 Oct 2024
- 2024MorphoSeg: An Uncertainty-Aware Deep Learning Method for Biomedical Segmentation of Complex Cellular Morphologies25 Sep 2024
- 2024PAM: A Propagation-Based Model for Segmenting Any 3D Objects across Multi-Modal Medical Images25 Aug 2024
- 2024MAProtoNet: A Multi-scale Attentive Interpretable Prototypical Part Network for 3D Magnetic Resonance Imaging Brain Tumor Classification13 Apr 2024
- 2024Toward Multi-class Anomaly Detection: Exploring Class-aware Unified Model against Inter-class Interference21 Mar 2024
- 2024Quantifying uncertainty in lung cancer segmentation with foundation models applied to mixed-domain datasets19 Mar 2024
4 more
- 2023ZePT: Zero-Shot Pan-Tumor Segmentation via Query-Disentangling and Self-Prompting7 Dec 2023
- 2023Semi-supervised Medical Image Segmentation via Query Distribution Consistency21 Nov 2023
- 2023Improved Prognostic Prediction of Pancreatic Cancer Using Multi-Phase CT by Integrating Neural Distance and Texture-Aware Transformer1 Aug 2023
- 2023Cluster-Induced Mask Transformers for Effective Opportunistic Gastric Cancer Screening on Non-contrast CT Scans10 Jul 2023
- 2024Interactive Medical Image Segmentation: A Benchmark Dataset and Baselinecited by 30
- 2023ZePT: Zero-Shot Pan-Tumor Segmentation via Query-Disentangling and Self-Promptingcited by 15
- 2024Toward Multi-class Anomaly Detection: Exploring Class-aware Unified Model against Inter-class Interferencecited by 7
- 2023Cluster-Induced Mask Transformers for Effective Opportunistic Gastric Cancer Screening on Non-contrast CT Scanscited by 2
- 2024Quantifying uncertainty in lung cancer segmentation with foundation models applied to mixed-domain datasetscited by 2
- 2023Improved Prognostic Prediction of Pancreatic Cancer Using Multi-Phase CT by Integrating Neural Distance and Texture-Aware Transformercited by 1
- 2023Semi-supervised Medical Image Segmentation via Query Distribution Consistencycited by 1
- 2024MAProtoNet: A Multi-scale Attentive Interpretable Prototypical Part Network for 3D Magnetic Resonance Imaging Brain Tumor Classificationcited by 1
- 2024MorphoSeg: An Uncertainty-Aware Deep Learning Method for Biomedical Segmentation of Complex Cellular Morphologiescited by 1
- 2025Tumor-anchored deep feature random forests for out-of-distribution detection in lung cancer segmentationcited by 1
- 2024PAM: A Propagation-Based Model for Segmenting Any 3D Objects across Multi-Modal Medical Imagescited by 0
- 2025Mutual Evidential Deep Learning for Medical Image Segmentationcited by 0
12 most cited of 15 All 15 (JSON)
- 2026Reliable Neural Collapse Approximation for Open-World Test-Time Adaptation20 Aug 2026
- 2026The Invisible Gorilla Effect in Out-of-distribution Detection23 Feb 2026
- 2025Tumor-anchored deep feature random forests for out-of-distribution detection in lung cancer segmentation9 Dec 2025
- 2025Unleashing Diffusion and State Space Models for Medical Image Segmentation15 Jun 2025
- 2025Mutual Evidential Deep Learning for Medical Image Segmentation18 May 2025
- 2024Interactive Medical Image Segmentation: A Benchmark Dataset and Baseline19 Nov 2024
- 2024MorphoSeg: An Uncertainty-Aware Deep Learning Method for Biomedical Segmentation of Complex Cellular Morphologies25 Sep 2024
- 2024PAM: A Propagation-Based Model for Segmenting Any 3D Objects across Multi-Modal Medical Images25 Aug 2024
- 2024MAProtoNet: A Multi-scale Attentive Interpretable Prototypical Part Network for 3D Magnetic Resonance Imaging Brain Tumor Classification13 Apr 2024
- 2024Toward Multi-class Anomaly Detection: Exploring Class-aware Unified Model against Inter-class Interference21 Mar 2024
- 2024Quantifying uncertainty in lung cancer segmentation with foundation models applied to mixed-domain datasets19 Mar 2024
- 2023ZePT: Zero-Shot Pan-Tumor Segmentation via Query-Disentangling and Self-Prompting7 Dec 2023
12 newest of 15 All 15 (JSON)