HiRef: Leveraging Hierarchical Ontology and Network Refinement for Robust Medication Recommendation

Yan Ting Chok, Soyon Park, Seungheun Baek, Hajung Kim, Junhyun Lee +1 more
8/14/2025
cs.AIcs.LG

No confident code implementation found for this paper.

Abstract

Medication recommendation is a crucial task for assisting physicians in making timely decisions from longitudinal patient medical records. However, real-world EHR data present significant challenges due to the presence of rarely observed medical entities and incomplete records that may not fully capture the clinical ground truth. While data-driven models trained on longitudinal Electronic Health Records often achieve strong empirical performance, they struggle to generalize under missing or novel conditions, largely due to their reliance on observed co-occurrence patterns. To address these issues, we propose Hierarchical Ontology and Network Refinement for Robust Medication Recommendation (HiRef), a unified framework that combines two complementary structures: (i) the hierarchical semantics encoded in curated medical ontologies, and (ii) refined co-occurrence patterns derived from real-world EHRs. We embed ontology entities in hyperbolic space, which naturally captures tree-like relationships and enables knowledge transfer through shared ancestors, thereby improving generalizability to unseen codes. To further improve robustness, we introduce a prior-guided sparse regularization scheme that refines the EHR co-occurrence graph by suppressing spurious edges while preserving clinically meaningful associations. Our model achieves strong performance on EHR benchmarks (MIMIC-III and MIMIC-IV) and maintains high accuracy under simulated unseen-code settings. Extensive experiments with comprehensive ablation studies demonstrate HiRef's resilience to unseen medical codes, supported by in-depth analyses of the learned sparsified graph structure and medical code embeddings.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chok2025hiref,
  title  = {HiRef: Leveraging Hierarchical Ontology and Network Refinement for Robust Medication Recommendation},
  author = {Yan Ting Chok and Soyon Park and Seungheun Baek and Hajung Kim and Junhyun Lee and Jaewoo Kang},
  year   = {2025},
  eprint = {2508.10425},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.10425v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.10425.svg)](https://codeofpaper.com/paper/2508.10425)

Discussion