# Discrete Neural Interlingua for Ontology-Agnostic EHR Modeling

DevFeed: [Discrete Neural Interlingua for Ontology-Agnostic EHR Modeling](<https://devfeed.tech/articles/discrete-neural-interlingua-for-ontology-agnostic-ehr-modeling-94234.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.27047>)

Author: Tong Ding, Caiwei Tian, Dongmin Bang, Ming Y. Lu, Sophia J. Wagner, Andrew Zhang, Rowland Pettit, Long Phi Le, Faisal Mahmood

Published: 2026-10-21T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [tokenization](<https://devfeed.tech/topics/tokenization.md>), [AI Foundation Models](<https://devfeed.tech/topics/ai-foundation-models.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [foundation-models](<https://devfeed.tech/tags/foundation-models.md>), [graphs](<https://devfeed.tech/tags/graphs.md>), [linking](<https://devfeed.tech/tags/linking.md>), [modeling](<https://devfeed.tech/tags/modeling.md>), [neural](<https://devfeed.tech/tags/neural.md>), [ontology](<https://devfeed.tech/tags/ontology.md>), [supervision](<https://devfeed.tech/tags/supervision.md>), [systems](<https://devfeed.tech/tags/systems.md>), [text](<https://devfeed.tech/tags/text.md>), [tokenization](<https://devfeed.tech/tags/tokenization.md>), [transformer](<https://devfeed.tech/tags/transformer.md>), [zero-shot](<https://devfeed.tech/tags/zero-shot.md>)

## AI overview

MEDIATOR addresses the mismatch between clinical concepts expressed through different codes, local identifiers, synonyms, and text by mapping text-described concepts into a shared vector-quantized codebook. Trained with synonym supervision and information from concept descriptions, code co-occurrence, and relation graphs, it supports open-vocabulary EHR tokenization without manual mappings or a fixed vocabulary. With an EHR Transformer, it improves mean AUPRC over the strongest prior tokenizer by 4.0 points on 20 MIMIC-III tasks and by 8.6 points on 14 zero-shot eICU tasks, using all eICU events where a closed-vocabulary tokenizer used 13%. Under identical inputs, MEDIATOR still leads on two reported transfer tasks, suggesting gains from representation as well as coverage. The abstract attributes in-domain accuracy mainly to the text encoder and transfer robustness and entity-linking quality to MEDIATOR's learned objectives.

## Source excerpt

arXiv:2610.27047v1 Announce Type: cross Abstract: EHR foundation models promise scalable clinical prediction across health systems, yet their deployment is constrained by a tokenization bottleneck. The same clinical concept can appear as different ontology codes, local identifiers, synonyms, or free-text descriptions, which standard EHR tokenizers treat as unrelated symbols. A model trained on MIMIC-III with a closed-vocabulary tokenizer can use only 13% of eICU events. We introduce MEDIATOR, a discrete ontology-agnostic tokenizer that maps any clinical concept expressed as text into a shared vector-quantized codebook, turning EHR harmonization into open-vocabulary tokenization without manual mappings or a fixed vocabulary. Trained with synonym supervision and guided by enriched concept descriptions, code co-occurrence, and relation graphs, MEDIATOR collapses equivalent expressions while organizing distinct concepts in a medically meaningful discrete space. Used as the token interface of an EHR Transformer, MEDIATOR improves mean AUPRC over the strongest prior tokenizer by 4.0 points (8% relative) on 20 MIMIC-III tasks and by 8.6 points (29% relative) in zero-shot transfer to 14 eICU tasks, where it uses all events. The transfer gain combines coverage and representation, as MEDIATOR remains the best tokenizer under identical inputs (+1.0 and +1.9 points on operational and subcohort-mortality tasks). Same-encoder controls show that the text encoder drives in-domain accuracy, while the learned objectives of MEDIATOR drive transfer robustness and entity-linking quality. MEDIATOR also enables transferable attribution across hospitals.