Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProLearn: Alleviating Textual Reliance in Medical Language-guided Segmentation via Prototype-driven Semantic Approximation

Paper PDF arXiv Project Page

The University of Sydney; Macquarie University

Shuchang Ye, Usman Naseem, Mingyuan Meng, Jinman Kim

🚀 Overview

ProLearn introduces a significant advancement beyond our previous work, SGSeg, by deeper analyzing and addressing one of the core limitations of medical language-guided segmentation: textual reliance.

🔍 Why is textual reliance a problem?

📝 Most medical segmentation datasets lack paired reports, leaving large amounts of image-only data unused for training.

📝 Inference often requires text input, which is impractical in real clinical workflows, where segmentation usually precedes reporting.

🧠 ProLearn: the first prototype-driven learning framework that enables 1) image-only, image-text data mix training; 2) inference with limited or no textual input.

ProLearn


📉 Performance Under Limited Text

To simulate real-world incomplete pairing, we train ProLearn with only 1% to 50% paired text data and compare it with SOTA language-guided models. Unlike others, ProLearn maintains performance even under extreme text scarcity.

Degradation


🔬 Qualitative & Interpretability Analysis

ProLearn produces robust and localized segmentation maps, even without text. Its PSA module preserves attention saliency and lesion coherence — outperforming baselines like SGSeg and LViT.

Visualization


Prototype zoo

We provide prototypes for you to play with:

Dataset Surrogate_labels Prototypes/label Dimension Size Weights
QaTa-COV19 6 2 1024 9.5MB prototype_qata_6_2_1024
QaTa-COV19 6 4 1024 19MB prototype_qata_6_4_1024
QaTa-COV19 6 8 1024 37.9MB prototype_qata_6_8_1024
QaTa-COV19 6 16 1024 75.9MB prototype_qata_6_16_1024

All files available at: ./prototypes


Quick Start

First, clone this repository to your local machine and install the dependencies.

git clone git@github.com:ShuchangYe-bib/ProLearn.git
cd ProLearn
conda create --name prolearn python=3.11
conda activate prolearn
pip install -r requirements.txt

Now, train and test the model with just few lines of code:

python3 train.py
python3 test.py

Training

  1. To finetune our pretrain model, specify the path of the pretrained model in checkpoint_path parameter in config/training.yaml OR To train our model from scratch, set the checkpoint_path parameter in config/training.yaml to None

  2. Customize the following parameters in config/training.yaml for customized training process:

  • train_batch_size - the number of samples to be processed in an epoch
  • image_size - tuple of (H, W)
  • min_epochs - minimum epochs of training (unaffected by validation metric)
  • max_epochs - maximum epochs of training
  • patience - the number of epochs to wait before discontinuing the training process if the validation metric has not improved
  1. Run python3 train.py

Test

To evaluate the performance of our model:

  1. Specify the path of the pretrained model in checkpoint_path parameter in config/training.yaml

  2. Run evaluation python3 test.py


License

This project is licensed under the MIT License - see the LICENSE file for details.

📚 Citation

If you find ProLearn useful in your research, please consider citing:

@misc{ye2025prolearn,
  title={Alleviating Textual Reliance in Medical Language-guided Segmentation via Prototype-driven Semantic Approximation},
  author={Shuchang Ye and Usman Naseem and Mingyuan Meng and Jinman Kim},
  year={2025},
  eprint={2507.11055},
  archivePrefix={arXiv},
  primaryClass={cs.CV},
  url={https://arxiv.org/abs/2507.11055}
}

About

[ICCV 2025] Official Implementation of "ProLearn: Alleviating Textual Reliance in Medical Language-guided Segmentation via Prototype-driven Semantic Approximation"

Topics

Resources

Stars

58 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages