Skip to main content
QUICK REVIEW

[Paper Review] Sensitive Data Detection and Classification in Spanish Clinical Text: Experiments with BERT

Aitor García Pablos, Naiara Pérez|arXiv (Cornell University)|Mar 6, 2020
Topic ModelingComputer Science26 references14 citations
TL;DR

This paper evaluates a multilingual BERT-based sequence labeling model for detecting and classifying sensitive information in Spanish clinical text without domain-specific feature engineering. The model achieves state-of-the-art performance on two Spanish clinical datasets, outperforming traditional machine learning methods and showing high robustness to training data scarcity, with only a 0.3 F1-score drop behind the winning system in the MEDDOCAN shared task.

ABSTRACT

Massive digital data processing provides a wide range of opportunities and benefits, but at the cost of endangering personal data privacy. Anonymisation consists in removing or replacing sensitive information from data, enabling its exploitation for different purposes while preserving the privacy of individuals. Over the years, a lot of automatic anonymisation systems have been proposed; however, depending on the type of data, the target language or the availability of training documents, the task remains challenging still. The emergence of novel deep-learning models during the last two years has brought large improvements to the state of the art in the field of Natural Language Processing. These advancements have been most noticeably led by BERT, a model proposed by Google in 2018, and the shared language models pre-trained on millions of documents. In this paper, we use a BERT-based sequence labelling model to conduct a series of anonymisation experiments on several clinical datasets in Spanish. We also compare BERT to other algorithms. The experiments show that a simple BERT-based model with general-domain pre-training obtains highly competitive results without any domain specific feature engineering.

Motivation & Objective

  • To evaluate the performance of a pre-trained multilingual BERT model for sensitive data detection and classification in Spanish clinical text.
  • To compare BERT-based sequence labeling against traditional machine learning and spaCy-based systems in the absence of domain-specific feature engineering.
  • To assess the model's robustness when training data is limited, particularly in low-resource scenarios.
  • To determine whether general-domain pre-training suffices for high performance in clinical text anonymization without language- or domain-specific adaptation.

Proposed method

  • Fine-tuned a multilingual BERT base model on labeled Spanish clinical text for sequence labeling using BIO tagging.
  • Used transfer learning from a pre-trained multilingual BERT model without additional language-specific pre-training.
  • Compared the BERT model against CRF, spaCy, and rule-based systems using standard NLP evaluation metrics (precision, recall, F1).
  • Conducted ablation studies by progressively reducing training data to evaluate robustness.
  • Applied the same model architecture and training procedure across both the NUBES-PHI and MEDDOCAN datasets for fair comparison.
  • Evaluated the impact of adding a CRF layer on top of BERT, though no significant improvement was observed over standard BERT fine-tuning.

Experimental results

Research questions

  • RQ1Can a general-domain pre-trained BERT model achieve competitive performance in Spanish clinical text anonymization without domain-specific feature engineering?
  • RQ2How does BERT-based sequence labeling compare to traditional CRF and spaCy-based systems in terms of precision, recall, and F1-score on Spanish clinical text?
  • RQ3To what extent is the BERT model robust to reduced training data in the context of sensitive information detection?
  • RQ4Why does the BERT model achieve higher recall than other systems, and what are the implications for privacy-preserving data anonymization?

Key findings

  • The BERT-based model achieved the highest F1-score on the NUBES-PHI dataset, outperforming both CRF and spaCy baselines.
  • On the NUBES-PHI dataset, the BERT model achieved an F1-score of 0.89, with a recall of 0.91, significantly higher than the next-best system.
  • When training data was reduced to 230 instances, the BERT model lost only 7 F1-score points, demonstrating strong robustness to data scarcity.
  • On the MEDDOCAN dataset, the BERT model achieved an F1-score of 0.88, just 0.3 points behind the shared task-winning system, and would have ranked second in the competition.
  • Despite using a multilingual BERT model, the BERT system outperformed a BERT+CRF model reported by Mao and Liu (2019), suggesting differences in implementation or hyperparameter tuning may explain the performance gap.
  • The high recall of the BERT model indicates strong suitability for privacy-preserving applications where missing sensitive data is more harmful than over-obfuscating non-sensitive text.

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.