- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 4
- Quality
- 4
- Significance
- 3
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
-
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.
-
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.
-
A concrete worked example tracing two semantically equivalent concepts and one distinct concept through the full pipeline would improve clarity.
-
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?
Paper formatting concerns
Minor: not all acronyms are defined on first use (PMI, PPMI, ICD).
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.
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:
[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η → projection pθ → nearest codebook code k⋆. Two are equivalent surface forms of one concept and one is distinct.
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), 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.