about
Do we still need clinical language models? (arxiv.org)
1 point by PaulHoule on Feb 17, 2023 | hide | past | pdf | 1 comment on HN

In plain words: They compared 12 language models, tiny to huge, on three tasks reading patient records, including small ones trained on clinical notes. The small clinical models beat big general-text models used without task training, and matched or beat much larger ones with little labeled data.

Abstract · Do We Still Need Clinical Language Models?

Although recent advances in scaling large language models (LLMs) have resulted in improvements on many NLP tasks, it remains unclear whether these models trained primarily with general web text are the right tool in highly specialized, safety critical domains such as clinical text. Recent results have suggested that LLMs encode a surprising amount of medical knowledge. This raises an important question regarding the utility of smaller domain-specific language models. With the success of general-domain LLMs, is there still a need for specialized clinical models? To investigate this question, we conduct an extensive empirical analysis of 12 language models, ranging from 220M to 175B parameters, measuring their performance on 3 different clinical tasks that test their ability to parse and reason over electronic health records. As part of our experiments, we train T5-Base and T5-Large models from scratch on clinical notes from MIMIC III and IV to directly investigate the efficiency of clinical tokens. We show that relatively small specialized clinical models substantially outperform all in-context learning approaches, even when finetuned on limited annotated data. Further, we find that pretraining on clinical tokens allows for smaller, more parameter-efficient models that either match or outperform much larger language models trained on general text. We release the code and the models used under the PhysioNet Credentialed Health Data license and data use agreement.

Eric Lehman, Evan Hernandez, Diwakar Mahajan, Jonas Wulff, Micah J. Smith, Zachary Ziegler, Daniel Nadler, Peter Szolovits, Alistair Johnson, Emily Alsentzer
arXiv:2302.08091 · cs.CL · submitted Feb 16, 2023
abstract · pdf · html

add comment on HN

The answer of the authors is definitely “yes”, a model trained for the medical domain will outperform a generic LLM.