contrastive learning
对比学习
A way to learn image features without labels: two altered views of the same image are pulled together and views of different images are pushed apart. The model learns what makes things alike, then adapts to a medical task with few annotations.
Contrastive learning is one of the main forms of self-supervised learning. Two random augmentations of one image (crops, color jitter, blur) form a positive pair; the other images in the batch are negatives. The InfoNCE loss asks the positive pair to be the most similar among all candidates, which amounts to identifying the matching view among all the images in the batch.
In 2020, SimCLR (Ting Chen, Geoffrey Hinton, and colleagues) and MoCo (Kaiming He and colleagues) made the idea practical. Fine-tuned on just 1% of ImageNet labels, SimCLR reached 85.8% top-5 accuracy. Contrasting images with text instead of with each other gives CLIP.
Medical imaging has few labels and many unlabeled scans, so contrastive pretraining caught on quickly. It needs care: chest films from two different patients can look almost identical and should not necessarily be pushed apart, and color jitter can erase stain differences that matter in pathology.
- Chen T, Kornblith S, Norouzi M, Hinton G. A simple framework for contrastive learning of visual representations. ICML 2020. arXiv:2002.05709. arxiv.org/abs/2002.05709
- He K, Fan H, Wu Y, Xie S, Girshick R. Momentum contrast for unsupervised visual representation learning. CVPR 2020. arXiv:1911.05722. arxiv.org/abs/1911.05722
Key works · 19
Landmark2021ICML 2021 (PMLR 139)62,551 citations
Learning Transferable Visual Models From Natural Language Supervision
CLIP trains separate image and text encoders on 400 million pairs gathered from the internet, increasing the similarity of matching items. It classifies images by comparing them with text descriptions of each class. On ImageNet, the best evaluated CLIP model matched the original ResNet-50 without training on ImageNet labels.
SignificanceUsing class descriptions as the interface made a single pretrained representation reusable for different label sets. BiomedCLIP adopted this training approach for biomedical research figures and captions and provided a domain-specific baseline for retrieval and classification.
arXiv Full text Alec RadfordJong Wook KimIlya Sutskever CLIPcontrastive learningmultimodal learningunified representationshared embedding spacefoundation model
Landmark2024Nature Medicine1,750 citations
A visual-language foundation model for computational pathology
CONCH learned from 1.17 million histopathology image-caption pairs with a joint contrastive and caption-generation objective. The published evaluation used 14 benchmarks spanning classification, segmentation, captioning, and retrieval in both directions. These experiments tested transfer to tasks involving images alone as well as paired image and text.
SignificanceCONCH made pathology-specific image and text features available for tasks such as zero-shot classification and retrieval. The later TITAN study used an updated CONCH tile encoder as input for training at whole-slide scale, extending pathology image-text alignment to complete slides and reports.
DOI arXiv Full text Ming Y. LuFaisal Mahmood foundation modelwhole-slide imagehistopathologycontrastive learningvision–language modelshared embedding space
Key2020ICML 2020 (PMLR 119)18,214 citations
A Simple Framework for Contrastive Learning of Visual Representations
SimCLR treats two augmented views of an image as a positive pair and other images in the batch as negatives. It applies the contrastive loss after a projection head. Experiments isolate augmentation, nonlinear projection, and batch-size choices and evaluate the resulting features with a linear ImageNet classifier.
SignificanceSimCLR made the effects of basic contrastive pretraining choices measurable in a common experimental setup. BYOL uses it as a reference with negative pairs when testing how well representations can be learned from different views of the same image alone.
arXiv Ting ChenGeoffrey Hinton self-supervised learningcontrastive learningdata augmentation
Key2020NeurIPS 2020783 citations
Contrastive learning of global and local features for medical image segmentation with limited annotations
The authors used anatomical similarities between MRI volumes to construct global contrastive examples and added a local contrastive loss for features needed in pixelwise segmentation. Across three MRI datasets, the strategy improved the reported segmentation performance with limited annotations relative to the self-supervised and semi-supervised comparisons.
SignificanceThe paper translated contrastive learning into a framework that learns features needed at individual image locations. A follow-up study retained local contrastive learning and combined it with pseudo-label self-training to exploit unlabeled images during medical segmentation training.
arXiv Krishna ChaitanyaEnder Konukoglu self-supervised learningcontrastive learningimage segmentation
Key2020CVPR 202019,442 citations
Momentum Contrast for Unsupervised Visual Representation Learning
MoCo learns to match representations of two augmented views of an image. A queue stores representations of earlier samples as negatives, while a momentum-updated encoder keeps their representations reasonably consistent. The paper evaluates the pretrained features in classification and in downstream detection and segmentation.
SignificanceThe queue and momentum encoder provided a practical way to maintain a large set of negatives for contrastive image learning. MoCo v3 reused the framework to study training stability in self-supervised vision transformers, making it a baseline across backbone families.
DOI arXiv Full text Kaiming HeRoss Girshick self-supervised learningcontrastive learningtransfer learning
Key2021ICCV 2021882 citations
Big Self-Supervised Models Advance Medical Image Classification
The authors followed self-supervised pretraining on natural images with another pretraining stage on unlabeled medical images. When multiple images represented the same patient case, their method used these as positive contrastive pairs. On skin images and chest radiographs, the reported classifiers improved on supervised ImageNet pretraining baselines.
SignificanceThe study showed how multiple views of a case could supply a contrastive signal, with evaluation under reduced labels and distribution shift. The later REMEDIS study examined continued self-supervised training on medical data across a broader set of imaging domains.
DOI arXiv Full text Shekoofeh AziziMohammad Norouzi self-supervised learningcontrastive learningtransfer learning
Key2021IEEE/CVF ICCV 2021907 citations
GLoRIA: A Multimodal Global-Local Representation Learning Framework for Label-Efficient Medical Image Recognition
GLoRIA learned global alignment between a chest radiograph and its report and local alignment between image regions and report words using attention. The authors tested transfer on retrieval, classification, and segmentation, including settings with few task labels and a zero-shot classification evaluation.
SignificanceGLoRIA made it possible to examine whether words and image regions aligned during report-supervised pretraining, along with whether the resulting representation transferred to recognition tasks. MGCA later retained both local and image-level alignment and added disease-level structure across cases.
DOI Full text Shih-Cheng HuangSerena Y. Yeung contrastive learningmultimodal learningweak supervision
Key2022Machine Learning for Healthcare 2022 (PMLR 182)881 citations
Contrastive Learning of Medical Visual Representations from Paired Images and Text
ConVIRT used a bidirectional contrastive objective to pretrain on medical images and their descriptive text. The authors transferred the learned visual encoder to four classification and two zero-shot retrieval tasks, where it generally improved on natural-image pretraining or image-only self-supervision.
SignificanceConVIRT established an early controlled comparison of pretraining with paired clinical text and with visual supervision alone. CheXzero later used it as a baseline when testing if explicitly contrastive report-image representations could support zero-shot, multilabel chest radiograph classification.
arXiv Full text Yuhao ZhangCurtis P. Langlotz contrastive learningself-supervised learningvision–language modelshared embedding space
Key2022Nature Biomedical Engineering736 citations
Expert-level detection of pathologies from unannotated chest X-ray images via self-supervised learning
CheXzero learned jointly from chest radiographs and their reports and used positive and negative text prompts to classify findings without task-specific labels at training time. In an external dataset, it outperformed one fully supervised comparator on three of eight findings.
SignificanceThe study operationalized CLIP-style classification for multilabel imaging findings using positive and negative prompts and external evaluation. Subsequent experiments on zero-shot chest radiograph recognition have used CheXzero as a comparison when testing more detailed disease descriptions and image-text alignment.
DOI Full text Ekin TiuPranav Rajpurkar contrastive learningCLIPMIMIC-CXRexternal validationshared embedding space
Key2022ECCV 2022 (LNCS 13696)756 citations
Making the Most of Text Semantics to Improve Biomedical Vision–Language Processing
BioViL paired a chest radiograph encoder with a text encoder pretrained for radiology reports, retaining a masked language modeling objective during contrastive training. The authors used MS-CXR annotations to evaluate how well phrases could be located in an image and also assessed classification and segmentation.
SignificanceMS-CXR provided a way to test whether a radiology phrase referred to the correct image region. The study also made the design of the report encoder an explicit experimental variable, providing a reference for testing how text semantics affect visual grounding.
DOI arXiv Full text Benedikt BoeckingOzan Oktay contrastive learningvision–language modelimage segmentationphrase groundingshared embedding space
Key2022EMNLP 20221,441 citations
MedCLIP: Contrastive Learning from Unpaired Medical Images and Text
MedCLIP decoupled images from their original reports and used medically informed semantic matching to identify combinations that should be close in the representation space. This addressed false negatives when two patients shared a finding. The study reported gains on classification and retrieval benchmarks.
SignificanceMedCLIP made repeated medical findings usable as training information even across original image-report pair boundaries. Later work such as CARZero used it as a reference for zero-shot chest radiograph classification when evaluating alternative ways to align images with text.
DOI arXiv Full text Zifeng WangJimeng Sun CLIPcontrastive learningvision–language modelshared embedding space
Key2022NeurIPS 2022368 citations
Multi-Granularity Cross-Modal Alignment for Generalized Medical Visual Representation Learning
MGCA learned from chest radiographs and reports at three levels, aligning local image and text tokens, whole images and reports, and shared disease semantics across examples. The authors tested the features on public classification, detection, and segmentation tasks under limited annotation.
SignificanceMGCA made shared disease patterns an explicit pretraining signal alongside image-report pairing and local alignment. Later experiments in CARZero included MGCA in a multi-dataset zero-shot classification comparison, giving a direct reference for studies of alternative alignment methods.
DOI arXiv Fuying WangLequan Yu contrastive learningmultimodal learningvision–language modelshared embedding space
Key2022Medical Image Analysis1,058 citations
Transformer-based unsupervised contrastive learning for histopathological image classification
CTransPath combined convolution with a transformer and pretrained on unlabeled histology tiles, treating visually similar tiles as additional positive examples in contrastive learning. The authors evaluated feature transfer across nine public datasets in retrieval, classification, weakly supervised slide prediction, mitosis detection, and gland segmentation.
SignificanceCTransPath gave downstream methods a reusable pathology-specific tile encoder, providing a concrete alternative to features learned from natural images. UNI used CTransPath directly as a reference encoder when comparing transfer across classification, segmentation, and other pathology tasks.
DOI Full text Xiyue WangJing ZhangXiao Han whole-slide imagehistopathologycontrastive learningfoundation model
Key2023CVPR 20232,288 citations
ImageBind One Embedding Space to Bind Them All
ImageBind uses images as anchors to train a shared embedding space for images, text, audio, depth, thermal images, and inertial sensor data. The study directly evaluated text-to-audio retrieval using the resulting embeddings, although training did not use directly paired text and audio examples.
SignificanceThe experiment showed how a shared space can be trained without collecting paired examples for every combination of modalities. Cross-modal retrieval tested the indirect alignment explicitly, making the paper a reference for using an anchor modality to extend a representation.
DOI arXiv Rohit GirdharAlaaeldin El-NoubyIshan Misra multimodal learningcontrastive learningunified representationshared embedding space
Key2025NEJM AI553 citations
A Multimodal Biomedical Foundation Model Trained from Fifteen Million Image–Text Pairs
The authors collected about 15 million biomedical figures and captions from about 4.4 million articles in PubMed Central and trained image and text encoders on the resulting corpus. They evaluated BiomedCLIP on image–text retrieval, image classification, and visual question answering.
SignificanceScientific figures and captions supplied a large source of biomedical supervision, and the team released pretrained models. The study provides a benchmark comparison between general and biomedical pretraining across multiple tasks, with the training distribution defined by scientific publications.
DOI arXiv Sheng ZhangYanbo XuNaoto UsuyamaHanwen XuSheng WangHoifung Poon CLIPcontrastive learningmultimodal learningunified representationshared embedding spacefoundation model
Key2026Nature Biomedical Engineering424 citations
Generalist foundation models from a multimodal dataset for 3D computed tomography
CT-RATE paired 25,692 noncontrast chest CT volumes from 21,304 patients with their radiology reports. The authors used it to train the CT-CLIP contrastive model and evaluated abnormality classification and case retrieval. They then connected the vision encoder to a language model for scan-based question answering.
SignificanceThe work made paired volumes and reports available for studying representation learning at whole-scan scale. It also provided separate experiments for classification, retrieval, and question answering, allowing subsequent work to test how much a shared CT encoder contributes to each task.
DOI arXiv Ibrahim Ethem HamamciBjoern H. Menze computed tomographyCLIPcontrastive learningvision–language modelfoundation modelshared embedding space
Key2026Nature273 citations
Merlin: a computed tomography vision–language foundation model and dataset
Merlin learned a volumetric representation from 15,331 abdominal CT examinations, their radiology reports, and diagnosis codes. Tasks included retrieving the findings or impression section of a report from a CT volume, classifying imaging findings, and segmentation after adaptation. The external evaluation covered 44,098 exams in total from three sites and two public datasets, with different sample sizes by task.
SignificanceThe study combined routinely recorded clinical information with full 3D scans for pretraining and evaluated transfer across several independent sources. The reported task-level results give later abdominal CT models a reference for assessing how three-dimensional representations transfer.
DOI arXiv Full text Louis BlankemeierAshwin KumarAkshay S. Chaudhari computed tomographycontrastive learningmultimodal learningexternal validationunified representationshared embedding spacefoundation model
Notable2022Journal of medical imaging139 citations
Contrastive self-supervised learning from 100 million medical images with optional supervision
The researchers combined contrastive learning and online feature clustering to pretrain on more than 105 million images across radiography, CT, MRI, and ultrasound. They evaluated the learned features in downstream supervised and hybrid settings, reporting gains in accuracy or convergence on tasks including chest radiograph abnormalities, head CT hemorrhage, and MR lesion detection.
SignificanceThis study documented contrastive pretraining at a scale far larger than early single-organ restoration experiments. Its supervised and hybrid comparisons showed how the same learning framework could be evaluated across modalities and provided an empirical reference for scaling medical-domain pretraining.
DOI arXiv Full text self-supervised learningcontrastive learningtransfer learning
Notable2026Nature Communications15 citations
FineST: contrastive learning integrates histology and spatial transcriptomics for nuclei-resolved ligand-receptor analysis
FineST aligned histology and spatial transcriptomics with contrastive learning and used locations of segmented nuclei to estimate expression on a finer grid. The study evaluated the method with colorectal cancer Visium HD and breast cancer Xenium data and used the estimates for spatial ligand-receptor analysis.
SignificanceFineST connected morphology-based nuclear localization with spatial expression estimates in the same analysis framework. Its use of two spatial assay platforms provided reference measurements for evaluating the inferred signal and a concrete example of how such estimates can be used to investigate cell-cell communication.
DOI Full text Lingyu LiYuanhua HuangLequan Yu histopathologyfoundation modelcontrastive learningspatial transcriptomics