Saved in:
Bibliographic Details
Main Authors: Taylor, Niall, Schofield, Dan, Kormilitzin, Andrey, Joyce, Dan W, Nevado-Holgado, Alejo
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2403.19802
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914732991053824
author Taylor, Niall
Schofield, Dan
Kormilitzin, Andrey
Joyce, Dan W
Nevado-Holgado, Alejo
author_facet Taylor, Niall
Schofield, Dan
Kormilitzin, Andrey
Joyce, Dan W
Nevado-Holgado, Alejo
contents Pre-trained Large Language Models (LLMs) often struggle on out-of-domain datasets like healthcare focused text. We explore specialized pre-training to adapt smaller LLMs to different healthcare datasets. Three methods are assessed: traditional masked language modeling, Deep Contrastive Learning for Unsupervised Textual Representations (DeCLUTR), and a novel pre-training objective utilizing metadata categories from the healthcare settings. These schemes are evaluated on downstream document classification tasks for each dataset, with additional analysis of the resultant embedding spaces. Contrastively trained models outperform other approaches on the classification tasks, delivering strong performance from limited labeled data and with fewer model parameter updates required. While metadata-based pre-training does not further improve classifications across the datasets, it yields interesting embedding cluster separability. All domain adapted LLMs outperform their publicly available general base LLM, validating the importance of domain-specialization. This research illustrates efficient approaches to instill healthcare competency in compact LLMs even under tight computational budgets, an essential capability for responsible and sustainable deployment in local healthcare settings. We provide pre-training guidelines for specialized healthcare LLMs, motivate continued inquiry into contrastive objectives, and demonstrates adaptation techniques to align small LLMs with privacy-sensitive medical tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2403_19802
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Developing Healthcare Language Model Embedding Spaces
Taylor, Niall
Schofield, Dan
Kormilitzin, Andrey
Joyce, Dan W
Nevado-Holgado, Alejo
Computation and Language
Artificial Intelligence
Pre-trained Large Language Models (LLMs) often struggle on out-of-domain datasets like healthcare focused text. We explore specialized pre-training to adapt smaller LLMs to different healthcare datasets. Three methods are assessed: traditional masked language modeling, Deep Contrastive Learning for Unsupervised Textual Representations (DeCLUTR), and a novel pre-training objective utilizing metadata categories from the healthcare settings. These schemes are evaluated on downstream document classification tasks for each dataset, with additional analysis of the resultant embedding spaces. Contrastively trained models outperform other approaches on the classification tasks, delivering strong performance from limited labeled data and with fewer model parameter updates required. While metadata-based pre-training does not further improve classifications across the datasets, it yields interesting embedding cluster separability. All domain adapted LLMs outperform their publicly available general base LLM, validating the importance of domain-specialization. This research illustrates efficient approaches to instill healthcare competency in compact LLMs even under tight computational budgets, an essential capability for responsible and sustainable deployment in local healthcare settings. We provide pre-training guidelines for specialized healthcare LLMs, motivate continued inquiry into contrastive objectives, and demonstrates adaptation techniques to align small LLMs with privacy-sensitive medical tasks.
title Developing Healthcare Language Model Embedding Spaces
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2403.19802