GP-MoLFormer: A Foundation Model For Molecular Generation
Not on the map. Why?
Abstract (arXiv)
Transformer-based models trained on large and general purpose datasets consisting of molecular strings have recently emerged as a powerful tool for successfully modeling various structure-property relations. Inspired by this success, we extend the paradigm of training chemical language transformers on large-scale chemical datasets to generative tasks in this work. Specifically, we propose GP-MoLFormer, an autoregressive molecular string generator that is trained on more than 1.1B (billion) chemical SMILES. GP-MoLFormer uses a 46.8M parameter transformer decoder model with linear attention and rotary positional encodings as the base architecture. GP-MoLFormer's utility is evaluated and compared with that of existing baselines on three different tasks: de novo generation, scaffold-constrained molecular decoration, and unconstrained property-guided optimization. While the first two are handled with no additional training, we propose a parameter-efficient fine-tuning method for the last task, which uses property-ordered molecular pairs as input. We call this new approach pair-tuning. Our results show GP-MoLFormer performs better or comparable with baselines across all three tasks, demonstrating its general utility for a variety of molecular generation tasks. We further report strong memorization of training data in GP-MoLFormer generations, which has so far remained unexplored for chemical language models. Our analyses reveal that training data memorization and novelty in generations are impacted by the quality and scale of the training data; duplication bias in training data can enhance memorization at the cost of lowering novelty. We further establish a scaling law relating inference compute and novelty in generations.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 42 of its 65 references that are in the map. First posted on arXiv 4 Apr 2024.
Builds on
42 of 65 references.
References · 42
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2020Rethinking Attention with Performerscited by 1,601
- 2019Improved Precision and Recall Metric for Assessing Generative Modelscited by 944
- 2023Large Language Modelscited by 780
- 2016Automatic chemical design using a data-driven continuous representation of moleculescited by 765
- 2022Quantifying Memorization Across Neural Language Modelscited by 763
30 more
- 2021Deduplicating Training Data Makes Language Models Bettercited by 714
- 2018Junction Tree Variational Autoencoder for Molecular Graph Generationcited by 652
- 2022Beyond neural scaling laws: beating power law scaling via data pruningcited by 528
- 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 458
- 2018MolGAN: An implicit generative model for small molecular graphscited by 393
- 2018Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generationcited by 364
- 2018GuacaMol: Benchmarking Models for De Novo Molecular Designcited by 297
- 2017Grammar Variational Autoencodercited by 285
- 2018Molecular Sets (MOSES): A Benchmarking Platform for Molecular Generation Modelscited by 275
- 2017Molecular De Novo Design through Deep Reinforcement Learningcited by 267
- 2018Molecular Transformer - A Model for Uncertainty-Calibrated Chemical Reaction Predictioncited by 229
- 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 220
- 2020Hierarchical Generation of Molecular Graphs using Structural Motifscited by 208
- 2021Large-Scale Chemical Language Representations Capture Molecular Structure and Propertiescited by 206
- 2018Optimization of Molecules via Deep Reinforcement Learningcited by 200
- 2018Fr'echet ChemNet Distance: A metric for generative models for molecules in drug discoverycited by 194
- 2021GraphDF: A Discrete Flow Model for Molecular Graph Generationcited by 180
- 2021MARS: Markov Molecular Sampling for Multi-objective Drug Discoverycited by 125
- 2023Calibrated Language Models Must Hallucinatecited by 115
- 2021Scaling Laws for Neural Machine Translationcited by 111
- 2018Syntax-Directed Variational Autoencoder for Structured Datacited by 103
- 2018Learning Multimodal Graph-to-Graph Translation for Molecular Optimizationcited by 88
- 2018Constrained Generation of Semantically Valid Graphs via Regularizing Variational Autoencoderscited by 74
- 2019Mol-CycleGAN - a generative model for molecular optimizationcited by 66
- 2022LIMO: Latent Inceptionism for Targeted Molecule Generationcited by 40
- 2022Group SELFIES: A Robust Fragment-Based Molecular String Representationcited by 33
- 2021MolGrow: A Graph Normalizing Flow for Hierarchical Molecular Generationcited by 22
- 2023Domain-Agnostic Molecular Generation with Chemical Feedbackcited by 22
- 2022Tartarus: A Benchmarking Platform for Realistic And Practical Inverse Molecular Designcited by 17
- 2021Augmenting Molecular Deep Generative Models with Topological Data Analysis Representationscited by 6
Built on by
Citing papers per year: 2024: 3; 2025: 3; 2026: 5.
11 papers.
- 2025A Survey of AI for Materials Science: Foundation Models, LLM Agents, Datasets, and Toolscited by 7
- 2024A Large Encoder-Decoder Family of Foundation Models For Chemical Languagecited by 5
- 2025ChemOrch: Empowering LLMs with Chemical Intelligence via Synthetic Instructionscited by 3
- 2024Large language models, physics-based modeling, experimental measurements: the trinity of data-scarce learning of polymer propertiescited by 2
- 2026Mechanist: AI as a Scientific Instrument for Discovering the Mechanisms of Intelligencecited by 2
- 2024Conditional Latent Space Molecular Scaffold Optimization for Accelerated Molecular Designcited by 1
- 2026Synthesizable Molecular Generation via Soft-constrained GFlowNets with Rich Chemical Priorscited by 1
- 2025NovoMolGen: Rethinking Molecular Language Model Pretrainingcited by 0
- 2026SMolLM: Small Language Models Learn Small Molecular Grammarcited by 0
- 2026FORGE: Fragment-Oriented Ranking and Generation for Context-Aware Molecular Optimizationcited by 0
- 2026MS-GPT: Rethinking MS/MS De Novo Structure Elucidation as Spectrum-Induced Posterior Querying of a Molecule-Language Modelcited by 0
- 2026Mechanist: AI as a Scientific Instrument for Discovering the Mechanisms of Intelligence12 Aug 2026
- 2026MS-GPT: Rethinking MS/MS De Novo Structure Elucidation as Spectrum-Induced Posterior Querying of a Molecule-Language Model26 Jul 2026
- 2026FORGE: Fragment-Oriented Ranking and Generation for Context-Aware Molecular Optimization11 May 2026
- 2026SMolLM: Small Language Models Learn Small Molecular Grammar7 May 2026
- 2026Synthesizable Molecular Generation via Soft-constrained GFlowNets with Rich Chemical Priors4 Feb 2026
- 2025ChemOrch: Empowering LLMs with Chemical Intelligence via Synthetic Instructions20 Sep 2025
- 2025NovoMolGen: Rethinking Molecular Language Model Pretraining19 Aug 2025
- 2025A Survey of AI for Materials Science: Foundation Models, LLM Agents, Datasets, and Tools25 Jun 2025
- 2024Conditional Latent Space Molecular Scaffold Optimization for Accelerated Molecular Design3 Nov 2024
- 2024A Large Encoder-Decoder Family of Foundation Models For Chemical Language24 Jul 2024
- 2024Large language models, physics-based modeling, experimental measurements: the trinity of data-scarce learning of polymer properties3 Jul 2024