Papers › Import What You Need: Learning When and How to Augment EHR Graphs with External Knowledge

Import What You Need: Learning When and How to Augment EHR Graphs with External Knowledge

1 Sep 2026arXiv:2609.01839added by Syntology

Chen Chen, Mohsen Nayebi Kerdabadi, Dongjie Wang, Mei Liu, Zijun Yao

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Longitudinal prediction from electronic health records (EHRs) is limited by the sparsity and irregularity in patient trajectories, and knowledge augmentation with external knowledge graphs (KGs) offers a promising way to alleviate these issues. However, most existing methods perform fixed, context-agnostic topology augmentation by adding the same KG nodes and edges regardless of a patient's evolving state. We propose ReTA, a Reinforcement learning-based dynamic Topology Augmentation framework that casts KG import as a per-visit, budget-aware policy. ReTA first constructs an offline refined pool of KG-grounded templates, then learns a policy to select one augment action per visit from three options: Soft Import, which enriches node features without modifying graph topology, Hard Import, which grafts a compact KG subgraph onto the visit graph to create message-passing shortcuts, and Skip, which leaves the visit unaugmented when the base encoder is already confident. To stabilize learning, ReTA employs a decoupled encoder that processes semantic and structural signals in separate channels and fuses them via adaptive gating. Experiments on MIMIC-III and MIMIC-IV across diagnosis prediction, mortality, and readmission show that ReTA consistently outperforms strong baselines while remaining efficient, transfers across datasets and knowledge graphs, and yields interpretable augmentation patterns. The robust gains under sparse supervision highlight the advantage of ReTA's dynamic decision to import knowledge, boosting accuracy while curbing costs.

PaperPDFCode 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="2609.01839")

Code

Syntology Ran 0 of 25 code samples harvested from 1 repository linked to this paper; 25 have no recorded run.

By repository: found in paper text by Syntology: 25 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ChenC2002/ReTA found in paper text by Syntology report

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

25 samples harvested; 0 ran; 0 honoured the contract we drafted; 25 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.

25unverified

Licence: 25 of the 25 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 ChenC2002/ReTA. “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.

acc_at_k ChenC2002/ReTA/reta/learning/inference.py found in paper text by Syntology unverified no licence file found · pointer only · 4af954ef22780642 · report
action_size ChenC2002/ReTA/reta/learning/policy.py found in paper text by Syntology unverified no licence file found · pointer only · 331c0cf328786519 · report
auprc_micro ChenC2002/ReTA/reta/learning/inference.py found in paper text by Syntology unverified no licence file found · pointer only · 8327da2731c7e966 · report
build_pyg_data ChenC2002/ReTA/reta/learning/model.py found in paper text by Syntology unverified no licence file found · pointer only · 2c318594ce37a820 · report
canonicalize_ccs_id ChenC2002/ReTA/reta/knowledge/filtering.py found in paper text by Syntology unverified no licence file found · pointer only · d0339f88d7581ecf · report
ccs_token_to_label_index ChenC2002/ReTA/reta/learning/model.py found in paper text by Syntology unverified no licence file found · pointer only · 6b21382ae6a4a71b · report
decode_action ChenC2002/ReTA/reta/learning/policy.py found in paper text by Syntology unverified no licence file found · pointer only · 572dff0376dd05ea · report
encode_action ChenC2002/ReTA/reta/learning/policy.py found in paper text by Syntology unverified no licence file found · pointer only · fec8f63398ac2478 · report
filter_artifact_objects ChenC2002/ReTA/reta/knowledge/filtering.py found in paper text by Syntology unverified no licence file found · pointer only · 46993e5330d5b9bc · report
l2_normalize ChenC2002/ReTA/reta/knowledge/clustering.py found in paper text by Syntology unverified no licence file found · pointer only · fdecf911bb51d56e · report
labels_to_multihot_from_ccs_tokens ChenC2002/ReTA/reta/learning/model.py found in paper text by Syntology unverified no licence file found · pointer only · 2c60e196931224b2 · report
load_concepts_csv ChenC2002/ReTA/reta/knowledge/distill.py found in paper text by Syntology unverified no licence file found · pointer only · 3a6418ccb448876e · report
load_config ChenC2002/ReTA/reta/learning/runtime.py found in paper text by Syntology unverified no licence file found · pointer only · ee9d2565c5d60abf · report
load_json_object_strict ChenC2002/ReTA/reta/learning/runtime.py found in paper text by Syntology unverified no licence file found · pointer only · c7fcf02385773f30 · report
load_responses_jsonl ChenC2002/ReTA/reta/knowledge/distill.py found in paper text by Syntology unverified no licence file found · pointer only · 7680fc92c386e025 · report
main ChenC2002/ReTA/reta/knowledge/release.py found in paper text by Syntology unverified no licence file found · pointer only · 0b64df57e6173100 · report
micro_f1 ChenC2002/ReTA/reta/learning/inference.py found in paper text by Syntology unverified no licence file found · pointer only · c820d4125a1fca71 · report
normalize_mention ChenC2002/ReTA/reta/knowledge/filtering.py found in paper text by Syntology unverified no licence file found · pointer only · e4048f693e3311ce · report
project_to_dim ChenC2002/ReTA/reta/knowledge/clustering.py found in paper text by Syntology unverified no licence file found · pointer only · 96226b9dbce27f64 · report
strict_json_loads ChenC2002/ReTA/reta/knowledge/pool.py found in paper text by Syntology unverified no licence file found · pointer only · 65d18fa01fd20af3 · report
validate_config ChenC2002/ReTA/reta/learning/runtime.py found in paper text by Syntology unverified no licence file found · pointer only · 98f05746bab21cb5 · report
validate_grounded_template ChenC2002/ReTA/reta/knowledge/pool.py found in paper text by Syntology unverified no licence file found · pointer only · 211df013347b0e99 · report
validate_knowledge_template ChenC2002/ReTA/reta/knowledge/pool.py found in paper text by Syntology unverified no licence file found · pointer only · 9996a47ef5f9d844 · report
validate_response ChenC2002/ReTA/reta/knowledge/distill.py found in paper text by Syntology unverified no licence file found · pointer only · bb9dd6011082c1d1 · report
verify_release ChenC2002/ReTA/reta/knowledge/release.py found in paper text by Syntology unverified no licence file found · pointer only · 744de9a762977aac · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2609.01839, was issued in September 2026, after that date, so the archive has no leaderboard rows for it.

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