Hierarchical Modeling of ICD Codes in EHR Foundation Models
A new study proposes that explicitly encoding the hierarchical structure of ICD-10-CM diagnosis codes can improve how foundation models learn from electronic health records, a departure from standard methods that treat codes as flat, unrelated tokens [1]. The work, submitted on 13 Jun 2026, investigates the ICD-10-CM hierarchy as a general inductive bias for clinical representation learning [1]. Medical classification systems like ICD-10-CM transform descriptions of diagnoses into standardized statistical codes used for tracking diseases, processing reimbursement claims, and supporting decision-support systems [4]. The researchers note that existing electronic health record (EHR) foundation models typically treat these codes as flat tokens, overlooking the clinically meaningful structure that captures disease families, subcategories, and fine-grained diagnostic detail [1][2]. The study explores two complementary mechanisms for incorporating hierarchy. The first augments diagnosis sequences in a BERT-style transformer with tokens corresponding to different levels of the ICD hierarchy. The second injects hierarchy into graph-based code representations through hierarchy-aware edges combined with diagnosis co-occurrence structure [1][2]. These approaches stand in contrast to other data models used in clinical informatics, such as the entity–attribute–value model, which is optimized for sparse, ad-hoc property storage rather than leveraging pre-defined hierarchical relationships [3]. Experiments were conducted on two large-scale real-world clinical datasets: MIMIC-IV, used for pretraining and in-domain evaluation, and eICU, used to assess cross-dataset transfer via frozen encoder probing [1][2]. The findings show that explicitly encoding ICD hierarchy improves over flat code representations in both in-domain and cross-dataset settings [1][2]. The most useful level of hierarchy was found to depend on both the task and the modeling approach [1]. The research contributes to a broader effort to make clinical data more interoperable and semantically rich. Other standardized terminologies, such as SNOMED CT, provide a systematically organized collection of medical terms that can cross-map to classifications like ICD, supporting consistent information interchange and reducing variability in how data are captured and used for patient care and research [5]. By demonstrating that hierarchy-aware EHR representation learning generalizes across modeling settings and hierarchy levels, the study suggests a path toward foundation models that better reflect the structured nature of clinical knowledge [1][2].
research-papercontroversyapplication
Background sources we checked (10)
- arxiv.org ↗ Electronic health record foundation models typically treat ICD diagnosis codes as flat tokens, overlooking the clinically meaningful hierarchical structure that captures disease families, subcategories, and fine-grained diagnostic detail. As a result, existing EHR representation …
- en.wikipedia.org ↗ An entity–attribute–value model (EAV) is a data model optimized for the space-efficient storage of sparse—or ad-hoc—property or data values, intended for situations where runtime usage patterns are arbitrary, subject to user variation, or otherwise unforeseeable using a fixed de…
- en.wikipedia.org ↗ A medical classification is used to transform descriptions of medical diagnoses or procedures into standardized statistical code in a process known as clinical coding. Diagnosis classifications list diagnosis codes, which are used to track diseases and other health conditions, in…
- en.wikipedia.org ↗ SNOMED CT or SNOMED Clinical Terms is a systematically organized computer-processable collection of medical terms providing codes, terms, synonyms and definitions used in clinical documentation and reporting. SNOMED CT is considered to be the most comprehensive, multilingual clin…
- arxiv.org ↗ We review thirteen generative systems and five supporting datasets for quantum circuit and quantum code generation, identified through a structured scoping review of Hugging Face, arXiv, and provenance tracing (January-February 2026). We organize the field along two axes: artifac…
- huggingface.co ↗ # Paper Pages Paper pages allow people to find artifacts related to a paper such as models, datasets and apps/demos (Spaces). Paper pages also enable the community to discuss about the paper. ## Linking a Paper to a model, dataset or Space If the repository card (`README.md`) …
- huggingface.co ↗ # How to Add a Space to ArXiv ... Demos on Hugging Face Spaces allow a wide audience to try out state-of-the-art machine learning research without writing any code. Hugging Face and ArXiv have collaborated to embed these demos directly along side papers on ArXiv! ... Thanks to th…
- huggingface.co ↗ Daily Papers - Hugging Face new Get trending papers in your email inbox once a day! Get trending papers in your email inbox! Subscribe # Daily Papers ## byAK and the research community - Daily - Weekly - Monthly Trending Papers https://huggingface.co/papers/date/2026-06-…
- en.wikipedia.org ↗ Hangzhou DeepSeek Artificial Intelligence Basic Technology Research Co., Ltd., doing business as DeepSeek, is a Chinese artificial intelligence (AI) company that develops large language models (LLMs). Based in Hangzhou, Zhejiang, DeepSeek is owned and funded by High-Flyer, a Chin…
- en.wikipedia.org ↗ A large language model (LLM) is a type of machine learning model designed for natural language processing tasks such as language generation. LLMs are language models with many parameters, and are trained with self-supervised learning on a vast amount of text.…
Sources
- export.arxiv.org — Hierarchical Modeling of ICD Codes in EHR Foundation Models ↗