[Paper Review] Learning structures of the French clinical language:development and validation of word embedding models using 21 million clinical reports from electronic health records
This study develops and validates two CamemBERT-based word embedding models fine-tuned on 21 million French clinical reports from APHP's electronic health records. The models achieve a 3-percentage-point increase in F1-score (to 91%) on a clinical NLP task (APMed), demonstrating that domain-specific pre-training significantly improves performance, with no significant gain from training from scratch versus fine-tuning.
Background Clinical studies using real-world data may benefit from exploiting clinical reports, a particularly rich albeit unstructured medium. To that end, natural language processing can extract relevant information. Methods based on transfer learning using pre-trained language models have achieved state-of-the-art results in most NLP applications; however, publicly available models lack exposure to speciality-languages, especially in the medical field. Objective We aimed to evaluate the impact of adapting a language model to French clinical reports on downstream medical NLP tasks. Methods We leveraged a corpus of 21M clinical reports collected from August 2017 to July 2021 at the Greater Paris University Hospitals (APHP) to produce two CamemBERT architectures on speciality language: one retrained from scratch and the other using CamemBERT as its initialisation. We used two French annotated medical datasets to compare our language models to the original CamemBERT network, evaluating the statistical significance of improvement with the Wilcoxon test. Results Our models pretrained on clinical reports increased the average F1-score on APMed (an APHP-specific task) by 3 percentage points to 91%, a statistically significant improvement. They also achieved performance comparable to the original CamemBERT on QUAERO. These results hold true for the fine-tuned and from-scratch versions alike, starting from very few pre-training samples. Conclusions We confirm previous literature showing that adapting generalist pre-train language models such as CamenBERT on speciality corpora improves their performance for downstream clinical NLP tasks. Our results suggest that retraining from scratch does not induce a statistically significant performance gain compared to fine-tuning.
Motivation & Objective
- To evaluate the impact of pre-training on French clinical reports for downstream medical NLP tasks.
- To compare fine-tuning an existing CamemBERT model versus retraining from scratch on clinical data.
- To assess the minimal data and training steps required to learn meaningful clinical language representations.
- To validate the models on two French medical NLP benchmarks: APMed and QUAERO.
- To confirm whether specialty-language pre-training improves performance over general-purpose models in French clinical NLP.
Proposed method
- Pre-trained two CamemBERT-based models: one from scratch using 21 million French clinical reports, and one fine-tuned from the original CamemBERT.
- Used a curated corpus from the APHP Clinical Data Warehouse (EDS), covering 39 hospitals and 11 million patients.
- Applied hierarchical sampling to balance document meta-types (e.g., consultation, imaging, surgery reports) and reduce administrative noise.
- Employed EDS-NLP, an open-source spaCy-based pipeline, to detect and remove non-clinical text pollution (e.g., patient rights statements).
- Fine-tuned models on two annotated datasets: APMed (drug mention recognition with posology) and QUAERO (medical entity recognition across UMLS semantic groups).
- Evaluated performance using F1-score and applied the Wilcoxon signed-rank test to assess statistical significance of improvements.
Experimental results
Research questions
- RQ1Does pre-training on French clinical reports improve performance on downstream medical NLP tasks compared to a general-purpose model?
- RQ2Is there a statistically significant performance gain from retraining from scratch versus fine-tuning an existing CamemBERT model on clinical data?
- RQ3How many training steps and how much data are required to learn effective clinical language representations from scratch?
- RQ4Can models pre-trained on clinical data generalize well to other medical NLP tasks, such as entity recognition on diverse corpora?
- RQ5Does the choice of initialization (from-scratch vs. fine-tuned) affect downstream performance when starting from limited pre-training data?
Key findings
- The model pre-trained on clinical reports achieved a 3-percentage-point increase in F1-score on the APMed task, reaching 91%, with statistical significance confirmed via the Wilcoxon test.
- The performance gain on APMed was consistent across both the from-scratch and fine-tuned variants, indicating that domain-specific pre-training is the key factor, not initialization method.
- The models achieved performance comparable to the original CamemBERT on the QUAERO benchmark, indicating strong generalization to other medical NLP tasks.
- No statistically significant performance difference was found between the from-scratch and fine-tuned models, suggesting that fine-tuning is sufficient and more efficient.
- The results confirm that pre-training on specialty clinical corpora significantly enhances model performance for medical NLP, even with limited data, and that fine-tuning is a viable and efficient alternative to full retraining.
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.