DYNAFormer: Enhancing transformer segmentation with dynamic anchor mask for medical imaging
Polyp shape is critical for diagnosing colorectal polyps and assessing cancer risk, yet there is limited data on segmenting pedunculated and sessile polyps. This paper introduces PolypDB_INS, a dataset of 4403 images containing 4918 annotated polyps, specifically for sessile and pedunculated polyps. In addition, we propose DYNAFormer, a novel transformer-based model utilizing an anchor mask-guided mechanism that incorporates cross-attention, dynamic query updates, and query denoising for improved object segmentation. Treating each positional query as an anchor mask dynamically updated through decoder layers enhances perceptual information regarding the object's position, allowing for more precise segmentation of complex structures like polyps. Extensive experiments on the PolypDB_INS dataset using standard evaluation metrics for both instance and semantic segmentation show that DYNAFormer significantly outperforms state-of-the-art methods. Ablation studies confirm the effectiveness of the proposed techniques, highlighting the model's robustness for diagnosing colorectal cancer. The source code and dataset are available at https://github.com/ntcongvn/DYNAFormer https://github.com/ntcongvn/DYNAFormer.
Authors
- Thao Thi Phuong Dao (ORCID: https://orcid.org/0000-0002-0109-1114)
- Tam Nguyen (ORCID: https://orcid.org/0000-0003-0236-7992)
- Trong-Hieu Nguyen-Mau (ORCID: https://orcid.org/0000-0003-2823-3861)
- Thuc Nguyen-Quang (ORCID: https://orcid.org/0000-0003-2523-8851)
- Tan-Cong Nguyen (ORCID: https://orcid.org/0000-0001-8834-8092)
- Minh–Triet Tran (ORCID: https://orcid.org/0000-0003-3046-3041)
- Trung-Nghia Le (ORCID: https://orcid.org/0000-0002-7363-2610)
- Kim Anh Phung (ORCID: https://orcid.org/0000-0002-4561-7536)
- Ju Shen
- Cong Nhan Pham
Institutions
- Vietnam National University Ho Chi Minh City (VN)
- University of Dayton (US)
- Ho Chi Minh City University of Science (VN)
- University of Cincinnati (US)
Publication Details
- Journal
- Computers in Biology and Medicine
- Published
- 2025-08-25
- DOI
- https://doi.org/10.1016/j.compbiomed.2025.110952
- Primary Topic
- Advanced Neural Network Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- University of Science Ho Chi Minh City