Meddies-PII: A Multilingual Framework for Personally Identifiable Information Extraction in Clinical De-identification

Le Linh Uyen, Christian Hoang, Ho Dinh Tri, Huy Hoang HaarXiv 2026

TL;DR

Sharing medical data is a catch-22: it’s essential for research, but privacy laws (rightfully) lock it behind a vault to protect patient identities. This paper introduces Meddies-PII, a massive, transparently-built dataset covering 17 languages that teaches AI how to scrub sensitive information from clinical notes—and a compact model that does it better than systems many times its size.

What Problem Does This Paper Address?

In the world of healthcare AI, "De-identification" is the unsung hero. Before a researcher can look at a million hospital records to find a cure for a disease, every name, address, and social security number must be purged. This is called extracting Personally Identifiable Information (PII).

The challenge? Real clinical data is governed by strict privacy rules, making it hard to get enough data to train a good "scrubber." While synthetic (AI-generated) datasets exist, they are often "black boxes"—we don't know exactly how they were made or if they are truly diverse. Furthermore, most systems are built for English, leaving speakers of languages like Vietnamese, Lao, or Burmese in the lurch. The authors set out to build a high-quality, multilingual, and fully documented pipeline to fill this gap.

Methods

The authors didn't just ask an LLM to "write a medical note." They used a sophisticated attribute-conditioned prompting strategy.

  1. The Recipe: For every document, they sampled from 12 medical document types (like discharge summaries), 11 text formats (like HL7 messages or messy nurse notes), and 12 scenarios.
  2. The LLM Pool: To avoid the stylistic "fingerprints" of a single AI, they used a pool of nine different LLMs (including Gemini, Llama, and Qwen) to generate the text.
  3. The Quality Gate: This is the most crucial part. Every generated note went through a 15-step verification process. If the AI forgot a tag, messed up the syntax, or produced a duplicate, the system either repaired it or tossed it out.
Figure 2: Synthetic data generation and verification pipeline of the refined collection.

Finally, they trained a compact 350M-parameter model (a BIOES token classifier). In an era of trillion-parameter giants, this is a "small but mighty" approach designed for efficiency and speed.

Datasets

The core of the work is a new resource of 799,306 generated clinical-style rows.

  • Languages: 17 languages, with a heavy emphasis on Southeast Asian languages (Vietnamese, Thai, Malay, etc.) which are often underrepresented in AI.
  • Labels: 9 categories of PII, ranging from names and dates to "secrets" like passwords and API keys found in system logs.
  • Benchmarks: They evaluated their model on 15 public benchmarks (including OpenPII and Gretel) and two human-annotated clinical datasets in German (GraSCCo) and Spanish (MEDDOCAN).
Figure 1: Language distribution of the one-million-row training mix (our 799,306 generated rows and 200,694 public rows). The other fifteen languages each contain 41,934 rows (4.19%).

Key Insights and Ideas

  • Diversity is a Feature, Not a Bug: By forcing the AI to generate "adversarial" text—like phonetic spellings, OCR errors (swapping 'l' for '1'), or spoken-out-loud email addresses—the resulting model becomes much more robust to the "noise" of real-world clinical data.
  • Transparency over Scale: The authors argue that how you build synthetic data matters as much as how much you build. By releasing their prompts and verification logic, they allow others to inspect and reproduce their work.
  • Small Models, Big Results: You don't need a massive model to do PII extraction well. A specialized, smaller model trained on high-quality, diverse data can outperform general-purpose giants.

Key Results

The results are, frankly, a blowout. The Meddies-PII model achieved the highest score on all fifteen public benchmarks.

  • Performance: It reached a mean exact-match F1 score (a measure of accuracy) of 0.827, compared to 0.672 for the strongest public baseline.
  • Multilingual Mastery: The gains were particularly massive in languages like Vietnamese (0.880 vs 0.634) and Japanese (0.751 vs 0.549).
  • Real-World Transfer: Even when tested on human-annotated German and Spanish clinical notes—data it was never specifically trained on—the model remained highly competitive, proving that the synthetic training actually translates to real-world utility.
Table 3: Exact-match entity-level micro-F1 (point estimates). Rows marked † have training rows of the same source and language in the training mix (Section 3.1); the others have none in that language. All scores are recomputed from per-document predictions; 95% intervals are in Appendix K.

Limitations and Future Work

The authors are refreshingly honest about the hurdles:

  • The "555" Problem: Like many synthetic datasets, the AI sometimes relies on placeholders (e.g., 58% of English phone numbers used the "555" exchange).
  • No Real Patients: The study relies entirely on synthetic and surrogate text. Validating this on actual, sensitive clinical records (under proper legal agreements) is the next logical step.
  • Ontology Gaps: The current system doesn't handle "quasi-identifiers"—things like a very rare diagnosis that could indirectly identify a patient—or specific age-related privacy rules (like HIPAA's "age over 89" rule).

In short, while this isn't a "set it and forget it" solution for medical privacy, it represents a massive leap forward in making clinical de-identification more accessible, multilingual, and transparent.

Summary updated

Abstract

Multilingual PII extraction in clinical text is limited by scarce governed data and by synthetic corpora whose construction is thinly documented. We present a large multilingual dataset covering seventeen languages, including seven Southeast Asian languages, and nine PII labels. We also document a detailed generation pipeline and release the complete prompts, catalogues, checks and label maps. A compact 350M-parameter BIOES token classifier trained on the resource achieves the highest score on all fifteen public benchmarks, significantly ahead of the strongest of four public systems on fourteen of them, with a mean exact-match F1 of 0.827 against 0.672 for the strongest system. We also tested it, without adaptation, on multilingual benchmarks, including two human-annotated German and Spanish clinical-style corpora, where it is competitive with the best public systems once annotation conventions are aligned, and is best in four of ten MultiGraSCCo languages; the results show that performance transfers across public benchmarks. We also analyse the data and find almost no near-duplicates and no text overlap between training and any evaluation set. The dataset, benchmark, model, generation framework and evaluation code are planned for public release upon acceptance.
BibTeX
@misc{uyen2026meddies,
  author = {Le Linh Uyen and Christian Hoang and Ho Dinh Tri and Huy Hoang Ha},
  title = {{Meddies-PII: A Multilingual Framework for Personally Identifiable Information Extraction in Clinical De-identification}},
  year = {2026},
  eprint = {2611.29491},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29491},
}
Figure