Librarian of Alexandria: A Modular Chemical Data Extraction Pipeline to Compare LLM Performance

Dataset creation is a critical component of predictive machine learning technology. In the field of chemistry, large experimental datasets are scarce, especially for niche chemical properties and topics, and their creation is cumbersome and time-consuming when performed manually. Here, we present Librarian of Alexandria (LoA), an open-source and lightweight framework for testing large-language models (LLMs) on the task of generating large datasets via direct extraction from scientific literature. LoA is available on GitHub along with example inputs, outputs, Docker container, and a Colab-friendly Jupyter Notebook. LoA has the chosen LLM(s) check the relevance of a research paper and perform data extraction. Two separate or identical LLMs may be independently and modularly specified by the end-user for these separate tasks. LoA can be easily updated via simplified user incorporation of the latest available LLMs. We compare several LLMs for both relevance and extraction functions and automate the collection of research papers for several popular chemical journals providing open access. LoA provides a much-needed testing environment which can be used to develop LLMs capable of assembling enormous chemical datasets with minimal effort on the part of the scientist. The best models we were able to test achieved ∼95% accuracy, which is sufficient for the purposes of training predictive machine learning models.

Authors

Institutions

Publication Details

Journal
Journal of Chemical Information and Modeling
Published
2026-06-09
DOI
https://doi.org/10.1021/acs.jcim.6c00374
Primary Topic
Machine Learning in Materials Science
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Librarian of Alexandria: A Modular Chemical Data Extraction Pipeline to Compare LLM Performance

Mark A. Hix, Morgan Grougan, Alice R. Walker, Janya Subasinghe
Journal of Chemical Information and Modeling
Machine Learning in Materials Science
article

Librarian of Alexandria: A Modular Chemical Data Extraction Pipeline to Compare LLM Performance

Mark A. Hix, Morgan Grougan, Alice R. Walker, Janya Subasinghe
article en

Abstract

Dataset creation is a critical component of predictive machine learning technology. In the field of chemistry, large experimental datasets are scarce, especially for niche chemical properties and topics, and their creation is cumbersome and time-consuming when performed manually. Here, we present Librarian of Alexandria (LoA), an open-source and lightweight framework for testing large-language models (LLMs) on the task of generating large datasets via direct extraction from scientific literature. LoA is available on GitHub along with example inputs, outputs, Docker container, and a Colab-friendly Jupyter Notebook. LoA has the chosen LLM(s) check the relevance of a research paper and perform data extraction. Two separate or identical LLMs may be independently and modularly specified by the end-user for these separate tasks. LoA can be easily updated via simplified user incorporation of the latest available LLMs. We compare several LLMs for both relevance and extraction functions and automate the collection of research papers for several popular chemical journals providing open access. LoA provides a much-needed testing environment which can be used to develop LLMs capable of assembling enormous chemical datasets with minimal effort on the part of the scientist. The best models we were able to test achieved ∼95% accuracy, which is sufficient for the purposes of training predictive machine learning models.

Journal of Chemical Information and Modeling
Wayne State University (US)
National Science Foundation, National Institute of General Medical Sciences
Quality Education
Openalex Percentile: Top 14%
Machine Learning in Materials Science
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.