Unleashing the Potential of Vision-Language Pre-Training for 3D Zero-Shot Lesion Segmentation via Mask-Attribute Alignment

Yankai Jiang, Wenhui Lei, Xiaofan Zhang, Shaoting Zhang

Malenia is a novel framework that brings the power of zero-shot learning to 3D medical image segmentation. By aligning local image regions with specific pathological attributes—like shape, density, and location—Malenia decomposes complex medical reports into fundamental "building blocks." This allows the model to accurately segment lesions it has never encountered during training, outperforming current state-of-the-art methods by significant margins.

The Challenge of Zero-Shot 3D Segmentation

In clinical settings, radiologists encounter a massive variety of anomalies. Most existing AI models for 3D medical image segmentation operate in a "closed-set" environment, meaning they can only identify the specific diseases they were trained on. When faced with a new or rare lesion, these models typically fail.

While vision-language models like CLIP have revolutionized "zero-shot" recognition (identifying objects without specific training), they usually work at the image level (e.g., "this whole scan shows a tumor"). Translating that knowledge to the pixel level (e.g., "these specific voxels are the tumor") is incredibly difficult. Lesions are visually diverse, have blurry boundaries, and vary wildly in size, making standard image-to-text alignment insufficient for precise 3D segmentation.

Introducing Malenia

To bridge this gap, the authors introduce Malenia, a multi-scale lesion-level mask-attribute alignment framework built upon the Mask2Former architecture.

Malenia Architecture

Malenia introduces several key innovations:

  1. Attribute Dissection: Instead of matching a 3D mask to a generic label like "Liver Tumor," the authors use an LLM (GPT-4) and expert radiologists to break reports down into eight fundamental visual attributes: location, shape, density, density variations, surface characteristics, enhancement status, relationship with surrounding organs, and specific features.
  2. Multi-Scale Mask-Attribute Alignment: The model matches mask tokens (queries representing potential lesion regions) with these text attributes across multiple resolutions. This ensures the model can "see" both tiny stones and massive tumors.
  3. Multi-Positive Contrastive Loss: Since one lesion is associated with multiple attributes (e.g., a tumor is both "round" and "hypodense"), the authors use a Multi-Positive NCE loss. This encourages the model to pull a single visual mask toward all eight of its corresponding textual descriptions simultaneously.
  4. Cross-Modal Knowledge Injection (CMKI): This module facilitates "deep fusion." It allows the visual features and textual embeddings to mutually refine each other, creating more context-aware representations before the final segmentation is generated.

Key Insights: Pathology as a Language

The core insight behind Malenia is that while a specific disease might be "unseen," its visual components are not. A model that has learned what "hypodense" looks like in the pancreas and what "irregular shape" looks like in the lung can combine that knowledge to segment an irregular, hypodense lesion in the liver. By moving from image-level to mask-level alignment, Malenia solves the "lost in translation" problem where global text descriptions fail to guide local pixel-level predictions.

Datasets and Key Results

The study utilizes a diverse range of 12 lesion categories across 6 organs, including public datasets (MSD, KiTS23) and a private curated dataset. The model was trained on a subset of "seen" lesions and evaluated on "unseen" categories to test its zero-shot capabilities.

Quantitative Results

Malenia achieved superior performance across all tested zero-shot scenarios:

  • Quantitative Gains: It outperformed the previous best method (ZePT) by 6.40% in Dice Similarity Coefficient (DSC) on the MSD dataset, 8.14% on KiTS23, and 9.08% on the in-house dataset.
  • Qualitative Superiority: Visualizations show that Malenia is significantly better at handling lesions with ambiguous or blurry boundaries where SAM-based adaptations often struggle or produce false positives.
  • Efficiency: Despite its high performance, Malenia is computationally efficient, requiring fewer parameters (~324M) and lower FLOPs than models like ZePT or nnU-Net.

Limitations and Future Work

While highly effective on CT scans, generalizing from CT to other modalities like MRI or X-ray remains a significant challenge due to different feature distributions. Additionally, for certain cancers, even radiologists sometimes disagree on where a lesion ends, leaving room for improvement in capturing complex visual semantics like "spiculated margins."

Summary updated

BibTeX
@inproceedings{jiang2025unleashing,
  author = {Yankai Jiang and Wenhui Lei and Xiaofan Zhang and Shaoting Zhang},
  title = {{Unleashing the Potential of Vision-Language Pre-Training for 3D Zero-Shot Lesion Segmentation via Mask-Attribute Alignment}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=QG31By6S6w},
}
Figure