Development of Prompt Templates for Large Language Model–Driven Screening in Systematic Reviews
TL;DR Highlight
Optimized prompts raised LLM screening sensitivity from 49% to 97.7% for systematic reviews.
Who Should Read
Backend or data developers who want to automate criteria-based include/exclude classification of documents with LLMs
Core Mechanics
- Zero-shot missed half the papers
- Plain zero-shot prompts had sensitivity of 49.0% on abstracts and 49.1% on full texts.
- They missed about half of the articles that should be included.
- Prompt tuning lifted sensitivity to 97%
- Optimized prompts with GPT4-0125-preview reached weighted abstract sensitivity of 97.7%.
- Full-text screening reached weighted sensitivity of 96.5%.
- Results varied by review
- Abstract sensitivity ranged 86.7-100% and specificity 68.3-95.9%.
- The same template performs differently by topic.
- Model choice mattered
- Claude-3.5 and GPT4 variants performed similarly well.
- Gemini Pro and GPT3.5 underperformed.
- Cost and time dropped sharply
- Single human abstract screening of 10,000 citations was estimated at 83+ hours and $1666.67.
- The LLM approach finished in under 1 day for $157.02.
Evidence
- Abstract screening performance
- Tested on 48,425 citations across 10 SRs.
- Weighted sensitivity 97.7% and specificity 85.2% versus original author decisions.
- Full-text screening performance
- Evaluated 12,690 freely available articles.
- Weighted sensitivity 96.5% and specificity 91.2%.
- Versus zero-shot
- Zero-shot sensitivity was 49.0% (abstract) and 49.1% (full-text).
- Optimized prompts reached 97.7% and 96.5%.
- Cost comparison (10,000 citations)
- Single human abstract screening was estimated at 83+ hours and $1666.67.
- The LLM approach took under 1 day and $157.02.
How to Apply
- Turn your criteria into a prompt template
- Today, pick 20-30 samples, list include/exclude criteria, and run the prompt below.
- Compare against human labels and check misses first.
- Evaluate with sensitivity first
- Measure sensitivity and specificity separately on human-labeled data.
- If misses are costly, set a sensitivity target and tune the prompt.
- Compare models with the same prompt
- Run the same template on Claude-3.5 and GPT4 variants.
- Tabulate performance and per-item cost before choosing.
- Use as a first filter with human review
- Sample items the LLM excluded and have humans verify.
- Validate per domain since performance varied widely.
Try It
# Paste into Claude or ChatGPT (simplified version of the paper's method: not the paper's actual optimized prompt)
You are a literature screening assistant. Judge the document using the inclusion/exclusion criteria below.
[Inclusion criteria]
{{inclusion criteria list}}
[Exclusion criteria]
{{exclusion criteria list}}
[Document]
{{title and abstract}}
Instructions:
1. For each criterion, check whether the document meets it, quoting supporting text.
2. If information is insufficient or ambiguous, do not exclude; decide INCLUDE.
3. On the last line output only 'DECISION: INCLUDE' or 'DECISION: EXCLUDE'.Terminology
Related Papers
Why Do LLMs Help with Scientific Misconduct Requests and What to Do About It?: Increasing the Trustworthiness of AI for Science
Adding an intention-analysis system prompt raised refusal of misconduct requests from 58% to 87%.
How Specification Explicitness Shapes Failure in LLM-Generated Code
Spelling out invariants, edge cases and constraints cut hidden-test failures in LLM code by 47.2%.
Same Task, Different Statement: When and How Reformulation Helps LLM Problem Solving
Rewriting problem statements to fit their type raises LLM accuracy, but blind rewriting hurts.
Show HN: STE80 Humanizer – de-AI text by writing 80% of the way to ASD-STE100
A skill strips 26 AI tells and rewrites text in short ASD-STE100-style sentences
Character-Name Concentration in LLM Fiction: Measuring Displacement and Mitigating Repetition
Drafting name candidates and filtering by frequency cut LLM character-name repetition by 95%
LLM Voice
Martin Fowler: LLM-drafted prose keeps an uncanny tone even after human editing.
The Instruction Tax on Factual Recall: Base Models Can Beat Their Instruction-Tuned Counterparts
Few-shot completion with repeated sampling on a base model beat chat: F1 0.684 vs 0.568
AI is a tool and using it well takes skill
A rebuttal to Hickey: LLMs are tools, and skill in directing and checking them decides the outcome
Original Abstract (Expand)
BACKGROUND Systematic reviews (SRs) are hindered by the initial rigorous article screen, which delays access to reliable information synthesis. OBJECTIVE To develop generic prompt templates for large language model (LLM)-driven abstract and full-text screening that can be adapted to different reviews. DESIGN Diagnostic test accuracy. SETTING 48 425 citations were tested for abstract screening across 10 SRs. Full-text screening evaluated all 12 690 freely available articles from the original search. Prompt development used the GPT4-0125-preview model (OpenAI). PARTICIPANTS None. MEASUREMENTS Large language models were prompted to include or exclude articles based on SR eligibility criteria. Model outputs were compared with original SR author decisions after full-text screening to evaluate performance (accuracy, sensitivity, and specificity). RESULTS Optimized prompts using GPT4-0125-preview achieved a weighted sensitivity of 97.7% (range, 86.7% to 100%) and specificity of 85.2% (range, 68.3% to 95.9%) in abstract screening and weighted sensitivity of 96.5% (range, 89.7% to 100.0%) and specificity of 91.2% (range, 80.7% to 100%) in full-text screening across 10 SRs. In contrast, zero-shot prompts had poor sensitivity (49.0% abstract, 49.1% full-text). Across LLMs, Claude-3.5 (Anthropic) and GPT4 variants had similar performance, whereas Gemini Pro (Google) and GPT3.5 (OpenAI) models underperformed. Direct screening costs for 10 000 citations differed substantially: Where single human abstract screening was estimated to require more than 83 hours and $1666.67 USD, our LLM-based approach completed screening in under 1 day for $157.02 USD. LIMITATIONS Further prompt optimizations may exist. Retrospective study. Convenience sample of SRs. Full-text screening evaluations were limited to free PubMed Central full-text articles. CONCLUSION A generic prompt for abstract and full-text screening achieving high sensitivity and specificity that can be adapted to other SRs and LLMs was developed. Our prompting innovations may have value to SR investigators and researchers conducting similar criteria-based tasks across the medical sciences. PRIMARY FUNDING SOURCE None.