How to Detect and Defeat Molecular Mirage: A Metric-Driven Benchmark for Hallucination in LLM-based Molecular Comprehension
Hao Li, Liuzhenghao Lv, He Cao, Zijing Liu, Zhiyuan Yan, Yu Wang, Yonghong Tian, Yu Li, Li Yuan
TL;DR
The paper tackles hallucination in LLM-based molecular understanding by introducing Mol-Hallu, a free-form evaluation metric that quantifies entity-level entailment between generated text, ground truth, and molecular descriptions. It identifies bio-knowledge shortcuts in PubChemQA as a key hallucination source and pairs Mol-Hallu with Hallucination Reduction Post-processing (HRPP) to mitigate these errors via entity-masking and Direct Preference Optimization. Empirical results show Mol-Hallu better captures semantic biotechnology errors than traditional metrics and that HRPP consistently reduces hallucinations across decoder-only and encoder-decoder models, improving reliability for molecular design and analysis. The work provides practical, scalable tools to assess and reduce hallucination in scientific LLMs, with implications for drug discovery and cheminformatics pipelines.
Abstract
Large language models are increasingly used in scientific domains, especially for molecular understanding and analysis. However, existing models are affected by hallucination issues, resulting in errors in drug design and utilization. In this paper, we first analyze the sources of hallucination in LLMs for molecular comprehension tasks, specifically the knowledge shortcut phenomenon observed in the PubChem dataset. To evaluate hallucination in molecular comprehension tasks with computational efficiency, we introduce \textbf{Mol-Hallu}, a novel free-form evaluation metric that quantifies the degree of hallucination based on the scientific entailment relationship between generated text and actual molecular properties. Utilizing the Mol-Hallu metric, we reassess and analyze the extent of hallucination in various LLMs performing molecular comprehension tasks. Furthermore, the Hallucination Reduction Post-processing stage~(HRPP) is proposed to alleviate molecular hallucinations, Experiments show the effectiveness of HRPP on decoder-only and encoder-decoder molecular LLMs. Our findings provide critical insights into mitigating hallucination and improving the reliability of LLMs in scientific applications.
