Introduction
The segmentation of 3D medical images is a critical task in modern radiology, enabling precise identification of anatomical structures for diagnosis and treatment planning. However, training high-performance deep learning models for this purpose is hindered by the "annotation bottleneck." Voxel-level labeling of 3D volumes is labor-intensive, requiring experts to manually delineate structures across hundreds of slices. Semi-supervised learning (SSL) offers a solution by leveraging small amounts of labeled data alongside larger unlabeled datasets. Despite its promise, standard SSL methods often struggle to extract robust anatomical priors from unlabeled images alone.
This paper introduces LLM-SegNet, a framework that integrates the vast medical knowledge of Large Language Models (LLMs) into the 3D segmentation process. By treating the LLM as a "textual consultant," the framework provides the vision model with detailed anatomical descriptions, significantly improving performance in low-data regimes without the computational burden of processing 3D volumes directly through an LLM.
Methodology
The LLM-SegNet framework consists of several key components designed to bridge the gap between textual medical knowledge and 3D visual features.
Task-Specific Textual Descriptors
Rather than attempting to feed complex 3D image data into an LLM, the researchers utilize ChatGPT-4 to generate detailed anatomical descriptions. For a given target organ, the LLM produces multiple descriptors (e.g., 15 descriptions of 60+ words each) focusing on shape, landmarks, and spatial relationships with neighboring structures. These descriptions serve as a high-level "cheat sheet" for the segmentation network.
Knowledge Fusion and Co-Training
The generated text is converted into word embeddings using a pre-trained BERT model. These embeddings are then fused with image features extracted by a 3D CNN encoder. The overall architecture employs a co-training strategy with two identical networks (Model A and Model B). During training, one network processes the original image while the other receives a "CutMix" augmented version. The models exchange pseudo-labels to maintain consistency and improve generalization on unlabeled data.
Unified Segmentation Loss (USL)
To address the inherent uncertainty in semi-supervised learning, the authors propose a Unified Segmentation Loss (USL). This loss function dynamically adapts based on the model's confidence:
- High Confidence: Uses Negative Log-Likelihood (NLL) to sharpen boundaries and reinforce certain predictions.
- Low Confidence: Switches to Mean Squared Error (MSE), which acts as a smoother regularizer, preventing the model from over-fitting to noisy pseudo-labels in ambiguous regions.
Experimental Results
LLM-SegNet was evaluated on three diverse 3D medical imaging benchmarks: the Left Atrium (LA) MRI dataset, the Pancreas-CT dataset, and the BraTS-2019 brain tumor MRI dataset. Experiments were conducted in "low-data" scenarios, using only 5%, 10%, or 20% of available labels.
Quantitative Performance
The proposed method consistently outperformed state-of-the-art (SOTA) semi-supervised methods across multiple metrics, including the Dice score and Hausdorff Distance.
- Left Atrium: Achieved a 91.45% Dice score with 10% labels, a 1.59% improvement over the previous best method (MLRPL).
- Pancreas-CT: Reached 83.66% Dice with 20% labels, representing a significant 2.13% jump over existing SOTA.
- BraTS-2019: Attained 85.95% Dice with 10% labels, demonstrating robustness across different modalities and anatomical structures.
Qualitative Analysis
Visual inspections of the segmentation outputs reveal that LLM-SegNet produces more anatomically consistent results with fewer artifacts compared to baseline methods. This is particularly evident in challenging organs like the pancreas, which has highly irregular boundaries.
Discussion and Conclusion
The success of LLM-SegNet highlights the potential of using LLMs as sources of expert prior knowledge in computer vision tasks. By decoupling the LLM's knowledge from the inference process—using static text embeddings—the model achieves superior accuracy without increasing inference latency.
Future work may involve more dynamic interactions between the vision model and the LLM, such as active querying for ambiguous regions. Currently, the reliance on manual prompt engineering and static descriptions remains a limitation. Nonetheless, LLM-SegNet represents a significant step toward overcoming the annotation bottleneck in medical imaging by effectively fusing textual expertise with visual learning.
Summary updated