arXiv(opens in a new tab)cs.CLNov 2024Cited by 9 papers on PaperVantage

Manuscript Offprint

arXiv:2411.14199

OpenScholar: Synthesizing Scientific Literature with Retrieval-augmented LMs

Akari Asai, Jacqueline He, Rulin Shao, Weijia Shi, Amanpreet Singh, Joseph Chee Chang, Kyle Lo, Luca Soldaini, Sergey Feldman, Mike D'arcy, David Wadden, Matt Latzke, Minyang Tian, Pan Ji, Shengyan Liu, Hao Tong, Bohao Wu, Yanyu Xiong, Luke Zettlemoyer, Graham Neubig, Dan Weld, Doug Downey, Wen-tau Yih, Pang Wei Koh, Hannaneh Hajishirzi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Scientific progress depends on researchers' ability to synthesize the growing body of literature. Can large language models (LMs) assist scientists in this task? We introduce OPENSCHOLAR, a specialized retrieval-augmented LM that answers scientific queries by identifying relevant passages from 45 million open-access papers and synthesizing citation-backed responses. To evaluate OPENSCHOLAR, we develop SCHOLARQABENCH, the first large-scale multi-domain benchmark for literature search, comprising 2,967 expert-written queries and 208 long-form answers across computer science, physics, neuroscience, and biomedicine. On SCHOLARQABENCH, OPENSCHOLAR-8B outperforms GPT-4o by 5% and PaperQA2 by 7% in correctness, despite being a smaller, open model. While GPT4o hallucinates citations 78–90% of the time, OPENSCHOLAR achieves citation accuracy on par with human experts. OPENSCHOLAR's datastore, retriever, and self-feedback inference loop also improves off-the-shelf LMs: for instance, OPENSCHOLAR-GPT4o improves GPT-4o's correctness by 12%. In human evaluations, experts preferred OPENSCHOLAR-8B and OPENSCHOLAR-GPT4o responses over expert-written ones 51% and 70% of the time, respectively, compared to GPT4o's 32%. We open-source all of our code, models, datastore, data and a public demo.

Demo

Blog

OpenScholar code

ScholarBench code

Checkpoints, Data, Index

Expert Evaluation

openscholar.allen.ai/

allenai.org/blog/openscholar

github.com/AkariAsai/OpenScholar

github.com/AkariAsai/ScholarBench

OpenScholar/openscholar-v1

AkariAsai/OpenScholar_ExpertEval

1 INTRODUCTION

Synthesizing knowledge from scientific literature is essential for uncovering new research directions, refining methodologies, and supporting evidence-based decisions. However, the vast volume of papers published annually makes it increasingly difficult for researchers to stay informed. Effective synthesis requires precise retrieval, accurate attribution, and real-time access to current literature. While large language models (LLMs) show promise in assisting researchers, they face significant challenges, including hallucinations (Mallen et al., 2023; Mishra et al., 2024), reliance on outdated pre-training data (Kasai et al., 2023), and a lack of transparent attribution. For instance, when tasked with citing up-to-date literature, GPT-4 fabricated citations in 78-90% of cases across fields like computer science and biomedicine in our experiments.

∗^{*}Contributed equally (alphabetical order). All authors' contributions are detailed in the Contribution section.

OpenScholar

OpenScholar self-feedback inference:

OpenScholar

DataStore (OSDS):

45M open-access

scientific papers

OpenScholar Retrievers:

Retriever and reranker trained on OSDS

Initial generation

Feedback generation

Updating the response with retrieval

Draft

Feedback,

query

Final response

OpenScholar-LM:

8B LM trained on synthetically data

generated by self-feedback inference

ScholarQABench

Data: 2.2k new expert-

written questions in

computer science,

biomedicine, neuroscience

and physics

Evaluation: Reproducible

multi-faced model-based

and human evaluation

Input

What are ways to cool the center-of-mass (CoM) motion of levitated nanoparticles?

Expert-written answer

Currently, the most commonly used cooling method is feedback cooling [1]. By measuring the real-time position... An alternative method involves levitating the nanosphere in an optical cavity and cooling via coherent scattering [2]. The trapping laser is red-detuned from...

Citations

[1] Millikelvin cooling of an optically trapped microsphere in vacuum

[2] Cavity Cooling of a Levitated Nanosphere by Coherent Scattering

Evaluated by model

Evaluated by model and humans

Evaluated by humans

Accuracy

Citations

Coverage

Relevance

Organization

Usefulness

Automatic evaluation results

Figure

Citations

Figure

Human evaluation results on

Usefulness

Pair-wise win against experts

OS-8B

OS-GPT40

Model

Expert

Tie

Three-way classification

OS-8B

OS-GPT40

Human

Useful

Neutral

Not useful

0 20 40 60 80 100

Figure 1: (Top) Overview of OPENSCHOLAR: OPENSCHOLAR consists of a specialized data-store, retrievers and LMs and iteratively improves responses using self-feedback inference with retrieval. (Middle) Overview of SCHOLARQABENCH: SCHOLARQABENCH consists of 2.2k expert-written questions across multiple scientific disciplines, and we introduce automatic and human evaluation protocols for SCHOLARQABENCH. (Bottom) Automatic and Human Evaluation Results: Experimental results show the effectiveness of SCHOLARQABENCH, and that OPENSCHOLAR with our trained 8B or GPT4o significantly outperforms other systems, and is preferred over experts over 50% of the time in human evaluations.

Retrieval-augmented LMs (Lewis et al., 2020; Guu et al., 2020), on the other hand, can mitigate many of these issues by integrating retrieved external knowledge sources at inference-time, driving the development of systems for literature search and synthesis (Agarwal et al., 2024; Zheng et al., 2024; Skarlinski et al., 2024). However, many such systems rely on black-box APIs or general-purpose LLMs that are neither optimized for literature synthesis nor paired with open, domain-specific retrieval datastores (i.e., a processed corpus and corresponding retrieval index) that are specifically suited for scientific domains. Moreover, evaluations for scientific literature synthesis have been limited, using single-discipline and small-scale human evaluations (Agarwal et al., 2024; Zheng et al., 2024) or simplified tasks such as multiple-choice question answering (Skarlinski et al., 2024).

To address these gaps, we present OPENSCHOLAR (Figure 1, top), a state-of-the-art retrieval-augmented LM with a specialized paper datastore and retrievers trained on scientific literature. At inference time, OPENSCHOLAR retrieves relevant passages and uses iterative self-feedback generation to refine its own output. We further train a new, efficient 8B LM. To evaluate the effectiveness of OPENSCHOLAR, we introduce SCHOLARQABENCH (Figure 1, middle), a benchmark specifically designed to enable a realistic and reproducible evaluation of open-ended scientific question answering.

OPENSCHOLAR (Section 2) uses our new OPENSCHOLAR-DATASTORE (OSDS), which contains 45 million open-access papers from Semantic Scholar, along with 237 million corresponding passage embeddings. To the best of our knowledge, this is the largest open-sourced datastore of scientific domains. OPENSCHOLAR first retrieves passages from OSDS using a retriever and reranker.

Subsequently, an LM synthesizes the retrieved passages to generate responses with citations. OPEN-SCHOLAR iteratively refines its outputs through natural language feedback, which improves quality and adaptively incorporates supplementary information. This pipeline is also used to create large-scale, high-quality training data for smaller, more efficient models. We generate synthetic queries and instructions from sampled datastore passages, feed them into OPENSCHOLAR, and use intermediate and final output to train open 8B model, OPENSCHOLAR-8B and retrieval models.

SCHOLARQABENCH (Section 3) is a benchmark designed to evaluate the ability of models to understand and synthesize existing research. Unlike previous benchmarks that assume that answers can be found in a single paper (e.g., scientific fact-checking; Wadden et al., 2020; Skarlinski et al., 2024), many real-world scenarios require identifying multiple relevant papers and generating long-form output with accurate citations. To address these challenges, we curated a dataset of 2,967 literature synthesis questions, along with 208 long-form responses that are written by experts and span four scientific disciplines, namely computer science, physics, biomedicine, and neuroscience. These responses were crafted by Ph.D. students and postdoctoral researchers with more than three years of experience and relevant publications in the field. On average, each response required approximately one hour to compose. We also introduce a multifaceted evaluation protocol that combines automated metrics and human assessments to measure citation accuracy, factual correctness, content coverage, coherence, and overall quality. This multifaceted approach ensures robust and reproducible evaluations, both automatic and human-driven.

We evaluated proprietary and open models (e.g., GPT4o, Llama 3.1 8B, 70B) with and without retrieval capabilities, as well as specialized systems like PaperQA2 (Skarlinski et al., 2024), on SCHOLARQABENCH (Section 4). While GPT4o demonstrated strong general performance, it struggled with citation accuracy and coverage, often producing inaccurate or non-existent citations. OPEN-SCHOLAR outperformed both LM-only and retrieval-augmented pipelines, surpassing proprietary and open-source systems. Notably, using fully open-source checkpoints, OPENSCHOLAR outperformed PaperQA2 (Skarlinski et al., 2024), built on proprietary LMs, and production systems like Perplexity Pro, achieving 6% and 10% improvements, respectively. Additionally, OPENSCHOLAR's use of smaller, efficient retrievers significantly reduced costs. Combining OPENSCHOLAR with GPT4o also improved correctness by 12% over GPT4o alone. The OPENSCHOLAR pipeline can also enhance off-the-shelf LMs. For example, when using GPT-4o as the underlying model, OPENSCHOLAR-GPT4o achieves a 12% improvement in correctness compared to GPT-4o alone.

In addition to automatic evaluations on SCHOLARQABENCH, we conducted detailed expert assessments with 16 scientists from fields such as computer science, physics, and biomedicine (Section 5). These experts performed pairwise and fine-grained evaluations of OPENSCHOLAR's outputs against 108 expert-written responses to literature synthesis queries in SCHOLARQABENCH. OPENSCHOLAR, when paired with GPT-4o and our trained 8B model, consistently outperformed expert-written responses, with win rates of 70% and 51%, respectively. In contrast, GPT-4o without retrieval struggled with information coverage and was rated as less helpful than human experts, achieving only a 31% win rate against human responses. This highlights that OPENSCHOLAR-generated outputs are more comprehensive, well-organized, and useful for synthesizing literature. These findings demonstrate that OPENSCHOLAR produces high-quality outputs that are not only competitive with expert-written answers but, in some cases, exceed them, particularly in terms of coverage and organization.

OPENSCHOLAR-8B is an open retrieval-augmented LM that avoids reliance on proprietary LMs or retrieval systems, leveraging one of the largest datastores in scientific literature domains. We release the full OPENSCHOLAR ecosystem, including code, trained retrievers, the LM checkpoint, the datastore, the SCHOLARQABENCH benchmark, expert evaluation tools, and a public demo.

References (11)

  • It is generally thought that the associated markers reflect the effect of a nearby common (minor allele frequency >0.05) causal site, which is associated with the marker, leading to extensive resequencing efforts to find causal sites
  • To achieve redirection of the modmRNA-LNP from liver to lung tissue, we administered endothelial-targeted modmRNA-LNP (either anti-PECAM modmRNA-LNP or anti-PLVAP [plasmalemma vesicle-associated protein] modmRNA-LNP) instead of non-targeted modmRNA-LNP in the original model
  • Nanoparticles possess unique optical and magnetic properties that can be utilized to improve imaging techniques
  • However, immune-related adverse events caused by immunotherapy also bring heavy burden to patients
  • Self-preference is the phenomenon in which an LLM favors its own outputs over texts from other LLMs and humans
  • Our analysis involved examining numerous variations of these four generation models, considering their varying sizes and finetuning settings both as generators and evaluators
  • If this hypothesis is correct, and alignment is largely about learning style, then a corollary of the Superficial Alignment Hypothesis is that one could sufficiently tune a pretrained language model with a rather small set of examples (Kirstain et al., 2021)
  • We measure the relative importance of these two stages by training LIMA, a 65B parameter LLaMa language model fine-tuned with the standard supervised loss on only 1,000 carefully curated prompts and responses, without any reinforcement learning or human preference modeling
  • Over 0.2 s, the signal increases in frequency and amplitude in about 8 cycles from 35 to 150 Hz, where the amplitude reaches a maximum
  • This is because in the inspiralling phase, the stellar size divided by the orbital separation is much smaller than unity
  • The issue of matching NR and PN waveforms for equal-mass binary black-hole systems, and using numerical relativity results in gravitational-wave searches has been considered previously [17, 18, 19, 20]