Abstract
The development of generalist AI for the biomedical domain is currently hindered by a lack of accessible, high-quality, large-scale multimodal data. We present BIOMEDICA, a comprehensive open-source dataset containing over 24 million image-text pairs and 6 million full-text articles derived from PubMed Central. Alongside the data, we introduce an engineering ecosystem for streaming, filtering, and hybrid search. Our results show that models trained on BIOMEDICA, such as BMC-CLIP and BMC-SmolVLM, significantly outperform existing baselines despite having fewer parameters. Furthermore, our agentic RAG system demonstrates a 36% performance boost on complex medical queries, highlighting the value of full-text integration in biomedical AI.
Introduction
Data scaling has been the primary driver for general-domain foundation models, yet biomedical AI remains bottlenecked. Existing datasets often lack full-text context, metadata for balancing, or diversity across clinical modalities. BIOMEDICA addresses these gaps by providing a massive, fully annotated multimodal corpus and the infrastructure required to utilize it efficiently without massive local compute clusters.
Methods: The BIOMEDICA Ecosystem
The authors developed an end-to-end pipeline to manage the 30TB dataset:
- Data Serialization: Data is stored in WebDataset format, enabling researchers to stream data during training, bypassing the need for massive local storage.
- Expert-in-the-loop Annotation: To label 24 million images, the team used DINOv2 embeddings and K-means clustering. Domain experts annotated 2,000 clusters, effectively labeling the entire dataset in just 24 hours of expert time.
- Hybrid Search Index: A combination of ChromaDB (dense) and BM25s (sparse) enables sub-150ms multimodal retrieval across the dataset.
Dataset Composition and Taxonomy
BIOMEDICA comprises 6M articles, 24M image-text pairs, and 30M inline references. Unlike previous datasets, it retains 27 metadata fields and full article text, which is critical for grounding AI agents in scientific evidence rather than surface-level summaries.
Key Results
The utility of BIOMEDICA was validated through three primary model architectures:
- BMC-CLIP: Achieved a 24.67% improvement in biomedical image classification and a 36.91% boost in image-to-text recall compared to PMC-CLIP.
- BMC-SmolVLM: This 2.2B parameter model outperformed the 13B parameter RADFM by 8.09%, proving that high-quality data can compensate for smaller model scales.
- Agentic RAG: Integrating the BIOMEDICA Index with frontier LLMs (e.g., GPT-4o) resulted in a 36.22% average performance increase on a challenging new Medical Guidelines Dataset featuring clinician-verified questions.
Discussion and Future Work
While the 30TB scale necessitates streaming infrastructure, the benefits of full-text retention are clear. Future work will focus on integrating these systems into clinical workflows, such as virtual tumor boards, to assist in personalized medicine. BIOMEDICA stands as a foundational pillar for the next generation of autonomous medical AI agents.
Summary updated