about
Hallucinations Can Improve Large Language Models in Drug Discovery (arxiv.org)
1 point by keepit on Jan 24, 2025 | hide | past | pdf | discuss on HN

In plain words: They turn a molecule's code into plain-language descriptions, even when wrong, and feed them to a classifier predicting a drug candidate's properties. Adding these made-up details raised accuracy for several models over using the code alone, with wrong claims about molecular structure helping most.

Abstract · Can Hallucinations Help? Boosting LLMs for Drug Discovery

Hallucinations in large language models (LLMs), plausible but factually inaccurate text, are often viewed as undesirable. However, recent work suggests that such outputs may hold creative potential. In this paper, we investigate whether hallucinations can improve LLMs on molecule property prediction, a key task in early-stage drug discovery. We prompt LLMs to generate natural language descriptions from molecular SMILES strings and incorporate these often hallucinated descriptions into downstream classification tasks. Evaluating seven instruction-tuned LLMs across five datasets, we find that hallucinations significantly improve predictive accuracy for some models. Notably, Falcon3-Mamba-7B outperforms all baselines when hallucinated text is included, while hallucinations generated by GPT-4o consistently yield the greatest gains between models. We further identify and categorize over 18,000 beneficial hallucinations, with structural misdescriptions emerging as the most impactful type, suggesting that hallucinated statements about molecular structure may increase model confidence. Ablation studies show that larger models benefit more from hallucinations, while temperature has a limited effect. Our findings challenge conventional views of hallucination as purely problematic and suggest new directions for leveraging hallucinations as a useful signal in scientific modeling tasks like drug discovery.

Shuzhou Yuan, Zhan Qu, Ashish Yashwanth Kangen, Michael Färber
arXiv:2501.13824 · cs.CL, cs.AI · submitted Jan 23, 2025 · updated Aug 22, 2025
abstract · pdf · html

add comment on HN