[Paper Review] MoleculeQA: A Dataset to Evaluate Factual Accuracy in Molecular Comprehension
MoleculeQA introduces the first comprehensive, factual evaluation benchmark for molecular language models, comprising 62K QA pairs across 23K molecules. It uses a hierarchical domain taxonomy and LLM-guided construction to ensure semantic consistency, revealing significant factual inaccuracies in existing models and demonstrating that LoRA fine-tuning improves factual accuracy in molecular comprehension.
Large language models are playing an increasingly significant role in molecular research, yet existing models often generate erroneous information, posing challenges to accurate molecular comprehension. Traditional evaluation metrics for generated content fail to assess a model's accuracy in molecular understanding. To rectify the absence of factual evaluation, we present MoleculeQA, a novel question answering (QA) dataset which possesses 62K QA pairs over 23K molecules. Each QA pair, composed of a manual question, a positive option and three negative options, has consistent semantics with a molecular description from authoritative molecular corpus. MoleculeQA is not only the first benchmark for molecular factual bias evaluation but also the largest QA dataset for molecular research. A comprehensive evaluation on MoleculeQA for existing molecular LLMs exposes their deficiencies in specific areas and pinpoints several particularly crucial factors for molecular understanding.
Motivation & Objective
- To address the lack of factual evaluation benchmarks for molecular language models, which currently rely on fluency-based metrics like BLEU and ROUGE that fail to detect hallucinations.
- To develop a large-scale, high-precision QA dataset grounded in authoritative molecular corpora to assess factual consistency in molecular descriptions.
- To identify critical deficiencies in existing molecular LLMs related to factual accuracy, particularly in areas like structure, source, and application.
- To evaluate whether adaptive fine-tuning with LoRA can enhance general LLMs in acquiring domain-specific factual knowledge in molecular science.
- To provide a standardized, reproducible benchmark for assessing and improving the reliability of molecular LLMs in real-world applications.
Proposed method
- Constructed a hierarchical domain taxonomy using rule-based and automated methods on authoritative molecular corpora, covering properties, sources, structures, and applications.
- Used LLMs to generate QA pairs through four key tasks: corpus classification, topic extraction, answer generation, and semantic consistency validation.
- Designed a 10-shot few-shot prompting framework with GPT-4-like models to ensure consistent and accurate QA construction, using SMILES and natural language descriptions.
- Employed LoRA fine-tuning on diverse LLMs (e.g., LLaMA2, BLOOM, GALACTICA) to assess transferability and factual knowledge acquisition in molecular tasks.
- Validated semantic consistency between generated answers and original descriptions using LLM-based justification to ensure factual fidelity.
- Analyzed model performance across four aspects—structure, source, property, and application—using accuracy metrics to identify failure patterns.

Experimental results
Research questions
- RQ1To what extent do state-of-the-art molecular language models generate factually incorrect statements despite fluent and plausible outputs?
- RQ2Can a large-scale, taxonomy-guided QA benchmark effectively detect and quantify factual hallucinations in molecular LLMs?
- RQ3How does LoRA fine-tuning affect the factual accuracy of general-purpose LLMs in molecular reasoning tasks?
- RQ4Which molecular understanding aspects (e.g., source, structure, application) are most vulnerable to factual errors in current models?
- RQ5What are the key factors that distinguish high-accuracy molecular LLMs from those prone to hallucination?
Key findings
- Existing molecular LLMs, including BioT5-base, generate fluent but factually incorrect descriptions, as shown in Table 1 with examples of incorrect isotope and compound origin claims.
- The MoleculeQA benchmark revealed that even top-performing models exhibit significant factual inaccuracies, particularly in source and structural descriptions.
- LoRA fine-tuning significantly improves factual accuracy across multiple LLMs, with performance gains observed across all four evaluation aspects: structure, source, property, and application.
- Model size alone does not guarantee factual accuracy; smaller models fine-tuned with LoRA outperform larger, unfine-tuned models in some factual comprehension tasks.
- The benchmark identified that models frequently hallucinate about molecular origins and synthetic pathways, indicating a critical gap in knowledge grounding.
- Semantic consistency validation using LLMs proved effective in filtering out non-factual answers, ensuring high-quality QA pair construction.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.