The development of biomedical vision-language models (VLMs) with contrastive image-text pretraining has been driven by scaling to increasingly large and diverse image-text datasets. Beyond scaling, further progress can come from learning richer representations from existing data. We hypothesize that the structure of scientific literature itself provides an additional source of supervision: figures, panels, captions, and accompanying article text encode rich relationships across modalities. Yet, treating these as independent image-text pairs overlooks their relationships. To address this limitation, we incorporate these structural relationships into contrastive image-text supervision. We preserve exact image-text matches while introducing weaker positive supervision for related pairs, such as a panel and the caption of a sibling panel. We upweight cross-article negatives of the same content type to encourage finer discrimination. We also enrich panel descriptions using visual content, original figure captions, and mentioning paragraphs. Pairing panels with these descriptions and whole figures with their original captions yields Loom52M, a dataset of 52.4 million image-text pairs spanning scientific charts and biomedical images. Using Loom52M, BioLoom (DFN-2B) achieves 56.82% domain-balanced mean accuracy across 67 zero-shot classification tasks from 43 datasets in 10 domains, compared with 48.77% for MedPMC-CLIP. On BioLoomBench with concise captions and BioMedFlickr, it achieves bidirectional mean Recall@1 of 63.20% and 10.59%, versus 46.37% and 7.55% for the respective strongest evaluated baselines, BiomedCLIP and MedPMC-CLIP. Code, datasets, benchmarks, and models are available at https://bioloom-clip.github.io/.
Figures & tables
Figure 1: Zero-shot classification accuracy (%) across 10 domains (43 datasets, 67 tasks). BioLoom has the highest domain-balanced mean accuracy (56.82%) among the evaluated biomedical models .
Figure 2: Semi-positive image-text pairs within a whole figure. The anchor microscopy panel (i) shows tube formation, while the sibling chart (h) reports capillary branch counts under the same experimental conditions. The chart caption provides complementary context for the anchor image. We treat this image-text pair as semi-positive rather than an exact match or a negative.
Figure 3: Method overview. (a) Whole figures, original captions, and mentioning paragraphs support panel localization and the generation of visual descriptions and contextual captions. For image anchor x1 , texts y1 - y4 illustrate an exact pair, a same-figure semi-positive pair, a masked same-article cross-figure pair, and a same-type cross-article hard negative, respectively. The sibling chart provides quantitative context for the microscopy image without being an exact match. Displayed text excerpts illustrate these relationships. (b) Lmask aligns exact pairs while masking related pairs; Lrel aligns semi-positive pairs and upweights same-type cross-article negatives.
Table 2: Model comparison on zero-shot classification across ten biomedical domains. We report accuracy (%) on 67 tasks from 43 datasets. We average tasks within each dataset, then datasets within each domain. ‘Overall’ is the domain-balanced mean accuracy, with equal weight for each of the 10 domains. Cell: cellular phenotyping. Struct.: structure profiling. Micro.: microscopy composition. Histo.: histopathology. Radiol.: radiology. Ophth.: ophthalmology. Derm.: dermatology. Microb.: microbial and parasitic recognition. Surgery: surgery and anatomy. For BioLoom, Scratch and DFN-2B denote random and DFN-2B initialization of the vision encoder, respectively; in both cases we use the same pretrained text encoder. ∗ denotes random vision-encoder initialization for image-text pretraining. Among biomedical models, bold and underlined values indicate the best and second-best scores in each column, respectively.
Table 6
Figure 5: Analysis of (a) model size, (b) training data size, and (c) training epochs.
Variant
Zero-shot Mean Acc.
BioLoomBench Mean R@1
BioMedFlickr Mean R@1
Table 5: Vision initialization and contrastive-objective ablations. We report zero-shot accuracy and bidirectional mean R@1 (%); BioLoomBench uses concise captions. Pair sets follow Sec. 3.1 : semi-positive pairs ( Pi ) are non-exact pairs within a figure; cross-figure pairs ( Ai ) span different figures in one article.
Department of Electrical Engineering, Stanford University · Department of Biomedical Data Science, Stanford University School of Medicine · Department of Mathematical Modelling, Statistics and Bioinformatics, Ghent University