Lune

EMNLP Findings2025

Training Text-to-Molecule Models with Context-Aware Tokenization

Seojin Kim, Hyeontae Song, Jaehyun Nam, Jinwoo Shin

Abstract

Recently, text-to-molecule models have shown great potential across various chemical applications, e.g., drug-discovery. These models adapt language models to molecular data by representing molecules as sequences of atoms. However, they rely on atom-level tokenizations, which primarily focus on modeling local connectivity, thereby limiting the ability of models to capture the global structural context within molecules. To tackle this issue, we propose a novel text-to-molecule model, coined Context-Aware Molecular T5 (CAMT5). Inspired by the significance of the substructure-level contexts in understanding molecule structures, e.g., ring systems, we introduce substructurelevel tokenization for text-to-molecule models. Building on our tokenization scheme, we develop an importance-based training strategy that prioritizes key substructures, enabling CAMT5 to better capture the molecular semantics. Extensive experiments verify the superiority of CAMT5 in various text-to-molecule generation tasks. Intriguingly, we find that CAMT5 outperforms the state-of-the-art methods using only 2% of training tokens. In addition, we propose a simple yet effective ensemble strategy that aggregates the outputs of textto-molecule models to further boost the generation performance. Code is available at https: //github.com/Songhyeontae/CAMT5.git.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Unifying Molecular and Textual Representations via Multi-task Language Modelling cites Translation between Molecules and Natural Language
  • BiMol-Diff: A Unified Diffusion Framework for Molecular Generation and Captioning cites Unifying Molecular and Textual Representations via Multi-task Language Modelling
  • BiMol-Diff: A Unified Diffusion Framework for Molecular Generation and Captioning cites Translation between Molecules and Natural Language
  • Molecule Generation by Principal Subgraph Mining and Assembling cites Hierarchical Generation of Molecular Graphs using Structural Motifs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. BiMol-Diff: A Unified Diffusion Framework for Molecular Generation and CaptioningAditya Hemant Shahane, Anuj Kumar Sirohi, Devansh Arora, Nitin Kumar et al.ACL 2026

Builds on11

  1. Motif-based Graph Self-Supervised Learning for Molecular Property PredictionZaixi Zhang, Qi Liu, Hao Wang, Chengqiang Lu et al.NeurIPS 2021 · 385 citations
  2. Hierarchical Generation of Molecular Graphs using Structural MotifsWengong Jin, Regina Barzilay, Tommi S. JaakkolaICML 2020 · 356 citations
  3. Unifying Molecular and Textual Representations via Multi-task Language ModellingDimitrios Christofidellis, Giorgio Giannone, Jannis Born, Ole Winther et al.ICML 2023 · 126 citations
  4. Translation between Molecules and Natural LanguageCarl Edwards, Tuan Manh Lai, Kevin Ros, Garrett Honke et al.EMNLP 2022 · 112 citations
  5. Molecule Generation by Principal Subgraph Mining and AssemblingXiangzhe Kong, Wenbing Huang, Zhixing Tan, Yang LiuNeurIPS 2022 · 90 citations

Related papers

  1. Hierarchical Graph Tokenization for Molecule-Language AlignmentYongqiang Chen, Quanming Yao, Juzheng Zhang, James Cheng et al.ICML 2025 · 2 citations
  2. 3D-MolT5: Leveraging Discrete Structural Information for Molecule-Text ModelingQizhi Pei, Rui Yan, Kaiyuan Gao, Jinhua Zhu et al.ICLR 2025
  3. Lost in Translation: Chemical Language Models and the Misunderstanding of Molecule StructuresVeronika Ganeeva, Andrey Sakhovskiy, Kuzma Khrabrov, Andrey V. Savchenko et al.EMNLP Findings 2024 · 3 citations
  4. Text-Guided Molecule Generation with Diffusion Language ModelHaisong Gong, Qiang Liu, Shu Wu, Liang WangAAAI 2024 · 45 citations
  5. Improving Large Molecular Language Model via Relation-aware Multimodal CollaborationJinyoung Park, Minseong Bae, Jeehye Na, Hyunwoo J. KimAAAI 2026
Dusk over the sea between two cliffs drawn in fine vertical lines