SpectraQuery: A Hybrid Retrieval-Augmented Conversational Assistant for Battery Science
By: Sreya Vangara , Jagjit Nanda , Yan-Kai Tzeng and more
Scientific reasoning increasingly requires linking structured experimental data with the unstructured literature that explains it, yet most large language model (LLM) assistants cannot reason jointly across these modalities. We introduce SpectraQuery, a hybrid natural-language query framework that integrates a relational Raman spectroscopy database with a vector-indexed scientific literature corpus using a Structured and Unstructured Query Language (SUQL)-inspired design. By combining semantic parsing with retrieval-augmented generation, SpectraQuery translates open-ended questions into coordinated SQL and literature retrieval operations, producing cited answers that unify numerical evidence with mechanistic explanation. Across SQL correctness, answer groundedness, retrieval effectiveness, and expert evaluation, SpectraQuery demonstrates strong performance: approximately 80 percent of generated SQL queries are fully correct, synthesized answers reach 93-97 percent groundedness with 10-15 retrieved passages, and battery scientists rate responses highly across accuracy, relevance, grounding, and clarity (4.1-4.6/5). These results show that hybrid retrieval architectures can meaningfully support scientific workflows by bridging data and discourse for high-volume experimental datasets.
Similar Papers
Language Models Can Understand Spectra: A Multimodal Model for Molecular Structure Elucidation
Quantitative Methods
Helps scientists figure out what things are made of.
Hybrid Retrieval-Augmented Generation for Robust Multilingual Document Question Answering
Digital Libraries
Helps computers answer questions from old, messy papers.
SPARQL-LLM: Real-Time SPARQL Query Generation from Natural Language Questions
Information Retrieval
Computers understand questions to find data.