CTLink

CTLink: A Text-Prompted Segmentation Model for Linking Radiology Report Findings to 3D Chest CT Scans

CTLink is a text-prompted 3D segmentation model. Given a chest CT scan and a sentence from its report, such as "Two nodules in the right lower lobe", it returns a 3D mask of that finding. It is fine-tuned from VoxTell v1.1 (code) on ReXGroundingCT and ReXGroundingCTv2 (4123 noncontrast chest CT scans, 9547 segmented report findings).

Code, installation and usage: github.com/rajpurkarlab/CTLink.

Files

File Model
ctlink.pth CTLink as evaluated on the ReXGrounding challenge test set (the validation scans were added to training)
ctlink_val.pth CTLink as evaluated on the validation set (validation scans held out)
ensemble/ The other six members of the seven-model CTLink ensemble; ensemble.json lists all seven

Each file holds the network weights and the input crop size (192 x 256 x 256 voxels). The VoxTell v1.1 folder is also needed, for the architecture definition and the text encoder.

Results

Instance F1 Dice Hit rate
CTLink, ReXGrounding challenge validation set (200 scans) 0.456 0.400 0.816
CTLink ensemble, ReXGrounding challenge test set (300 scans) 0.386 0.373 0.782

Hit rate is the proportion of findings with a Dice score of at least 0.1, and Dice is the mean per-scan Dice score. All metrics are computed with the official ReXGrounding challenge evaluator, after CTLink's post-processing.

Usage

git clone https://github.com/rajpurkarlab/CTLink.git && cd CTLink && pip install -e .
export VOXTELL_MODEL=/path/to/voxtell_v1.1
huggingface-cli download rajpurkarlab/CTLink --local-dir weights

python -m ctlink.predict --checkpoints weights/ctlink.pth --ct scan.nii.gz \
    --sentence "Two nodules in the right lower lobe" --out findings.nii.gz

# seven-model ensemble
python -m ctlink.predict --ensemble weights/ensemble --ct scan.nii.gz \
    --sentence "Two nodules in the right lower lobe" --out findings.nii.gz

Intended use and limitations

CTLink is a research model for noncontrast chest CT and for findings of the lungs and pleura. It was trained and evaluated on scans from a single institution (CT-RATE). It is not a medical device and is not intended for clinical use.

License

The weights are released under CC BY-NC-SA 4.0 for non-commercial research use, following the licenses of ReXGroundingCT and CT-RATE. The code is released under Apache-2.0.

Citation

Coming soon.

Downloads last month
45
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for rajpurkarlab/CTLink

Base model

mrokuss/VoxTell
Finetuned
(2)
this model

Dataset used to train rajpurkarlab/CTLink