All models

RETClip

A CLIP-style model pairing left and right fundus photographs with a Chinese diagnostic report.

Medical imaging · 1,370 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 (47 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
191.9M
Operations
1,370
Framework
PyTorch
Recurrent
No
Published
MICCAI 2024
Cited by
37 (as of 28 October 2026)
Authors
Jiawei Du, Jia Guo, Weihang Zhang 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
m19629
Graph hash
15e30ee094b896ab02cbea8561205c05b476b38d870e0e81ebb0102967162080
Skeleton hash
978ddc2866d8e565865993d32da5c5cf65dedd3ca86891ac3ce1a15b4c012ac6
Architecture hash
6acf470598b82cc2afea885757c2267277b577aefa0dc57089925fe74de0ad0d
Diagram SHA-256
780d987d7b359654e5f55f32ad2f925b46675b8d960a02e72f4575d350506d30
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

RET-CLIP is a CLIP-style foundation model for retinal images, pre-trained with clinical diagnostic reports to extract general features of color fundus photographs (CFPs). The paper names the lack of labeled data as the obstacle to training a foundation model in ophthalmology, and it trains on a dataset of 193,865 patients. Training follows what the abstract calls a tripartite optimization strategy, which focuses on the left eye, the right eye and the patient level to reflect real-world clinical scenarios.

The released model pairs a ViT-b-16 vision backbone with a RoBERTa-wwm-ext-base-chinese text backbone. The repository is based on the official Chinese-CLIP, and its authors state that the RET-CLIP series is based on Chinese text. The paper reports that RET-CLIP outperformed existing benchmarks across eight datasets in four diagnostic categories: diabetic retinopathy, glaucoma, multiple disease diagnosis, and multi-label classification of multiple diseases.

Key idea. The paper pre-trains a CLIP-style retinal model on fundus photographs and diagnostic reports from 193,865 patients, optimizing at the left eye, right eye and patient level.

  • RET-CLIP
  • RETClip
  • retinal foundation model
  • color fundus photographs
  • CFP
  • fundus image
  • ophthalmology
  • clinical diagnostic reports
  • vision-language pre-training

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

Cite the paper

@misc{du2024retclipretinalimagefoundation,
      title={RET-CLIP: A Retinal Image Foundation Model Pre-trained with Clinical Diagnostic Reports}, 
      author={Jiawei Du and Jia Guo and Weihang Zhang and Shengzhu Yang and Hanruo Liu and Huiqi Li and Ningli Wang},
      year={2024},
      eprint={2405.14137},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2405.14137}, 
}