Chunjie Lv , Biyuan Li , Gaowei Sun , Xiuwei Wang , Pengfei Cai , Jun Yan
{"title":"SG-UNet: Hybrid self-guided transformer and U-Net fusion for CT image segmentation","authors":"Chunjie Lv , Biyuan Li , Gaowei Sun , Xiuwei Wang , Pengfei Cai , Jun Yan","doi":"10.1016/j.jvcir.2025.104416","DOIUrl":null,"url":null,"abstract":"<div><div>In recent years, transformer-based paradigms have made substantial inroads in the domain of CT image segmentation, The Swin Transformer has garnered praise for its strong performance, but it often struggles with capturing fine-grained details, especially in complex tasks like CT image segmentation, where distinguishing subtle differences in key areas is challenging. Additionally, due to its fixed window attention mechanism, Swin Transformer tends to overemphasize local features while overlooking global context, leading to insufficient understanding of critical information and potential loss of important details. To address the limitations of the Swin Transformer, we introduce an innovative U-shaped Hybrid Self-Guided Transformer network (SG-UNet), specifically tailored for CT image segmentation. Our approach refines the self-attention mechanism by integrating hybrid attention with self-guided attention. The hybrid attention mechanism employs adaptive fine-grained global self-attention to capture low-level details and guide token assignment in salient regions, while the self-guided attention dynamically reallocates tokens, prioritizing target regions and reducing attention computation for non-target areas. This synergy enables the model to autonomously refine saliency maps and reassign tokens based on regional importance. To enhance training dynamics, we incorporate a combination of CELoss and BDLoss, which improves training stability, mitigates gradient instability, and accelerates convergence. Additionally, a dynamic learning rate adjustment strategy is employed to optimize the model’s learning process in real-time, ensuring smoother convergence and enhanced performance. Empirical validation on the Synapse and lung datasets demonstrates the superior segmentation performance of the Hybrid Self-Guided Transformer UNet, achieving DSC and HD scores of 82.91 % and 16.46 mm on the Synapse dataset, and 98.13 % and 6.34 mm on the lung dataset, respectively. These results underscore both the effectiveness and the advanced capabilities of our model in segmentation tasks.</div></div>","PeriodicalId":54755,"journal":{"name":"Journal of Visual Communication and Image Representation","volume":"108 ","pages":"Article 104416"},"PeriodicalIF":2.6000,"publicationDate":"2025-02-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Visual Communication and Image Representation","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1047320325000306","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
In recent years, transformer-based paradigms have made substantial inroads in the domain of CT image segmentation, The Swin Transformer has garnered praise for its strong performance, but it often struggles with capturing fine-grained details, especially in complex tasks like CT image segmentation, where distinguishing subtle differences in key areas is challenging. Additionally, due to its fixed window attention mechanism, Swin Transformer tends to overemphasize local features while overlooking global context, leading to insufficient understanding of critical information and potential loss of important details. To address the limitations of the Swin Transformer, we introduce an innovative U-shaped Hybrid Self-Guided Transformer network (SG-UNet), specifically tailored for CT image segmentation. Our approach refines the self-attention mechanism by integrating hybrid attention with self-guided attention. The hybrid attention mechanism employs adaptive fine-grained global self-attention to capture low-level details and guide token assignment in salient regions, while the self-guided attention dynamically reallocates tokens, prioritizing target regions and reducing attention computation for non-target areas. This synergy enables the model to autonomously refine saliency maps and reassign tokens based on regional importance. To enhance training dynamics, we incorporate a combination of CELoss and BDLoss, which improves training stability, mitigates gradient instability, and accelerates convergence. Additionally, a dynamic learning rate adjustment strategy is employed to optimize the model’s learning process in real-time, ensuring smoother convergence and enhanced performance. Empirical validation on the Synapse and lung datasets demonstrates the superior segmentation performance of the Hybrid Self-Guided Transformer UNet, achieving DSC and HD scores of 82.91 % and 16.46 mm on the Synapse dataset, and 98.13 % and 6.34 mm on the lung dataset, respectively. These results underscore both the effectiveness and the advanced capabilities of our model in segmentation tasks.
期刊介绍:
The Journal of Visual Communication and Image Representation publishes papers on state-of-the-art visual communication and image representation, with emphasis on novel technologies and theoretical work in this multidisciplinary area of pure and applied research. The field of visual communication and image representation is considered in its broadest sense and covers both digital and analog aspects as well as processing and communication in biological visual systems.