mlsanityData to 7 Oct 2026

Multimodal Medical Code Tokenizer

arXiv 2502.04397 ↗First posted 6 Feb 2025cs.CL cs.AI cs.LGcited by 14

Not on the map. Why?

Abstract (arXiv)

Foundation models trained on patient electronic health records (EHRs) require tokenizing medical data into sequences of discrete vocabulary items. Existing tokenizers treat medical codes from EHRs as isolated textual tokens. However, each medical code is defined by its textual description, its position in ontological hierarchies, and its relationships to other codes, such as disease co-occurrences and drug-treatment associations. Medical vocabularies contain more than 600,000 codes with critical information for clinical reasoning. We introduce MedTok, a multimodal medical code tokenizer that uses the text descriptions and relational context of codes. MedTok processes text using a language model encoder and encodes the relational structure with a graph encoder. It then quantizes both modalities into a unified token space, preserving modality-specific and cross-modality information. We integrate MedTok into five EHR models and evaluate it on operational and clinical tasks across in-patient and out-patient datasets, including outcome prediction, diagnosis classification, drug recommendation, and risk stratification. Swapping standard EHR tokenizers with MedTok improves AUPRC across all EHR models, by 4.10% on MIMIC-III, 4.78% on MIMIC-IV, and 11.32% on EHRShot, with the largest gains in drug recommendation. Beyond EHR modeling, we demonstrate using MedTok tokenizer with medical QA systems. Our results demonstrate the potential of MedTok as a unified tokenizer for medical codes, improving tokenization for medical foundation models.

Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 37 of its 68 references that are in the map. First posted on arXiv 6 Feb 2025.

Builds on

37 of 68 references.

References · 37

  1. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  2. 2017Neural Discrete Representation Learningcited by 4,650
  3. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  4. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
  5. 2022Large Language Models Encode Clinical Knowledgecited by 1,807
  6. 2024Qwen2.5-Coder Technical Reportcited by 1,151
  7. 2021iBOT: Image BERT Pre-Training with Online Tokenizercited by 891
  8. 2025Cosmos World Foundation Model Platform for Physical AIcited by 833
  9. 2021SoundStream: An End-to-End Neural Audio Codeccited by 756
  10. 2021Vector-quantized Image Modeling with Improved VQGANcited by 656
  11. 2023Language Model Beats Diffusion -- Tokenizer is Key to Visual Generationcited by 633
  12. 2022MedMCQA : A Large-scale Multi-Subject Multi-Choice Dataset for Medical domain Question Answeringcited by 525
25 more
  1. 2019vq-wav2vec: Self-Supervised Learning of Discrete Speech Representationscited by 335
  2. 2017Multitask learning and benchmarking with clinical time series datacited by 287
  3. 2023Towards Generalist Biomedical AIcited by 286
  4. 2019BEHRT: Transformer for Electronic Health Recordscited by 258
  5. 2024TokenFlow: Unified Image Tokenizer for Multimodal Understanding and Generationcited by 200
  6. 2023Recommender Systems with Generative Retrievalcited by 191
  7. 2024Let Your Graph Do the Talking: Encoding Structured Data for LLMscited by 112
  8. 2024Learnable Item Tokenization for Generative Recommendationcited by 106
  9. 2023EHRSHOT: An EHR Benchmark for Few-Shot Evaluation of Foundation Modelscited by 101
  10. 2024Towards Building Multilingual Language Model for Medicinecited by 91
  11. 2020Fast WordPiece Tokenizationcited by 85
  12. 2024Zero Shot Health Trajectory Prediction Using Transformercited by 74
  13. 2023Learning to Tokenize for Generative Retrievalcited by 66
  14. 2023GraphCare: Enhancing Healthcare Predictions with Personalized Knowledge Graphscited by 57
  15. 2023Regularized Vector Quantization for Tokenized Image Synthesiscited by 46
  16. 2024Don't Look Twice: Faster Video Transformers with Run-Length Tokenizationcited by 42
  17. 2024Language-Guided Image Tokenization for Generationcited by 36
  18. 2023VQGraph: Rethinking Graph Representation Space for Bridging GNNs and MLPscited by 34
  19. 2024Tokenization Matters! Degrading Large Language Models through Challenging Their Tokenizationcited by 32
  20. 2022Rethinking the Objectives of Vector-Quantized Tokenizers for Image Synthesiscited by 31
  21. 2024AfriMed-QA: A Pan-African, Multi-Specialty, Medical Question-Answering Benchmark Datasetcited by 26
  22. 2024An Information Criterion for Controlled Disentanglement of Multimodal Datacited by 14
  23. 2024Model Decides How to Tokenize: Adaptive DNA Sequence Tokenization with MxDNAcited by 11
  24. 2023Predict and Interpret Health Risk using EHR through Typical Patientscited by 5
  25. 2024Multi-task Heterogeneous Graph Learning on Electronic Health Recordscited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 9; 2026: 5.

14 papers.

Sort:

By area:

  1. 2025TxAgent: An AI Agent for Therapeutic Reasoning Across a Universe of Toolscited by 57
  2. 2025Token Reduction Should Go Beyond Efficiency in Generative Models -- From Vision, Language to Multimodalitycited by 49
  3. 2025Discrete Tokenization for Multimodal LLMs: A Comprehensive Surveycited by 7
  4. 2025FoMoH: A clinically meaningful foundation model evaluation for structured electronic health recordscited by 6
  5. 2026One Loss to Rule Them All: Marked Time-to-Event for Structured EHR Foundation Modelscited by 5
  6. 2025Generating Clinically Realistic EHR Data via a Hierarchy- and Semantics-Guided Transformercited by 4
  7. 2025MedRep: Medical Concept Representation for General Electronic Health Record Foundation Modelscited by 3
  8. 2025Time-Aware Attention for Enhanced Electronic Health Records Modelingcited by 3
  9. 2025Rethinking Tokenization for Clinical Time Series: When Less is Morecited by 3
  10. 2026From Statistical Fidelity to Clinical Consistency: Scalable Generation and Auditing of Synthetic Patient Trajectoriescited by 1
  11. 2025Aligning Probabilistic Beliefs under Informative Missingness: LLM Steerability in Clinical Reasoningcited by 0
  12. 2026MATA-Former & SIICU: Semantic Aware Temporal Alignment for High-Fidelity ICU Risk Predictioncited by 0
2 more
  1. 2026Foresight-England: Development of a National-Scale Generative AI Model of Electronic Health Records for Medical Event Prediction across the COVID-19 Pandemiccited by 0
  2. 2026What Makes a Good Medical Image Tokenizer? Rethinking Reconstruction and Generation in Medical Image Tokenizationcited by 0