[Paper Review] Distilling Large Language Models for Biomedical Knowledge Extraction: A Case Study on Adverse Drug Events
The paper shows that distilling LLM knowledge into a task-specific PubMedBERT student model achieves competitive ADE extraction performance without labeled data, outperforming the teacher and even GPT-4, while being over 1,000x smaller and offering white-box access.
Large language models (LLMs), such as GPT-4, have demonstrated remarkable capabilities across a wide range of tasks, including health applications. In this paper, we study how LLMs can be used to scale biomedical knowledge curation. We find that while LLMs already possess decent competency in structuring biomedical text, by distillation into a task-specific student model through self-supervised learning, substantial gains can be attained over out-of-box LLMs, with additional advantages such as cost, efficiency, and white-box model access. We conduct a case study on adverse drug event (ADE) extraction, which is an important area for improving care. On standard ADE extraction evaluation, a GPT-3.5 distilled PubMedBERT model attained comparable accuracy as supervised state-of-the-art models without using any labeled data. Despite being over 1,000 times smaller, the distilled model outperformed its teacher GPT-3.5 by over 6 absolute points in F1 and GPT-4 by over 5 absolute points. Ablation studies on distillation model choice (e.g., PubMedBERT vs BioGPT) and ADE extraction architecture shed light on best practice for biomedical knowledge extraction. Similar gains were attained by distillation for other standard biomedical knowledge extraction tasks such as gene-disease associations and protected health information, further illustrating the promise of this approach.
Motivation & Objective
- Motivate scalable biomedical knowledge curation using large language models (LLMs).
- Demonstrate that distillation from LLMs into task-specific students improves efficiency and accuracy.
- Develop an end-to-end ADE extraction architecture that is efficient for large-scale processing.
- Show that distillation benefits extend to other biomedical NLP tasks beyond ADE extraction.
Proposed method
- Propose a unified drug-centric architecture for end-to-end ADE extraction combining NER and relation extraction in one pass.
- Use mean-pooling of drug mentions and concatenate drug representations to token hidden states to enable ADE token classification per drug.
- Apply a single linear classifier with sigmoid activation on concatenated representations to predict ADE spans.
- Curate a drug-focused unlabeled corpus from PubMed abstracts and use a GPT-3.5 teacher to generate ADE annotations for self-supervision.
- Distill into student models (PubMedBERT and BioGPT) using 40,000 labeled-like pairs generated by the teacher; compare zero-shot/few-shot prompting.
- Evaluate with lenient F1 on the ADE corpus (Gurulingappa et al., 2012) and conduct ablations on model choice and architecture.
Experimental results
Research questions
- RQ1How effective is LLM distillation for end-to-end ADE extraction compared to zero-shot/few-shot LLMs and supervised baselines?
- RQ2What are the effects of distillation architecture and model choice on biomedical knowledge extraction tasks?
- RQ3Can distillation from LLMs generalize to other biomedical NLP tasks such as gene-disease associations and PHI?
Key findings
- A GPT-3.5 distilled PubMedBERT achieves comparable accuracy to supervised SOTA on ADE extraction without labeled data.
- The distilled PubMedBERT (over 1,000x smaller) outperforms its teacher GPT-3.5 by over six absolute points in F1 and GPT-4 by over five absolute points.
- Out-of-the-box GPT-3.5 and GPT-4 are competitive but lag supervised models; distillation closes the gap substantially.
- Distilled BioGPT underperforms compared to PubMedBERT in ADE tasks, aligning with prior observations that GPT models excel in generative tasks but are harder for knowledge extraction.
- Distillation gains also occur for other biomedical tasks like gene-disease associations and PHI; MedNLI shows more limited gains for purely entailment tasks.
- Ablation studies highlight the importance of distillation design choices (architecture and model) for biomedical knowledge extraction.
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.