All models

PLIP (Pathology Language-Image Pretraining)

CLIP model fine-tuned on pathology images paired with text descriptions gathered from medical Twitter.

Medical imaging · 614 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (16 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
151.3M
Operations
614
Framework
PyTorch
Recurrent
No
Published
2023, Nature Medicine
Cited by
690 (as of 30 October 2026)
Authors
Zhi Huang, Federico Bianchi, Mert Yüksekgönül and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m19147
Graph hash
54fa400f93099d272d741303e8b6be4124853fe5ebf935c26930490a01d97c27
Skeleton hash
37e29a19e516143053362a75ce12de6be1ebed31a7032e63914386694b61750c
Architecture hash
d8809bb01abd11a4a147b9b68d3eb623e318d7ec8b3981a6a2d70ea59be8a4af
Diagram SHA-256
a9c6fc979c8f73c2d0d7e4e7e3bb8a03c81e9eba36c5086706b856a3fdddaf1f
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

PLIP (pathology language–image pretraining) is a model for pathology that handles both images and text, trained on a dataset called OpenPath. It is a fine-tuned version of the original CLIP model and can be used to extract visual and language features from pathology images and text descriptions.

The paper starts from the observation that annotated, publicly available medical images are scarce, while clinicians share many de-identified images on public forums such as medical Twitter. From such platforms the authors curated OpenPath, 208,414 pathology images paired with natural language descriptions. The paper's data statement says all OpenPath data are publicly available from Twitter and LAION-5B.

For zero-shot classification on four external datasets, the paper reports F1 scores of 0.565–0.832 for PLIP against 0.030–0.481 for the earlier contrastive language–image pretrained model. It also reports that PLIP lets users retrieve similar cases by either image or natural language search. The Twitter training data span 2006-03-21 to 2022-11-15.

Key idea. The authors curated OpenPath, 208,414 pathology images paired with natural language descriptions from public platforms such as medical Twitter, and trained PLIP on it.

  • PLIP
  • pathology language-image pretraining
  • Pathology Language and Image Pre-Training
  • pathology CLIP
  • OpenPath
  • medical Twitter
  • zero-shot pathology classification
  • pathology image retrieval
  • vision-language foundation model

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@article{plip2023,
  title = {A visual–language foundation model for pathology image analysis using medical Twitter},
  author = {Zhi Huang and Federico Bianchi and Mert Yüksekgönül and Thomas Jude Montine and James Zou},
  year = {2023},
  journal = {Nature Medicine},
  doi = {10.1038/s41591-023-02504-3}
}