SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.06854 · 2026

To Adapt or not to Adapt, Rethinking the Value of Medical Knowledge-Aware Large Language Models To Adapt or not to Adapt, Rethinking the Value of Medical Knowledge-Aware Large Language Models

Aitziber Atutxa, Ander Barrena, Ane Domingo-Aldama¹, Iker De, La Iglesia¹, Maitane Urruela

arXiv · PDF · Open in the Atlas

Code that ran

5 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2604.06854.json · badge: /api/ran/2604.06854.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
Maits27/Deduplication canonical (classifier label)
classifier basis: census
5 ran · 2 no recorded run
FunctionStatusWhere it lives
eliminar_etiqueta_completa Ran
ran; our contract draft was wrong, not the code
Maits27/Deduplication/limpieza/limpiar.py
pointer only (licence: NONE) · get_code("b4ad859e77b335b0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Maits27/Deduplication 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.

limpiar_etiqueta_simple Ran
ran; our contract draft was wrong, not the code
Maits27/Deduplication/limpieza/limpiar.py
pointer only (licence: NONE) · get_code("0fe4337e533bcc08")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Maits27/Deduplication 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.

lineas_a_set Ran
ran; our contract draft was wrong, not the code
Maits27/Deduplication/wikipediaCrawler/eliminar_categorias_innecesarias.py
pointer only (licence: NONE) · get_code("7d8dcc211b3d2362")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Maits27/Deduplication 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.

read_txt_file Ran
ran; our contract draft was wrong, not the code
Maits27/Deduplication/deduplication/dolma/preprocess/crear_jsonl_de_txt_dolma.py
pointer only (licence: NONE) · get_code("366c7219adb664b0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Maits27/Deduplication 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.

sanitize_text Ran
ran; our contract draft was wrong, not the code
Maits27/Deduplication/limpieza/limpiar.py
pointer only (licence: NONE) · get_code("f20265615e665fbb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Maits27/Deduplication 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.

create_jsonl_dolma Not yet run
unverified (harvested, no recorded run)
Maits27/Deduplication/deduplication/dolma/preprocess/crear_jsonl_dolma.py
pointer only (licence: NONE) · get_code("e3af1bca4494043e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Maits27/Deduplication 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. No invocation recorded.

create_jsonl_dolma Not yet run
unverified (harvested, no recorded run)
Maits27/Deduplication/deduplication/dolma/preprocess/crear_jsonl_txt_doble_enter.py
pointer only (licence: NONE) · get_code("994f187be61e974b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Maits27/Deduplication 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. 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, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 7 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.

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

BACKGROUND: Recent studies have shown that domain-adapted large language models (LLMs) do not consistently outperform general-purpose counterparts on standard medical benchmarks, raising questions about the need for specialized clinical adaptation. METHODS: We systematically compare general and clinical LLMs on a diverse set of multiple choice clinical question answering tasks in English and Spanish. We introduce a perturbation based evaluation benchmark that probes model robustness, instruction following, and sensitivity to adversarial variations. Our evaluation includes, one-step and two-step question transformations, multi prompt testing and instruction guided assessment. We analyze a range of state-of-the-art clinical models and their general-purpose counterparts, focusing on Llama 3.1-based models. Additionally, we introduce Marmoka, a family of lightweight 8B-parameter clinical LLMs for English and Spanish, developed via continual domain-adaptive pretraining on medical corpora and instructions. The experiments show that clinical LLMs do not consistently outperform their general purpose counterparts on English clinical tasks, even under the proposed perturbation based benchmark. However, for the Spanish subsets the proposed Marmoka models obtain better results compared to Llama. CONCLUSIONS: Our results show that, under current short-form MCQA benchmarks, clinical LLMs offer only marginal and unstable improvements over general-purpose models in English, suggesting that existing evaluation frameworks may be insufficient to capture genuine medical expertise. We further find that both general and clinical models exhibit substantial limitations in instruction following and strict output formatting. Finally, we demonstrate that robust medical LLMs can be successfully developed for low-resource languages such as Spanish, as evidenced by the Marmoka models.

For agents

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

get_harvested_code_for_paper("2604.06854")
get_code_for_paper("2604.06854")
have("2604.06854")

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

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

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

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

Connect an agent — have() is free.