Manuscript Offprint

arXiv:2610.25575

Benchmark for Structured Retrieval-Augmented Generation in Perovskite Photovoltaics

Qiwei Han, Chi Zhou, Gaoxiang Yuan

Abstract

While retrieval-augmented language models increasingly serve as literature assistants in the physical sciences, existing benchmarks evaluate them primarily on qualitative text overlap or through model-based scoring rather than against verified experimental ground truth. In experimental materials disciplines such as perovskite photovoltaics, however, the most critical inquiries are inherently quantitative and aggregate measurements across dozens or hundreds of papers. Here, we present a quantitative question-answering benchmark where all 755 ground-truth answers are computed directly from 45,441 measured device records (40,889 human-curated records through 2021 and 4,552 records extracted from 2022–2026 literature). Benchmarking six retrieval architectures over 158,274 passages from 25,662 papers using an open 14B model on a single 24 GB GPU, standard passage retrieval tops out at 16–23% accuracy (compared to 1.6–6.5% zero-shot). In contrast, equipping the language model with read-only SQL execution over the structured device table elevates accuracy to 51.5% on historical and 50.8% on prospective literature—a 33.0 ± 1.8 percentage-point advantage over hybrid text retrieval. Aggregate queries spanning extrema, distributions, and filtered record counts prove virtually unsolvable via text retrieval alone, demonstrating that systematic table extraction is an operational prerequisite for literature-scale quantitative inquiry.

1 Introduction

Large language models are finding rapid adoption across chemistry and materials science for paper summarisation, property extraction, and literature-grounded question answering [1–3]. Retrieval-augmented generation (RAG) has become the primary strategy for anchoring responses to published evidence and mitigating hallucinations [4, 5]. Perovskite solar cells present an ideal, highly demanding domain for evaluating these systems: the field has generated tens of thousands of experimental papers since 2013, supported by an established community database of over 40,000 curated devices [6], and specialized assistants integrating retrieval with domain fine-tuning and knowledge graphs have begun to emerge [7].

Evaluating such literature assistants remains fundamentally problematic when benchmarks rely on n-gram overlap or LLM-as-a-judge rubrics. Fluent prose often masks critical retrieval failures, particularly when an inquiry demands synthesizing hard numbers from multiple papers. A materials researcher rarely asks questions contained within a single abstract; practical questions routinely ask which papers report a composition exceeding a target efficiency, what the distribution of open-circuit voltages is for a given contact stack, or how device parameters have shifted across publication cohorts. Answering these queries exposes a fundamental dual failure mode in existing literature architectures. On one hand, standard chunk-based text retrieval, which returns a handful of localized passages, cannot assemble evidence dispersed across dozens of studies. On the other hand, unassisted text-to-SQL fails because relational schemas lack the qualitative context of research articles and cannot bridge informal scientific vocabulary (such as resolving conceptual terms like “SAM hole contacts” or “NiO x_{x}” into specific chemical strings like Me-4PACz or NiO-np) without domain semantic grounding [8]. Furthermore, evaluating models solely on historical literature risks rewarding parametric memorization rather than active retrieval [5].

Here, we tackle these dual challenges by introducing a quantitative question-answering benchmark where ground truth is deterministically computed, and systematically evaluating a hybrid retrieval architecture designed to bridge the gap between unstructured prose and structured tables. The benchmark's 755 questions are generated from templates over a relational database of 45,441 verified experimental device records, partitioning evenly between historical literature (40,889 human-curated records through 2021 [6]) and prospective literature (4,552 records extracted from 2022–2026 publications). The tasks span single-paper lookups, candidate lists, maxima, record counts, distributions, pairwise comparisons, and temporal trends. To address the limitations of both text search and unassisted database querying, we implement a hybrid structured RAG architecture: the model receives retrieved text passages for provenance and context, the relational schema, and a domain data dictionary, enabling multi-turn autonomous SQL execution before generating its final answer. All experiments evaluate an open 14-billion-parameter model [9] served on a single 24 GB desktop GPU [10].

Our results demonstrate that this hybrid structured approach directly resolves the bottlenecks that paralyze conventional retrieval. Where pure text retrieval hits a hard ceiling between 10% and 23% accuracy (scoring literally 0% on all multi-paper lists, maxima, and counts), uniting text retrieval with structured SQL execution more than doubles performance to 51.5% on historical and 50.8% on prospective literature—a net improvement of 33.0±1.833.0 \pm 1.8 percentage points over hybrid text search. Multi-document aggregation queries surge from 0% to 40%-67% accuracy, and single-paper lookups jump to 70%-80% as the agent combines paper titles with direct tabular lookups. Crucially, the accuracy advantage persists identically on literature published after the model's pretraining cutoff ( 31.0±2.531.0 \pm 2.5 points), proving that structured execution operates as a genuine reasoning and retrieval mechanism rather than a surrogate for memorized training data.

Ultimately, these findings establish a foundational principle for scientific literature interfaces: experimental research literature functions essentially as an unstructured database of measurements. Because quantitative scientific inquiries demand relational operations, automated extraction of device records into structured relational schemas must be treated as a primary foundation for literature QA, rather than as an independent downstream curation effort.