Rationale-Guided Retrieval Augmented Generation for Medical Question Answering

Jiwoong Sohn, Yein Park, Chanwoong Yoon, Sihyeon Park, Hyeon Hwang +3 more
11/1/2024
cs.CL

Official code: dmis-lab/RAG2 (40 stars, last commit 2025-08-17).

Abstract

Large language models (LLM) hold significant potential for applications in biomedicine, but they struggle with hallucinations and outdated knowledge. While retrieval-augmented generation (RAG) is generally employed to address these issues, it also has its own set of challenges: (1) LLMs are vulnerable to irrelevant or incorrect context, (2) medical queries are often not well-targeted for helpful information, and (3) retrievers are prone to bias toward the specific source corpus they were trained on. In this study, we present RAG$^2$ (RAtionale-Guided RAG), a new framework for enhancing the reliability of RAG in biomedical contexts. RAG$^2$ incorporates three key innovations: a small filtering model trained on perplexity-based labels of rationales, which selectively augments informative snippets of documents while filtering out distractors; LLM-generated rationales as queries to improve the utility of retrieved snippets; a structure designed to retrieve snippets evenly from a comprehensive set of four biomedical corpora, effectively mitigating retriever bias. Our experiments demonstrate that RAG$^2$ improves the state-of-the-art LLMs of varying sizes, with improvements of up to 6.1\%, and it outperforms the previous best medical RAG model by up to 5.6\% across three medical question-answering benchmarks. Our code is available at https://github.com/dmis-lab/RAG2.

View on arXivView PDF

Code Implementations(1)

dmis-lab/RAG2Official100%

[NAACL 2025] Rationale-Guided Retrieval Augmented Generation for Medical Question Answering

403Shell, PythonOct 23, 20241 years ago

Similar Papers

Cite this paper

@article{sohn2024rationaleguided,
  title  = {Rationale-Guided Retrieval Augmented Generation for Medical Question Answering},
  author = {Jiwoong Sohn and Yein Park and Chanwoong Yoon and Sihyeon Park and Hyeon Hwang and Mujeen Sung and Hyunjae Kim and Jaewoo Kang},
  year   = {2024},
  eprint = {2411.00300},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.00300v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.00300.svg)](https://codeofpaper.com/paper/2411.00300)

Discussion