PaperQA: Retrieval-Augmented Generative Agent for Scientific Research

Jakub Lála, Odhran O'Donoghue, Aleksandar Shtedritski, Sam Cox, Samuel G. Rodriques +1 more
12/8/2023
cs.CLcs.AIcs.LG

No official code found. Best implementation: worldtu/PaperQA (0 stars, last commit 2025-11-27).

Abstract

Large Language Models (LLMs) generalize well across language tasks, but suffer from hallucinations and uninterpretability, making it difficult to assess their accuracy without ground-truth. Retrieval-Augmented Generation (RAG) models have been proposed to reduce hallucinations and provide provenance for how an answer was generated. Applying such models to the scientific literature may enable large-scale, systematic processing of scientific knowledge. We present PaperQA, a RAG agent for answering questions over the scientific literature. PaperQA is an agent that performs information retrieval across full-text scientific articles, assesses the relevance of sources and passages, and uses RAG to provide answers. Viewing this agent as a question answering model, we find it exceeds performance of existing LLMs and LLM agents on current science QA benchmarks. To push the field closer to how humans perform research on scientific literature, we also introduce LitQA, a more complex benchmark that requires retrieval and synthesis of information from full-text scientific papers across the literature. Finally, we demonstrate PaperQA's matches expert human researchers on LitQA.

View on arXivView PDF

Code Implementations(1)

worldtu/PaperQACommunity67%

Implementation on PaperQA based on article: arxiv.org/abs/2312.07559

01PythonOct 21, 202510 months ago

Similar Papers

Cite this paper

@article{lla2023paperqa,
  title  = {PaperQA: Retrieval-Augmented Generative Agent for Scientific Research},
  author = {Jakub Lála and Odhran O'Donoghue and Aleksandar Shtedritski and Sam Cox and Samuel G. Rodriques and Andrew D. White},
  year   = {2023},
  eprint = {2312.07559},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.07559v2}
}

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/2312.07559.svg)](https://codeofpaper.com/paper/2312.07559)

Discussion