TL;DR
Scientific papers in materials science are goldmines of experimental data, yet turning scattered text, complex tables, and supplementary PDFs into clean database rows remains notoriously messy for Large Language Models (LLMs). MatExtractBench introduces a rigorous benchmark to test how well LLMs extract specific parameters for known materials across two distinct domains: nanozymes and perovskite solar cells. The big takeaway? How you manage your retrieval memory—specifically, wiping the slate clean between papers—matters almost as much as which model you pick.
What Problem Does This Paper Address?
Imagine reading a dense chemistry paper late at night. The recipe for a new solar cell is in Section 2, its voltage metrics are in Table 1, and the exact chemical additive that made it work is buried on page 14 of the Supplementary Information. Worse, the paper tests five slight variations of the same material, all with nearly identical names.
Automating the extraction of structured databases from this kind of literature faces three big hurdles:
- Siloed pipelines: Most existing tools are custom-built for one narrow material type, making cross-domain comparisons tough.
- Entangled evidence: Models easily mix up parameters belonging to different experimental groups, material variants, or testing conditions within the same paper.
- Retrieval messiness: In Retrieval-Augmented Generation (RAG) setups, what sits in your vector database—and whether old papers linger around—heavily sways what the LLM sees and extracts.
MatExtractBench tackles this by standardizing how we test entity-conditioned parameter extraction: given a known target material and a strict schema, can an LLM pull the exact right numbers and link them to the right experimental instance?
Methods
The authors built an automated evaluation pipeline powered by RagFlow to test 15 LLMs (13 local open-weight models via Ollama, plus DeepSeek-V4 and Qwen-Max via API).
The centerpiece is their paper-level isolated workflow (RAG-I):
- Scoped Ingestion: Instead of dumping hundreds of PDFs into one giant vector store, the system ingests one logical paper unit at a time—a single PDF for nanozymes, or the main PDF plus its supplementary PDF together for solar cells.
- Entity-Conditioned Querying: Models are prompted with a specific target material name (
{name}) and schema. Solar cell records are extracted in a single CSV-formatted call per target, while nanozyme records are assembled from three sequential, grouped field queries. - Wipe and Repeat: Once all target materials in a paper are processed and saved, the knowledge base is completely cleared before loading the next paper.
To see what actually drives performance, they compare RAG-I against three control setups: RAG-A (cumulative knowledge base where old papers are never deleted), Direct-U (direct LLM extraction without RAG or predefined field names), and Direct-C (direct extraction conditioned on paper ID and material name). They also run a small ablation comparing academic-paper-specific chunking (RAP) against general text chunking (RAG).
Datasets
The paper introduces MatExtractBench, built from scratch through literature screening, OCR/Markdown conversion (enriched with figure descriptions via Qwen2-VL-7B), DeepSeek-R1 draft extraction, and line-by-line human expert verification. Crucially, only values backed by documentary evidence in the paper are scored; external database values are excluded from evaluation labels.
It covers two complementary domains:
- Nanozyme Dataset (380 papers, 952 material records): Tracks 24 columns per material, spanning composition (11 binary elemental indicators), physical traits (shape, size), and condition-dependent catalytic kinetics ($K_m$, $V_{max}$, $K_{cat}$ tied to specific pHs, temperatures, and substrates).
- Perovskite Solar Cell / PSC Dataset (318 papers): Tracks 8 columns per experimental device record, linking photovoltaic metrics (PCE, $V_{OC}$, $J_{SC}$, FF) to fabrication additives and passivating agents categorized by where and when they are applied in the device stack.
Key Insights and Ideas
- Hoarding papers ruins retrieval: Letting previously processed papers pile up in your RAG knowledge base (
RAG-A) tanks extraction quality compared to isolating one paper at a time (RAG-I). Keeping the retrieval scope strictly aligned with the current study—while keeping main texts and supplementary files paired together—is vital. - Precision without coverage is a trap: Models on the nanozyme task often look accurate when they speak (high precision), yet miss the vast majority of reported parameters (low recall), struggling to link kinetic metrics to shifting experimental conditions.
- Bigger isn't always linearly better: Within-family scaling depends heavily on the domain. Going from DeepSeek-R1 14B to 32B jumped F1 from 21.35% to 39.55% on solar cells, but actually dropped from 32.87% to 28.16% on nanozymes.
- Structure-aware chunking helps: Splitting PDFs using academic-paper-aware chunking (
RAP) beat general chunking across every tested model, rescuing some models from 0.00% F1 scores.
Key Results
Even with clean paper-level isolation, document-level materials extraction remains an uphill climb:
- Isolated vs. Cumulative RAG: Across all 15 models,
RAG-Iachieved mean F1 scores of 21.64% (nanozymes) and 26.85% (PSCs), beating cumulativeRAG-Aby 14.22 and 25.09 percentage points, respectively. For Qwen-Max on PSCs, isolating papers meant the difference between 2.43% F1 (RAG-A) and 52.45% F1 (RAG-I). - Top Models: API models led the pack under
RAG-I, with Qwen-Max hitting 36.86% (nanozymes) and 52.45% (PSCs), closely followed by DeepSeek-V4 (35.78% and 49.56%). Among local models, DeepSeek-R1-14B led on nanozymes (32.87%), while Qwen2.5-14B led on PSCs (42.22%). - Precision–Recall Split: On nanozymes,
RAG-Iaveraged 54.01% precision but just 13.99% recall. On PSCs, the balance shifted to 34.36% precision and 22.98% recall.
Limitations and Future Work
The authors are candid about what their setup can and cannot prove:
- Non-orthogonal controls: Because the four configurations vary retrieval, prompting, and schema constraints together, you cannot isolate the exact mathematical contribution of any single variable (nor is there a single-query control for the 3-step nanozyme prompt, or a main-text-only control for PSCs).
- Prompt vs. Gold-Standard Friction: The nanozyme prompt forces binary
0/1guesses for chemical elements, whereas the gold standard usesnullwhen elemental presence is indeterminate—meaning forced guesses on unmentioned elements get penalized as false positives. - Lack of granular error provenance: Aggregate F1 scores don't reveal why a failure happened (e.g., bad chunk retrieval vs. hallucination), and single-run tests lack statistical uncertainty bounds.
Future work aims to expand chunking ablations beyond five documents, trace field-level retrieval provenance, run repeated trials for variance estimates, and tackle open-ended entity discovery alongside parameter extraction.
Summary updated