将表格化人群先验作为结构化检索,用于电子健康记录中的药物集合预测
摘要
该论文提出,将表格化人群先验——根据疾病与药物共现表排序的药物类别候选项——用作与任务对齐的检索对象,用于基于电子健康记录(EHR)的药物集合预测。在不增加大语言模型调用次数的情况下,该方法在 MIMIC-IV 上的 F1 分数比 PACE-RAG 患者检索器提高了 11.5%。
arXiv:2611.17341v1 Announce Type: new
Abstract: Medication prediction from electronic health records is a fixed vocabulary structured prediction problem, yet recent clinical RAG systems often treat it like open ended case based reasoning: retrieve similar patient admissions and ask an LLM to infer a medication set. This retrieval object is indirect the model receives retrieved patient records while the target is a discrete set of medication class labels. We propose a more task aligned retrieval object: a tabular population prior ranked medication class candidates from a sparse condition medication co occurrence table estimated from training admissions. Using PACERAG as a fixed downstream pipeline and replacing only its patient retriever, this drop in swap improves F1 from 0.303 to 0.338 (+11.5% relative) and Jaccard from 0.218 to 0.237 on 1,004 heldout MIMIC IV admissions, with no additional LLM calls and no inference time patient index. A non LLM top k baseline reaches F1=0.248, confirming the prior is predictive before LLM integration. Aggregate population statistics can provide a more task aligned, efficient, and auditable retrieval source than patient level nearest neighbors for fixed vocabulary EHR set prediction.
查看缓存全文
缓存时间: 2026/11/16 08:12
# Tabular Population Priors as Structured Retrieval for EHR Medication Set Prediction Source: [https://arxiv.org/html/2611.17341](https://arxiv.org/html/2611.17341) Animesh AgarwalAffiliation:Optum AI, UnitedHealth Group, Minneapolis, Minnesota, USACorrespondence to:[animesh\.agarwal@optum\.com](mailto:[email protected])Nina FatehiAffiliation:Optum AI, UnitedHealth Group, Minneapolis, Minnesota, USACarlos MoratoAffiliation:Optum AI, UnitedHealth Group, Minneapolis, Minnesota, USA ###### Abstract Medication prediction from electronic health records is a fixed\-vocabulary structured prediction problem, yet recent clinical RAG systems often treat it like open\-ended case\-based reasoning: retrieve similar patient admissions and ask an LLM to infer a medication set\. This retrieval object is indirect—the model receives retrieved patient records while the target is a discrete set of medication\-class labels\. We propose a more task\-aligned retrieval object: a tabular population prior—ranked medication\-class candidates from a sparse condition–medication co\-occurrence table estimated from training admissions\. Using PACE\-RAG as a fixed downstream pipeline and replacing only its patient retriever, this drop\-in swap improves F1 from 0\.303 to 0\.338 \(\+11\.5% relative\) and Jaccard from 0\.218 to 0\.237 on 1,004 held\-out MIMIC\-IV admissions, with no additional LLM calls and no inference\-time patient index\. A non\-LLM top\-kkbaseline reaches F1=0\.248, confirming the prior is predictive before LLM integration\. Aggregate population statistics can provide a more task\-aligned, efficient, and auditable retrieval source than patient\-level nearest neighbors for fixed\-vocabulary EHR set prediction\. ###### Keywords: structured data, electronic health records, medication recommendation, clinical retrieval augmented generation, population priors ## 1Introduction Electronic health records \(EHRs\) are a canonical structured\-data domain: diagnoses, medications, procedures, laboratory events, and admissions are stored as longitudinal tables\([Johnson et al\., 2023](https://arxiv.org/html/2611.17341#bib.bib6)\)\. Medication recommendation from EHRs is therefore naturally framed as fixed\-vocabulary set prediction: given the current admission and available patient history, a system predicts a subset of medication classes from a predefined vocabulary\. Unlike open\-ended clinical text generation, the inputs are structured, the outputs are discrete labels, and performance is measured by set overlap with observed medication classes\. Medication recommendation has traditionally been studied using task\-specific multi\-label predictors over longitudinal patient records\. Early neural methods such as LEAP model the drug set sequentially from the current patient state\([Zhang et al\., 2017](https://arxiv.org/html/2611.17341#bib.bib1)\), while later approaches incorporate external memory, graph structure, drug–drug interaction constraints, and molecular information to improve recommendation quality and safety\([Shang et al\., 2019](https://arxiv.org/html/2611.17341#bib.bib2);[Yang et al\., 2021](https://arxiv.org/html/2611.17341#bib.bib3);[Wu et al\., 2022](https://arxiv.org/html/2611.17341#bib.bib4);[Yang et al\., 2023](https://arxiv.org/html/2611.17341#bib.bib5)\)\. Recent work also explores retrieval or gating over medication history for drug recommendation\([Meng et al\., 2024](https://arxiv.org/html/2611.17341#bib.bib14)\)\. These models directly learn a mapping from patient histories to medication sets\. Clinical retrieval\-augmented generation \(RAG\) systems take a different route: they retrieve evidence and supply it to a language model for grounded prediction\. RAG was originally developed for knowledge\-intensive NLP tasks\([Lewis et al\., 2020](https://arxiv.org/html/2611.17341#bib.bib7)\), often using dense retrieval and vector search\([Karpukhin et al\., 2020](https://arxiv.org/html/2611.17341#bib.bib8);[Johnson et al\., 2021](https://arxiv.org/html/2611.17341#bib.bib9)\); clinical variants retrieve guidelines, clinical knowledge, patient records, or treatment\-relevant evidence for clinical question answering, medical reasoning, and personalized treatment recommendation\([Zakka et al\., 2024](https://arxiv.org/html/2611.17341#bib.bib13);[Zhao et al\., 2025](https://arxiv.org/html/2611.17341#bib.bib12);[Liu et al\., 2025](https://arxiv.org/html/2611.17341#bib.bib11)\)\. PACE\-RAG is the most directly relevant example for our setting: it retrieves similar patient admissions using FAISS and passes those admissions through a multi\-stage LLM pipeline for medication recommendation\([Huh et al\., 2026](https://arxiv.org/html/2611.17341#bib.bib10)\)\. This design raises a structured\-data question that has received less attention: for fixed\-vocabulary EHR set prediction, is the most useful retrieval object a small set of individual nearest\-neighbor patients, or an aggregate summary of population\-level prescribing patterns? We study this question on admission\-level medication\-class prediction from MIMIC\-IV\([Johnson et al\., 2023](https://arxiv.org/html/2611.17341#bib.bib6)\)\. Instead of indexing patient records, we retrieve from a compact*structured population prior*: a training\-set condition–medication table that maps current diagnoses to ranked medication\-class candidates\. We use these candidates in place of FAISS\-retrieved patient records in PACE\-RAG, while keeping the LLM backbone, downstream stages, medication vocabulary, output parsing, and evaluation fixed\. This changes the evidence given to the LLM: individual nearest\-neighbor admissions are replaced by aggregate condition–medication statistics aligned with the fixed output vocabulary\. On 1,004 held\-out MIMIC\-IV admissions, the population\-prior swap improves PACE\-RAG F1 from 0\.303 to 0\.338 and Jaccard from 0\.218 to 0\.237\. A non\-LLM top\-kkprior baseline reaches F1=0\.248, indicating that the prior is predictive on its own, while the LLM pipeline adds further gains\. Our contributions are: \(i\) a sparse condition–medication population prior for EHR medication set prediction; \(ii\) a controlled retrieval\-source swap inside PACE\-RAG with the downstream pipeline held fixed; and \(iii\) sensitivity and stratified analyses showing when population\-prior retrieval is most helpful\. ## 2Method We formalize the task and the structured population prior, then describe how it replaces patient\-level retrieval inside PACE\-RAG\. ### 2\.1Task formulation For each admissionii, we observe a set of current diagnosesDi=\{di1,…,dim\}D\_\{i\}=\\\{d\_\{i1\},\\ldots,d\_\{im\}\\\}, available prior\-admission historyHiH\_\{i\}including recent medication history when present, and a target medication setYi⊆𝒜Y\_\{i\}\\subseteq\\mathcal\{A\}, where𝒜\\mathcal\{A\}is a fixed medication\-class vocabulary\. The goal is to predictY^i⊆𝒜\\widehat\{Y\}\_\{i\}\\subseteq\\mathcal\{A\}from the structured admission context\. Predictions are evaluated as medication\-class sets, so both missing true medication classes and over\-generating irrelevant classes reduce performance\. ### 2\.2Structured population prior The population prior is a sparse condition–medication memory estimated only from training admissions under the patient\-level split\. For each training admissionii, we construct a diagnosis setDiD\_\{i\}and an observed medication\-class setYiY\_\{i\}\. For each diagnosisddand medication classaa, we compute diagnosis support, pair support, and empirical conditional probability: n\(d\)=\|\{i:d∈Di\}\|,n\(d,a\)=\|\{i:d∈Di,a∈Yi\}\|,n\(d\)=\|\\\{i:d\\in D\_\{i\}\\\}\|,\\qquad n\(d,a\)=\|\\\{i:d\\in D\_\{i\},\\ a\\in Y\_\{i\}\\\}\|,p^\(a∣d\)=n\(d,a\)n\(d\)\.\\widehat\{p\}\(a\\mid d\)=\\frac\{n\(d,a\)\}\{n\(d\)\}\.\(1\)We also compute the marginal medication frequency p^\(a\)=\|\{i:a∈Yi\}\|Ntrain,\\widehat\{p\}\(a\)=\\frac\{\|\\\{i:a\\in Y\_\{i\}\\\}\|\}\{N\_\{\\mathrm\{train\}\}\},whereNtrainN\_\{\\mathrm\{train\}\}is the number of training admissions, and use it to estimate base\-rate lift, lift\(d,a\)=p^\(a∣d\)p^\(a\)\.\\mathrm\{lift\}\(d,a\)=\\frac\{\\widehat\{p\}\(a\\mid d\)\}\{\\widehat\{p\}\(a\)\}\.The memory stores diagnosis support, diagnosis–medication pair support, empirical conditional probability, and lift\. Low\-support pairs are discarded to reduce noise from rare co\-occurrences, and for each diagnosis we retain the highest\-ranked medication classes according to conditional probability and lift\. ### 2\.3Inference\-time aggregation At inference time, the population prior does not retrieve patient records\. For a target admission with current diagnosis setDD, we aggregate diagnosis\-level statistics into a medication score: s\(a∣D\)=1\|D\|∑d∈Dp^\(a∣d\)𝟏\[\(d,a\)∈ℐ\],s\(a\\mid D\)=\\frac\{1\}\{\|D\|\}\\sum\_\{d\\in D\}\\widehat\{p\}\(a\\mid d\)\\mathbf\{1\}\[\(d,a\)\\in\\mathcal\{I\}\],\(2\)whereℐ\\mathcal\{I\}is the retained condition–medication index after support filtering\. To reduce the dominance of very common medication classes, we also compute a lift\-normalized score over retained medication candidates: ℓ\(a∣D\)=s\(a∣D\)p^\(a\)\.\\ell\(a\\mid D\)=\\frac\{s\(a\\mid D\)\}\{\\widehat\{p\}\(a\)\}\.This is the multi\-diagnosis analogue oflift\(d,a\)\\mathrm\{lift\}\(d,a\): it replaces the single\-diagnosis conditional probabilityp^\(a∣d\)\\widehat\{p\}\(a\\mid d\)with the diagnosis\-aggregated scores\(a∣D\)s\(a\\mid D\)and normalizes by the marginal frequencyp^\(a\)\\widehat\{p\}\(a\)\. Since candidates are drawn from retained training\-set condition–medication pairs,p^\(a\)\>0\\widehat\{p\}\(a\)\>0for all retrieved classes\. We rank retained medication candidates byℓ\(a∣D\)\\ell\(a\\mid D\)and pass the topkkcandidates to the downstream pipeline\. The retrieved context is then a ranked list of medication\-class candidates with coarse probability and lift information\. It contains no nearest\-neighbor admissions, patient narratives, or raw training records, so the retrieved object is directly aligned with the fixed medication vocabulary used for evaluation\. ### 2\.4Drop\-in retrieval swap inside PACE\-RAG PACE\-RAG retrieves similar patient admissions using FAISS\-style vector search\([Johnson et al\., 2021](https://arxiv.org/html/2611.17341#bib.bib9)\)and passes the retrieved records to a multi\-stage LLM pipeline\([Huh et al\., 2026](https://arxiv.org/html/2611.17341#bib.bib10)\)\. We replace this retrieval call with the ranked candidates produced by the population prior\. These candidates are formatted into the same context schema expected by the downstream PACE\-RAG stages, while concept extraction, treatment summarization, recommendation generation, output parsing, and evaluation remain unchanged\. ## 3Why Population Priors for EHR RAG? Patient\-level retrieval and population\-prior retrieval expose different evidence to the LLM\. PACE\-RAG retrieves a small set of individual admissions judged similar by an embedding index; the LLM must then infer prescribing patterns from those examples and map them to the fixed medication vocabulary\. In contrast, the population prior retrieves aggregate condition–medication statistics computed over all relevant training admissions and already expressed in the medication\-label space\. This distinction is useful for fixed\-vocabulary EHR set prediction\. Medication classes often reflect broad prescribing regularities associated with diagnoses and care contexts, while nearest\-neighbor sets can be small, idiosyncratic, or sensitive to embedding quality\. The population prior pools signal across the training table and is easier to audit, since each retrieved candidate can be traced to support, conditional probability, and lift\. The goal is not to replace clinical reasoning with counts, but to test whether such statistics provide a better retrieval interface for the downstream LLM pipeline\. Figure 1:Retrieval contrast\. Both methods index the same training records \(diagnoses \+ medications\)\. PACE\-RAG stores individual patient records and retrieveskksimilar cases via FAISS embedding search\. Our method aggregates these into a condition–medication co\-occurrence table; a lookup by current diagnoses yields ranked medication\-class candidates, which replace the FAISS\-retrieved records as input to the PACE\-RAG pipeline\. ## 4Experiments #### Data and prediction task\. We evaluate on a processed MIMIC\-IV medication recommendation benchmark\([Johnson et al\., 2023](https://arxiv.org/html/2611.17341#bib.bib6)\)\. Each example corresponds to an inpatient admission with current diagnosis strings, observed medication classes, and a patient identifier used to construct chronological prior\-admission history\. The split is patient\-level: admissions from patients used to build the population prior are excluded from the test set\. The held\-out test set contains 1,004 admissions\. We evaluate predictions as medication\-class sets using admission\-averaged F1 and Jaccard similarity\. This task should be interpreted as medication\-class prediction from structured EHR context\. #### Compared systems\. We choose PACE\-RAG as the comparison target because it is a recent RAG\-based medication recommendation system reporting state\-of\-the\-art results on MIMIC\-IV, and its public implementation exposes a patient\-level FAISS retrieval module that can be replaced while keeping downstream LLM stages fixed\([Huh et al\., 2026](https://arxiv.org/html/2611.17341#bib.bib10)\)\. We compare four configurations\.Zero\-shot GPT\-4o\-minireceives only the current diagnoses and medication vocabulary, with no external retrieval\.Population prior, no LLMdirectly predicts the top\-ranked medication classes from the structured population prior, providing a diagnostic baseline for the signal contained in the aggregate table alone\.PACE\-RAG\([Huh et al\., 2026](https://arxiv.org/html/2611.17341#bib.bib10)\)retrieves similar patient admissions using FAISS and passes the retrieved records through its multi\-stage LLM pipeline\. We rerun the public PACE\-RAG implementation on the same processed split used by our variant, rather than copying published numbers\.PACE\-RAG \+ population prioris our controlled swap: the FAISS retrieval call is replaced with a lookup into the condition–medication population prior, while all downstream PACE\-RAG stages remain unchanged\. #### Controlled retrieval\-source swap\. The main comparison is PACE\-RAG versus PACE\-RAG \+ population prior under the same GPT\-4o\-mini backbone, temperature, medication vocabulary, output parsing, and evaluation script\. This evaluates whether aggregate condition–medication statistics are a more useful retrieval object than nearest\-neighbor patient records for fixed\-vocabulary EHR set prediction\. ## 5Results Table 1:Main results on 1,004 held\-out MIMIC\-IV admissions\. PACE\-RAG and our variant use the same GPT\-4o\-mini backbone; only the retrieval source differs\. 95% CIs are computed via bootstrap \(2,000 resamples\)\.Table[1](https://arxiv.org/html/2611.17341#S5.T1)shows that the retrieval source substantially affects PACE\-RAG performance\. Replacing FAISS patient\-record retrieval with the structured population prior improves F1 from 0\.303 to 0\.338, a \+0\.035 absolute gain \(\+11\.5% relative\), and improves Jaccard from 0\.218 to 0\.237\. Since both systems share the same downstream LLM pipeline and evaluation procedure, the gain suggests that the form of retrieved evidence—aggregate medication candidates rather than neighboring patient records—is a key determinant of performance\. The remaining rows help separate three sources of performance: the base LLM, the retrieved statistics, and the interaction between retrieval and the multi\-stage LLM pipeline\. Zero\-shot GPT\-4o\-mini reaches F1=0\.223, indicating that diagnosis names and the medication vocabulary alone provide a weak but nontrivial signal\. The population\-prior\-only baseline improves to F1=0\.248, showing that the aggregate condition–medication table captures prescribing regularities that are not recovered by prompting the LLM without retrieval\. The full PACE\-RAG \+ population prior system reaches F1=0\.338, above both the zero\-shot and prior\-only baselines\. This suggests that the LLM is not merely copying the highest\-ranked prior candidates, but using them as structured evidence that can be filtered and reconciled with the admission context\. The comparison to FAISS\-based PACE\-RAG further suggests that already\-aggregated medication evidence is a better retrieval interface for this task than a small set of patient narratives\. #### Diagnostic complexity\. The improvement is not driven by a single aggregate effect\. As shown in Table[2](https://arxiv.org/html/2611.17341#S5.T2), the population prior outperforms FAISS patient retrieval in every diagnostic\-complexity bin\. The largest absolute gain occurs for admissions with one or two current diagnoses \(\+0\.054 F1\), where nearest\-neighbor retrieval may be especially brittle because the LLM must infer a prescribing pattern from only a few retrieved cases\. The gain remains positive for admissions with 10 or more diagnoses \(\+0\.029 F1\), where nearest\-neighbor retrieval might be expected to be more informative\. This suggests that aggregate condition\-level statistics remain useful even when the diagnostic context is richer, possibly by providing a stable candidate set that the LLM can filter against the broader admission context\. Inference\-time latency measurements are reported in Appendix[D](https://arxiv.org/html/2611.17341#A4)\. Table 2:Performance stratified by diagnostic complexity, measured by the number of current diagnoses\|D\|\|D\|\. The population prior improves over FAISS patient retrieval in every bin\. #### Candidate\-count sensitivity\. We selectedkkon a held\-out validation set of 1,000 training patients \(prior rebuilt without them\) and obtainedk=30k=30as the best value \(val F1=0\.427\)\. Test\-set F1 is essentially flat fromk=5k=5onward \(range 0\.338–0\.340\), confirming the result is not sensitive to this hyperparameter; full details are in Appendix[C](https://arxiv.org/html/2611.17341#A3)\. ## 6Discussion and Limitations For fixed\-vocabulary EHR set prediction, the retrieval object supplied to a clinical RAG pipeline matters\. The population\-prior variant supports the central structured\-data hypothesis of the paper: aggregate condition–medication statistics can provide a more task\-aligned retrieval signal than a small set of nearest\-neighbor admissions\. The result also highlights a practical advantage of tabular population memory\. Retrieval is a lookup into a sparse count table whose entries can be inspected through support, conditional probability, and lift, without an inference\-time embedding model, vector index, or similarity search\. This makes the retrieved evidence more auditable and easier to maintain while still allowing the downstream LLM pipeline to synthesize and filter candidate medication classes\. #### Limitations\. This study should be interpreted as medication\-class prediction, not prescribing advice: we do not model dose, route, timing, contraindications, drug–drug interactions, or patient\-specific safety constraints\. Population priors also reflect historical prescribing patterns, which may vary across institutions, time periods, and patient subgroups\. External validation, recalibration, fairness analysis, and prospective clinical evaluation would be required before any deployment consideration\. ## References - Huhet al\.\(2026\)C\. Huh, H\. Hwang, J\. H\. Shin, J\. Park, and J\. C\. YePACE\-RAG: patient\-aware contextual and evidence\-based policy RAG for clinical drug recommendation\.External Links:2603\.17356,[Link](https://arxiv.org/abs/2603.17356)Cited by:[§1](https://arxiv.org/html/2611.17341#S1.p3.1),[§2\.4](https://arxiv.org/html/2611.17341#S2.SS4.p1.1),[§4](https://arxiv.org/html/2611.17341#S4.SS0.SSS0.Px2.p1.1)\. - Johnsonet al\.\(2023\)A\. E\. W\. Johnson, L\. Bulgarelli, L\. Shen, A\. Gayles, A\. Shammout, S\. Horng, T\. J\. Pollard, S\. Hao, B\. Moody, B\. Gow,et al\.MIMIC\-IV, a freely accessible electronic health record dataset\.Scientific Data10\(1\),pp\. 1\.External Links:[Document](https://dx.doi.org/10.1038/s41597-022-01899-x),[Link](https://doi.org/10.1038/s41597-022-01899-x)Cited by:[§1](https://arxiv.org/html/2611.17341#S1.p1.1),[§1](https://arxiv.org/html/2611.17341#S1.p4.1),[§4](https://arxiv.org/html/2611.17341#S4.SS0.SSS0.Px1.p1.1)\. - Johnsonet al\.\(2021\)J\. Johnson, M\. Douze, and H\. JégouBillion\-scale similarity search with GPUs\.IEEE Transactions on Big Data7\(3\),pp\. 535–547\.External Links:[Document](https://dx.doi.org/10.1109/TBDATA.2019.2921572),[Link](https://doi.org/10.1109/TBDATA.2019.2921572)Cited by:[§1](https://arxiv.org/html/2611.17341#S1.p3.1),[§2\.4](https://arxiv.org/html/2611.17341#S2.SS4.p1.1)\. - Karpukhinet al\.\(2020\)V\. Karpukhin, B\. Oguz, S\. Min, P\. Lewis, L\. Wu, S\. Edunov, D\. Chen, and W\. YihDense passage retrieval for open\-domain question answering\.InProceedings of the 2020 Conference on Empirical Methods in Natural Language Processing,pp\. 6769–6781\.External Links:[Document](https://dx.doi.org/10.18653/v1/2020.emnlp-main.550),[Link](https://aclanthology.org/2020.emnlp-main.550/)Cited by:[§1](https://arxiv.org/html/2611.17341#S1.p3.1)\. - Lewiset al\.\(2020\)P\. Lewis, E\. Perez, A\. Piktus, F\. Petroni, V\. Karpukhin, N\. Goyal, H\. Küttler, M\. Lewis, W\. Yih, T\. Rocktäschel, S\. Riedel, and D\. KielaRetrieval\-augmented generation for knowledge\-intensive NLP tasks\.InAdvances in Neural Information Processing Systems,Vol\.33,pp\. 9459–9474\.External Links:[Link](https://proceedings.neurips.cc/paper/2020/hash/6b493230205f780e1bc26945df7481e5-Abstract.html)Cited by:[§1](https://arxiv.org/html/2611.17341#S1.p3.1)\. - Liuet al\.\(2025\)C\. Liu, H\. Yao, D\. Chang, and O\. FriederTreatRAG: a framework for personalized treatment recommendation\.InProceedings of the 19th ACM Conference on Recommender Systems,pp\. 690–695\.External Links:[Document](https://dx.doi.org/10.1145/3705328.3748022),[Link](https://doi.org/10.1145/3705328.3748022)Cited by:[§1](https://arxiv.org/html/2611.17341#S1.p3.1)\. - Menget al\.\(2024\)F\. Meng, X\. Li, X\. Hou, M\. Lu, and Y\. ZhangMGRN: toward robust drug recommendation via multi\-view gating retrieval network\.Bioinformatics40\(10\),pp\. btae572\.External Links:[Document](https://dx.doi.org/10.1093/bioinformatics/btae572)Cited by:[§1](https://arxiv.org/html/2611.17341#S1.p2.1)\. - Shanget al\.\(2019\)J\. Shang, C\. Xiao, T\. Ma, H\. Li, and J\. SunGAMENet: graph augmented memory networks for recommending medication combination\.InProceedings of the AAAI Conference on Artificial Intelligence,Vol\.33,pp\. 1126–1133\.External Links:[Document](https://dx.doi.org/10.1609/aaai.v33i01.33011126),[Link](https://doi.org/10.1609/aaai.v33i01.33011126)Cited by:[§1](https://arxiv.org/html/2611.17341#S1.p2.1)\. - Wuet al\.\(2022\)R\. Wu, Z\. Qiu, J\. Jiang, G\. Qi, and X\. WuConditional generation net for medication recommendation\.InProceedings of the ACM Web Conference 2022,pp\. 935–945\.External Links:[Document](https://dx.doi.org/10.1145/3485447.3511936),[Link](https://doi.org/10.1145/3485447.3511936)Cited by:[§1](https://arxiv.org/html/2611.17341#S1.p2.1)\. - Yanget al\.\(2021\)C\. Yang, C\. Xiao, F\. Ma, L\. Glass, and J\. SunSafeDrug: dual molecular graph encoders for recommending effective and safe drug combinations\.InProceedings of the Thirtieth International Joint Conference on Artificial Intelligence,pp\. 3735–3741\.External Links:[Document](https://dx.doi.org/10.24963/ijcai.2021/514),[Link](https://doi.org/10.24963/ijcai.2021/514)Cited by:[§1](https://arxiv.org/html/2611.17341#S1.p2.1)\. - Yanget al\.\(2023\)N\. Yang, K\. Zeng, Q\. Wu, and J\. YanMoleRec: combinatorial drug recommendation with substructure\-aware molecular representation learning\.InProceedings of the ACM Web Conference 2023,pp\. 4075–4085\.External Links:[Document](https://dx.doi.org/10.1145/3543507.3583872),[Link](https://doi.org/10.1145/3543507.3583872)Cited by:[§1](https://arxiv.org/html/2611.17341#S1.p2.1)\. - Zakkaet al\.\(2024\)C\. Zakka, R\. Shad, A\. Chaurasia, A\. R\. Dalal, J\. L\. Kim, M\. Moor, R\. Fong, C\. Phillips, K\. Alexander, E\. Ashley, J\. Boyd, K\. Boyd, K\. Hirsch, C\. Langlotz, R\. Lee, J\. Melia, J\. Nelson, K\. Sallam, S\. Tullis, M\. A\. Vogelsong, J\. P\. Cunningham, and W\. HiesingerAlmanac—retrieval\-augmented language models for clinical medicine\.NEJM AI1\(2\),pp\. AIoa2300068\.External Links:[Document](https://dx.doi.org/10.1056/aioa2300068),[Link](https://doi.org/10.1056/aioa2300068)Cited by:[§1](https://arxiv.org/html/2611.17341#S1.p3.1)\. - Zhanget al\.\(2017\)Y\. Zhang, R\. Chen, J\. Tang, W\. F\. Stewart, and J\. SunLEAP: learning to prescribe effective and safe treatment combinations for multimorbidity\.InProceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining,pp\. 1315–1324\.External Links:[Document](https://dx.doi.org/10.1145/3097983.3098109),[Link](https://doi.org/10.1145/3097983.3098109)Cited by:[§1](https://arxiv.org/html/2611.17341#S1.p2.1)\. - Zhaoet al\.\(2025\)X\. Zhao, S\. Liu, S\. Yang, and C\. MiaoMedRAG: enhancing retrieval\-augmented generation with knowledge graph\-elicited reasoning for healthcare copilot\.InProceedings of the ACM Web Conference 2025,pp\. 4442–4457\.External Links:[Document](https://dx.doi.org/10.1145/3696410.3714782),[Link](https://doi.org/10.1145/3696410.3714782)Cited by:[§1](https://arxiv.org/html/2611.17341#S1.p3.1)\. ## Appendix APopulation Prior Implementation Details The population prior is a non\-learned retrieval object built only from training admissions under the patient\-level split\. It has no trainable weights, no embedding model, and no vector index, so the controlled swap with FAISS isolates the*form*of retrieved evidence: aggregate condition–medication statistics versus patient records\. For each diagnosis string, the prior stores retained medication classes with diagnosis support, pair support, empirical conditional probability, and lift\. Low\-support condition–medication pairs below a fixed minimum count threshold are removed before ranking\. At inference time, matching pairs for the current diagnosis set are aggregated as described in Section[2\.3](https://arxiv.org/html/2611.17341#S2.SS3), ranked by the lift\-normalized score, and the topkkmedication classes are returned\. The retrieved context passed to the LLM contains only medication\-class names with coarse probability or lift tiers; it does not include raw training records or nearest\-neighbor patient narratives\. ## Appendix BPACE\-RAG Rerun and Controlled Retrieval Swap We rerun the public PACE\-RAG implementation \([https://github\.com/ChaeYoungHuh/PACE\-RAG](https://github.com/ChaeYoungHuh/PACE-RAG)\) on the same processed MIMIC\-IV tables, patient\-level split, medication vocabulary, and evaluation script used for the population\-prior variant\. We do not copy the originally reported PACE\-RAG numbers, because the published implementation uses different LLM backbones \(Llama\-3\.1\-8B / Qwen3\-8B\) and its reported cohort statistics differ from those produced by our preprocessing\. Our preprocessing of the same public codebase yielded 163,594 training patients, 342 unique ATC medication classes in the training pool, 202 in the test set, and 1,004 test admissions, compared to 196,110 patients, 406 training\-pool classes, 254 test\-set classes, and 1,094 test admissions in the original paper\. In this paper, all LLM\-based systems are run with GPT\-4o\-mini at temperature 0\.0\. The controlled swap keeps the PACE\-RAG pipeline fixed after retrieval\. In the baseline, PACE\-RAG retrieves similar patient admissions using FAISS and passes those retrieved records to the downstream LLM stages\. In our variant, the FAISS retrieval call is replaced by a lookup into the structured population prior\. The population\-prior candidates are formatted into the same context schema expected by the downstream PACE\-RAG stages\. Thus, all post\-retrieval stages remain unchanged, and the main comparison is a retrieval\-source ablation rather than a comparison between different LLM pipelines\. Both our PACE\-RAG baseline and PACE\-RAG \+ population prior operate on the same processed split, backbone, medication vocabulary, and evaluation script\. ## Appendix CCandidate\-Count Sensitivity We sweptk∈\{3,5,10,20,30\}k\\in\\\{3,5,10,20,30\\\}candidates on a held\-out validation set of 1,000 patients sampled by patient id from the training data\. The population prior was rebuilt from the remaining training patients so that validation admissions are never in the prior used to evaluate them\. Table[3](https://arxiv.org/html/2611.17341#A3.T3)reports validation F1 used for model selection and test F1 for robustness analysis\. Validation F1 increases monotonically withkk, so we selectk=30k=30\. On the test set, F1 is essentially flat fromk=5k=5onward \(range 0\.338–0\.340\), indicating that the result is not sensitive to the exact candidate count once a small candidate set is available\. The main result usesk=30k=30, the validation\-selected value\. Table 3:Candidate\-count sensitivity\.kkis selected on the validation set; test F1 is reported only to assess robustness\. ## Appendix DInference\-Time Efficiency Table 4:Per\-admission inference latency, measured as the median over 10 sequential calls with GPT\-4o\-mini at temperature 0\.0\. Both systems run the identical five\-stage LLM pipeline; the only difference is the retrieval source\.End\-to\-end latency is dominated by the same sequential LLM calls in both systems\. The population prior therefore does not add LLM cost and slightly reduces retrieval overhead in this implementation\. More importantly, it removes the FAISS index and embedding model from the inference path\. At serving time, retrieval reduces to a lookup in a compact condition–medication table rather than maintaining a vector store and running embedding\-based nearest\-neighbor search\.
相似文章
GraphDiffMed: 知识约束的差异化注意力结合药理学图先验用于药物推荐
GraphDiffMed是一个药物推荐框架,它使用双尺度差异化注意力和药理学图先验来提高在EHR数据上的推荐质量和安全性。在MIMIC-III上的实验显示出相对于基线的持续改进。
用于药物重定位候选物实用筛选的预训练医学表示
本文提出了一种新的统一预训练框架,用于医学代码序列,能够捕获层次结构和复杂交互,并在临床事件预测和阿尔茨海默病的药物重定位案例研究中展示了优越的性能。
面向跨基准医学问答的临床结构化秩门控LoRA
本文提出BiRG-LoRA,一种用于医学问答的秩门控LoRA方法,利用临床结构化先验选择稀疏秩子集,在四个基准上达到69.31%的宏平均准确率,同时使用的参数少于混合专家方法。
基于表格基础模型的统一且数据高效的预测与健康管理
本文提出一个框架,将表格基础模型应用于工业时间序列的预测与健康管理,在多个PHM任务上展示了强大的性能和高效的数据利用率。
TabBioMed:面向生物医学表格学习的大规模基准
TabBioMed 推出了一个大规模基准,包含 94 个经过精心整理的生物医学表格数据集,并采用标准化的预处理和评估框架,对包括表格基础模型、梯度提升树和神经网络架构在内的 23 种模型进行了比较。结果表明,基础模型在整体性能上领先,但在推理时间或训练成本受限的情况下,基于树的模型仍具有竞争力,这凸显了最佳模型的选择取决于具体情境。