Skip to main content
QUICK REVIEW

[论文解读] How to Detect and Defeat Molecular Mirage: A Metric-Driven Benchmark for Hallucination in LLM-based Molecular Comprehension

Hao Li, Liuzhenghao Lv|ArXiv.org|Apr 10, 2025
Computational Drug Discovery MethodsComputer Science被引用 3
一句话总结

该论文提出 Mol-Hallu,一种自由形式的度量,用于量化分子LLM中的幻觉,分析生物知识捷径的来源,并提出 HRPP 后处理以在解码器单独模型和编码器-解码器模型中减少幻觉。

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 extbf{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.

研究动机与目标

  • 识别分子LLM中幻觉的来源,特别是在 PubChemQA 中的生物知识捷径。
  • 提出 Mol-Hallu,一种基于对科学实体蕴涵的自由形式度量,用以量化幻觉。
  • 开发并评估Hallucination Reduction Post-processing (HRPP),以减轻幻觉。
  • 在解码器单独模型和编码器-解码器分子LLM 架构上评估 Mol-Hallu 和 HRPP。

提出的方法

  • 将分子幻觉定义为相对于真实分子性质的不存在或反事实科学实体的生成。
  • 通过在问题中的药物名称进行定向攻击,识别 PubChemQA 中的生物知识捷径作为主要幻觉来源。
  • 将 Mol-Hallu 构建为基于实体蕴涵的度量,计算预测文本中科学实体相对于真实文本和分子描述的精准度与召回率的对比。
  • 通过 Meta-llama-3.2 对约 ∼97,219 个化学实体进行注释,以支持实体蕴涵和评分。
  • 将 Mol-Hallu 计算为带平滑和几何平均的带权 F1 分数,使用蕴涵的精确度与召回率(P, R, Mol-Hallu = 2PR/(P+R))。
  • 提出 HRPP:(i) 在监督微调阶段对实体名称进行掩蔽,以降低捷径;(ii) 使用对幻觉敏感的偏好数据集进行 Direct Preference Optimization (DPO),以提升事实准确性。

实验结果

研究问题

  • RQ1分子LLM 的主要幻觉来源是什么,生物知识捷径如何促成幻觉?
  • RQ2与传统度量相比,Mol-Hallu 能否有效量化开放式分子生成任务中的幻觉?
  • RQ3Hallucination Reduction Post-processing (HRPP) 是否在解码器单独模型和编码器-解码器模型中减少分子幻觉?
  • RQ4HRPP 如何影响标准文本度量(BLEU、ROUGE、METEOR)与 Mol-Hallu?
  • RQ5Mol-Hallu 作为基准工具的局限性与潜在风险是什么?

主要发现

  • Mol-Hallu 对幻觉的敏感度高于传统度量,随着幻觉增加,差异更加显著。
  • PubChemQA 中的生物知识捷径促使LLM 依赖药物名称而非分子结构,从而增加幻觉。
  • HRPP 在文本度量和 Mol-Hallu 上均有显著提升,覆盖解码器单独模型与编码器-解码器模型(文本度量和 Mol-Hallu 的平均增幅)。
  • 编码器-解码器模型(如基于 T5 的模型)在分子问答任务中表现出色,且参数量相对较小,常超越某些较大规模的 Llama 基模型或基于 API 的模型。
  • HRPP 将幻觉计数的分布向较低值(0–2)迁移,表明在测试模型中实现了有效的去幻觉化。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。