mCLM: A Modular Chemical Language Model that Generates Functional and Makeable Molecules
Carl Edwards, Chi Han, Gawon Lee, Thao Nguyen, Sara Szymkuć, Chetan Prasad, Bowen Jin, Jiawei Han, Ying Diao, Ge Liu, Hao Peng, Bartosz Grzybowski, Martin Burke, Heng Ji
International Conference on Learning Representations 2026 · Oral
Overview
Drug discovery remains an extraordinarily difficult, time-consuming, and capital-intensive endeavor. While generating chemical structures via computational methods is relatively straightforward, optimizing candidates so they succeed through clinical trials—avoiding late-stage failures that cost years and hundreds of millions of dollars—presents a massive systems and machine learning challenge. A successful therapeutic cannot simply optimize a single property; it must balance target binding, selectivity, favorable absorption, distribution, metabolism, excretion (ADMET), minimal toxicity, and robust synthesizability at scale.

Key moments
- 0:00 Introduction and challenges in drug discovery
- 2:00 Limitations of SMILES and introducing functional chemical modules
- 4:00 The mCLM architecture and training methodology
- 6:00 Two-tier tokenizer and guarantees for automated synthesis
- 8:00 Experimental results and iterative drug optimization
- 10:00 Audience Q&A on building blocks and BRICS algorithm
mCLM: A Modular Chemical Language Model that Generates Functional and Makeable Molecules
Speakers: Carl Edwards; Chi Han; Gawon Lee; Thao Nguyen; Sara Szymkuć; Chetan Prasad; Bowen Jin; Jiawei Han; Ying Diao; Ge Liu; Hao Peng; Bartosz Grzybowski; Martin Burke; Heng Ji
Conference: ICLR
Video: https://slideslive.com/39062139
Overview
Drug discovery remains an extraordinarily difficult, time-consuming, and capital-intensive endeavor. While generating chemical structures via computational methods is relatively straightforward, optimizing candidates so they succeed through clinical trials—avoiding late-stage failures that cost years and hundreds of millions of dollars—presents a massive systems and machine learning challenge. A successful therapeutic cannot simply optimize a single property; it must balance target binding, selectivity, favorable absorption, distribution, metabolism, excretion (ADMET), minimal toxicity, and robust synthesizability at scale.
To bridge the gap between computational molecule generation and real-world laboratory execution, the research team introduces mCLM (Modular Chemical Language Model). This talk details a transformer-based framework that unifies natural language instructions and molecular representations through code-switching. By shifting from character-level or purely linearized molecular inputs to functional chemical building blocks, mCLM aligns computational drug design with automated robotic synthesis platforms. The model demonstrates that treating molecular fragments like words in a language model—while baking structural makeability directly into the tokenization layer—enables the generation of functional, optimized, and synthesizable drug candidates.
Background
▶ Watch: Introduction and challenges in drug discovery (0:00)
In the machine learning and systems biology space, representing molecular structures for deep learning has long relied on linearized text formats. The standard approach utilizes SMILES (Simplified Molecular Input Line Information System) strings, compressing three-dimensional molecular geometries into one-dimensional text sequences. While this allows standard large language models to process chemistry, it forces spatial topological information to remain entirely implicit. A simple token like a carbon atom (C) carries virtually no semantic weight regarding its broader functional role within a complex macromolecule.
Simultaneously, advancements in automated block-based chemistry platforms have enabled machine-driven synthesis, mirroring how Lego bricks can be assembled into complex structures. However, traditional generative models frequently output molecules that look viable on a computer screen but are chemically impossible or prohibitively difficult to synthesize in a physical laboratory. Prior work often decouples generation from retrosynthesis, leaving synthesis planning as a post-hoc filtering step rather than an intrinsic constraint of the design loop. mCLM resolves this tension by integrating retrosynthetic constraints directly into the tokenization and training process, merging natural language processing with robust chemical engineering principles.
Key Findings
▶ Watch: The mCLM architecture and training methodology (4:00)
The development and evaluation of mCLM yielded several primary discoveries across chemical data integration, generation validity, and structural editing:
- Massive Multi-Task Data Integration: The authors curated millions of data points spanning over 50 datasets and more than 1,000 tasks—including property prediction, description, generation, and molecular editing—supplemented by 21 million converted natural language instruction examples derived from real-world experiments.
- High Synthesizability Rates: When tested against external retrosynthesis algorithms, generation outputs achieved a 98% synthesizability rate across valid generated molecules, slightly outperforming existing FDA-approved drugs used as baselines.
- Iterative Toxicity Mitigation: The model successfully rediscovered known chemical modifications (such as specific functional block swaps validated in recent literature) that reduce toxicity, and demonstrated the ability to iteratively edit failed clinical candidates (e.g., evobrutinib, which failed in phase III trials due to liver toxicity) to improve safety profiles while preserving therapeutic potential.
- Global Tokenization Constraints: Unlike standard fragment-based algorithms like BRICS (Building Block Assembly for Combinatorial Synthesis), which often compromise synthesizability when scaled, a specialized two-tier tokenizer ensures that block combinations remain universally compatible across a global vocabulary.
Technical Deep Dive
▶ Watch: Two-tier tokenizer and guarantees for automated synthesis (6:00)
The architectural foundation of mCLM centers on a pre-trained transformer LLM that ingests code-switched sequences of natural language instructions and molecular representations. Rather than processing raw characters or standard SMILES strings, the system maps molecules through a dual-tokenizer framework coupled with Graph Neural Networks (GNNs).
The Two-Tier Tokenizer and Synthesizability Guarantee
The core systems innovation lies in how the tokenizer handles chemistry. To interface seamlessly with automated synthesis hardware, the framework restricts underlying reaction types to three robust transformations: Suzuki-Miyaura cross-coupling, Buchwald-Hartwig amination, and amide coupling.
The primary tokenizer performs automated retrosynthesis before data reaches the language model. Crucially, it checks for chemical incompatibilities not just within a single target molecule, but across all possible cross-combinations within the entire building block vocabulary. This guarantees that any generated sequence of building blocks possesses a guaranteed retrosynthetic path independent of the generative model's inner mechanics.
To prevent data starvation, a secondary, rule-based tokenizer handles unsynthesizable molecules. While these molecules cannot be physically manufactured in an automated lab, incorporating them during pre-training significantly enhances the model's overarching chemical comprehension.
Training Dynamics
The architecture encodes molecule representations into latent vector spaces via GNNs. These latent vectors guide the selection of subsequent building blocks during generation. Because the framework relies on standard cross-entropy loss, training harmonizes naturally between natural language tasks and molecular graph generation. This unified loss stabilizes optimization and allows the model to generalize effectively to unseen building blocks.
Experimental Setup & Results
▶ Watch: Experimental results and iterative drug optimization (8:00)
The evaluation protocol spanned rigorous benchmark suites and computational validations:
- ADMET Benchmarks: The model was evaluated across six critical ADMET (Absorption, Distribution, Metabolism, Excretion, and Toxicity) property prediction tasks.
- Makeability Metrics: Using an external retrosynthesis verification algorithm on 100 generated molecules, 98 were confirmed fully synthesizable, matching or exceeding the makeability index of benchmark FDA-approved pharmaceuticals.
- Structural Ablations: Comparative tests against fragment-based alternatives like the BRICS algorithm demonstrated that while BRICS segments molecules retrosynthetically, it fails to account for global cross-block incompatibilities, ultimately degrading end-to-end synthesizability when compared to the global tokenization scheme implemented in mCLM.
Practical Implications
▶ Watch: Audience Q&A on building blocks and BRICS algorithm (10:00)
For infrastructure teams, model builders, and computational chemistry deployers, mCLM establishes a paradigm shift in how generative AI meets physical lab automation. By baking retrosynthetic feasibility directly into the tokenization and training loop, machine learning engineers no longer need to rely on brittle post-processing filters to weed out "hallucinated" unmakeable molecules.
For drug discovery pipelines, the ability to ingest multi-modal instructions (combining text descriptions with molecular graphs) and execute targeted structural edits allows teams to systematically debug failed clinical candidates. However, practitioners must account for limitations: restricting reactions to three specific coupling chemistries (Suzuki-Miyaura, Buchwald-Hartwig, and amide coupling) bounds the chemical space of the generated molecules, trading off absolute combinatorial freedom for guaranteed laboratory makeability.
Key Takeaways
- Code-Switched Transformers: mCLM unifies natural language instructions and molecular graphs within a single transformer framework trained via standard cross-entropy loss.
- Pre-loaded Synthesizability: By performing global retrosynthesis checks at the tokenizer level across a restricted set of reliable reactions, the model guarantees that generated molecules are physically makeable by automated lab robots.
- Functional Building Blocks: Treating molecular fragments like semantic words embeds functional properties (such as selectivity and bioavailability) directly into the tokenization scheme.
- Generalization via GNNs: Leveraging Graph Neural Networks enables the architecture to reason over and generalize to unseen chemical building blocks.
- Therapeutic Optimization: The framework successfully rediscovers known toxicity-reducing structural edits and can iteratively modify failed clinical trial candidates to improve safety profiles.
About the Speaker(s)
mCLM is the work of Carl Edwards, Chi Han, Gawon Lee, Thao Nguyen, Sara Szymkuć, Chetan Prasad, Bowen Jin, Jiawei Han, Ying Diao, Ge Liu, Hao Peng, Bartosz Grzybowski, Martin Burke and Heng Ji.
Reviews
→ Top-rated talks at International Conference on Learning Representations 2026
All talks from International Conference on Learning Representations 2026