[Paper Review] Pre-training A Neural Language Model Improves The Sample Efficiency of an Emergency Room Classification Model
This study demonstrates that pre-training a French GPT-2 language model on unlabeled emergency room clinical notes significantly improves sample efficiency for classifying trauma vs. non-trauma visits. By applying self-supervised pre-training before fine-tuning on only 160 labeled samples, the model achieved AUC >0.95—equivalent to a fully supervised model trained on 1,600 samples—reducing required labeled data by a factor of 10.
To build a French national electronic injury surveillance system based on emergency room visits, we aim to develop a coding system to classify their causes from clinical notes in free-text. Supervised learning techniques have shown good results in this area but require a large amount of expert annotated dataset which is time consuming and costly to obtain. We hypothesize that the Natural Language Processing Transformer model incorporating a generative self-supervised pre-training step can significantly reduce the required number of annotated samples for supervised fine-tuning. In this preliminary study, we test our hypothesis in the simplified problem of predicting whether a visit is the consequence of a traumatic event or not from free-text clinical notes. Using fully re-trained GPT-2 models (without OpenAI pre-trained weights), we assess the gain of applying a self-supervised pre-training phase with unlabeled notes prior to the supervised learning task. Results show that the number of data required to achieve a ginve level of performance (AUC>0.95) was reduced by a factor of 10 when applying pre-training. Namely, for 16 times more data, the fully-supervised model achieved an improvement <1% in AUC. To conclude, it is possible to adapt a multi-purpose neural language model such as the GPT-2 to create a powerful tool for classification of free-text notes with only a small number of labeled samples.
Motivation & Objective
- To reduce the high annotation cost of training supervised models for classifying emergency room visit causes from free-text clinical notes.
- To evaluate whether self-supervised pre-training with a generative language model improves sample efficiency in low-resource NLP settings for French medical text.
- To develop a scalable, low-resource solution for automated trauma surveillance in France’s national emergency care system.
- To assess the feasibility of adapting multilingual transformer models like GPT-2 to French clinical language without relying on English pre-trained weights.
Proposed method
- Fine-tuned a fully retrained GPT-2 model (117M and 345M parameters) on French emergency room clinical notes for binary trauma classification.
- Performed a two-stage training process: first, self-supervised pre-training on 21 million unlabeled French clinical notes using next-token prediction.
- Then, fine-tuned the pre-trained model on a small, expert-annotated dataset of 160 to 1,600 labeled trauma/non-trauma visits.
- Used a question-answering-style prompt format to frame the classification task as a sequence-to-sequence generation problem.
- Evaluated performance using AUC, comparing pre-trained and non-pre-trained models across varying labeled data sizes.
- Selected ICD-10 codes to define ground truth, ensuring high consistency for trauma vs. non-trauma labeling.
Experimental results
Research questions
- RQ1Can self-supervised pre-training with a generative language model reduce the number of labeled samples required for accurate trauma classification in French emergency room notes?
- RQ2How does pre-training on large-scale unlabeled clinical text affect the performance of a downstream classification model compared to training from scratch?
- RQ3Does the performance gain from pre-training scale with data size, and can it achieve high AUC with minimal labeled data?
- RQ4Can a multilingual transformer model like GPT-2 be effectively adapted to French medical text without using OpenAI’s pre-trained weights?
- RQ5How does the training dynamics of pre-trained models compare to non-pre-trained models during fine-tuning on a medical text classification task?
Key findings
- Pre-training reduced the number of labeled samples needed to achieve AUC >0.95 by a factor of 10, from 1,600 to 160 samples.
- The pre-trained model achieved a monotonically increasing AUC curve during fine-tuning, indicating stable and effective learning.
- The fully supervised model trained from scratch required 1,600 labeled samples to reach AUC >0.95, with only a 1% improvement over the pre-trained model when using 16 times more data.
- The 345M parameter GPT-2 model did not outperform the 117M model in this study, likely due to computational constraints limiting full training.
- The pre-training phase enabled better semantic representation learning, which improved downstream classification performance even with minimal labeled data.
- The results support the use of self-supervised pre-training as a powerful strategy for low-resource medical NLP tasks in non-English languages.
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.