All models

VisionFM

A vision transformer foundation model pre-trained on ophthalmic images for eye disease tasks.

Medical imaging · 351 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 (31 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
92.5M
Operations
351
Framework
PyTorch
Recurrent
No
Published
2023
Cited by
71 (as of 27 November 2026)
Authors
Jianing Qiu, Jian Wu, Hao Wei and others
License
CC-BY-NC-4.0
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
m21396
Graph hash
322c3443cb4cd1ac29364e08c5a96230406c1236f45dfff8fb5ce3c6479ee074
Skeleton hash
d18c75662557c299b12191290f251ef8ebe16171619160e1716d44eaa2b7f08e
Architecture hash
66ed2fbd28201861956d4cf8815ba1751e0f08524315c37cc61cd9007dfbee8c
Diagram SHA-256
0351b0d2ac9f0409b8424ae5340c4c15f7da3f6f47163888377c2a345fc5a579
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

VisionFM is a vision foundation model for ophthalmology, pre-trained with 3.4 million ophthalmic images from 560,457 individuals. It processes eight common ophthalmic imaging modalities: fundus photography, optical coherence tomography (OCT), fundus fluorescein angiography (FFA), slit lamp, B-scan ultrasound, external eye imaging, MRI and ultrasound biomicroscopy (UBM). After pre-training, the paper applies it to disease screening and diagnosis, disease prognosis, subclassification of disease phenotype, and systemic biomarker and disease prediction.

Each imaging modality has its own encoder, and the released code pre-trains an encoder as a vit-base model on one modality at a time. Decoders for downstream tasks are then trained on the pre-trained encoders, with different decoders for different tasks such as classification, segmentation, landmark detection and biomarker prediction. For disease recognition, the paper uses one single modality-agnostic decoder across modalities, and contrasts this with RETFound, which it says still relies on modality-specific classifiers.

The paper reports that VisionFM outperformed ophthalmologists with basic and intermediate levels in jointly diagnosing 12 common ophthalmic diseases. It also reports that synthetic ophthalmic images that passed visual Turing tests, used in addition to the real pre-training data, enhanced the representation learning of VisionFM and improved performance on downstream tasks.

Key idea. The paper built a foundation model pre-trained with 3.4 million ophthalmic images from 560,457 individuals to serve as a base for multiple ophthalmic AI applications.

  • visionfm
  • vision foundation model
  • ophthalmology
  • ophthalmic ai
  • fundus photography
  • oct
  • eye disease diagnosis
  • foundation model
  • ocular disease recognition

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

Cite the paper

@misc{qiu2023visionfmmultimodalmultitaskvision,
      title={VisionFM: a Multi-Modal Multi-Task Vision Foundation Model for Generalist Ophthalmic Artificial Intelligence}, 
      author={Jianing Qiu and Jian Wu and Hao Wei and Peilun Shi and Minqing Zhang and Yunyun Sun and Lin Li and Hanruo Liu and Hongyi Liu and Simeng Hou and Yuyang Zhao and Xuehui Shi and Junfang Xian and Xiaoxia Qu and Sirui Zhu and Lijie Pan and Xiaoniao Chen and Xiaojia Zhang and Shuai Jiang and Kebing Wang and Chenlong Yang and Mingqiang Chen and Sujie Fan and Jianhua Hu and Aiguo Lv and Hui Miao and Li Guo and Shujun Zhang and Cheng Pei and Xiaojuan Fan and Jianqin Lei and Ting Wei and Junguo Duan and Chun Liu and Xiaobo Xia and Siqi Xiong and Junhong Li and Benny Lo and Yih Chung Tham and Tien Yin Wong and Ningli Wang and Wu Yuan},
      year={2023},
      eprint={2310.04992},
      archivePrefix={arXiv},
      primaryClass={eess.IV},
      doi={https://doi.org/10.1056/AIoa2300221},
      url={https://arxiv.org/abs/2310.04992}, 
}