Improving Medical Reasoning through Retrieval and Self-Reflection with Retrieval-Augmented Large Language Models

Minbyul Jeong, Jiwoong Sohn, Mujeen Sung, Jaewoo Kang

TL;DR

Self-BioRAG is a new framework that significantly boosts the medical reasoning capabilities of open-source Large Language Models (LLMs) by combining on-demand document retrieval with self-reflection. By training on a specialized corpus of 84k biomedical instructions and using "reflective tokens" to critique its own logic, the model achieves a 7.2% absolute performance gain over existing state-of-the-art 7B models on medical benchmarks.

What Problem Does This Paper Address?

While proprietary models like GPT-4 have set high bars for biomedical tasks, they are often "black boxes" that can suffer from hallucinations—generating plausible-sounding but factually incorrect medical information. Standard Retrieval-Augmented Generation (RAG) tries to fix this by fetching external documents to ground the model's answers.

However, general-purpose RAG systems often struggle in specialized domains like medicine. They might retrieve irrelevant documents, fail to recognize when they don't need external help, or lack the "clinical common sense" to judge if a retrieved snippet actually supports a diagnosis. The authors identify a clear gap: existing open-source models lack a reliable mechanism to selectively retrieve domain-specific knowledge and critically evaluate their own generated responses.

Methods

The authors introduce Self-BioRAG, which adapts the "Self-RAG" architecture specifically for the biomedical domain. The framework relies on four pillars:

  1. Biomedical Instruction Sets: The team compiled 120k instructions (filtering down to 84k) covering tasks like information extraction, question answering, and summarization.
  2. Biomedical Retriever: Instead of a general search engine, they used MedCPT, a retriever contrastively trained on 255 million PubMed search logs.
  3. Self-Reflection (Critic) Model: A model trained to generate "reflective tokens" that act as internal meta-commentary. These tokens decide:
  4. [RET]: Is retrieval needed for this query?
  5. [REL]: Is the retrieved evidence relevant?
  6. [SUP]: Does the evidence support the generated claim?
  7. [USE]: How useful is the final response?
  8. Domain-Specific Generator: A LLaMA-2 based model fine-tuned on the filtered instructions to generate both the medical answers and the reflective tokens.
Comparison between standard generation, RAG, and the Self-BioRAG framework.

As shown in Figure 1, unlike standard RAG which retrieves documents unconditionally, Self-BioRAG first asks if retrieval is even necessary. If it is, it fetches multiple pieces of evidence, selects the best ones using its reflective tokens, and then synthesizes an answer.

Datasets

The model was trained and evaluated using a mix of existing and custom-generated data:

  • Training Data: Combined Mol-Instructions, MedInstruct, and 18k new instructions generated via the "Self-Instruct" method.
  • Knowledge Corpus: A massive index of PubMed Abstracts, PMC Full-Text articles, Clinical Guidelines, and English Medical Textbooks.
  • Evaluation Benchmarks:
    • Multi-choice QA: MedQA (USMLE style), MedMCQA, and MMLU-Med (covering anatomy, genetics, etc.).
  • Long-form QA: LiveQA and MedicationQA.
Diversity of the generated biomedical instruction set.

Key Insights and Ideas

  • Domain Specificity is Mandatory: The authors proved that using a general-purpose retriever (like one trained on Wikipedia) or general instruction sets leads to poor generalization in medicine. You need medical-specific components at every stage.
  • Textbooks are Gold: Interestingly, the model retrieved a higher proportion of information from Medical Textbooks compared to other sources when solving USMLE-style questions, despite textbooks being a smaller part of the total corpus.
  • Adaptive Retrieval Wins: Forcing a model to retrieve for every question can actually hurt performance by introducing noise. Self-BioRAG’s ability to "know when it doesn't know" (via the [RET] token) is a key driver of its accuracy.
Analysis of which biomedical corpora provide the most useful evidence for different benchmarks.

Key Results

Self-BioRAG demonstrated substantial improvements across the board:

  • Multi-choice QA: Achieved a 7.2% absolute improvement on average over state-of-the-art open-foundation models with 7B parameters or less.
  • Long-form QA: Outperformed standard RAG by an average of 8% in Rouge-1 scores, indicating more proficient and accurate long-form explanations.
  • Scaling: The 13B version of Self-BioRAG further pushed these boundaries, achieving 49.9% average accuracy on multi-choice benchmarks, narrowing the gap with proprietary models like GPT-3.5.

Limitations and Future Work

The authors noted a few areas for improvement:

  • Closed-Domain Noise: On datasets like PubMedQA, where a context is already provided, Self-BioRAG sometimes performed slightly worse than base models because its retriever introduced "noisy" external information that distracted from the provided text.
  • Reflective Token Accuracy: While the model is good at utility and relevance, predicting "supportiveness" (whether a specific sentence is backed by a specific document) remains a harder task for 7B-scale models.
  • Future Directions: The team plans to explore even more fine-grained evaluations for long-form text generation to better understand how domain adaptation affects the "fluency vs. accuracy" trade-off.

Summary updated

BibTeX
@article{jeong2024improving,
  author = {Minbyul Jeong and Jiwoong Sohn and Mujeen Sung and Jaewoo Kang},
  title = {{Improving Medical Reasoning through Retrieval and Self-Reflection with Retrieval-Augmented Large Language Models}},
  journal = {Bioinformatics},
  year = {2024},
  doi = {10.1093/bioinformatics/btae238},
}
Figure