An Evolving Transformer Model with Reinforcement Learning-Enhanced Particle Swarm Optimization for Medical Image Segmentation.
Authors
Affiliations (7)
Affiliations (7)
- Department of Computing, Security and Mathematics, Royal Holloway, University of London, Surrey TW20 0EX, UK.
- Department of Computing Technologies, Swinburne University of Technology, Hawthorn, VIC 3122, Australia.
- College of Science and Engineering, Flinders University, Adelaide, SA 5001, Australia.
- Department of Business Analytics and Information Systems, Aston Business School, Aston University, Birmingham B4 7ET, UK.
- College of Tongda, Nanjing University of Posts and Telecommunications, Nanjing 210049, China.
- School of Computer Science, Hubei University of Technology, Wuhan 430068, China.
- School of Artificial Intelligence and Automation, Hohai University, Nanjing 210098, China.
Abstract
Medical image segmentation presents inherent challenges due to its complexity and heterogeneity. In this research, we propose an evolving segmentation model with dynamic transformer blocks and Gaussian, Levy, and 3D geometric surface-enhanced self-attention methods to extract fine-grained nuances and global contexts simultaneously. These new self-attention methods generate attention biases using Gaussian and Levy distributions and 3D formulae with patch distances as inputs to emphasize local regions. A new PSO variant is proposed to optimize the number of transformer blocks, self-attention variant types, encoder fusion weights, and key learning settings to fine-tune local and global dependency extraction to better adapt to different application contexts. The proposed PSO model employs sine-cosine search coefficients, reinforcement learning-based search action selection, and multiple optimal signals to avoid being trapped in local optima. Our model with the proposed PSO-optimized transformer architecture and learning settings achieves impressive mean Dice scores of 89.24%, 87.38%, 98.13%, 83.27%, and 82.73% for ACDC, CHAOS (MRI), CHAOS (CT), CHASE_DB1, and STARE, respectively. It also outperforms various recent state-of-the-art transformer and CNN baselines in tackling diverse binary and multi-class segmentation tasks.