Huaxiu Yao, James Zou, Linjun Zhang, Peng Xia, Haoran Li, Weijia Shi, Kangyu Zhu, Tianze Wang, Sheng Wang
7 of 10 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; 6 failures of our instrument; 3 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/2410.13085.json · badge: /api/ran/2410.13085.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.
| Repository | Role | Ran |
|---|---|---|
| richard-peng-xia/MMed-RAG | canonical (classifier label) classifier basis: census |
7 ran · 2 no recorded run |
| richard-peng-xia/mmed-rag | community Papers with Code archive |
0 ran · 1 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| clean_data_info | Ran ran; our contract draft was wrong, not the code |
richard-peng-xia/MMed-RAG/train/open_clip/src/retrieve_clip_VQA.py code served (permissive licence) · get_code("3477a2c3e334616b") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| get_chunk | Ran ran; our contract draft was wrong, not the code |
richard-peng-xia/MMed-RAG/train/dpo/povid_infer.py code served (permissive licence) · get_code("42a46570620cd9fa") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned list, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| get_logits | Ran ran; our contract draft was wrong, not the code |
richard-peng-xia/MMed-RAG/train/open_clip/src/retrieve_clip_VQA.py code served (permissive licence) · get_code("a8c80549ff61c7ea") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| load_image | Ran ran, honoured the contract we drafted |
richard-peng-xia/MMed-RAG/train/dpo/predict.py code served (permissive licence) · get_code("9b3c1cb391672ccb") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Image. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| retrieve_topk_per_image | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
richard-peng-xia/MMed-RAG/train/open_clip/src/retrieve_clip_VQA.py code served (permissive licence) · get_code("f89c524e425ca547") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned list. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| split_list | Ran ran; our contract draft was wrong, not the code |
richard-peng-xia/MMed-RAG/train/dpo/povid_infer.py code served (permissive licence) · get_code("076c252c52cbb161") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned list. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| split_to_even_chunks | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
richard-peng-xia/MMed-RAG/train/dpo/llava_trainer_2stages.py code served (permissive licence) · get_code("10893c4608c08075") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned list, ndim 2, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| LlavaMetaForCausalLM | Not yet run unverified (harvested, no recorded run) |
richard-peng-xia/mmed-rag/train/dpo/llava/model/llava_arch.py code served (permissive licence) · get_code("b9978345e2dba578") How it ranno invocation recorded. |
| get_mm_adapter_state_maybe_zero_3 | Not yet run unverified (harvested, no recorded run) |
richard-peng-xia/MMed-RAG/train/dpo/llava_trainer_2stages.py code served (permissive licence) · get_code("bb35e3ac741bb2c9") How it ranno invocation recorded. |
| maybe_zero_3 | Not yet run unverified (harvested, no recorded run) |
richard-peng-xia/MMed-RAG/train/dpo/llava_trainer_2stages.py code served (permissive licence) · get_code("735025744c1ab0cf") How it ranno invocation recorded. |
Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 6 the same month, 6 later) and 2 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| split_list | 197 other papers 109 dated earlier, 15 the same month, 66 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 104 dated earlier, 15 the same month, 64 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 |
| load_image | 85 other papers 49 dated earlier, 8 the same month, 24 later, 4 same year, order not determinable |
2112.05682 (2021-12) Self-attention Does Not Need $O(n^2)$ Memory |
2305.10973 (2023-05) Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold 2307.10490 (2023-07) Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs and 82 more not named here |
| get_mm_adapter_state_maybe_zero_3 | 43 other papers 23 dated earlier, 5 the same month, 15 later |
2304.05884 (2023-04) Unicom: Universal and Compact Representation Learning for Image Retrieval |
2304.08485 (2023-04) Visual Instruction Tuning 2310.03744 (2023-10) Improved Baselines with Visual Instruction Tuning and 40 more not named here |
| maybe_zero_3 | 42 other papers 24 dated earlier, 4 the same month, 14 later |
2304.05884 (2023-04) Unicom: Universal and Compact Representation Learning for Image Retrieval |
2304.08485 (2023-04) Visual Instruction Tuning 2310.03744 (2023-10) Improved Baselines with Visual Instruction Tuning and 39 more not named here |
| split_to_even_chunks | 40 other papers 20 dated earlier, 5 the same month, 15 later |
2304.05884 (2023-04) Unicom: Universal and Compact Representation Learning for Image Retrieval |
2304.08485 (2023-04) Visual Instruction Tuning 2310.03744 (2023-10) Improved Baselines with Visual Instruction Tuning and 37 more not named here |
| LlavaMetaForCausalLM brick of this paper's assembly: entry |
1 other paper 1 dated earlier |
2304.08485 (2023-04) Visual Instruction Tuning |
|
| retrieve_topk_per_image | 1 other paper 1 dated earlier |
2407.05131 (2024-07) RULE: Reliable Multimodal RAG for Factuality in Medical Vision Language Models |
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.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Artificial Intelligence (AI) has demonstrated significant potential in healthcare, particularly in disease diagnosis and treatment planning. Recent progress in Medical Large Vision-Language Models (Med-LVLMs) has opened up new possibilities for interactive diagnostic tools. However, these models often suffer from factual hallucination, which can lead to incorrect diagnoses. Fine-tuning and retrieval-augmented generation (RAG) have emerged as methods to address these issues. However, the amount of high-quality data and distribution shifts between training data and deployment data limit the application of fine-tuning methods. Although RAG is lightweight and effective, existing RAG-based approaches are not sufficiently general to different medical domains and can potentially cause misalignment issues, both between modalities and between the model and the ground truth. In this paper, we propose a versatile multimodal RAG system, MMed-RAG, designed to enhance the factuality of Med-LVLMs. Our approach introduces a domain-aware retrieval mechanism, an adaptive retrieved contexts selection, and a provable RAG-based preference fine-tuning strategy. These innovations make the RAG process sufficiently general and reliable, significantly improving alignment when introducing retrieved contexts. Experimental results across five medical datasets (involving radiology, ophthalmology, pathology) on medical VQA and report generation demonstrate that MMed-RAG can achieve an average improvement of 43.8% in the factual accuracy of Med-LVLMs. Our data and code are available in https://github.com/richard-peng-xia/MMed-RAG.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2410.13085")
get_code_for_paper("2410.13085")
have("2410.13085")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2410.13085.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2410.13085)
Connect an agent — have() is free.