ScIRGen: Synthesize Realistic and Large-Scale RAG Dataset for Scientific Research

Junyong Lin, Lu Dai, Ruiqian Han, Yijie Sui, Ruilin Wang, Xingliang Sun, Qinglin Wu, Min Feng, Hao Liu, Hui Xiong

TL;DR

This paper introduces ScIRGen, a novel framework for generating realistic and large-scale Retrieval-Augmented Generation (RAG) datasets for scientific research. By addressing the limitations of existing datasets that often feature simplistic queries and sparse metadata, ScIRGen aims to better reflect the complex information needs of professional scientists, thereby advancing the development of more sophisticated AI tools for scientific discovery.

What Problem Does This Paper Address?

Scientific research heavily relies on accessing and understanding vast amounts of information, including datasets, to evaluate theories and develop methodologies. However, current scientific retrieval and question-answering (QA) datasets often fall short because they use overly simplistic questions that don't mirror the nuanced, task-oriented inquiries scientists actually make during their workflows. Furthermore, scientific datasets typically come with only basic metadata, lacking the rich context found in research papers that is crucial for deeper understanding and problem-solving. This gap limits the effectiveness of current AI tools in supporting complex scientific research.

Methods

ScIRGen employs a systematic, end-to-end framework for dataset generation:

  • Context Collection & Representation: The framework first curates a corpus of scientific datasets and their associated research papers. It uses a "Dataset-Paper Relevance Analyzer" (based on LLMs) to identify papers that substantively use specific datasets, going beyond simple citations. A hierarchical content parsing method then extracts six key categories of dataset-related information (background, research objectives, methods, challenges, dataset usage, findings) from these papers, creating a rich, structured representation.
  • Question Generation: ScIRGen leverages the Graesser and Pearson's taxonomy, a well-established framework with 18 distinct question types, to generate diverse and purposeful questions. This taxonomy is adapted for the geoscience domain by domain specialists. The generation process uses an in-context learning prompting method to ensure questions align with professional scientific inquiry and cognitive complexity.
  • Answer Filtering: A novel statistical filter, "ASePer-Filter," is introduced to assess the faithfulness of generated answers to the provided context. It measures the "belief shift" in an LLM's confidence when generating an answer with and without the context, accepting answers where the context increases confidence. This method is shown to be highly aligned with human judgment.

Datasets

The primary output of this framework is ScIRGen-Geo, a large-scale RAG dataset specifically for the geoscience domain. It comprises:

  • 61,376 QA pairs.
  • A corpus of 3,345 datasets.
  • Associated relevant papers.

This dataset is designed to support tasks like dataset retrieval and question answering, reflecting the complex information needs of scientific researchers.

Key Insights and Ideas

  • The "Information Need" Gap: The paper highlights a critical disconnect between the simple queries found in most existing QA datasets and the complex, task-oriented questions scientists actually ask.
  • Context is King (Especially in Science): Simply having dataset metadata isn't enough. The rich context embedded in research papers is essential for answering sophisticated scientific questions.
  • Cognitive Taxonomy for Quality: Using a structured taxonomy like Graesser and Pearson's, combined with Revised Bloom's Taxonomy for cognitive levels, allows for the generation of questions that span a broad spectrum of understanding and reasoning.
  • LLMs as Both Generators and Analyzers: LLMs are used not only to generate questions and answers but also to analyze paper relevance and filter answer quality, demonstrating their versatility in dataset creation.
  • Synthetic Data Can Be High-Quality: The ASePer-Filter method shows that synthetic data, when generated and filtered rigorously, can achieve high quality and be a reliable ground truth for benchmarks.

Key Results

  • ScIRGen-Geo Dataset: A comprehensive dataset of 61,376 QA pairs was created, covering 18 question types and a corpus of 3,345 geoscience datasets with linked papers.
  • Improved Retrieval Performance: Benchmarking various retrieval methods on ScIRGen-Geo showed that incorporating parsed paper passages significantly improved performance across all models, especially for long-context embedding models. BM25 even became comparable to LLM-based retrievers when using paper information.
  • LLM Performance on QA: Scientific foundation LLMs generally outperformed general-purpose LLMs on the ScIRGen-Geo dataset, particularly for reasoning-intensive question types. However, even advanced models struggled with complex reasoning tasks like causal inference.
  • ASePer-Filter Effectiveness: The ASePer-Filter demonstrated a significant improvement in filtering accuracy, achieving 95% precision according to human annotation, outperforming LLM-as-a-judge methods.

Limitations and Future Work

  • Model Limitations: The paper acknowledges that current models still struggle with complex reasoning from intricate questions, indicating a need for further advancements in AI capabilities.
  • Domain Specificity: While ScIRGen-Geo is for geoscience, the framework is generalizable. Future work could involve applying it to other scientific domains to create more specialized RAG datasets.
  • Further Refinement: The authors suggest that continued refinement of the generation and filtering processes could lead to even higher quality datasets.

Summary updated

BibTeX
@inproceedings{lin2025scirgen,
  author = {Junyong Lin and Lu Dai and Ruiqian Han and Yijie Sui and Ruilin Wang and Xingliang Sun and Qinglin Wu and Min Feng and Hao Liu and Hui Xiong},
  title = {{ScIRGen: Synthesize Realistic and Large-Scale RAG Dataset for Scientific Research}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2025},
}
Figure