Skip to main content
QUICK REVIEW

[Paper Review] NLNDE: The Neither-Language-Nor-Domain-Experts' Way of Spanish Medical Document De-Identification

Lukas Lange, Heike Adel|arXiv (Cornell University)|Jul 2, 2020
Topic ModelingComputer Science6 references11 citations
TL;DR

This paper presents NLNDE, a sequence-labeling approach using bidirectional LSTMs with CRF output layers to de-identify protected health information (PHI) in Spanish medical documents without requiring language or medical domain expertise. The system achieves high F1 scores (~97%) by leveraging pre-trained embeddings such as FLAIR and domain-specific fastText, demonstrating strong performance even in low-resource, non-English, and non-standard medical text settings.

ABSTRACT

Natural language processing has huge potential in the medical domain which recently led to a lot of research in this field. However, a prerequisite of secure processing of medical documents, e.g., patient notes and clinical trials, is the proper de-identification of privacy-sensitive information. In this paper, we describe our NLNDE system, with which we participated in the MEDDOCAN competition, the medical document anonymization task of IberLEF 2019. We address the task of detecting and classifying protected health information from Spanish data as a sequence-labeling problem and investigate different embedding methods for our neural network. Despite dealing in a non-standard language and domain setting, the NLNDE system achieves promising results in the competition.

Motivation & Objective

  • To address the challenge of de-identifying protected health information (PHI) in Spanish medical documents, a low-resource and non-standard language setting.
  • To evaluate the effectiveness of neural sequence labeling models in a medical de-identification task without relying on language or medical domain experts.
  • To investigate the impact of different embedding strategies—character-level, fastText, and FLAIR—on PHI detection performance in Spanish clinical texts.
  • To assess whether synthetic data augmentation from the MEDDOCAN competition influences model generalization or performance.

Proposed method

  • The system frames de-identification as a sequence-labeling task using a bi-LSTM with a conditional random field (CRF) output layer for structured prediction.
  • Input tokens are represented using multiple embedding types: character-level embeddings (learned during training), domain-independent fastText (300D), domain-specific fastText (100D on SciELO and Wikipedia), and pre-trained FLAIR embeddings (4096D).
  • FLAIR embeddings are computed using a character-level language model over the full sentence context, enabling contextual word representations.
  • The model employs early stopping and dropout (0.5) for regularization, with a learning rate of 0.1 and batch size of 32 during training.
  • A post-processing step applies regular expressions to detect and correct specific PHI types (e.g., URLs, IP addresses) that were underrepresented in training.
  • The system is evaluated on the MEDDOCAN 2019 shared task, using standard F1 scores and confusion matrix analysis.

Experimental results

Research questions

  • RQ1Can a neural sequence labeling model achieve high performance in Spanish medical de-identification without requiring language or medical domain expertise?
  • RQ2How do different pre-trained embedding methods (character-level, fastText, FLAIR) compare in performance for PHI detection in low-resource, non-English medical text?
  • RQ3To what extent does synthetic data augmentation from the MEDDOCAN dataset affect model generalization and performance?
  • RQ4Are domain-specific embeddings necessary for high performance in this non-standard medical NLP setting?

Key findings

  • The NLNDE system achieved an F1 score of approximately 97% across all runs, demonstrating strong performance in de-identifying Spanish medical documents.
  • The best-performing system (run 3) used a combination of FLAIR and domain-specific fastText embeddings, indicating that contextual and domain-aware representations improve results.
  • Confusion between PHI classes was minimal, with the highest confusion occurring between semantically related classes such as HOSPITAL (HOS) and INSTITUTION (INST), or STREET (CALLE) and TERRITORY (TER).
  • The model maintained high performance (F1 ~0.90) even when tested on real text only, excluding synthetic header/footer augmentations, indicating robustness beyond data augmentation.
  • Performance differences between runs were small, suggesting that the model’s success was not driven by synthetic data but by effective representation learning.
  • The use of regular expressions in post-processing effectively corrected specific PHI types like URLs and IP addresses, improving precision for these classes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.