MolLangData: A Large-Scale Dataset for Molecular Structure-Language Description via a Rule-Regularized Method
cs.CL, cs.AI, q-bio.BM
Submitted: 2026-02-02
Updated: 2026-09-26
Code: https://github.com/TheLuoFengLab/MolLangData
License: http://creativecommons.org/licenses/by/4.0/
The gist: Molecular function is largely determined by structure.
Terminology
Abstract
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.
Sources
- Galactica: A Large Language Model for Science
- ChemLLM: A Chemical Large Language Model
- A Molecular Multimodal Foundation Model Associating Molecule Graphs with Natural Language
- MolLangBench: A Comprehensive Benchmark for Language-Prompted Molecular Structure Recognition, Editing, and Generation
- From Perception to Cognition: A Survey of Vision-Language Interactive Reasoning in Multimodal Large Language Models
- Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilities
- RetroDFM-R: Reasoning-Driven Retrosynthesis Prediction with Large Language Models via Reinforcement Learning
- MolTextNet: A Two-Million Molecule-Text Dataset for Multimodal Molecular Learning
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering