BioLoom: Scaling Biomedical Vision-Language Models by Learning from the Structure of Scientific Articles

Yuwei Yang, Xiaoxiao Sun, Alejandro Lozano, Yuan-Sen Ting, Yuhui Yuan, Liang Zheng, Serena Yeung-LevyarXiv 2026

TL;DR

Training biomedical vision-language models usually involves scraping millions of scientific figures and treating every image-caption pair as an isolated island. BioLoom realizes that scientific papers aren't scrapbooks—they are structured arguments where sub-panels, sibling charts, and body text all contextualize one another. By baking this document structure directly into a contrastive learning loss across 52.4 million image-text pairs, BioLoom sets a new benchmark for zero-shot biomedical classification and retrieval.

What Problem Does This Paper Address?

Vision-language models (VLMs) like CLIP learn by pulling matching images and captions together in embedding space while pushing mismatched pairs apart. In biomedicine, scientific papers are a goldmine for this kind of data, spanning everything from X-rays to cellular microscopy.

However, standard contrastive learning views the world in black and white: an image-text pair is either an exact match or a complete stranger. Scientific figures defy this binary. A single figure often contains multiple panels—say, a microscopy image next to a bar chart quantifying what is in that image.

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 complemen- tary context for the anchor image. We treat this image-text pair as semi-positive rather than an exact match or a negative.

If you chop a figure into panels and train a standard model, the microscopy image treats its neighboring bar chart's caption as a "negative" example, actively unlearning the shared experimental context. Conversely, lumping them together as identical "positives" blurs distinct visual concepts. How do we teach a model to respect the nuanced hierarchy of a scientific paper?

Methods

BioLoom builds on a standard dual-encoder CLIP architecture (a ViT-L/14 vision encoder and a BioClinical ModernBERT text encoder), but overhauls both the data pipeline and the contrastive training objective.

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.

First, the authors use Gemini 3.5 Flash-Lite to parse whole figures, original captions, and up to two paragraphs from the paper's main text that mention the figure. The model crops individual panels and generates two distinct text fields for each: a visual description (strictly what is visible) and a contextual caption (incorporating experimental details from the text).

Second, instead of standard binary InfoNCE loss, BioLoom categorizes batch candidates into four relationships and optimizes two complementary losses:

  • Masked Contrastive Loss ($\mathcal{L}_{\text{mask}}$): Aligns exact image-text matches, while masking out (ignoring) other panels from the same figure or other figures in the same paper so the model isn't penalized for shared research context.
  • Relation Loss ($\mathcal{L}_{\text{rel}}$): Gently pulls together "semi-positive" pairs—like a microscopy panel and the caption of its sibling chart, or a panel and its whole-figure caption. Simultaneously, it upweights hard negatives: images from completely different papers that share the exact same content type (e.g., two unrelated microscopy slides), forcing finer visual discrimination.

Datasets

  • Loom52M (New Training Dataset): Built on top of BIOMEDICA records, this dataset contains 52.4 million image-text pairs (13.1M whole figures with original captions, and 39.3M cropped panels with enriched descriptions). Notably, the authors filter out 10.8M figures made entirely of charts, but keep chart panels when they appear alongside biomedical images in mixed figures.
  • BioLoomBench (New Retrieval Benchmark): 15,000 figures from 2026 bioRxiv and Europe PMC papers across 15 domains, testing bidirectional retrieval on both original captions and concise visual captions.
  • Existing Evaluations: Zero-shot classification across 67 tasks from 43 public datasets (10 domains), retrieval on BioMedFlickr (7,185 pairs), and linear probing on 12 MedMNIST 2D datasets.

Key Insights and Ideas

  • Charts need biological anchors (and vice versa): Ablation studies show that training without any charts drops retrieval performance, as does dumping pure-chart figures back into the mix. Keeping charts strictly when they accompany biological images hits the sweet spot—quantitative plots ground visual observations without diluting the model's biomedical focus.
  • Whole figures and cropped panels are synergistic: Training only on cropped panels or only on whole figures drastically degrades accuracy compared to mixing both (49.42% zero-shot accuracy mixed vs. 40.22% panel-only and 32.49% whole-only on a 25M subset). Global layout and local detail reinforce one another.
  • Alignment vs. Classification trade-offs: Training longer (up to 25 epochs) steadily improves image-text retrieval, but zero-shot classification peaks at 10 epochs before declining. Similarly, tweaking loss masks reveals a subtle tug-of-war between fine-grained retrieval and broad category recognition.

Key Results

BioLoom was trained in two main flavors: vision encoder initialized from scratch, and initialized from pretrained DFN-2B weights.

Zero-shot classification across 10 biomedical domains
  • Zero-Shot Classification: BioLoom (DFN-2B) achieves 56.82% domain-balanced mean accuracy across 10 domains, beating the strongest baseline, MedPMC-CLIP (48.77%), by over 8 percentage points. Even initialized from scratch, BioLoom hits 52.89%.
  • Cross-Modal Retrieval: On BioLoomBench (concise captions), BioLoom (DFN-2B) reaches a bidirectional mean Recall@1 of 63.20%, leaping past BiomedCLIP (46.37%). On BioMedFlickr, it achieves 10.59% mean Recall@1 versus 7.55% for MedPMC-CLIP.
  • Visual Feature Quality: When freezing the vision encoder for linear probing on MedMNIST, BioLoom (Scratch) reaches 84.45% mean accuracy—matching supervised ImageNet-21k ViT-L/16 (84.42%) and outperforming self-supervised DINOv2 (83.31%).

Limitations and Future Work

When scaling the vision encoder from ViT-S up to ViT-H from scratch, performance peaked at ViT-L and dipped slightly at ViT-H across all metrics—likely because massive vision transformers are data-hungry beyond even 52.4 million pairs. Additionally, the authors note an inherent trade-off between prolonged image-text alignment and zero-shot category recognition. For future work, the team plans to curate even larger datasets to properly saturate ViT-H architectures and plug BioLoom's vision encoder into a generative biomedical vision-language model.

Summary updated

Abstract

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/.
BibTeX
@misc{yang2026bioloom,
  author = {Yuwei Yang and Xiaoxiao Sun and Alejandro Lozano and Yuan-Sen Ting and Yuhui Yuan and Liang Zheng and Serena Yeung-Levy},
  title = {{BioLoom: Scaling Biomedical Vision-Language Models by Learning from the Structure of Scientific Articles}},
  year = {2026},
  eprint = {2611.33151},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33151},
}
Figure