SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2407.18525 · 2024

ClinicRealm: Re-evaluating Large Language Models with Conventional Machine Learning for Non-Generative Clinical Prediction Tasks

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; 0 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 7 failures of our instrument; 0 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/2407.18525.json · badge: /api/ran/2407.18525.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
yhzhu99/ehr-llm-benchmark canonical (classifier label)
classifier basis: census
8 ran · 0 no recorded run
FunctionStatusWhere it lives
attention Ran
ran; our contract draft was wrong, not the code
yhzhu99/ehr-llm-benchmark/src/structured_ehr/models/aicare.py
pointer only (licence: NONE); the stored copy get_code serves, from smiles724/molformer, is pointer only (licence: NONE) · get_code("916dd244b4ead0ac")
How it ran

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

clones Ran
ran; our contract draft was wrong, not the code
yhzhu99/ehr-llm-benchmark/src/structured_ehr/models/aicare.py
pointer only (licence: NONE); the stored copy get_code serves, from smiles724/molformer, is pointer only (licence: NONE) · get_code("cf78c734df121970")
How it ran

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

compute_codes Ran
ran; our contract draft was wrong, not the code
yhzhu99/ehr-llm-benchmark/src/structured_ehr/models/grasp.py
pointer only (licence: NONE) · get_code("a785faa4d2fc93ba")
How it ran

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

query_llm Ran
ran; our contract draft was wrong, not the code
yhzhu99/ehr-llm-benchmark/src/structured_ehr/query_llm.py
pointer only (licence: NONE) · get_code("f67c74bf273cfe78")
How it ran

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

query_llm Ran
ran; our contract draft was wrong, not the code
yhzhu99/ehr-llm-benchmark/src/multimodal/query_llm.py
pointer only (licence: NONE) · get_code("b1cd5549432dbd63")
How it ran

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

random_init Ran
ran; our contract draft was wrong, not the code
yhzhu99/ehr-llm-benchmark/src/structured_ehr/models/grasp.py
pointer only (licence: NONE) · get_code("57bc3c53c92f373e")
How it ran

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

subsequent_mask Ran
ran, violated the contract we drafted
yhzhu99/ehr-llm-benchmark/src/structured_ehr/models/aicare.py
pointer only (licence: NONE); the stored copy get_code serves, from ruotianluo/Transformer_Captioning, is pointer only (licence: NONE) · get_code("dd03765c7da9ca51")
How it ran

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

update_centers Ran
ran; our contract draft was wrong, not the code
yhzhu99/ehr-llm-benchmark/src/structured_ehr/models/grasp.py
pointer only (licence: NONE) · get_code("5af717692a7df8c2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yhzhu99/ehr-llm-benchmark 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 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
clones 79 other papers
64 dated earlier, 14 later, 1 same year, order not determinable · 11 only as an assembly brick
1411.4555 (2014-11)
Show and Tell: A Neural Image Caption Generator
1612.00563 (2016-12)
Self-critical Sequence Training for Image Captioning
1706.03762 (2017-06)
Attention Is All You Need
and 76 more not named here
attention 27 other papers
25 dated earlier, 2 later
1411.4555 (2014-11)
Show and Tell: A Neural Image Caption Generator
1609.08144 (2016-09)
Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translation
1612.00563 (2016-12)
Self-critical Sequence Training for Image Captioning
and 24 more not named here
subsequent_mask 21 other papers
19 dated earlier, 1 later, 1 same year, order not determinable
1411.4555 (2014-11)
Show and Tell: A Neural Image Caption Generator
1612.00563 (2016-12)
Self-critical Sequence Training for Image Captioning
1707.07998 (2017-07)
Bottom-Up and Top-Down Attention for Image Captioning and Visual Question Answering
and 18 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-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

Large Language Models (LLMs) are increasingly deployed in medicine. However, their utility in non-generative clinical prediction, often presumed inferior to specialized models, remains under-evaluated, leading to ongoing debate within the field and potential for misuse, misunderstanding, or over-reliance due to a lack of systematic benchmarking. Our ClinicRealm study addresses this by benchmarking 15 GPT-style LLMs, 5 BERT-style models, and 11 traditional methods on unstructured clinical notes and structured Electronic Health Records (EHR), while also assessing their reasoning, reliability, and fairness. Key findings reveal a significant shift: for clinical note predictions, leading LLMs (e.g., DeepSeek-V3.1-Think, GPT-5) in zero-shot settings now decisively outperform finetuned BERT models. On structured EHRs, while specialized models excel with ample data, advanced LLMs (e.g., GPT-5, DeepSeek-V3.1-Think) show potent zero-shot capabilities, often surpassing conventional models in data-scarce settings. Notably, leading open-source LLMs can match or exceed proprietary counterparts. These results provide compelling evidence that modern LLMs are competitive tools for non-generative clinical prediction, particularly with unstructured text and offering data-efficient structured data options, thus necessitating a re-evaluation of model selection strategies. This research should serve as an important insight for medical informaticists, AI developers, and clinical researchers, potentially prompting a reassessment of current assumptions and inspiring new approaches to LLM application in predictive healthcare.

For agents

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

get_harvested_code_for_paper("2407.18525")
get_code_for_paper("2407.18525")
have("2407.18525")

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

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

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

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

Connect an agent — have() is free.