Abstract
Understanding the relationship between figures and text is key to scientific document understanding. Medical figures in particular are quite complex, often consisting of several subfigures (75% of figures in our dataset), with detailed text describing their content. Previous work studying figures in scientific papers focused on classifying figure content rather than understanding how images relate to the text. To address challenges in figure retrieval and figure-to-text alignment, we introduce MedICaT, a dataset of medical images in context. MedICaT consists of 217K images from 131K open access biomedical papers, and includes captions, inline references for 74% of figures, and manually annotated subfigures and subcaptions for a subset of figures. Using MedICaT, we introduce the task of subfigure to subcaption alignment in compound figures and demonstrate the utility of inline references in image-text matching.
Introduction
In the medical domain, scientific figures are rarely simple, monolithic images. Instead, they are frequently "compound figures"—collections of multiple panels (subfigures) that might display different imaging modalities, time points, or anatomical views. Traditional computer vision approaches often treat these as single units, losing the granular information contained within individual panels. Furthermore, the most descriptive information about these figures is often not found in the caption itself but is scattered throughout the "Results" or "Discussion" sections of the paper as inline references.
To bridge this gap, we introduce MedICaT, a large-scale dataset designed to capture medical images within their full textual context. MedICaT enables researchers to move beyond simple classification toward a deeper understanding of how specific image regions relate to specific textual descriptions.
The MedICaT Dataset
MedICaT was constructed by crawling 131,410 open-access papers from PubMed Central. The dataset is unique in its scale and the richness of its contextual annotations, accounting for the complex nature of medical publication layouts.
Key characteristics of the dataset include:
- Scale: 217,060 images from over 131,000 papers.
- Contextual Depth: 74% of the figures include matched inline references from the full text.
- Granularity: A subset of 2,069 compound figures includes 7,507 manually annotated subfigure-subcaption pairs, providing a "gold standard" for alignment tasks.
Methodology and Tasks
The creation of MedICaT involved several technical stages, including filtering for medical relevance using a ResNet-101 classifier and extracting inline references via the S2ORC corpus. Based on this data, we propose two primary tasks:
- Subfigure-Subcaption Alignment: Identifying the bounding box of each subfigure and the specific span of text in the caption that describes it. We evaluated this using a Text+Box Embedding CRF model, which achieved an F1 score of 0.674.
- Image-Text Matching: Leveraging inline references to improve figure retrieval. Our experiments on the ROCO dataset showed that including inline references alongside captions improved Recall@1 from 7.6% to 9.4%.
Key Insights
Our analysis reveals that captions alone are insufficient for full understanding. We found only a 23% Jaccard similarity between captions and inline references, indicating that the body text contains a significant amount of complementary information. Additionally, the fact that 75% of medical figures are compound underscores the necessity of subfigure-level analysis.
One remaining challenge is spatial reasoning. Models often struggle to ground spatial cues (e.g., "the right-hand panel") to actual image coordinates, highlighting a need for more sophisticated multimodal reasoning.
Conclusion
MedICaT provides a foundational resource for advancing medical image understanding. By providing subfigure-level annotations and rich textual context, it opens new avenues for more precise figure retrieval and automated medical report generation.
The MedICaT dataset and code are available at https://github.com/allenai/medicat.
Summary updated