potentialpaper

Discrete Neural Interlingua for Ontology-Agnostic EHR Modeling

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

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

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. Code is available at https://github.com/mahmoodlab/MEDIATOR.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

All the reviewers seem overall positive and have acknowledged the relevance of the topic and quality of the work. The authors are still encouraged to address the questions raised (missed baselines in terms of input-coverage asymmetry, isolated contributions of key components, reproducibility, comparisons with simpler baselines, etc).

Final justification

Reviewers remained all positive after the rebuttal and acknowledged the resolution of most raised concerns.

Area Chair xY2o · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

All the reviewers seem overall positive and have acknowledged the relevance of the topic and quality of the work. The authors are still encouraged to address the questions raised (missed baselines in terms of input-coverage asymmetry, isolated contributions of key components, reproducibility, comparisons with simpler baselines, etc).

Final justification

Reviewers remained all positive after the rebuttal and acknowledged the resolution of most raised concerns.

Reviewer 7XTdOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
3/4
Significance
3/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

There is growing interest in using machine learning models (and LLM's in particular) with electronic health record data to support healthcare providers. Healthcare data is represented using many different medical ontologies and coding systems (diagnoses, interventions, medications, etc.) and varies between fields, hospitals, and countries. The authors propose MEDIATOR, an ontology-agnostic medical concept tokenizer, to standardize tokenization for downstream models. MEDIATOR uses a text encoder and a projection head to project the input data into a quantization space, perform vector quantization into discrete tokens, and an encoder to reconstruct the original concepts, thereby optimizing a reconstruction objective. Rather than having the model learn to map the entire quantization space on its own, the authors provide structured supervision using semantic embeddings, co-occurrence information derived from clinical events, and a curated relation graph to incorporate prior knowledge into the model. Accordingly, the reconstruction objective combines vector quantization, semantic reconstruction, same-concept equivalence, assignment agreement, and the semantic teachers so that semantically equivalent concepts across ontologies map to the same discrete token, while keeping clinically distinct concepts separate. To demonstrate MEDIATOR, they present a proof-of-concept evaluation on two medical datasets against existing tokenizers, and an ablation study to show improvements in downstream EHR modelling and interoperability.

Strengths and weaknesses

Quality

The paper is of good quality and is strengthened by evaluating a proof-of-concept MEDIATOR on open-sourced clinical datasets, comparing it against existing tokenizers, and conducting ablation studies to determine which components contribute most to performance. The Figure 3 UMAP visualization of the MEDIATOR codebook is excellent in supporting the author's claim that similar concepts are clustered together while distinct concepts are separate.

My main concern is that the evaluation does not investigate why the current state-of-the-art tokenizers did not work and which components of MEDIATOR resolved those limitations. For example, the authors could create a Figure 3 for each current state-of-the-art tokenizer, show where the existing tokenizer failed, and demonstrate how MEDIATOR addresses that limitation, thereby improving performance. A comparison between the tokenizers would strengthen the paper.

Clarity

The paper is well written and clear. Figure 2 (architecture) is helpful but not referenced in the paper. I would recommend adding (a), (b), (c), etc. to the components and then referencing Fig. 2a, 2b, 2c while presenting the architecture. I am concerned that there is too much focus on multiple downstream proof-of-concept tasks (the first three are sufficient), at the expense of investigating tokenization. By keeping only the LOS, ICU Mortality, Readmission, and Mean performance metrics in Tables 1 and 2 and moving the remaining EHR modelling results to the appendix, the authors have more room to focus on tokenization investigations. For example, the paper would be strengthened by a worked example that traces two semantically equivalent concepts and a third distinct concept through the full pipeline to illustrate the transformation (ideally in the paper, but it could be an appendix), or by moving the codebook size ablation from Appendix E to the main paper.

Significance

This research is interesting and significant for healthcare and biomedical ML researchers, as ontology fragmentation is a real barrier for developing EHR models. The significance is strong within the application area. Broader cross-domain applicability would further strengthen the paper's significance by showing that analogous ontology fragmentation problems arise in other application areas, and that MEDIATOR could plausibly extend to domains such as finance, bioinformatics, or law.

Originality

The paper's novelty comes from combining LLM-based semantic information, co-occurrence structure, and relation-graph supervision into a unified tokenizer for healthcare concepts. The paper's originality would be stronger if it more directly proved why tokenizers that work well in non-healthcare settings fail in healthcare settings, and how the proposed combination specifically addresses those domain-specific failure modes.

Questions
  1. Can the authors provide more direct evidence of where baseline tokenizers fail on healthcare concepts, beyond aggregate performance differences? For example, a compare and contrast would help clarify what the proposed tokenizer fixes.

  2. Can the authors explain more explicitly how tokenization in healthcare/EHR data is different from tokenization settings where existing approaches work well? This would strengthen the case for significance and originality.

  3. A concrete worked example tracing two semantically equivalent concepts and one distinct concept through the full pipeline would improve clarity.

  4. What was the computational efficiency of MEDIATOR, and how they scale?

Limitations

I agree with the authors that noise or omissions would degrade MEDIATOR performance. Can the authors reflect on the implications?

The authors state that a useful EHR tokenizer should accept any medical concept expressed as text and map it into a shared, reusable code space (pg. 2, line 65). However, this was not demonstrated in the paper. In the discussion, can the authors describe how the new code system (ICD-11 codes) could be added without rerunning MEDIATOR?

Final justification

After considering the other reviewers’ feedback and the author's responses, I am raising my quality and originality scores to 4. The author's responses and action plan for the reviewers' feedback addressed my main concerns (investigating why the current state-of-the-art tokenizers did not work and directly discussing why tokenizers that work well in non-healthcare settings fail in healthcare settings) and strengthened their contributions. The proposed revisions will also improve the flow of the manuscript.

Formatting concerns

Minor: not all acronyms are defined on first use (PMI, PPMI, ICD).

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

W1. Why existing tokenizers fail, and a direct per-tokenizer comparison

The dominant EHR paradigm tokenizes by treating each medical code as an atomic symbol with a learned embedding, which produces 3 failure modes:

F1. Closed vocabulary. Any code or string outside the training vocabulary is undefined. On eICU this is severe (quantified in Q1): most concepts have no usable structured code and are dropped entirely.

F2. Surface fragmentation. The same concept under different ontologies or versions receives distinct tokens (ICD-10 "I10", SNOMED "hypertensive disorder", local "high blood pressure"), splitting its training examples across unrelated symbols instead of pooling them.

F3. Knowledge-blind cold start. Randomly initialized embedding tables (Code Emb) learn only from co-occurrence in the training set; rare and tail codes stay poorly estimated, and external medical knowledge (ontologies, text, graphs) is unused.

Code Emb suffers all three. ClinVec and MedTok mitigate F3 by injecting knowledge-graph structure into the embeddings, but remain closed-vocabulary and still assign a separate token identity per code. MedTok_text address it by accepting text, but as the entity linking results below show directly, at the cost of a residual failure in both directions.

We added a biomedical entity-linking benchmark using NCBI Disease [1], MedMention [2], and COMETA [3] reports synonym consistency and code purity:

Model NCBI Acc. NCBI Pur. NCBI F1 MedMention Acc. MedMention Pur. MedMention F1 COMETA Acc. COMETA Pur. COMETA F1
Qwen3-8B + kk-means 0.487 0.928 0.639 0.450 0.543 0.492 0.648 0.807 0.718
MedTok<sub>text</sub>-top5 0.195 0.986 0.326 0.045 0.885 0.085 0.231 0.913 0.368
MedTok<sub>text</sub>-top1 0.269 0.360 0.308 0.131 0.082 0.101 0.384 0.101 0.160
MEDIATOR 0.524 0.907 0.664 0.471 0.516 0.493 0.682 0.794 0.734

[1] Doğan, R. I., Leaman, R., & Lu, Z. (2014). NCBI disease corpus: A resource for disease name recognition and concept normalization. Journal of Biomedical Informatics, 47, 1–10. [2] Mohan, S., & Li, D. (2019). MedMentions: A Large Biomedical Corpus Annotated with UMLS Concepts. ArXiv, abs/1902.09476. [3] Basaldella, M., Liu, F., Shareghi, E., & Collier, N. (2020). COMETA: A Corpus for Medical Entity Linking in the Social Media. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP) (pp. 3122–3137). Association for Computational Linguistics.

On the Figure 3 per-tokenizer suggestion: we will add it, and make it diagnostic

W2. Presentation: figure references, table focus, and added investigations

Thanks for your suggestion. We agree with all of these and will implement them accordingly.

W3/Q2. How healthcare tokenization differs from settings where existing tokenizers succeed

In general NLP, subword tokenizers work for three reasons: 1. tokens are compositional that every string decomposes into subword units, so there is effectively no out-of-vocabulary problem; 2. the surface-to-token map is deterministic and needs no external knowledge; and 3. corpora are enormous, so every unit is observed many times. EHR data violates all three. Each medical code is an atomic symbol, so a code from an unseen ontology or a free-text phrase has no representation at all. Equivalence between codes ("I10" = SNOMED hypertensive disorder = the phrase "hypertension") is external metadata, unrecoverable from the code only. And medical vocabularies are enormous and heavy-tailed while EHR ontologies are comparatively small, so codes can be under-trained. Moreover, healthcare has no single standard: many redundant, versioned ontologies adopted differently across institutions, and there is not even a canonical tokenization in principle.

MEDIATOR is designed to restore the two properties that make NLP tokenization transfer at the concept level. Open-form text input recovers any concept expressible as text maps into the codebook, so new ontologies and free text are no longer OOV. The failure mode MEDIATOR targets is many redundant identifier schemes for one underlying entity. It is not unique to healthcare. It recurs e.g. in bioinformatics (Entrez / Ensembl / UniProt / HGNC identifiers for a single gene) and in finance (CUSIP / ISIN / ticker for one security). MEDIATOR's recipe is domain-general in principle. We scope our empirical claims to healthcare and will note cross-domain transfer as a future direction.

Q1. Direct evidence of baseline failure

As in W1, the most consequential failure is coverage. Of the 10,779 medical concepts appearing in eICU, only 2,525 carry a structured code — the remaining concepts appear only as text strings and are simply unusable by closed-vocabulary tokenizers, dropping 3,111,628 of eICU's 3,578,036 events. MEDIATOR ingests all of them with no additional code-mapping effort. The entity-linking table in W1 supplies the complementary, representation-level evidence.

Q3. Worked example through the pipeline

We will add this as a figure; the traced version is as follows. Three input strings enter the same pipeline: text encoder fηf_\eta → projection pθp_\theta → nearest codebook code k⋆k^\star. Two are equivalent surface forms of one concept and one is distinct.

  • "shortness of breath" → h1h_1 → z1z_1 → k⋆k^\star = VQiVQ_i
  • "can't breathe" → h2h_2 → z2z_2 → k⋆k^\star = VQiVQ_i
  • "dyspnea" (the SNOMED ground-truth term) → h3h_3 → z3z_3 → k⋆k^\star = VQiVQ_i
  • "diabetes mellitus" → h4h_4 → z4z_4 → k⋆k^\star = VQj≠iVQ_j ≠ i

The three dyspnea surface forms land in the same code of the codebook, while the distinct concept lands in a different code.

Q4. What was the computational efficiency of MEDIATOR, and how they scale?

We clarify that MEDIATOR is applied once, offline, as a vocabulary-level preprocessing step over unique clinical-concept strings, not as an online, per-event operation. Each unique concept string is passed once through the model to obtain a discrete integer token id; these ids are then cached. At training and inference time the downstream EHR model consumes only these cached integer ids, exactly as a conventional code-embedding model does, and the text encoder is never invoked again. Concretely, tokenizing the entire concept vocabulary takes ≈70s per dataset on a single NVIDIA RTX PRO 6000 GPU: 12,533 MIMIC-III concepts in 71.2s (5.7 ms/concept) and 10,779 eICU concepts in 69.9s (6.5 ms/concept).

On scaling: because tokenization cost is O(unique concepts)O(\text{unique concepts}), it is bounded by vocabulary size and is independent of dataset size or sequence length.

Q5. Implications of noise or omissions in the supervision sources

We appreciate the request for a more concrete discussion. Each supervision source has distinct failure modes. Noisy UMLS synonym groups may cause false merges, collapsing genuinely different concepts into one token, or false splits, leaving synonymous concepts fragmented. LLM-enriched descriptions may introduce incorrect semantic associations, PPMI may reflect institution-specific correlations, and the relation graph may contain curation gaps.

In the meantime, there are also factors that limit these risks. First, the knowledge sources act as soft supervision that shapes the embedding geometry rather than imposing hard constraints. A noisy co-occurrence signal or relation edge may shift concept representations, but it does not directly force concepts to share a token. Token-level equivalence is determined by UMLS synonym supervision, the most curated source. Moreover, our leave-one-source-out ablations show that removing an entire supervision source changes performance by at most 0.014, suggesting that moderate noise in any single source is unlikely to have a large effect. Second, the co-occurrence signal is stable across data sources. Reconstructing PPMI using only public data produces results nearly identical to those obtained with private data (0.565/0.384 versus 0.568/0.384), suggesting that the signal captures general clinical structure rather than site-specific patterns.

The main remaining concern is systematic error. For example, an incorrectly curated UMLS synonym group could affect every downstream use of that concept. In high-stakes settings, mappings for clinically critical concepts should therefore be independently validated. We will state this limitation explicitly in the manuscript and impact statement.

Q6. Adding a new code system (e.g., ICD-11) without rerunning MEDIATOR

Similar to Q3, to add ICD-11, we encode each code's description string through MEDIATOR and caches the resulting VQ index. No component is retrained; the codebook is fixed. Because an ICD-11 "hypertensive disorder" description maps to whichever index already represents that concept (shared with its ICD-10 and SNOMED forms), a model trained before ICD-11 existed can consume ICD-11 data immediately, with no vocabulary alignment.

We agree the paper should show this rather than only assert it, and in fact our existing experiments are this scenario. MEDIATOR is trained on UMLS; the eICU transfer evaluation then tokenizes eICU's free-text event strings not seen in tokenizer training against the frozen codebook without retraining (Table 2, and W1's coverage analysis). The three entity-linking datasets likewise consist entirely of held-out strings tokenized against the frozen codebook. ICD-11 would be handled identically. We will add a discussion paragraph making this explicit and pointing to these results as the demonstration.

Reviewer 7XTd · CommentOpenReview ↗

I appreciate the authors' clarification and response, and I have no further comments. I acknowledge that I have read the response and will consider it when updating my rating.

Authors · CommentOpenReview ↗

We thank the reviewer for the constructive review and for reading our response. We will reflect the points we discussed in the revision.

Reviewer kamCOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper introduces MEDIATOR, a vector-quantized tokenizer that maps diverse clinical concepts, including ontology codes, local identifiers, synonyms, and free-text descriptions, into a shared discrete codebook. It uses UMLS synonym supervision plus enriched descriptions, claims-based co-occurrence statistics, and curated medical relations to train transferable concept tokens for standard EHR Transformers. Experiments show improved performance on 20 MIMIC-III tasks and stronger zero-shot transfer to 14 eICU tasks compared with prior tokenization methods, while also supporting concept-level attribution across hospitals.

Strengths and weaknesses

Strengths:

  1. The paper tackles a central barrier to deploying EHR foundation models across institutions: the same clinical concept may appear under different codes, ontology versions, local identifiers, or free-text descriptions.
  2. Framing EHR harmonization as open-form tokenization is elegant and practically important, since MEDIATOR can map previously unseen descriptions to discrete tokens at inference time.
  3. The training objective is thoughtfully designed, combining synonym contrastive losses, VQ assignment agreement, enriched descriptions, PPMI co-occurrence, and relation-graph supervision.
  4. The component analysis is informative, showing that PPMI contributes most to transfer, enriched descriptions help in-domain performance, and the full combination gives the best balance.
  5. The cross-dataset gains are large and consistent, especially on tasks with severe vocabulary mismatch such as stroke, subarachnoid hemorrhage, and septic shock.

Weaknesses:

  1. The PPMI co-occurrence matrix comes from a private 7.1M-patient health system that is not publicly available or sufficiently described, creating a major reproducibility concern.
  2. The downstream model is a relatively simple BEHRT-style Transformer, so it remains unclear whether MEDIATOR’s gains persist with stronger EHR architectures.
  3. The 100,000-entry codebook is large, yet the paper does not fully discuss its parameter cost, interaction with downstream model capacity, or possible compression strategies.
  4. The component ablation is narrow, reporting only mean AUPRC on a small set of operational tasks while excluding subcohort mortality tasks where MEDIATOR shows the largest gains.
  5. It would be helpful to know how often polysemous terms occur in the evaluated datasets and whether they meaningfully affect downstream performance.
Questions
  1. How much of MEDIATOR’s performance comes from the frozen Qwen3-Embedding-8B encoder versus the learned VQ mapping? An ablation with different frozen encoders would help clarify this.
  2. Have the authors run statistical significance tests, such as paired tests across folds or bootstrap confidence intervals, to verify that improvements are reliable on individual tasks?
  3. The “interlingua” metaphor is useful, but the codebook is still shaped by English descriptions and UMLS’s English-centric synonym groups, so multilingual clinical use needs more discussion.
Limitations

No

Formatting concerns

No

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

W1. Dependence on the private PPMI resource

We addressed this with two ablations. First, we rebuilt the PPMI teacher entirely from public co-occurrence sources — Columbia Open Health Data (COHD) [1] concept co-occurrence counts, combined with the Stanford Graph of Medicine [2] clinical-note co-occurrence statistics, and retrained MEDIATOR with this public teacher replacing the private one. Performance is essentially unchanged: 0.565 / 0.384 versus 0.568 / 0.384. The private resource is therefore not required. MEDIATOR's results are reproducible from public co-occurrence data. Second, removing the PPMI teacher entirely gives 0.562 / 0.370 — a small in-domain drop (−0.006) and a larger transfer drop (−0.014), concentrated on eICU, consistent with co-occurrence structure aiding generalization.

PPMI teacher MIMIC-III (20) eICU (14)
MEDIATOR with Private PPMI 0.568 0.384
MEDIATOR with Public (COHD + Stanford, averaged) 0.565 0.384
None (PPMI removed) 0.562 0.370

We hope these additions resolve the reviewer's concern about isolating the source of improvement.

[1] Ta, C. N., Dumontier, M., Hripcsak, G., Tatonetti, N. P., & Weng, C. (2018). Columbia Open Health Data, clinical concept prevalence and co-occurrence from electronic health records. Scientific Data, 5, 180273.

[2] Finlayson, S. G., LePendu, P., & Shah, N. H. (2014). Building the graph of medicine from millions of clinical narratives. Scientific Data, 1, 140032.

W2. Do the gains persist with stronger EHR architectures?

We evaluated MEDIATOR as the token interface for two stronger backbones: GT-BEHRT (graph-augmented) [3] and TransformEHR (encoder–decoder) [4]. MEDIATOR is the best tokenizer under both architectures, on both in-domain and zero-shot transfer.

Tokenizer MIMIC-III mean AUPRC<br>(20 tasks) eICU mean AUPRC<br>(14 tasks,zero-shot transfer)
GT-BEHRT
Code Emb 0.572 0.313
ClinVec 0.535 0.280
MedTok 0.573 0.313
MedTok (text,1-index) 0.511 0.219
MedTok (text,5-index) 0.534 0.224
MEDIATOR 0.602 0.414
TransformEHR
Code Emb 0.470 0.272
ClinVec 0.481 0.264
MedTok 0.512 0.299
MedTok (text,1-index) 0.434 0.227
MedTok (text,5-index) 0.499 0.218
MEDIATOR 0.553 0.384

For GT-BEHRT setup, MIMIC-III and eICU used here contain a single admission per patient, so the original GT-BEHRT's multi-visit, per-visit message-passing graph does not apply directly. We use a per-patient star-topology variant, which uses one learned readout token attending to and from all codes via dense masked attention, with edge typing collapsed to a code-category embedding. It preserves GT-BEHRT's graph-attention mechanism under a single-visit structure. We will state this adaptation explicitly.

[3] Poulain, R., & Beheshti, R. (2024). Graph Transformers on EHRs: Better Representation Improves Downstream Performance. In The Twelfth International Conference on Learning Representations (ICLR). [4] Yang, Z., Mitra, A., Liu, W., Berlowitz, D., & Yu, H. (2023). TransformEHR: transformer-based encoder-decoder generative model to enhance prediction of disease outcomes using electronic health records. Nature Communications, 14, 7857.

W3. Parameter cost and compute efficiency

We clarify that MEDIATOR is applied once, offline, as a vocabulary-level preprocessing step over unique clinical-concept strings, not as an online, per-event operation. Each unique concept string is passed once through the model to obtain a discrete integer token id; these ids are then cached. At training and inference time the downstream EHR model consumes only these cached integer ids, exactly as a conventional code-embedding model does, and the text encoder is never invoked again. Concretely, tokenizing the entire concept vocabulary takes ≈70s per dataset on a single NVIDIA RTX PRO 6000 GPU: 12,533 MIMIC-III concepts in 71.2s (5.7 ms/concept) and 10,779 eICU concepts in 69.9s (6.5 ms/concept). Regarding the codebook's size: its 51.2M parameters (100,000 \times 512, ≈102MB in fp16) reside entirely in this offline tokenizer and are not added to the downstream model.

W4. Broadened component ablation

We agree that we should report the ablation on the entire task set. To provide a more complete analysis, we now report leave-one-out ablations over all 20 MIMIC-III tasks and all 14 eICU tasks. New result shows that agreement and PPMI are the dominant components for downstream prediction and transfer, while enriched descriptions and relation-graph supervision provide smaller, task-dependent improvements and help preserve the semantic organization of the codebook. We will update this in the paper.

Method MIMIC-III Oper. MIMIC-III Mort. MIMIC-III Surv. MIMIC-III All eICU Oper. eICU Mort. eICU Surv. eICU All
MEDIATOR − Lagree\mathcal{L}_{\text{agree}} 0.582 0.524 0.610 0.554 0.642 0.334 -- 0.378
MEDIATOR − LPPMI\mathcal{L}_{\text{PPMI}} 0.585 0.530 0.628 0.562 0.644 0.324 -- 0.370
MEDIATOR − GrelG_{\text{rel}} 0.590 0.549 0.585 0.564 0.644 0.330 -- 0.375
MEDIATOR − Ldesc\mathcal{L}_{\text{desc}} 0.588 0.537 0.601 0.561 0.640 0.337 -- 0.380
MEDIATOR (full) 0.592 0.533 0.639 0.568 0.645 0.340 -- 0.384

W5. Evaluation of polysemous terms

Within the MIMIC-III and eICU vocabularies used here, terms are near-unambiguously tokenized: of terms with repeated surface forms, 99.5% (cross-dataset) map to a single codebook index, and no term maps to semantically distinct concepts across code systems. So surface-level ambiguity is negligible for these datasets and this tokenization scheme, and cannot meaningfully affect downstream performance.

This is expected given MEDIATOR's design and also marks its scope. MEDIATOR tokenizes concept descriptions, not raw abbreviations, and full descriptions are rarely ambiguous. Short-form polysemy is a real problem in the broader medical setting: "MS" can denote multiple sclerosis, mitral stenosis, or morphine sulfate, but resolving it requires context, which a per-string tokenizer does not see. MEDIATOR therefore works best on full descriptions and is not designed to disambiguate bare acronyms without context; we will add this as an explicit limitation.

Q1. Encoder versus learned mapping: alternative frozen encoders

To separate the encoder's contribution from the learned VQ mapping, we retrained MEDIATOR with two alternative encoders: BioLORD-2023[5] (a domain-specific biomedical encoder) and Qwen3-Embedding-0.6B (same family, ~13× smaller):

Frozen encoder MIMIC-III (20) eICU (14)
BioLORD-2023 0.551 0.312
Qwen3-Embedding-0.6B 0.550 0.372
Qwen3-Embedding-8B (MEDIATOR) 0.568 0.384

This ablation shows that encoder quality does matter for the ceiling that the 8B encoder is best, but the gap is informative. Notably Qwen3-0.6B, despite being far smaller, retains most of the transfer performance, which indicates the transfer behavior is driven substantially by MEDIATOR's learned mapping and objectives rather than by encoder scale alone. This complements our same-encoder controls (k-means on the identical frozen Qwen-8B embeddings reaches only 0.378 on eICU). Holding the encoder fixed and removing the learned mapping removes the transfer edge, and shrinking the encoder while keeping the mapping retains most of it. Together these show that the learned VQ mapping, not the encoder alone, is what produces the transfer advantage. We will add this encoder ablation.

[5] Remy, F., Demuynck, K., & Demeester, T. (2023). BioLORD-2023: Semantic Textual Representations Fusing LLM and Clinical Knowledge Graph Insights. arXiv.

Q2. Statistical significance

We appreciate the suggestion to add statistical test results. We conducted a Wilcoxon signed-rank test across tasks on both MIMIC (20 tasks) and eICU (14 tasks). The gains of MEDIATOR compared to prior SOTA model are significant by a one-sided Wilcoxon signed-rank test (p = 9.5×10−79.5×10^{-7} and p = 6.1×10−56.1×10^{-5}). On patient level, we did a 5000 bootstrap comparing MEDIATOR and MedTok. 7 out of 20 MIMIC tasks and 12 out of 14 tasks are significant with a threshold of p=0.05. As for MEDIATOR compared to Code Emb, 17/20 and 14/14 are significant. The pattern is consistent with the paper's thesis that the largest and most uniformly significant gains are on zero-shot transfer, where the tokenizer matters most. We will add these tests to the tables.

Q3. Multilingual scope of the "interlingua"

We thank the reviewer for raising this important limitation. We agree that, despite the “interlingua” framing, the current version of MEDIATOR should not be interpreted as multilingual. This current version is trained primarily from English sources and does not provide reliable support for non-English texts. We will revise the manuscript to make this scope explicit and add multilingual clinical tokenization as an important direction for future work.

Reviewer JfU2OpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
3/4
Significance
3/4
Originality
4/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

MEDIATOR is a text-to-token tokenizer for EHR: any clinical concept expressed as text (ontology description, local code, free text) is embedded with a frozen encoder (Qwen3-Embedding-8B), projected, and quantized to a 100k VQ codebook, so synonymous surface forms across ontologies collapse to the same discrete ID. trained with multi-view synonym contrastive supervision (before and after quantization), assignment-agreement, and three medical-knowledge "teachers" (LLM-enriched descriptions, PPMI co-occurrence from 7.1M patients, a UMLS relation graph). used as the token interface of a BEHRT-style transformer, it reports +4.0% mean AUPRC over MedTok on 20 MIMIC-III tasks and +8.8% zero-shot on 14 eICU tasks, plus cross-hospital IG attribution in a shared token space.

Strengths and weaknesses

the framing is clean and the problem is real: cross-ontology, cross-institution vocabulary mismatch is a genuine barrier, and casting harmonization as open-form discrete tokenization (rather than fixed-vocab embedding or continuous vectors) is a sensible and well-motivated position. the engineering is competent, the VQ recipe uses the right modern tricks (EMA, dead-code revival, rotation-trick gradients, reconstruction to encoder space), and the multi-teacher design is reasonable. the results are broad (20 + 14 tasks, real std across 5 folds, which is more statistical hygiene than the sibling papers here) and the margins on the hard subcohort-mortality and survival tasks are not small (cirrhosis, subarachnoid hemorrhage, glioblastoma). the zero-shot transfer story is the most compelling part conceptually: an open-form tokenizer that can ingest eICU free text where closed-vocab baselines must drop it is exactly the setting where this design should win, and it does, sometimes dramatically (ICU mortality 0.349 vs MedTok 0.244). but several things need scrutiny. (1) the zero-shot comparison is structurally unfair to the baselines and the paper knows it. section C.2/4 says closed-vocab baselines (Code Emb, ClinVec, full MedTok) must "drop free-text entries and any codes that do not map," while MEDIATOR ingests everything. so the +8.8% partly measures "MEDIATOR sees more input," not purely "better representation." the honest ablation, MEDIATOR restricted to the same mappable subset the baselines get, is missing, and until it's run the transfer headline is confounded by input coverage. the eICU ICU-mortality gap especially (MedTok_text collapses to 0.095-0.097) looks less like MEDIATOR excelling and more like the text baselines failing badly, which invites the question of whether the comparison point is well-tuned. (2) the ablation (table 3) undercuts the multi-teacher story. the full objective gets 0.592 MIMIC / 0.645 eICU, but "baseline + L_agree + PPMI" gets 0.586 / 0.651, i.e. better eICU transfer than the full model, and plain baseline already hits 0.641 eICU. the three knowledge teachers move MIMIC by ≤0.7pp and several combinations beat the full objective on eICU. so the load-bearing component is really agreement + PPMI (empirical co-occurrence), and the enriched-descriptions and relation-graph teachers are close to free, the paper's own table says so, but the narrative still sells all three. this should be stated plainly. (3) reproducibility is compromised in a way that matters for the central claim. PPMI, one of the two components that actually works, is built from a private 7.1M-patient health system, and the enriched descriptions come from MedGemma-1.5-4B. neither is releasable, so the exact codebook can't be reproduced, and since PPMI is the strongest teacher this isn't a peripheral asset. the checklist marks open-access [No] (honestly) but frames it as "release on acceptance," which doesn't fix the private-data dependency. (4) the interpretability claim is thin. "six of top fifteen VQ indices appear in both datasets" (fig 4) is presented as transferable interpretability, but six of fifteen overlap with no null model (how many would overlap by chance given a 100k codebook and shared high-acuity concepts?) is not evidence, it's an anecdote. (5) a real internal inconsistency: the checklist item 16 says LLMs are "an essential part of our study design" and answers [Yes], but item 3 (theory) and the framing elsewhere are fine, the concern is that the abstract's "+4.0%/+8.8%" are the load-bearing numbers and the abstract doesn't flag the input-coverage asymmetry that partly produces the 8.8%. 100k codebook with 512-dim is large and the codebook-size ablation (fig A.1) shows MIMIC essentially flat from 40k-120k (0.580-0.592), so the "100k is best" peak is within noise, the size claim is oversold. Qwen3-Embedding-8B frozen means much of the synonym-collapse ability may come from the encoder already, and there's no probe isolating how much the VQ/teachers add over just clustering the frozen embeddings. typos: "knowledeg" (line 218), "Codebook Emb" vs "Code Emb." a well-motivated, competently built system addressing a real problem, with a genuinely compelling zero-shot direction, but the two headline numbers are both softened on inspection, the transfer number by an input-coverage asymmetry the paper acknowledges but doesn't control for, and the in-domain number by an ablation showing the knowledge teachers barely contribute. it's above the sibling papers on rigor and scope. with the fair-subset transfer ablation and honest reframing of the ablation, this is a clear accept; as written it's a borderline accept held back by confounds it already has the data to address.

Questions

the decisive one: report MEDIATOR on eICU restricted to the same mappable subset the closed-vocab baselines are given (drop the free-text and unmapped codes MEDIATOR uniquely ingests). how much of the +8.8% survives when input coverage is matched? this separates "better representation" from "sees more input." table 3 shows baseline+L_agree+PPMI beats the full objective on eICU (0.651 vs 0.645) and plain baseline already gets 0.641. please state plainly that agreement+PPMI is the load-bearing part and quantify what enriched-descriptions and G_rel add beyond noise. add a null model for the IG overlap: given a 100k codebook and shared high-acuity concepts, how many of top-15 tokens would overlap by chance? six-of-fifteen needs a baseline to be interpretable. how much does a frozen Qwen3-Embedding-8B alone (nearest-neighbor / clustering, no VQ, no teachers) already achieve on synonym collapse and downstream AUPRC? a probe isolating the encoder's contribution would clarify what MEDIATOR adds. PPMI (your strongest teacher) uses private 7.1M-patient data. can you provide a version built from a public co-occurrence source so the codebook is reproducible, and report the performance delta?

Limitations

partially. the limitations section is honest about supervision-source noise and the need for broader validation. but it omits the two that most affect the claims: the input-coverage asymmetry driving part of the zero-shot gain, and the private-data dependence of the strongest teacher (PPMI). add both.

Formatting concerns

fix "knowledeg" (line 218) and "Codebook Emb" vs "Code Emb." describe the codebook-size ablation as flat-within-noise rather than a clean 100k peak.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

W1. Fair zero-shot comparison restricted to the mappable subset

We added an experiment where every model uses only overlapping codes on eICU generalization task.

Task Code Emb ClinVec MedTok MedTok-text5 MedTok-text1 MEDIATOR
Operational tasks
LOS < 7 days 0.933(0.003) 0.939(0.002) 0.934(0.001) 0.918(0.011) 0.921(0.002) <u>0.938(0.002)</u>
ICU mortality 0.259(0.018) 0.211(0.010) <u>0.282(0.009)</u> 0.107(0.008) 0.125(0.006) 0.298(0.021)
Mean 0.596 0.575 <u>0.608</u> 0.512 0.523 0.618
Subcohort mortality tasks
Acute kidney injury 0.318(0.032) 0.237(0.019) 0.347(0.013) 0.160(0.029) 0.187(0.007) <u>0.345(0.010)</u>
Acute myocardial infarction 0.241(0.032) 0.191(0.015) 0.227(0.049) 0.211(0.101) 0.105(0.006) <u>0.227(0.011)</u>
Acute pancreatitis 0.110(0.034) 0.121(0.015) <u>0.140(0.064)</u> 0.000(0.000) 0.081(0.025) 0.162(0.042)
Atrial fibrillation 0.200(0.027) 0.169(0.018) <u>0.214(0.019)</u> 0.102(0.021) 0.086(0.009) 0.242(0.015)
ARDS 0.285(0.025) 0.253(0.014) 0.363(0.022) 0.269(0.014) 0.250(0.012) <u>0.340(0.022)</u>
Cirrhosis 0.239(0.020) 0.284(0.073) 0.290(0.082) 0.336(0.061) 0.194(0.018) <u>0.301(0.050)</u>
Heart failure 0.177(0.016) 0.140(0.003) <u>0.196(0.011)</u> 0.136(0.011) 0.110(0.007) 0.201(0.006)
Liver failure 0.323(0.027) <u>0.372(0.022)</u> 0.375(0.027) 0.187(0.053) 0.306(0.045) 0.357(0.048)
Gastrointestinal bleeding 0.153(0.027) 0.164(0.009) <u>0.226(0.013)</u> 0.054(0.004) 0.124(0.007) 0.268(0.021)
Septic shock 0.286(0.018) 0.300(0.014) 0.287(0.017) 0.202(0.039) 0.228(0.016) <u>0.299(0.017)</u>
Stroke 0.136(0.027) <u>0.147(0.033)</u> 0.105(0.011) 0.073(0.006) 0.103(0.008) 0.185(0.021)
Subarachnoid hemorrhage 0.191(0.027) 0.199(0.016) 0.189(0.021) 0.369(0.069) 0.180(0.016) <u>0.268(0.034)</u>
Mean 0.222 0.215 <u>0.247</u> 0.175 0.163 0.266

This result shows that matching coverage removes most, but not all of the headline gap. Against the strongest baseline (MedTok), MEDIATOR's operational-mean margin falls from +5.6pp to +1.0pp, and its subcohort-mortality margin falls from +9.3pp to +1.9pp. MEDIATOR remains the best model on both task-family means, while MedTok leads the mean on neither.

We also want to defend the full-input number as the practically meaningful one. Ingesting the free-text and unmapped events that closed-vocabulary models must discard is not an incidental advantage, but the design goal of an open-form tokenizer, and in real cross-hospital deployment those inputs are present and informative. We will revise the abstract accordingly and add coverage asymmetry to Limitations.

W2. Deeper analysis of the components

We agree that the original presentation overstated the contribution of the three knowledge teachers as a uniformly beneficial combination. We also apologize that the initial ablation only reported a limited set of component combinations and was evaluated on the operational tasks, which made it difficult to assess the contribution of each component across the full benchmark. To provide a more complete analysis, we now report leave-one-out ablations over all 20 MIMIC-III tasks and all 14 eICU tasks.

Method MIMIC Oper MIMIC Mort MIMIC Surv MIMIC All eICU Oper eICU Mort eICU Surv eICU All
MEDIATOR − Lagree\mathcal{L}_{\text{agree}} 0.582 0.524 0.610 0.554 0.642 0.334 -- 0.378
MEDIATOR − LPPMI\mathcal{L}_{\text{PPMI}} 0.585 0.530 0.628 0.562 0.644 0.324 -- 0.370
MEDIATOR − GrelG_{\text{rel}} 0.590 0.549 0.585 0.564 0.644 0.330 -- 0.375
MEDIATOR − Ldesc\mathcal{L}_{\text{desc}} 0.588 0.537 0.601 0.561 0.640 0.337 -- 0.380
MEDIATOR (full) 0.592 0.533 0.639 0.568 0.645 0.340 -- 0.384

Removing the agreement loss produces the largest overall degradation. Removing PPMI causes a substantial reduction, particularly on eICU. These results support the reviewer’s interpretation. We will state plainly that agreement and PPMI are the dominant components for downstream prediction and transfer, while enriched descriptions and relation-graph supervision provide smaller, task-dependent improvements and help preserve the semantic organization of the codebook.

W3. Reproducibility: private PPMI and MedGemma descriptions

We appreciate this concern and build a PPMI teacher entirely from public sources: Columbia Open Health Data (COHD)[1] concept co-occurrence counts, combined with the Stanford Graph of Medicine clinical-note co-occurrence statistics[2]. With this PPMI performance is 0.565 / 0.384 versus 0.568 / 0.384, a 0.003 in-domain decrease and no measurable change on transfer. The private resource is not required to obtain the reported results. We will add this experiment and add the private-PPMI dependence to Limitations.

MedGemma-1.5-4B is an openly available model, and the exact system and user prompts are given in Appendix B.1, so the pipeline is reproducible by any reader today. We will also release the generated descriptions with the code for convenience.

[1] Ta, C. N., Dumontier, M., Hripcsak, G., Tatonetti, N. P., & Weng, C. (2018). Columbia Open Health Data, clinical concept prevalence and co-occurrence from electronic health records. Scientific Data, 5, 180273. [2] Finlayson, S. G., LePendu, P., & Shah, N. H. (2014). Building the graph of medicine from millions of clinical narratives. Scientific Data, 1, 140032.

W4. null model of interpretability

We agree raw overlap count needs a null model. The right null isn't "15 draws from the 100k codebook". Top-attributed codes come only from concepts that recur in each cohort. We restrict the null to codes passing our frequency filter (≥5% of patients). Under the null that attribution rankings are independent across datasets, expected top-15 overlap is 0.46 (95th pct=2); we observe 6 (permutation p=5×10⁻⁶, 200k permutations). Overlap far exceeds chance at k=10 (3 vs. 0.20, p=7×10⁻⁴) and k=20 (7 vs. 0.81, p=1×10⁻⁵). Across all shared codes, per-code attribution scores are rank-correlated between the two independent datasets at Spearman ρ = 0.92 (p = 4×10⁻²⁶), so the entire importance profile transfers from MIMIC-III to eICU. The shared codes are also clinically coherent—septic shock, sepsis, acute kidney/respiratory failure, and vasopressors—tracing the known sepsis→hepatorenal→multi-organ-failure pathway of decompensated cirrhosis, not generic sickness markers.

W5. Abstract framing and the checklist item

On the checklist: item 16 is answered [Yes] correctly as LLMs are genuinely part of the pipeline (MedGemma for enriched descriptions; Qwen for synonym filtering and minimum-view augmentation), and item 3 is correctly [N/A] for a non-theory paper.

On the substantive point, we will revise the abstract to report improvement from W1, and add both the input-coverage asymmetry and the private-PPMI dependence to Limitations section.

W6. Codebook size

Although MIMIC performance seems flat across different codebook sizes, eICU sees a peak at 100k. Transfer learning does not re-learn token frequencies as in training and that is why the eICU metrics matter more in model selection. To understand the codebook size better, we add a biomedical entity linking benchmark and report the F1 of mapping accuracy and purity.

Codebook Size NCBI MedMention COMETA Mean
10k 0.663 0.343 0.669 0.558
20k 0.670 0.409 0.707 0.595
40k 0.681 0.451 0.723 0.619
60k 0.637 0.469 0.732 0.613
80k 0.673 0.484 0.738 0.632
100k 0.664 0.493 0.734 0.630
120k 0.680 0.497 0.739 0.638

Larger codebook size is required to have better concept mapping ability. Thus, as a balanced model choice, 100k is the best one. We will acknowledge this and add this table in the paper.

W7. What the VQ codebook and teachers add over the frozen encoder

We thank the reviewer for this probe. We add two controls: (i) k-means directly on the Qwen3 8B 4096-d embeddings, using cluster IDs as tokens; and (ii) a dimension-matched control that PCA-reduces to 512-d (86% variance retained, matching MEDIATOR's quantization space) before k-means.

Input Dim MIMIC-III(20) eICU(14)
Qwen embeddings+k-means 4096 0.568 0.378
PCA→Qwen+k-means 512 0.558 0.379
MEDIATOR 512 0.568 0.384

In-domain, direct k-means matches MEDIATOR: downstream AUPRC is relatively insensitive to tokenizer quality here because BEHRT can relearn task-specific mappings from frequently observed MIMIC tokens. The separation appears on transfer, where the downstream model cannot relearn those mappings. MEDIATOR exceeds both controls despite the shared encoder and matched dimensionality. The clearest evidence that the objectives add mapping ability beyond the encoder is open-form entity linking:

Model NCBI Acc. NCBI Pur. NCBI F1 MedMention Acc. MedMention Pur. MedMention F1 COMETA Acc. COMETA Pur. COMETA F1
Qwen3-8B+kk-means 0.487 0.928 0.639 0.450 0.543 0.492 0.648 0.807 0.718
MedTok<sub>text</sub>-top5 0.195 0.986 0.326 0.045 0.885 0.085 0.231 0.913 0.368
MedTok<sub>text</sub>-top1 0.269 0.360 0.308 0.131 0.082 0.101 0.384 0.101 0.160
MEDIATOR 0.524 0.907 0.664 0.471 0.516 0.493 0.682 0.794 0.734

MEDIATOR attains the best F1 on all three datasets and exceeds k-means on each, with the largest gains on NCBI and COMETA — the latter being colloquial Reddit text far from any ontology description, i.e. the setting closest to real free-text documentation.

Taken with W1, this gives a clean decomposition of where the gains come from: the frozen encoder and full input coverage drive in-domain performance, while MEDIATOR's objectives contribute the transfer robustness and open-form mapping quality.

W8. typos

We will fix these throughout the revised manuscript.

Reviewer JfU2 · CommentOpenReview ↗

Response

W1. Your position is that matching coverage removes most but not all of the gap, and that the full-input number is the practically meaningful one. The matched-subset experiment is the right one and I'm glad you ran it, but it changes the picture more than the framing suggests. Against MedTok the operational margin drops to +1.0pp and the subcohort margin to +1.9pp, and matched ICU mortality is 0.298(0.021) vs 0.282(0.009), inside one standard deviation. The abstract's 8.8% is therefore mostly a coverage effect. I accept that ingesting free text is the design goal, so state the claim as coverage plus representation and report the matched numbers alongside. One inconsistency to explain: MedTok's ICU mortality is 0.244 in Table 2 and 0.282 in the matched table. If MedTok already dropped unmappable codes under the original protocol, its input should be identical in both. What differs?

W2. The leave-one-out table is responsive and I'll take the plain statement that agreement and PPMI are dominant. Two requests: report standard deviations, since the MIMIC spread is 0.554 to 0.568, and keep the original additive table alongside it. Leave-one-out can't surface the redundancy the additive table showed, where baseline + agree + PPMI beat the full objective on eICU.

W3. Resolved. A public PPMI at 0.565/0.384 versus 0.568/0.384 fully answers the concern. Put this in the main text rather than the appendix, since reproducibility of the strongest teacher was the issue.

W4. The frequency-restricted null is the correct choice and the result is convincing. The Spearman ρ = 0.92 across all shared codes is far stronger evidence than the top-15 count. Lead with it and demote six-of-fifteen to a supporting detail.

W6. Your new table doesn't support "100k is best". 120k has the highest mean F1 (0.638) and wins NCBI, MedMention, and COMETA. What the table shows is that mapping quality rises monotonically across the range tested, and 100k is a cost-performance compromise. Say that instead.

W7. This is the most informative addition and it reframes the paper. In-domain, k-means on the frozen encoder ties MEDIATOR exactly at 0.568, so the 4.0% in-domain headline is attributable to Qwen3-8B rather than to the VQ objectives. On transfer the margin over PCA-matched k-means is 0.384 vs 0.379, and MedMention linking is a tie at 0.493 vs 0.492, with the real gains on NCBI and COMETA. Your closing decomposition is the honest reading, and it belongs in the abstract and contribution list, not just the rebuttal.

Rating: I'm holding at 5. The rebuttal answered every question I raised and the added experiments make this a more accurate paper than the submitted version. The same experiments also show neither headline number survives intact: matched-coverage transfer is +1.0/+1.9pp over MedTok, and in-domain performance is matched by k-means on the frozen encoder. What I'm voting to accept is an open-form tokenizer with better entity linking and better behavior under ontology shift and free-text documentation. The 4.0%/8.8% framing no longer describes the contribution. I'd raise my score if the camera-ready leads with the matched-coverage numbers and the frozen-encoder controls, and lower it if the abstract keeps its current framing.

Authors · CommentOpenReview ↗

W1. We will state the claim as coverage plus representation, reporting the matched numbers alongside the full-input ones in the abstract. We would note that coverage is not a confound but the objective that ingesting the ~87% of eICU events that closed-vocabulary tokenizers must drop is what an open-form tokenizer is for. The revised abstract will therefore decompose the transfer gain, with coverage accounting for most of it and representation contributing a further +1.0pp on operational tasks and +1.9pp on subcohort mortality over MedTok under matched input. On the ICU-mortality discrepancy, we apologize that it is because of an incorrect checkpoint used for the eICU ICU-mortality runs, and the results entries for other tasks are unaffected. We will correct in the revised manuscript.

W2. Standard deviations across folds:

Method MIMIC Oper MIMIC Mort MIMIC Surv MIMIC All eICU Oper eICU Mort eICU All
− Lagree\mathcal{L}_{\text{agree}} 0.582±0.010 0.524±0.010 0.610±0.023 0.554±0.003 0.642±0.006 0.334±0.010 0.378±0.008
− LPPMI\mathcal{L}_{\text{PPMI}} 0.585±0.011 0.530±0.013 0.628±0.054 0.562±0.008 0.644±0.005 0.324±0.013 0.370±0.011
− GrelG_{\text{rel}} 0.590±0.007 0.549±0.006 0.585±0.045 0.564±0.010 0.644±0.005 0.330±0.010 0.375±0.009
− Ldesc\mathcal{L}_{\text{desc}} 0.588±0.009 0.537±0.022 0.601±0.051 0.561±0.018 0.640±0.008 0.337±0.007 0.380±0.006
MEDIATOR (full) 0.592±0.007 0.533±0.012 0.639±0.037 0.568±0.011 0.645±0.003 0.340±0.009 0.384±0.007

Against the mean of the four ablations, the full objective gains +0.008 AUPR (95% CI [+0.001, +0.014]; better on 24/34 tasks; two-sided Wilcoxon p = 0.011) and has the best mean rank of the five variants (Friedman p = 0.049). We will also keep the original additive table alongside the leave-one-out results, labeled as operational-task means, so the redundancy it shows remains visible.

W3. We will move the public-PPMI comparison to the main text.

W4. We will lead with the shared-pool rank correlation (ρ = 0.92) and present the top-15 overlap as a supporting detail.

W6. We thank the reviewer for pointing out that. We will drop our original claim in the revised manuscript. What the results show is that codebook size affects entity linking and downstream prediction differently. On entity linking, quality improves with size across the range tested, monotonically on MedMention and COMETA. On downstream AUPRC, there is no improvement beyond 100k on either dataset: one is flat and the other declines by 0.006 from 100k to 120k. We selected 100k as a cost-performance operating point that sits at or near the downstream optimum while keeping the vocabulary compact, and will describe it that way.

W7. We agree with the reviewer for this framing, which is a more accurate reading. The decomposition will appear in the abstract and the contribution list: the frozen encoder and full input coverage account for in-domain performance, while the learned mapping contributes the transfer behavior and the entity-linking gains.

Reviewer zPbaOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposed MEDIATOR, an open-form discrete tokenizer for heterogeneous EHR data. It can map clinical codes, descriptions, synonyms, and free-test concepts into a shared VQ codebook. Training combines synonym supervision with LLM-enriched descriptions, clinical co-occurrence, and medical relations. The proposed method improves mean AUPRC on MIMIC-III and zero-shot transfer to eICU, while supporting transferable attribution across hospitals.

Strengths and weaknesses

The paper has addressed an important problem that EHR models transfer poorly across hospitals due to incompatible vocabularies. The proposed MEDIATOR can process unseen clinical strings and work with standard Transformers. The method is coherent, and the evaluation covers many tasks. The zero-shot results also look promising.

However, the main concern is that the zero-shot evaluation does not fully isolate the source of the improvement. Closed-vocabulary baselines discard free-text codes that cannot be mapped to the source vocabulary, but MEDIATOR can keep these inputs. The MedTok variants reduce this concern because they process the same broad input types, but they don't use the same encoder. The paper lacks baselines using the same Qwen encoder, such as continuous Qwen embeddings or Qwen plus k-means. Thus, it is not clear whether the gains come from MEDIATOR learning objectives or the stronger encoder.

Questions
  1. How much input does each baseline retain on eICU?
  2. How does the MEDIATOR compare with simpler baselines using the same Qwen encoder? E.g. continuous Qwen embeddings or Qwen plus k-means
  3. Can the authors directly evaluate open-form tokenization? For example, held-out synonyms, or an ontology excluded entirely from tokenizer training.
  4. How dependent are the results on the private PPMI resource? Can we see results without PPMI? It would be very helpful if a publicly reproducible co-occurrence stats can provide similar gains
Limitations

N/A

Final justification

After considering the other reviewers’ feedback and the author response, I am raising my score from 4 to 5. The matched-input evaluation, same-encoder k-means controls, direct tokenization benchmarks, and public-PPMI results substantially address my main concerns. While some gains are more modest under controlled comparisons, I now view the remaining issues as matters of framing rather than acceptance-blocking weaknesses.

Formatting concerns

N/A

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Q1. How much input does each baseline retain on eICU?

We thank the reviewer for pointing at this valuable statistics. Among 3,578,036 eICU events, closed-vocabulary baselines retain 466,408 events with 787 unique items. MEDIATOR retains all 3,578,036 events and maps them to 4,102 distinct codes. These results show that MEDIATOR provides both high cross-institutional coverage and a substantially richer usable vocabulary.

Q2 / W1. Comparison to simpler baselines using the same Qwen encoder

To isolate MEDIATOR's objectives from the pretrained encoder, we added two controls that reuse the identical frozen Qwen3-8B embeddings and the identical BEHRT downstream model, differing only in how discrete tokens are formed: (i) k-means directly on the 4096-d Qwen embeddings, using cluster IDs as tokens; and (ii) a dimension-matched control that reduces embeddings to 512-d with PCA (86% variance retained) before k-means, matching MEDIATOR's 512-d quantization space. Both controls tokenize the same event set as MEDIATOR (100% eICU coverage, per Q1), holding encoder and coverage fixed.

Input representation (same frozen Qwen3-8B) Dim. MIMIC-III (20) eICU (14)
Qwen embeddings + k-means 4096 0.568 0.378
PCA → Qwen + k-means 512 0.558 0.379
MEDIATOR 512 0.568 0.384

In-domain (MIMIC-III), direct k-means matches MEDIATOR and the PCA control is close: downstream AUPRC is relatively insensitive to tokenizer quality here because the shared BEHRT model can relearn task-specific mappings from frequently observed MIMIC tokens. The picture separates under zero-shot transfer (eICU), where the downstream model cannot relearn those mappings. MEDIATOR (0.384) exceeds both controls (0.378, 0.379). Our gains decompose cleanly that a strong encoder and full coverage drive in-domain performance, while the tokenizer objectives contribute the transfer robustness and open-form mapping quality that are the paper's central claims. The most direct evidence for the latter is Q3, where MEDIATOR exceeds Qwen + k-means at mapping unseen surface forms to a shared codebook.

Q3. Direct open-form tokenization evaluation

We thank the reviewer for this suggestion. We have added a direct evaluation of MEDIATOR’s open-form tokenization ability using three external biomedical entity-linking datasets: NCBI Disease [1], MedMention [2] and COMETA [3]. NCBI consists of 6,892 annotated disease mentions extracted from 792 PubMed abstracts, each mapped to concepts in the MEDIC ontology. MedMention is a large biomedical corpora with all mentions linked to UMLS. We mapped the CUI code to the latest UMLS 2025AB description. After we drop mentions that are mapped to multiple CUI codes, there are in total 80,637 unique mentions from 4,391 PubMed abstracts. COMETA contains 20,015 medical mentions extracted from health-related discussions on Reddit.com. All mentions in COMETA are mapped to SNOMED-CT. The evaluation strings are not used in MEDIATOR training.

For each method, we directly tokenize each mention and evaluate whether their ground-truth description maps to the same discrete token while distinct concepts remain separated. We report two complementary quantities. Synonym consistency measures whether mentions of the same concept are assigned the same code - the recall of equivalence. Code purity measures whether mentions sharing a code truly denote the same concept — the precision of equivalence. The two trade off directly: a degenerate tokenizer that gives almost every mention its own code attains near-perfect purity but near-zero consistency, since it never collapses synonyms; conversely, mapping everything to one code maximizes consistency at zero purity. We therefore report their harmonic mean (F1), which is high only when a tokenizer both collapses equivalent surface forms and keeps distinct concepts apart.

As shown in the table, MEDIATOR achieves the highest F1 on all scenarios. Importantly, the gains extend to COMETA, whose colloquial, user-generated expressions differ considerably from standardized ontology descriptions. These results directly show that MEDIATOR can assign previously unseen textual expressions to a fixed discrete codebook while balancing synonym invariance and concept-level purity. We will add this table in the paper.

Model NCBI Acc. NCBI Pur. NCBI F1 MedMention Acc. MedMention Pur. MedMention F1 COMETA Acc. COMETA Pur. COMETA F1
Qwen3-8B + kk-means 0.487 0.928 0.639 0.450 0.543 0.492 0.648 0.807 0.718
MedTok<sub>text</sub>-top5 0.195 0.986 0.326 0.045 0.885 0.085 0.231 0.913 0.368
MedTok<sub>text</sub>-top1 0.269 0.360 0.308 0.131 0.082 0.101 0.384 0.101 0.160
MEDIATOR 0.524 0.907 0.664 0.471 0.516 0.493 0.682 0.794 0.734

[1] Doğan, R. I., Leaman, R., & Lu, Z. (2014). NCBI disease corpus: A resource for disease name recognition and concept normalization. Journal of Biomedical Informatics, 47, 1–10.

[2] Mohan, S., & Li, D. (2019). MedMentions: A Large Biomedical Corpus Annotated with UMLS Concepts. ArXiv, abs/1902.09476.

[3] Basaldella, M., Liu, F., Shareghi, E., & Collier, N. (2020). COMETA: A Corpus for Medical Entity Linking in the Social Media. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP) (pp. 3122–3137). Association for Computational Linguistics.

Q4. Dependence on the private PPMI resource

We ran two ablations. First, we recomputed the PPMI teacher entirely from public statistics: Columbia Open Health Data (COHD) [4] concept co-occurrence counts combined with the Stanford Graph of Medicine (GoM) [5] co-occurrence statistics. We retrained MEDIATOR with this public teacher in place of the private one. Performance is essentially unchanged: 0.565 / 0.384 versus 0.568 / 0.384 on MIMIC and eICU. The private resource is therefore not required that MEDIATOR's results are reproducible from public co-occurrence data. Second, removing the PPMI teacher entirely gives 0.562 / 0.370: a small drop on MIMIC-III (−0.006) and a larger one on eICU (−0.014), concentrated in cross-dataset transfer, consistent with co-occurrence structure aiding generalization.

PPMI teacher MIMIC-III (20) eICU (14)
MEDIATOR with Private PPMI 0.568 0.384
MEDIATOR with Public (COHD + Stanford, averaged) 0.565 0.384
None (PPMI removed) 0.562 0.370

We hope these additions resolve the reviewer's concern about isolating the source of improvement.

[4] Ta, C. N., Dumontier, M., Hripcsak, G., Tatonetti, N. P., & Weng, C. (2018). Columbia Open Health Data, clinical concept prevalence and co-occurrence from electronic health records. Scientific Data, 5, 180273.

[5] Finlayson, S. G., LePendu, P., & Shah, N. H. (2014). Building the graph of medicine from millions of clinical narratives. Scientific Data, 1, 140032.

Reviewer zPba · CommentOpenReview ↗

I would like to thank authors for providing substantial additional analysis within the short rebuttal period. After considering the other reviewers’ feedback and the author response, I am raising my score from 4 to 5. The matched-input evaluation, same-encoder k-means controls, direct tokenization benchmarks, and public-PPMI results substantially address my main concerns. While some gains are more modest under controlled comparisons, I now view the remaining issues as matters of framing rather than acceptance-blocking weaknesses.

Authors · CommentOpenReview ↗

We thank the reviewer for the constructive review and for raising the score.

Comments on the paper

1 comment
Authors · CommentOpenReview ↗

We thank the reviewers and the Area Chair for their careful engagement throughout the discussion period. As it closes, we summarize the current status.

Reviewer zPba raised their score from 4 to 5 after our additional experiments, noting that the remaining issues are matters of framing rather than acceptance-blocking weaknesses. The reviewers' principal concerns, and how we addressed them:

1. Input-coverage asymmetry and fair baseline comparison. We added a matched-input evaluation restricting every model, including MEDIATOR, to the overlapping eICU codes available to the closed-vocabulary baselines. Under this control MEDIATOR remains the best model on both the operational and subcohort-mortality task-family means (+1.0pp and +1.9pp over MedTok). We additionally added same-encoder controls on the identical frozen Qwen3-8B embeddings, with the downstream model and input coverage held fixed. Together these show that the encoder and full coverage account for in-domain performance, while MEDIATOR's learned objectives contribute the zero-shot transfer robustness and open-form mapping quality. The revised abstract will report the matched-coverage numbers alongside the full-input ones and state this decomposition explicitly.

2. Isolating component contributions. We expanded the component analysis to leave-one-out ablations over all 20 MIMIC-III and all 14 eICU tasks, with fold standard deviations. These identify the assignment-agreement loss and PPMI supervision as the dominant contributors, while enriched descriptions and relation-graph supervision give smaller, task-dependent benefits. We also evaluated MEDIATOR under two additional downstream architectures (GT-BEHRT, TransformEHR), two alternative frozen encoders, and three biomedical entity-linking benchmarks (NCBI Disease, MedMentions, COMETA). MEDIATOR achieves the best entity-linking F1 on all three datasets and remains the best tokenizer under both architectures.

3. Reproducibility. We rebuilt the PPMI teacher entirely from public COHD and Stanford Graph of Medicine co-occurrence statistics. Performance is essentially unchanged (0.565/0.384 versus 0.568/0.384), so the private resource is not required to reproduce the main findings. We will release the generated concept descriptions, prompts, preprocessing details, and code, and will move this comparison into the main text. We also clarified that MEDIATOR is an offline, vocabulary-level preprocessing step, requiring roughly 70 seconds to tokenize a complete dataset vocabulary on a single GPU.

Finally, the problem MEDIATOR targets: multiple identifiers, taxonomies, and surface forms denoting the same underlying entity, is not confined to healthcare, though healthcare offers a particularly demanding test case. We scope our empirical claims to the clinical setting, but believe the interoperability problem and the open-form tokenization approach are of broad interest to the NeurIPS community.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…