Papers › QTSeg: A Query Token-Based Architecture for Efficient 2D Medical Image Segmentation
QTSeg: A Query Token-Based Architecture for Efficient 2D Medical Image Segmentation
Phuong-Nam Tran, Nhat Truong Pham, Duc Ngoc Minh Dang, Eui-Nam Huh, Choong Seon Hong
Medical image segmentation is crucial in assisting medical doctors in making diagnoses and enabling accurate automatic diagnosis. While advanced convolutional neural networks (CNNs) excel in segmenting regions of interest with pixel-level precision, they often struggle with long-range dependencies, which is crucial for enhancing model performance. Conversely, transformer architectures leverage attention mechanisms to excel in handling long-range dependencies. However, the computational complexity of transformers grows quadratically, posing resource-intensive challenges, especially with high-resolution medical images. Recent research aims to combine CNN and transformer architectures to mitigate their drawbacks and enhance performance while keeping resource demands low. Nevertheless, existing approaches have not fully leveraged the strengths of both architectures to achieve high accuracy with low computational requirements. To address this gap, we propose a novel architecture for 2D medical image segmentation (QTSeg) that leverages a feature pyramid network (FPN) as the image encoder, a multi-level feature fusion (MLFF) as the adaptive module between encoder and decoder and a multi-query mask decoder (MQM Decoder) as the mask decoder. In the first step, an FPN model extracts pyramid features from the input image. Next, MLFF is incorporated between the encoder and decoder to adapt features from different encoder stages to the decoder. Finally, an MQM Decoder is employed to improve mask generation by integrating query tokens with pyramid features at all stages of the mask decoder. Our experimental results show that QTSeg outperforms state-of-the-art methods across all metrics with lower computational demands than the baseline and the existing methods. Code is available at https://github.com/tpnam0901/QTSeg (v0.1.0)
Code
Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.
Code Syntology ran Syntology
Not run by Syntology. Nothing on this page verifies that the listed code works.
Tasks
Results from the paper archive 2025-07-28
| Task | Dataset | Model | Metric | Value | Rank at snapshot | Leaderboard | Report |
|---|---|---|---|---|---|---|---|
| Medical Image Segmentation | BKAI-IGH NeoPolyp-Small | QTSeg | Average Dice (5-folds) | 93.13 | #9 of 9 | Archive leaderboard | report |
| Medical Image Segmentation | BKAI-IGH NeoPolyp-Small | QTSeg | MAE (5-folds) | 0.06 | #9 of 9 | Archive leaderboard | report |
| Medical Image Segmentation | BKAI-IGH NeoPolyp-Small | QTSeg | mIoU (5-folds) | 88.94 | #9 of 9 | Archive leaderboard | report |
| Skin Lesion Segmentation | ISIC2016 | QTSeg | ACC | 96.41 | #1 of 1 | Archive leaderboard | report |
| Skin Lesion Segmentation | ISIC2016 | QTSeg | Average IOU | 86.74 | #1 of 1 | Archive leaderboard | report |
| Skin Lesion Segmentation | ISIC2016 | QTSeg | Dice | 92.42 | #1 of 1 | Archive leaderboard | report |
| Skin Lesion Segmentation | ISIC2016 | QTSeg | MAE | 0.0359 | #1 of 1 | Archive leaderboard | report |
Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.
Methods
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections