Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
60 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
8 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Lightweight Transformers for Clinical Natural Language Processing (2302.04725v1)

Published 9 Feb 2023 in cs.CL, cs.AI, and cs.LG

Abstract: Specialised pre-trained LLMs are becoming more frequent in NLP since they can potentially outperform models trained on generic texts. BioBERT and BioClinicalBERT are two examples of such models that have shown promise in medical NLP tasks. Many of these models are overparametrised and resource-intensive, but thanks to techniques like Knowledge Distillation (KD), it is possible to create smaller versions that perform almost as well as their larger counterparts. In this work, we specifically focus on development of compact LLMs for processing clinical texts (i.e. progress notes, discharge summaries etc). We developed a number of efficient lightweight clinical transformers using knowledge distillation and continual learning, with the number of parameters ranging from 15 million to 65 million. These models performed comparably to larger models such as BioBERT and ClinicalBioBERT and significantly outperformed other compact models trained on general or biomedical data. Our extensive evaluation was done across several standard datasets and covered a wide range of clinical text-mining tasks, including Natural Language Inference, Relation Extraction, Named Entity Recognition, and Sequence Classification. To our knowledge, this is the first comprehensive study specifically focused on creating efficient and compact transformers for clinical NLP tasks. The models and code used in this study can be found on our Huggingface profile at https://huggingface.co/nlpie and Github page at https://github.com/nlpie-research/Lightweight-Clinical-Transformers, respectively, promoting reproducibility of our results.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (8)
  1. Omid Rohanian (12 papers)
  2. Mohammadmahdi Nouriborji (8 papers)
  3. Hannah Jauncey (2 papers)
  4. Samaneh Kouchaki (12 papers)
  5. ISARIC Clinical Characterisation Group (2 papers)
  6. Lei Clifton (9 papers)
  7. Laura Merson (3 papers)
  8. David A. Clifton (54 papers)
Citations (9)
Github Logo Streamline Icon: https://streamlinehq.com