SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.08236 · 2023

MeLo: Low-rank Adaptation is Better than Fine-tuning for Medical Image Diagnosis

arXiv · PDF · Open in the Atlas

Code that ran

3 of 7 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; 2 failures of our instrument; 4 no recorded run), measured 2026-11-22; 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/2311.08236.json · badge: /api/ran/2311.08236.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
JamesQFreeman/LoRA-ViT canonical (classifier label)
classifier basis: census
3 ran · 4 no recorded run
FunctionStatusWhere it lives
as_tuple Ran
ran, honoured the contract we drafted
JamesQFreeman/LoRA-ViT/base_vit.py
pointer only (licence: GPL-3.0); the stored copy get_code serves, from arkel23/PyTorch-Pretrained-ViT, is pointer only (licence: NONE) · get_code("91d26d98a8c2bcac")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, JamesQFreeman/LoRA-ViT, is not in the permissive set Syntology serves inline. 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.

cxrDataloader Ran
ran; our contract draft was wrong, not the code
JamesQFreeman/LoRA-ViT/utils/dataloader_cxr_cn.py
pointer only (licence: GPL-3.0) · get_code("8b0d2f7acf80cf36")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, JamesQFreeman/LoRA-ViT, is not in the permissive set Syntology serves inline. 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.

drop_head_variant Ran
ran; our contract draft was wrong, not the code
JamesQFreeman/LoRA-ViT/base_vit.py
pointer only (licence: GPL-3.0); the stored copy get_code serves, from arkel23/PyTorch-Pretrained-ViT, is pointer only (licence: NONE) · get_code("940661961d8b8781")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, JamesQFreeman/LoRA-ViT, is not in the permissive set Syntology serves inline. 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.

BloodDataloader Not yet run
unverified (harvested, no recorded run)
JamesQFreeman/LoRA-ViT/utils/dataloader_blood_cell.py
pointer only (licence: GPL-3.0) · get_code("f09a9f785e367051")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, JamesQFreeman/LoRA-ViT, is not in the permissive set Syntology serves inline. 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. No invocation recorded.

cxpDataloader Not yet run
unverified (harvested, no recorded run)
JamesQFreeman/LoRA-ViT/utils/dataloader_cxp.py
pointer only (licence: GPL-3.0) · get_code("fecb0632c5a4f1b6")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, JamesQFreeman/LoRA-ViT, is not in the permissive set Syntology serves inline. 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. No invocation recorded.

kneeDataloader Not yet run
unverified (harvested, no recorded run)
JamesQFreeman/LoRA-ViT/utils/dataloader_mrnet.py
pointer only (licence: GPL-3.0) · get_code("bc34fa72d66c51ba")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, JamesQFreeman/LoRA-ViT, is not in the permissive set Syntology serves inline. 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. No invocation recorded.

load_pretrained_weights Not yet run
unverified (harvested, no recorded run)
JamesQFreeman/LoRA-ViT/base_vit.py
pointer only (licence: GPL-3.0) · get_code("8c053b1e8b60dcc6")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, JamesQFreeman/LoRA-ViT, is not in the permissive set Syntology serves inline. 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. No invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 3 later) and 4 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
as_tuple 4 other papers
3 dated earlier, 1 later
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Yu_PhysFormer_Facial_Video-Based_Physiological_Measurement_With_Temporal_Difference_Transformer_CVPR_2022_paper (2022 (year only))
PhysFormer: Facial Video-based Physiological Measurement with Temporal Difference Transformer
2308.04016 (2023-08)
Hierarchical Visual Primitive Experts for Compositional Zero-Shot Learning
and 1 more not named here
drop_head_variant 3 other papers
2 dated earlier, 1 later
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
2308.04016 (2023-08)
Hierarchical Visual Primitive Experts for Compositional Zero-Shot Learning
2601.15888 (2026-01)
Understanding the Transfer Limits of Vision Foundation Models
load_pretrained_weights 3 other papers
2 dated earlier, 1 later
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
2308.04016 (2023-08)
Hierarchical Visual Primitive Experts for Compositional Zero-Shot Learning
2601.15888 (2026-01)
Understanding the Transfer Limits of Vision Foundation 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-22.

Repositories linked to this paper

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

Abstract

The common practice in developing computer-aided diagnosis (CAD) models based on transformer architectures usually involves fine-tuning from ImageNet pre-trained weights. However, with recent advances in large-scale pre-training and the practice of scaling laws, Vision Transformers (ViT) have become much larger and less accessible to medical imaging communities. Additionally, in real-world scenarios, the deployments of multiple CAD models can be troublesome due to problems such as limited storage space and time-consuming model switching. To address these challenges, we propose a new method MeLo (Medical image Low-rank adaptation), which enables the development of a single CAD model for multiple clinical tasks in a lightweight manner. It adopts low-rank adaptation instead of resource-demanding fine-tuning. By fixing the weight of ViT models and only adding small low-rank plug-ins, we achieve competitive results on various diagnosis tasks across different imaging modalities using only a few trainable parameters. Specifically, our proposed method achieves comparable performance to fully fine-tuned ViT models on four distinct medical imaging datasets using about 0.17% trainable parameters. Moreover, MeLo adds only about 0.5MB of storage space and allows for extremely fast model switching in deployment and inference. Our source code and pre-trained weights are available on our website (https://absterzhu.github.io/melo.github.io/).

For agents

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

get_harvested_code_for_paper("2311.08236")
get_code_for_paper("2311.08236")
have("2311.08236")

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

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

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

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

Connect an agent — have() is free.