Abstract
Processing information locked within clinical health records is a challenging task that remains an active area of research in biomedical NLP. In this work, we evaluate a broad set of machine learning techniques ranging from simple RNNs to specialised transformers such as BioBERT on a dataset containing clinical notes along with a set of annotations indicating whether a sample is cancer-related or not. Furthermore, we specifically employ efficient fine-tuning methods from NLP, namely, bottleneck adapters and prompt tuning, to adapt the models to our specialised task. Our evaluations suggest that fine-tuning a frozen BERT model pre-trained on natural language and with bottleneck adapters outperforms all other strategies, including full fine-tuning of the specialised BioBERT model. Based on our findings, we suggest that using bottleneck adapters in low-resource situations with limited access to labelled data or processing capacity could be a viable strategy in biomedical text mining.
Introduction
Clinical notes represent a critical yet underutilized resource in healthcare, containing nuanced patient data often obscured by non-standard grammar, abbreviations, and complex negations (e.g., "no evidence of malignancy"). While Large Language Models (LLMs) like BERT have revolutionized natural language processing, their application in clinical settings is often hindered by the high computational cost of full fine-tuning and the scarcity of large-scale labeled medical datasets. This study addresses the challenge of low-resource clinical NLP, exploring how highly accurate disease-identification tools can be built with limited data and processing power.
Methodology
The research evaluates several architectural approaches, moving from traditional baselines to advanced Parameter-Efficient Fine-Tuning (PEFT) strategies.
Bottleneck Adapters (BAs)
The primary focus of this work is the use of Bottleneck Adapters. Unlike full fine-tuning, which updates every parameter in a model, this approach "freezes" the weights of the original pre-trained model (e.g., BERT). Small, trainable Multi-layer Perceptron (MLP) blocks are inserted between the existing transformer layers. These adapters typically represent only about 3% of the total model parameters, significantly reducing the computational overhead while preserving the general linguistic knowledge of the base model.
Negation Encoding and Prompt Tuning
To address the specific challenge of negation in clinical text, the authors utilized synthetic data generation. By creating negative samples using templates like "[CONDITION] is ruled out," the models were explicitly taught that the presence of a keyword like "cancer" does not always imply a positive diagnosis. Additionally, Prompt Tuning (PT) was evaluated, which involves learning a set of continuous "trigger" vectors prepended to the input text to guide the frozen model's behavior.
Experimental Setup
The study utilized a real-world clinical notes database from the International Severe Acute Respiratory and emerging Infection Consortium (ISARIC). The training set consisted of approximately 6,000 labeled samples. To test the models in a realistic "needle in a haystack" scenario, a gold standard test set of 1,000 samples was used, containing only 31 positive cases. Furthermore, synthetic sets of 250 to 500 negative samples were integrated to bolster the model's understanding of negation logic.
Results and Discussion
The experimental results demonstrate that the generalist BERT model, when augmented with bottleneck adapters, consistently outperforms specialized models like BioBERT that have undergone full fine-tuning.
As shown in the results table, the BERT + Bottleneck Adapters approach achieved a perfect Precision of 1.00 and a peak F-score of 0.97. In contrast, the fully fine-tuned BioBERT reached an F-score of 0.90, while traditional RNN baselines trailed significantly behind.
Several key insights emerged from these findings:
- Generalist + Adapters > Specialist: Preserving the broad knowledge of a general model while adding specialized "plugins" is more effective for niche tasks with small datasets than forcing a specialized model to undergo further full fine-tuning.
- Mitigating Catastrophic Forgetting: Full fine-tuning on small datasets often causes models to lose their general language capabilities. Adapters act as a safeguard, keeping the core "brain" intact while learning clinical nuances.
- Logic over Vocabulary: The inclusion of synthetic negation samples significantly reduced false positives, proving that clinical NLP requires models to understand logical context rather than just identifying keywords.
Conclusion and Future Work
Bottleneck adapters offer a computationally efficient and highly accurate pathway for clinical text mining in low-resource environments. However, limitations remain, including a heavy bias toward English-language notes and the difficulty of processing extremely short clinical entries (4–5 tokens) where context is minimal. Future research will focus on expanding these binary classifiers into multi-class systems capable of identifying specific cancer types and distinguishing between a patient's historical records and current diagnoses.
Summary updated