Introduction
The rapid expansion of scientific literature presents a significant challenge for researchers attempting to synthesize information across thousands of papers. While Large Language Models (LLMs) offer potential solutions, scientific inquiry demands high precision, deep context, and rigorous attribution—qualities often lacking in general-purpose AI tools. Furthermore, many existing "AI for Research" platforms are closed-source, limiting transparency and reproducibility.
To address these challenges, we present Ai2 Scholar QA, an open-source Retrieval-Augmented Generation (RAG) pipeline. Designed to answer complex scientific questions, the system synthesizes information from a massive corpus of over 100 million abstracts and 11.7 million full-text papers, providing a transparent framework for the research community.
The Scholar QA Pipeline
The system employs a sophisticated multi-stage architecture to ensure accuracy and depth in its responses.
The process begins with Query Decomposition, where an LLM re-formulates the user's query into specific search terms optimized for both keyword and dense vector search. This hybrid retrieval approach searches a corpus of 285.6 million passages. Following retrieval, a Neural Reranking stage evaluates the top 256 snippets to select the 50 most relevant passages for the final answer generation.
Multi-Step Generation and Attribution
A core innovation of Scholar QA is its "Quote First" strategy. Rather than generating a one-shot answer, the system follows a three-step process:
- Quote Extraction: Verbatim, relevant quotes are pulled from the selected passages.
- Thematic Clustering: These quotes are organized into logical sections such as "Background" or "Methodology."
- Report Synthesis: The system generates structured prose, bulleted lists, and comparison tables.
This structured approach significantly reduces hallucinations. Every claim in the final report is linked to a clickable citation that reveals the exact source excerpt, ensuring high-fidelity attribution.
Key Insights
Our development of Scholar QA revealed several critical insights for scientific RAG systems:
- Full-Text Importance: Relying solely on abstracts limits the depth of answers. By indexing full-text bodies, the system can address "how" and "why" questions that are often omitted in abstracts.
- Latency Management: Generating comprehensive reports takes approximately 2.5 minutes. To maintain a positive user experience, the system utilizes "section streaming," allowing users to begin reading the first section within 50 seconds.
- Parametric Fallback: When retrieval fails, the system can use its internal LLM knowledge but must explicitly label such sections as "LLM Memory" to maintain a clear distinction from retrieved evidence.
Evaluation and Results
Scholar QA was evaluated using the ScholarQA-CS benchmark, consisting of 100 complex Computer Science questions. Utilizing Claude 3.7, the system achieved a total score of 61.9, outperforming other state-of-the-art systems like STORM (59.5) and OpenScholar (53.5). Notably, Scholar QA led in citation quality metrics, proving more reliable at linking claims to evidence. In public deployment, the system has handled over 30,000 questions with an 85% positive feedback rate.
Conclusion and Future Work
Ai2 Scholar QA demonstrates the power of open-source, full-text RAG for scientific synthesis. While currently focused on Computer Science and reliant on proprietary LLM backbones, future work will involve expanding to fields like Biomedicine and fine-tuning open-source models to replace closed-source components. Additionally, we aim to transition from static reports to conversational interfaces to allow for deeper interactive exploration of scientific literature.
Summary updated