Skip to main content
QUICK REVIEW

[Paper Review] Improving Small Language Models on PubMedQA via Generative Data Augmentation

Zhen Guo, Peiqi Wang|arXiv (Cornell University)|May 12, 2023
Topic ModelingComputer Science10 citations
TL;DR

The paper uses LLM-based generative data augmentation to boost small medical language models for PubMedQA, achieving outperforming GPT-4 few-shot with a sub-1.6B parameter model after augmentation.

ABSTRACT

Large Language Models (LLMs) have made remarkable advancements in the field of natural language processing. However, their increasing size poses challenges in terms of computational cost. On the other hand, Small Language Models (SLMs) are known for their efficiency, but they often struggle with limited capacity and training data, especially in specific domains. In this paper, we introduce a novel method aimed at improving SLMs in the medical domain using LLM-based generative data augmentation. The objective of our approach is to develop more efficient and capable models that are specifically tailored for specialized applications. Through experiments conducted on the PubMedQA dataset, we demonstrate the effectiveness of LLMs in refining and diversifying existing question-answer pairs. This refinement process leads to improved performance in a significantly smaller model after fine-tuning. Notably, our best SLM, with under 1.6 billion parameters, outperforms the few-shot GPT-4 on the PubMedQA dataset. Our code and generated data are publicly available to facilitate further explorations.

Motivation & Objective

  • Improve small language models (SLMs) for medical QA in PubMedQA without huge parameters.
  • Use LLM-based data augmentation to refine and diversify QA pairs.
  • Demonstrate robustness of fine-tuning methods and domain knowledge importance.

Proposed method

  • Apply low-rank adaptation (LoRA) as a robust fine-tuning technique for SLMs.
  • Compare Low-rank Adaptation with Prefix Tuning on BioGPT-Large across hyperparameters.
  • Use LLMs (GPT-3.5, GPT-4, BioGPT, etc.) to rewrite or create QA pairs for augmentation.
  • Fine-tune BioGPT-Large, LLaMA-7b, and Alpaca-7b on augmented PubMedQA data.
  • Evaluate using accuracy and macro-F1 with a 450/50/500 train/val/test split.

Experimental results

Research questions

  • RQ1Does generative data augmentation with domain-aware LLMs improve performance of small medical LMs on PubMedQA?
  • RQ2Which fine-tuning method (LoRA vs Prefix Tuning) is more robust for domain-specific QA?
  • RQ3How does domain-specific knowledge in augmenting data affect downstream QA performance on PubMedQA?
  • RQ4Can augmented data from GPT-4 surpass few-shot GPT-4 performance when fine-tuning smaller models?
  • RQ5What is the impact of using fully synthetic domain knowledge vs refinement of existing QA pairs?

Key findings

  • LoRA outperforms Prefix Tuning and is more robust across hyperparameters (16–512 token ranges).
  • BioGPT-Large, LLaMA-7b, and Alpaca-7b show varying domain adaptability when fine-tuned on original PubMedQA without augmentation.
  • Augmented data generated by domain-aware LLMs (e.g., GPT-4 with rewrite/new QA pairs) significantly improves SLM performance on PubMedQA, with GPT-4 augmentation outperforming GPT-3.5-based approaches.
  • BioGPT fine-tuned on augmented PubMedQA data outperforms LLaMA-7B on PubMedQA, confirming domain-specific pretraining benefits.
  • Instructing domain-agnostic LLMs (GPT-3.5-turbo) to generate entirely new QA pairs can degrade performance, whereas domain-aware LLMs (GPT-4) provide valuable new training data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.