English

MolReFlect: Towards In-Context Fine-grained Alignments between Molecules and Texts

Computation and Language 2026-04-29 v2 Machine Learning Quantitative Methods

Abstract

Molecule discovery is a pivotal research field, impacting everything from medicine to materials. Recently, Large Language Models (LLMs) have been widely adopted in molecular understanding and generation, serving as a bridge between the molecular space and the natural language space, yet the alignment between molecules and their corresponding captions remains a significant challenge. Previous endeavors typically treat molecules as monolithic inputs, lacking an intermediate reasoning process and sacrificing explainability. In this work, we define fine-grained alignments as the precise correspondence between a molecule's sub-structures and the textual phrases that explain their properties. These alignments are crucial for LLMs to understand molecules in a more accurate and explainable manner. Normally, such fine-grained alignments require expert annotation, which is both costly and time-consuming. To allow LLMs to automatically label and learn the fine-grained alignments, we propose MolReFlect, a novel teacher-student framework, where a teacher LLM first generates and refines mappings between caption phrases and SMILES substructures and then explicitly teaches these detailed alignments to a student LLM. Experimental results demonstrate that MolReFlect enables LLMs to significantly outperform previous baselines, achieving the state-of-the-art performance in the molecule-caption translation task. Our codes are available via: https://github.com/phenixace/MolReFlect.

Keywords

Cite

@article{arxiv.2411.14721,
  title  = {MolReFlect: Towards In-Context Fine-grained Alignments between Molecules and Texts},
  author = {Jiatong Li and Yunqing Liu and Wei Liu and Jingdi Le and Di Zhang and Wenqi Fan and Dongzhan Zhou and Yuqiang Li and Qing Li},
  journal= {arXiv preprint arXiv:2411.14721},
  year   = {2026}
}

Comments

Accepted by TKDE, To appear. Codes are available at: https://github.com/phenixace/MolReFlect

R2 v1 2026-06-28T20:08:41.084Z