RTMol: Rethinking Molecule-text Alignment in a Round-trip View
Letian Chen, Runhan Shi, Gufeng Yu, Yang Yang
TL;DR
RTMol addresses the core challenge of bidirectional molecule-text alignment by introducing round-trip learning that jointly trains molecule-to-text captioning and text-to-SMILES generation within a single LLM. The framework defines a mathematically grounded round-trip metric and leverages RL with Group Relative Policy Optimization to optimize chemically faithful captions and reconstructions, bypassing noisy paired data. It demonstrates substantial improvements across multiple backbones on both round-trip and text-to-molecule tasks, and shows robustness to noisy datasets via unsupervised captioning. The approach offers a principled path toward unified molecule-text understanding with practical impact on de novo design, literature mining, and cross-modal reasoning in chemistry.
Abstract
Aligning molecular sequence representations (e.g., SMILES notations) with textual descriptions is critical for applications spanning drug discovery, materials design, and automated chemical literature analysis. Existing methodologies typically treat molecular captioning (molecule-to-text) and text-based molecular design (text-to-molecule) as separate tasks, relying on supervised fine-tuning or contrastive learning pipelines. These approaches face three key limitations: (i) conventional metrics like BLEU prioritize linguistic fluency over chemical accuracy, (ii) training datasets frequently contain chemically ambiguous narratives with incomplete specifications, and (iii) independent optimization of generation directions leads to bidirectional inconsistency. To address these issues, we propose RTMol, a bidirectional alignment framework that unifies molecular captioning and text-to-SMILES generation through self-supervised round-trip learning. The framework introduces novel round-trip evaluation metrics and enables unsupervised training for molecular captioning without requiring paired molecule-text corpora. Experiments demonstrate that RTMol enhances bidirectional alignment performance by up to 47% across various LLMs, establishing an effective paradigm for joint molecule-text understanding and generation.
