Papers › Residual-based Language Models are Free Boosters for Biomedical Imaging

Residual-based Language Models are Free Boosters for Biomedical Imaging

26 Mar 2024arXiv:2403.17343archive 2025-07-28

Zhixin Lai, Jing Wu, Suiyao Chen, Yucheng Zhou, Naira Hovakimyan

In this study, we uncover the unexpected efficacy of residual-based large language models (LLMs) as part of encoders for biomedical imaging tasks, a domain traditionally devoid of language or textual data. The approach diverges from established methodologies by utilizing a frozen transformer block, extracted from pre-trained LLMs, as an innovative encoder layer for the direct processing of visual tokens. This strategy represents a significant departure from the standard multi-modal vision-language frameworks, which typically hinge on language-driven prompts and inputs. We found that these LLMs could boost performance across a spectrum of biomedical imaging applications, including both 2D and 3D visual classification tasks, serving as plug-and-play boosters. More interestingly, as a byproduct, we found that the proposed framework achieved superior performance, setting new state-of-the-art results on extensive, standardized datasets in MedMNIST-2D and 3D. Through this work, we aim to open new avenues for employing LLMs in biomedical imaging and enriching the understanding of their potential in this specialized domain.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2403.17343")

Code

Syntology Ran 11 of 16 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 3 ran · violated contract; 2 ran · fixture could not drive it; 6 ran with no contract checked.

By repository: official repository: 16 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

zhixinlai/llmboostmedical officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 11 ran; 0 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · violated contract
2ran · fixture could not drive it
6ran
5unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from zhixinlai/llmboostmedical. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

add_weight_decay zhixinlai/llmboostmedical/2D_classification/optimizer_utils.py official repository ran MIT (permissive) · e805e183bad0f027 · report
apply_rotary_emb zhixinlai/llmboostmedical/2D_classification/models/llama.py official repository ran · fixture could not drive it MIT (permissive) · b47d48e431b34acd · report
build_testset zhixinlai/llmboostmedical/2D_classification/datasets.py official repository ran MIT (permissive) · 4b81b3eaa1936271 · report
early_stopping zhixinlai/llmboostmedical/2D_classification/main-cam.py official repository ran MIT (permissive) · b9bd1b6234a61b66 · report
exists zhixinlai/llmboostmedical/3D_classification/models/vivit.py official repository ran · violated contract MIT (permissive) · aa5486a3650902d8 · report
get_mce_from_accuracy zhixinlai/llmboostmedical/2D_classification/utils.py official repository ran fingerprinted MIT (permissive) · a9e48df75d2e823e · report
optimizer_kwargs zhixinlai/llmboostmedical/2D_classification/optimizer_utils.py official repository ran MIT (permissive) · 2cd1e282432041c8 · report
pair zhixinlai/llmboostmedical/3D_classification/models/vit3d_llama.py official repository ran · violated contract fingerprinted MIT (permissive) · 6ba8cee9f5daea41 · report
precompute_freqs_cis zhixinlai/llmboostmedical/2D_classification/models/llama.py official repository ran · violated contract MIT (permissive) · 14a84c2cbfebc413 · report
reshape_for_broadcast zhixinlai/llmboostmedical/2D_classification/models/llama.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 70bf6ebaafd266c4 · report
unnormalize_image zhixinlai/llmboostmedical/2D_classification/utils.py official repository ran MIT (permissive) · 32208d3133397a32 · report
PGDAttack zhixinlai/llmboostmedical/2D_classification/engine.py official repository unverified MIT (permissive) · 58ab30e8c22165b6 · report
build_dataset zhixinlai/llmboostmedical/2D_classification/datasets.py official repository unverified MIT (permissive) · 8b43480472330eaf · report
build_transform zhixinlai/llmboostmedical/2D_classification/datasets.py official repository unverified MIT (permissive) · 3bc74137ab36aa79 · report
clamp zhixinlai/llmboostmedical/2D_classification/engine.py official repository unverified MIT (permissive) · 8a93e041134b597a · report
patch_level_aug zhixinlai/llmboostmedical/2D_classification/engine.py official repository unverified MIT (permissive) · a57f32dae793402d · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections