SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2408.02900 · ICLR · 2025

MedTrinity-25M: A Large-scale Multimodal Dataset with Multigranular Annotations for Medicine

James Zou, Cihang Xie, Sheng Liu, Xianhang Li, Lei Xing, Yuyin Zhou, Hong-Yu Zhou, Juncheng Wu, Yunfei Xie, Ce Zhou, Lang Gao

arXiv · PDF · Open in the Atlas

Code that ran

8 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 0 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2408.02900.json · badge: /api/ran/2408.02900.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
UCSC-VLAA/MedTrinity-25M canonical (classifier label)
classifier basis: census
8 ran · 0 no recorded run
FunctionStatusWhere it lives
divide_to_patches Ran
ran; our contract draft was wrong, not the code
UCSC-VLAA/MedTrinity-25M/llava/mm_utils.py
pointer only (licence: NONE) · get_code("7e03b180fa317c9a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, UCSC-VLAA/MedTrinity-25M when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_all_images Ran
ran; our contract draft was wrong, not the code
UCSC-VLAA/MedTrinity-25M/data_process/cellpose_infer_batch.py
pointer only (licence: NONE) · get_code("bc2bc6de32629ca8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, UCSC-VLAA/MedTrinity-25M when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_bounding_boxes_and_save_wmask Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
UCSC-VLAA/MedTrinity-25M/data_process/cellpose_infer_batch.py
pointer only (licence: NONE) · get_code("dd3b9c964c5d49ff")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, UCSC-VLAA/MedTrinity-25M when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_chunk Ran
ran; our contract draft was wrong, not the code
UCSC-VLAA/MedTrinity-25M/llava/eval/model_vqa.py
pointer only (licence: NONE) · get_code("42a46570620cd9fa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, UCSC-VLAA/MedTrinity-25M when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

norm01 Ran
ran, honoured the contract we drafted
UCSC-VLAA/MedTrinity-25M/data_process/cellpose_infer_batch.py
pointer only (licence: NONE) · get_code("0322f102a810d3e0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, UCSC-VLAA/MedTrinity-25M when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

resize_and_pad_image Ran
ran; our contract draft was wrong, not the code
UCSC-VLAA/MedTrinity-25M/llava/mm_utils.py
pointer only (licence: NONE) · get_code("468eedeba67f1b00")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, UCSC-VLAA/MedTrinity-25M when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

select_best_resolution Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
UCSC-VLAA/MedTrinity-25M/llava/mm_utils.py
pointer only (licence: NONE) · get_code("3999ff487573f32c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, UCSC-VLAA/MedTrinity-25M when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

split_list Ran
ran; our contract draft was wrong, not the code
UCSC-VLAA/MedTrinity-25M/llava/eval/model_vqa.py
pointer only (licence: NONE) · get_code("076c252c52cbb161")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, UCSC-VLAA/MedTrinity-25M when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 5 the same month, 5 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
split_list 197 other papers
87 dated earlier, 4 the same month, 99 later, 6 same year, order not determinable, 1 undated
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2306.17107 (2023-06)
LLaVAR: Enhanced Visual Instruction Tuning for Text-Rich Image Understanding
2307.10490 (2023-07)
Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs
and 194 more not named here
get_chunk 189 other papers
84 dated earlier, 3 the same month, 96 later, 6 same year, order not determinable
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2306.17107 (2023-06)
LLaVAR: Enhanced Visual Instruction Tuning for Text-Rich Image Understanding
2307.10490 (2023-07)
Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs
and 186 more not named here
select_best_resolution 73 other papers
25 dated earlier, 2 the same month, 46 later · 7 only as an assembly brick
2106.06909 (2021-06)
GigaSpeech: An Evolving, Multi-domain ASR Corpus with 10,000 Hours of Transcribed Audio
2304.08485 (2023-04)
Visual Instruction Tuning
2308.13566 (2023-08)
MLLM-DataEngine: An Iterative Refinement Approach for MLLM
and 70 more not named here
resize_and_pad_image 65 other papers
20 dated earlier, 2 the same month, 43 later
2106.06909 (2021-06)
GigaSpeech: An Evolving, Multi-domain ASR Corpus with 10,000 Hours of Transcribed Audio
2308.13566 (2023-08)
MLLM-DataEngine: An Iterative Refinement Approach for MLLM
2310.08588 (2023-10)
Octopus: Embodied Vision-Language Programmer from Environmental Feedback
and 62 more not named here
divide_to_patches 64 other papers
20 dated earlier, 2 the same month, 42 later
2106.06909 (2021-06)
GigaSpeech: An Evolving, Multi-domain ASR Corpus with 10,000 Hours of Transcribed Audio
2308.13566 (2023-08)
MLLM-DataEngine: An Iterative Refinement Approach for MLLM
2310.08588 (2023-10)
Octopus: Embodied Vision-Language Programmer from Environmental Feedback
and 61 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

This paper introduces MedTrinity-25M, a comprehensive, large-scale multimodal dataset for medicine, covering over 25 million images across 10 modalities with multigranular annotations for more than 65 diseases. These multigranular annotations encompass both global information, such as modality and organ detection, and local information like ROI analysis, lesion texture, and region-wise correlations. Unlike the existing multimodal datasets, which are limited by the availability of image-text pairs, we have developed the first automated pipeline that scales up multimodal data by generating multigranular visual and textual annotations in the form of image-ROI-description triplets without the need for any paired text descriptions. Specifically, data from over 30 different sources has been collected, preprocessed, and grounded using domain-specific expert models to identify ROIs related to abnormal regions. We then build a comprehensive knowledge base and prompt multimodal large language models to perform retrieval-augmented generation with the identified ROIs as guidance, resulting in multigranular textual descriptions. Compared with existing datasets, MedTrinity-25M provides the most enriched annotations, supporting a comprehensive range of multimodal tasks such as captioning and report generation, as well as vision-centric tasks like classification and segmentation. We propose LLaVA-Tri by pretraining LLaVA on MedTrinity-25M, achieving state-of-theart performance on VQA-RAD, SLAKE, and PathVQA, surpassing representative SOTA multimodal large language models. Furthermore, MedTrinity-25M can also be utilized to support large-scale pre-training of multimodal medical AI models, contributing to the development of future foundation models in the medical domain. The dataset is publicly available at https://yunfeixie233.github.io/MedTrinity-25M/.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2408.02900")
get_code_for_paper("2408.02900")
have("2408.02900")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2408.02900.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2408.02900.svg)](https://syntology.ai/paper/2408.02900)

Connect an agent — have() is free.