通过规则正则化方法构建大规模分子结构-语言描述数据集
MolLangData: A Large-Scale Dataset for Molecular Structure-Language Description via a Rule-Regularized Method
AI总结:
本文提出一种全自动标注框架,生成精确分子描述,保留完整结构细节,构建了约16.3万分子-描述对数据集,验证精度达98.6%。
摘要:
分子功能主要由结构决定。准确对齐分子结构与自然语言对使大语言模型能够推理下游化学任务至关重要。然而,人工标注成本过高,难以构建大规模高质量的结构 grounded 描述数据集。本文提出一个完全自动化的标注框架,用于生成精确的分子描述,保留完整的结构细节。我们的方法基于并扩展了基于规则的化学命名法解析器,以解释IUPAC名称并构建丰富的结构性XML元数据,该元数据显式编码分子结构。然后利用该元数据指导LLM生成准确的自然语言描述。使用此框架,我们整理了一个大约163,000个分子-描述对的数据集。通过结合LLM和专家人工评估的严格验证协议,在2000个分子子集上展示了98.6%的描述精度。所提出的标注框架对依赖结构描述的更广泛化学任务具有广泛益处,生成的数据集为分子-语言对齐提供了可靠的基础。源代码和数据集分别托管在https://github.com/TheLuoFengLab/MolLangData和https://huggingface.co/datasets/ChemFM/MolLangData。
英文摘要:
Molecular function is largely determined by structure. Accurately aligning molecular structure with natural language is therefore essential for enabling large language models (LLMs) to both understand structure for chemical reasoning and generate molecules from natural-language design intent. However, the substantial cost of human annotation makes it infeasible to construct large-scale, high-quality datasets of structure-grounded descriptions. This work proposes a fully automated annotation framework for generating precise molecular descriptions at scale, such that the original molecule can be unambiguously reconstructed from the description alone. Our approach extends a rule-based chemical nomenclature parser to interpret IUPAC names and construct enriched, XML metadata that explicitly encodes molecular structure. This is then used to guide LLMs in producing accurate natural-language descriptions. Using this framework, we curate MolLangData, a dataset of approximately $163$k molecule--description pairs. A rigorous validation protocol combining expert human and LLM-based reconstruction on a subset of $2,000$ molecules demonstrates $98.6\%$ description precision. Using the curated dataset, we train a $4$B-parameter LLM via large-scale reinforcement learning for language-conditional molecule generation. The proposed framework and dataset provide a reliable foundation for molecule--language alignment, readily beneficial to broader chemical tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。