A Comparative Analysis of In-Context Learning and Fine-Tuning for Biomedical Information Retrieval and Sentence Extraction Using Research Domain Criteria
Summary
A recent study compared domain-adapted fine-tuning and in-context prompting for two Research Domain Criteria (RDoC)-related subtasks from the BioNLP-OST 2019 RDoC shared task. The RDoC framework, from the National Institute of Mental Health, integrates information across genetics, circuits, and behavior for mental disorder studies. Task 1 involved retrieving and ranking unlabeled PubMed abstracts for eight RDoC constructs, comparing a TF-IDF baseline against ModernBERT and Llama (zero-shot and five-shot) using Mean Average Precision (MAP). Task 2 focused on identifying the single most relevant sentence from an abstract for a given construct, evaluated by per-construct accuracy. For fine-tuning, BioBERT, PubMedBERT, ModernBERT, and RoBERTa were used with a cross-encoder input format and per-construct grid search. These were benchmarked against in-context learning with several open-source language models. Both strategies achieved competitive results against the top BioNLP-OST 2019 team, suggesting that five-shot prompted LLMs and domain-adapted fine-tuned transformers are viable for semi-automating RDoC curation.
Key takeaway
For Research Scientists tasked with semi-automating RDoC curation, you should consider both domain-adapted fine-tuning and five-shot in-context learning. Your choice depends on resource availability and specific task requirements. Fine-tuned transformers like BioBERT or PubMedBERT offer robust performance for abstract retrieval and sentence extraction. Alternatively, five-shot prompted LLMs, such as Llama, provide competitive results, potentially reducing extensive training data needs for similar biomedical information retrieval challenges.
Key insights
Both fine-tuning and five-shot in-context learning are effective for RDoC biomedical text tasks.
Principles
- Domain adaptation enhances model performance.
- In-context learning scales with few-shot examples.
- Cross-encoder format improves relevance ranking.
Method
Compares domain-adapted fine-tuning (BioBERT, PubMedBERT, ModernBERT, RoBERTa with cross-encoder) against in-context prompting (Llama, other LLMs) for abstract retrieval and sentence extraction.
In practice
- Use five-shot prompting for LLM-based RDoC tasks.
- Apply cross-encoder fine-tuning for biomedical relevance.
- Consider ModernBERT or Llama for abstract ranking.
Topics
- Research Domain Criteria
- Biomedical Information Retrieval
- In-Context Learning
- Fine-Tuning
- Large Language Models
- Sentence Extraction
Best for: NLP Engineer, AI Scientist, Machine Learning Engineer, Research Scientist
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Paper Index on ACL Anthology.