WeakMedSAM: تقسيم الصور الطبية تحت إشراف ضعيف عبر SAM مع استكشاف الفئات الفرعية وتعدين التوافق WeakMedSAM: Weakly-Supervised Medical Image Segmentation via SAM With Sub-Class Exploration and Prompt Affinity Mining

شارك:
المجلة: IEEE Transactions on Medical Imaging، المجلد: 44، العدد: 7
DOI: https://doi.org/10.1109/tmi.2025.3549433
PMID: https://pubmed.ncbi.nlm.nih.gov/40063440
تاريخ النشر: 2025-03-10
المؤلف: Zhenyun Du وآخرون
الموضوع الرئيسي: تقنيات تقسيم الصور الطبية

نظرة عامة

في هذه الدراسة، نقدم WeakMedSAM، نموذج جديد للتقسيم تحت إشراف ضعيف يعتمد على نموذج تقسيم أي شيء (SAM)، يهدف إلى تعزيز أداء التقسيم في التصوير الطبي مع تقليل تكاليف التسمية. يتكون WeakMedSAM من وحدتين رئيسيتين: وحدة استكشاف الفئات الفرعية (SCE)، التي تضبط مشفر الرؤية (ViT) الخاص بـ SAM لتعلم ميزات الفئات الفرعية بفعالية والتخفيف من التداخلات في الصور الطبية، ووحدة تعدين التوافق (PAM)، التي تقوم بتنقيح خرائط تنشيط الفئات (CAM) من خلال عملية المشي العشوائي باستخدام خريطة توافق مستمدة من قدرات SAM في التوجيه.

تظهر التقييمات التجريبية على ثلاثة مجموعات بيانات معيارية مستخدمة على نطاق واسع—BraTS 2019، AbdomenCT-1K، وMSD Cardiac—فعالية WeakMedSAM، مما يبرز إمكانيته في تقليل الاعتماد على التوصيفات الواسعة على مستوى البكسل مع الحفاظ على أداء قوي. لا تساهم هذه الأبحاث فقط في مجال تقسيم الصور الطبية تحت إشراف ضعيف ولكنها تفتح أيضًا آفاقًا لتكييف SAM لتطبيقات مختلفة في المستقبل. ستركز التحقيقات المستقبلية على تحسين تكامل وحدات SCE وPAM لتعزيز الأداء العام وقابلية التعميم للنموذج في مهام تقسيم الصور الطبية التفاعلية.

مقدمة

تناقش مقدمة ورقة البحث تكييف نموذج تقسيم أي شيء (SAM) لتقسيم الصور الطبية، مع تسليط الضوء على التحديات والحاجة إلى أساليب مبتكرة. لقد أظهر SAM وعدًا في رؤية الكمبيوتر ولكنه يواجه صعوبات مع الصور الطبية بسبب ظواهر التداخل، حيث يتم تنشيط مناطق غير ذات صلة (مثل الوذمة حول الأورام) جنبًا إلى جنب مع المناطق المستهدفة. تعتمد التعديلات الحالية لـ SAM، مثل SAMed وMed-SA وMedSAM، غالبًا على نماذج إشراف كاملة تتطلب توصيفات واسعة على مستوى البكسل، والتي تتطلب جهدًا كبيرًا وتعيق النشر العملي في البيئات السريرية.

لمعالجة هذه التحديات، تقترح الورقة إطار تقسيم جديد تحت إشراف ضعيف يسمى WeakMedSAM. يقدم هذا الإطار وحدتين رئيسيتين: استكشاف الفئات الفرعية (SCE)، الذي يقسم الفئات الرئيسية إلى فئات فرعية لإدارة التداخل داخل الفئة بشكل أفضل، وتعدين التوافق (PAM)، الذي ينقي خرائط تنشيط الفئات (CAM) من خلال الاستفادة من معلمات SAM الحالية دون أي عبء حسابي إضافي. يوضح المؤلفون فعالية WeakMedSAM من خلال التجارب على مجموعات البيانات المعيارية، محققين أداءً متفوقًا مقارنة بالطرق الحالية تحت الإشراف الضعيف. تشمل مساهمات هذا العمل استكشاف SAM في السياقات تحت الإشراف الضعيف، وتقديم SCE لتعزيز دقة تنشيط الفئات، وتطوير PAM لدمج المعلومات الهيكلية بكفاءة.

طرق

في هذا القسم، يوضح المؤلفون طرقهم التجريبية، مع التركيز على مجموعات البيانات والهندسة المعمارية للشبكات المستخدمة في أبحاثهم. استخدموا ثلاث مجموعات بيانات بارزة: BraTS 2019، AbdomenCT-1K، ومجموعة بيانات MSD Cardiac. تم استخدام مجموعة بيانات BraTS 2019، التي تتكون من 335 مسحًا متعدد النماذج، للتقسيم الثنائي للأهداف الصحية مقابل غير الصحية، باستخدام نمط FLAIR. كانت مجموعة بيانات AbdomenCT-1K، التي تحتوي على أكثر من 1000 مسح CT بطني متنوع، تهدف إلى تقسيم أربعة أعضاء: الكبد، الكلى، الط spleen، والبنكرياس. تم تقسيم مجموعة بيانات MSD Cardiac، التي تحتوي على صور MRI لتقسيم البطين الأيسر، إلى مجموعات تدريب، والتحقق، والاختبار. تم إنشاء نسخة معدلة من مجموعة بيانات BraTS، تسمى BraTS-Core، للتركيز فقط على مناطق الأورام، مستبعدة الوذمة المحيطة بالأورام.

يصف المؤلفون هيكل الشبكة الخاصة بهم، حيث قاموا بتجميد مشفر التوجيه ومفكك القناع لنموذج تقسيم أي شيء (SAM) وتدريب فقط مشفر الصورة باستخدام نوعين: EfficientSAM وSAMUS. استخدم EfficientSAM محول رؤية (ViT-Ti) كهيكل أساسي، بينما استخدمت شبكة التقسيم هيكل U-Net تم تدريبه على تسميات زائفة تم إنشاؤها من WeakMedSAM. أجرى المؤلفون مقارنات مع طرق التقسيم تحت الإشراف الضعيف الحالية وطرق SAM التفاعلية، موضحين أن نهجهم، WeakMedSAM، تفوق على الآخرين عبر مجموعات بيانات متنوعة. لاحظوا أنه بينما أظهر SAM إمكانات للتعميم بدون تدريب، كانت تطبيقاته في تقسيم الصور الطبية محدودة بسبب الاعتماد على معلومات البكسل، مما أدى إلى عدم دقة. في المقابل، قدمت WeakMedSAM استدلالًا آليًا بالكامل، مما عزز أداء التقسيم دون الحاجة إلى تفاعل الأطباء.

نقاش

في مناقشة الأعمال ذات الصلة، تسلط الورقة الضوء على التقدم في تقسيم الصور بكفاءة في التسمية، خاصة من خلال تقنيات التعلم شبه المراقب والتعلم القليل. تستخدم هذه الطرق كل من البيانات المعلّمة وغير المعلّمة أو أمثلة محدودة معلّمة لتعزيز أداء التقسيم. ومع ذلك، يقترح المؤلفون إطار تقسيم جديد تحت إشراف ضعيف يعتمد فقط على تسميات الفئات على مستوى الصورة، مما يقلل بشكل كبير من عبء التسمية. تعالج هذه الطريقة قيود الطرق الحالية، مثل الاعتماد الشائع على خرائط تنشيط الفئات (CAM) التي غالبًا ما تنشط فقط المناطق الأكثر تمييزًا. يقدم المؤلفون استراتيجيات متنوعة لتحسين التقسيم، بما في ذلك دمج المهام المساعدة وخرائط البروز، مما يوضح في النهاية أن طريقتهم تتفوق في تقسيم الأهداف الصغيرة مثل الأورام.

تناقش الورقة أيضًا تكييف نموذج تقسيم أي شيء (SAM) للصور الطبية، مشيرة إلى أنه بينما يؤدي SAM بشكل جيد على الصور الطبيعية، فإنه يواجه صعوبات مع الخصائص المعقدة للصور الطبية. تم اقتراح طرق ضبط مختلفة، لكنها تتطلب عادةً تسميات تحت إشراف كامل. في المقابل، تستفيد طريقة المؤلفين فقط من تسميات الفئات على مستوى الصورة، وهو أمر حاسم للنشر الفعال في البيئات السريرية. يتكون هيكل WeakMedSAM المقترح من وحدتين: استكشاف الفئات الفرعية (SCE) وتعدين التوافق (PAM)، اللتين تعززان التقسيم من خلال تنقيح خرائط تنشيط الفئات وتحسين التمثيل الهيكلي دون عبء حسابي كبير. يتحقق المؤلفون من صحة نهجهم من خلال التجارب، مما يظهر أداءً متفوقًا مقارنة بالطرق الحالية، خاصة في تقسيم الأورام الصغيرة بدقة في الصور الطبية.

Journal: IEEE Transactions on Medical Imaging, Volume: 44, Issue: 7
DOI: https://doi.org/10.1109/tmi.2025.3549433
PMID: https://pubmed.ncbi.nlm.nih.gov/40063440
Publication Date: 2025-03-10
Author(s): Zhenyun Du et al.
Primary Topic: Medical Image Segmentation Techniques

Overview

In this study, we present WeakMedSAM, a novel weakly-supervised segmentation model based on the Segment Anything Model (SAM), aimed at enhancing segmentation performance in medical imaging while minimizing labeling costs. WeakMedSAM comprises two key modules: the Sub-Class Exploration (SCE) module, which fine-tunes SAM’s Vision Transformer (ViT) encoder to effectively learn sub-class features and mitigate co-occurrences in medical images, and the Prompt Affinity Mining (PAM) module, which refines class activation maps (CAM) through a random-walk process utilizing an affinity map derived from SAM’s prompt capabilities.

Experimental evaluations on three widely-used benchmark datasets—BraTS 2019, AbdomenCT-1K, and MSD Cardiac—demonstrate the effectiveness of WeakMedSAM, highlighting its potential to reduce reliance on extensive pixel-wise annotations while maintaining robust performance. This research not only contributes to the field of weakly supervised medical image segmentation but also opens avenues for adapting SAM to various downstream applications. Future investigations will focus on optimizing the integration of the SCE and PAM modules to enhance the overall performance and generalizability of the model in interactive medical image segmentation tasks.

Introduction

The introduction of the research paper discusses the adaptation of the Segment Anything Model (SAM) for medical image segmentation, highlighting its challenges and the need for innovative approaches. SAM has shown promise in computer vision but struggles with medical images due to co-occurrence phenomena, where irrelevant areas (e.g., edema around tumors) are activated alongside the target regions. Existing adaptations of SAM, such as SAMed, Med-SA, and MedSAM, often rely on fully-supervised paradigms that require extensive pixel-wise annotations, which are labor-intensive and hinder practical deployment in clinical settings.

To address these challenges, the paper proposes a novel weakly-supervised segmentation framework called WeakMedSAM. This framework introduces two key modules: Sub-Class Exploration (SCE), which divides primary classes into sub-classes to better manage intra-class co-occurrence, and Prompt-Affinity Mining (PAM), which refines Class Activation Maps (CAM) by leveraging existing SAM parameters without additional computational overhead. The authors demonstrate the effectiveness of WeakMedSAM through experiments on benchmark datasets, achieving superior performance compared to existing weakly-supervised methods. The contributions of this work include the exploration of SAM in weakly-supervised contexts, the introduction of SCE to enhance class activation precision, and the development of PAM to integrate structural information efficiently.

Methods

In this section, the authors detail their experimental methods, focusing on the datasets and network architectures utilized in their research. They employed three prominent datasets: BraTS 2019, AbdomenCT-1K, and the MSD Cardiac dataset. The BraTS 2019 dataset, consisting of 335 multimodal scans, was used for binary segmentation of healthy versus unhealthy targets, specifically utilizing the FLAIR modality. The AbdomenCT-1K dataset, with over 1000 diverse abdominal CT scans, aimed at segmenting four organs: liver, kidney, spleen, and pancreas. The MSD Cardiac dataset, containing MRI images for left ventricle segmentation, was partitioned into training, validation, and testing sets. A modified version of the BraTS dataset, termed BraTS-Core, was created to focus solely on tumor regions, excluding peritumoral edema.

The authors describe their network architecture, where they froze the prompt encoder and mask decoder of the Segment Anything Model (SAM) and trained only the image encoder using two variants: EfficientSAM and SAMUS. EfficientSAM employed a Vision Transformer (ViT-Ti) as the backbone, while the segmentation network utilized a U-Net architecture trained on pseudo labels generated from WeakMedSAM. The authors conducted comparisons with existing weakly supervised segmentation methods and interactive SAM-like methods, demonstrating that their approach, WeakMedSAM, outperformed others across various datasets. They noted that while SAM showed potential for zero-shot generalization, its application in medical image segmentation was limited due to a reliance on pixel information, leading to inaccuracies. In contrast, WeakMedSAM provided fully automated inference, enhancing segmentation performance without requiring clinician interaction.

Discussion

In the discussion of related work, the paper highlights advancements in label-efficient image segmentation, particularly through semi-supervised and few-shot learning techniques. These methods utilize both labeled and unlabeled data or minimal labeled examples to enhance segmentation performance. However, the authors propose a novel weakly supervised segmentation framework that relies solely on image-level class labels, significantly reducing the annotation burden. This approach addresses limitations of existing methods, such as the common reliance on class activation maps (CAM) that often activate only the most discriminative regions. The authors introduce various strategies to improve segmentation, including the integration of auxiliary tasks and saliency maps, ultimately demonstrating that their method excels in segmenting small targets like tumors.

The paper further discusses the adaptation of the Segment Anything Model (SAM) for medical images, noting that while SAM performs well on natural images, it struggles with complex medical image characteristics. Various fine-tuning methods have been proposed, but they typically require fully supervised labels. In contrast, the authors’ method leverages only image-level class labels, which is crucial for efficient deployment in clinical settings. The proposed WeakMedSAM architecture consists of two modules: Sub-Class Exploration (SCE) and Prompt Affinity Mining (PAM), which enhance segmentation by refining class activation maps and improving structural representation without extensive computational overhead. The authors validate their approach through experiments, demonstrating superior performance compared to existing methods, particularly in accurately segmenting small tumors in medical images.