[Paper Review] Negation detection in Dutch clinical texts: an evaluation of rule-based and machine learning methods
This study evaluates rule-based and machine learning approaches for negation detection in Dutch clinical notes using the Erasmus Medical Center Dutch Clinical Corpus. The biLSTM and RoBERTa-based models significantly outperform the rule-based method (ContextD), with F1 scores above 0.95 across domains, demonstrating that deep learning models are more effective for clinical negation detection in Dutch despite higher computational costs.
As structured data are often insufficient, labels need to be extracted from free text in electronic health records when developing models for clinical information retrieval and decision support systems. One of the most important contextual properties in clinical text is negation, which indicates the absence of findings. We aimed to improve large scale extraction of labels by comparing three methods for negation detection in Dutch clinical notes. We used the Erasmus Medical Center Dutch Clinical Corpus to compare a rule-based method based on ContextD, a biLSTM model using MedCAT and (finetuned) RoBERTa-based models. We found that both the biLSTM and RoBERTa models consistently outperform the rule-based model in terms of F1 score, precision and recall. In addition, we systematically categorized the classification errors for each model, which can be used to further improve model performance in particular applications. Combining the three models naively was not beneficial in terms of performance. We conclude that the biLSTM and RoBERTa-based models in particular are highly accurate accurate in detecting clinical negations, but that ultimately all three approaches can be viable depending on the use case at hand.
Motivation & Objective
- To improve large-scale label extraction from free-text Dutch electronic health records (EHRs) by evaluating different negation detection methods.
- To address the challenge that structured EHR data often lack precision and reliability for clinical decision support systems.
- To compare the performance of a rule-based method (ContextD) with two machine learning approaches: a biLSTM model (MedCAT) and a RoBERTa-based model (RobBERT).
- To systematically categorize classification errors to guide future model improvements.
- To assess whether naive ensemble methods combining all three models enhance performance.
Proposed method
- Used the Erasmus Medical Center Dutch Clinical Corpus as the benchmark dataset for evaluating negation detection methods.
- Implemented a rule-based approach using ContextD, which applies over 400 predefined regular expression patterns for negation triggers.
- Trained a bidirectional Long Short-Term Memory (biLSTM) model using MedCAT to classify negated vs. non-negated medical terms in context.
- Fine-tuned a RoBERTa-based model (RobBERT) and its domain-adapted variant (MedRoBERTa.nl) on Dutch clinical text for sequence classification.
- Evaluated models across four EHR text types: discharge letters, general practitioner entries, radiology reports, and specialist letters.
- Conducted ablation studies to assess the impact of sequence length (32 vs. 512 tokens) and fine-tuning strategies on model performance.
Experimental results
Research questions
- RQ1How do rule-based and machine learning-based negation detection methods compare in terms of F1 score, precision, and recall on Dutch clinical notes?
- RQ2To what extent does domain-specific pre-training (e.g., MedRoBERTa.nl) improve negation detection performance compared to general-domain RoBERTa?
- RQ3Does reducing the maximum sequence length from 512 to 32 tokens significantly affect model performance while reducing computational cost?
- RQ4Can combining the three models (rule-based, biLSTM, RoBERTa) through naive ensemble improve overall performance?
- RQ5What are the most frequent error patterns in each model, and how can they inform future model refinement?
Key findings
- The biLSTM and RoBERTa-based models consistently outperformed the rule-based ContextD method, achieving F1 scores above 0.95 across all text types.
- The RoBERTa-based model (MedRoBERTa.nl) achieved an F1 score of 0.974 on discharge letters, 0.957 on radiology reports, and 0.925 on specialist letters.
- Reducing the maximum sequence length from 512 to 32 tokens had only a minor negative impact on performance, reducing F1 by less than 0.01 in most cases.
- Domain-adapted pre-training (MedRoBERTa.nl) led to a slight but consistent improvement over the general-domain RobBERT model.
- Fine-tuning the entire RoBERTa model yielded significantly better results than only fine-tuning the final dense layer, which performed comparably to the rule-based method.
- Naive ensemble methods combining all three models did not improve performance and were outperformed by the individual RoBERTa and biLSTM models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.