CAT: Coordinating Anatomical-Textual Prompts for Multi-Organ and Tumor Segmentation

Zhongzhen Huang, Yankai Jiang, Rongzhao Zhang, Shaoting Zhang, Xiaofan Zhang

TL;DR

CAT (Coordinating Anatomical-Textual prompts) is a novel dual-prompting framework for medical image segmentation that combines 3D visual examples with expert-level textual descriptions. By leveraging the complementary strengths of anatomical context and domain knowledge, CAT achieves state-of-the-art performance in segmenting both standard organs and highly variable tumors across different cancer stages.

What Problem Does This Paper Address?

Medical image segmentation—the process of identifying and outlining organs or anomalies in scans like CTs—is notoriously difficult due to the "long-tail" distribution of data. While common organs are well-represented in datasets, rare pathologies and tumors appear infrequently and vary wildly in shape, size, and density.

Existing "promptable" models usually rely on one of two methods:

  1. Textual Prompts: These use descriptions to guide the model. While they capture general concepts, they can be ambiguous (e.g., both the colon and intestines have a "tubular shape") and struggle with complex visual patterns.
  2. Visual Prompts: These use points, boxes, or example images (like the Segment Anything Model, or SAM). While intuitive, they often lack the "big picture" medical knowledge needed to identify how a tumor might change as it progresses through different stages.

As shown in Figure 1, the number of available cases drops sharply as the diversity of anomalies increases, making it hard for models to generalize.

Figure 1: Left: Long-tailed curve of the category and the number of available cases that can be obtained in the medical field. Right: Tumors in different cancer staging with diverse shapes and sizes.

Methods

The authors introduce CAT, which uses a dual-perspective prompting scheme to bridge this gap. The architecture is built on a query-based encoder-decoder framework (similar to Mask2Former) and features several key innovations:

  • Anatomical Prompts: Instead of simple points or boxes, CAT uses 3D cropped volumes from other CT scans as visual references. This provides the model with a visually coherent "template" of the target structure.
  • Knowledge-Enriched Textual Prompts: The authors used GPT-4 to generate detailed medical descriptions for each category, which were then verified by a board-certified physician. This ensures the model has access to professional-grade domain knowledge.
  • ShareRefiner: This module refines both segmentation and prompt queries by attending to multi-scale image features. Crucially, it uses a "hard assignment" strategy (via Gumbel-Softmax) for anatomical prompts to ensure they gather distinct visual regions without overlapping.
  • PromptRefer: This component integrates the two types of prompts to update the final segmentation queries, using specific attention masks to ensure the model focuses on the most relevant context (e.g., looking at the liver when trying to find a liver tumor).
CAT Model Architecture

Datasets

The model was trained on a massive consortium of 10 public CT datasets (including BTCV, AMOS22, and the Medical Segmentation Decathlon), covering 23 organs and 6 types of anomalies.

For evaluation, the researchers used:

  • FLARE22: For testing organ segmentation.
  • MSD (Medical Segmentation Decathlon): For tumor segmentation.
  • In-house Dataset: A specialized set of 80 3D CT volumes featuring colon tumors ranging from Stage-I to Stage-IV, used to test the model's ability to handle complex, invasive pathologies.

Key Insights and Ideas

  • Complementarity is Key: Textual prompts provide the "semantic concept" (the what), while anatomical prompts provide the "visual intuition" (the how it looks). The paper demonstrates that using both significantly reduces false positives compared to using either alone.
  • Disentanglement Matters: By using different refinement strategies in the ShareRefiner, the model prevents the different prompt modalities from "muddying" each other, leading to more versatile representations.
  • Contrastive Alignment: The researchers employed InfoNCE loss to pull segmentation queries closer to their corresponding prompts in the feature space. This "distillation" process helps the model better align what it sees with what it is being asked to find.
T-SNE visualization of feature separation

Key Results

CAT consistently outperformed both SAM-based medical adapters and state-of-the-art textual-prompted models:

  • Organ Segmentation: On the FLARE22 set, CAT surpassed MedSAM by 21% DSC (Dice Similarity Coefficient) on adrenal glands and 15% on the esophagus—areas where 2D-based models often struggle with 3D volumes.
  • Tumor Segmentation: CAT achieved at least a 4% improvement in DSC across all tumor subtypes compared to traditional baselines like nnU-Net.
  • Cancer Staging: In the challenging in-house colon tumor dataset, CAT outperformed other models by 7% DSC in Stage-IV cases. This is significant because Stage-IV tumors often invade nearby organs, confusing models that rely solely on visual prompts.
Qualitative segmentation results

Limitations and Future Work

While CAT shows remarkable robustness, the authors acknowledge a few hurdles:

  • Encoder Limitations: There is still a lack of truly "general" anatomical prompt encoders; the current initial embeddings can be somewhat "messy" in their distribution.
  • Rare Scenarios: The model may still struggle with extremely rare lesions or patients who have undergone radical surgeries that significantly alter their internal anatomy.
  • Clinical Integration: Moving from a research model to a clinical tool requires further development of legislation and standards to ensure these AI-based algorithms are used safely and effectively in practice.

Summary updated

Abstract

Existing promptable segmentation methods in the medical imaging field primarily consider either textual or visual prompts to segment relevant objects, yet they often fall short when addressing anomalies in medical images, like tumors, which may vary greatly in shape, size, and appearance. Recognizing the complexity of medical scenarios and the limitations of textual or visual prompts, we propose a novel dual-prompt schema that leverages the complementary strengths of visual and textual prompts for segmenting various organs and tumors. Specifically, we introduce CAT, an innovative model that Coordinates Anatomical prompts derived from 3D cropped images with Textual prompts enriched by medical domain knowledge. The model architecture adopts a general query-based design, where prompt queries facilitate segmentation queries for mask prediction. To synergize two types of prompts within a unified framework, we implement a ShareRefiner, which refines both segmentation and prompt queries while disentangling the two types of prompts. Trained on a consortium of 10 public CT datasets, CAT demonstrates superior performance in multiple segmentation tasks. Further validation on a specialized in-house dataset reveals the remarkable capacity of segmenting tumors across multiple cancer stages. This approach confirms that coordinating multimodal prompts is a promising avenue for addressing complex scenarios in the medical domain.
BibTeX
@inproceedings{huang2024cat,
  author = {Zhongzhen Huang and Yankai Jiang and Rongzhao Zhang and Shaoting Zhang and Xiaofan Zhang},
  title = {{CAT: Coordinating Anatomical-Textual Prompts for Multi-Organ and Tumor Segmentation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=pnmUiVAGnv},
}
Figure