mlsanityData to 14 Oct 2026

GP-MoLFormer: A Foundation Model For Molecular Generation

arXiv 2405.04912 ↗First posted 4 Apr 2024q-bio.BM cs.LG physics.chem-phcited by 11

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Scaling Laws for Neural Language Modelscited by 6,586
  4. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  5. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  6. 2020Extracting Training Data from Large Language Modelscited by 2,189
  7. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  8. 2020Rethinking Attention with Performerscited by 1,601
  9. 2019Improved Precision and Recall Metric for Assessing Generative Modelscited by 944
  10. 2023Large Language Modelscited by 780
  11. 2016Automatic chemical design using a data-driven continuous representation of moleculescited by 765
  12. 2022Quantifying Memorization Across Neural Language Modelscited by 763
30 more
  1. 2021Deduplicating Training Data Makes Language Models Bettercited by 714
  2. 2018Junction Tree Variational Autoencoder for Molecular Graph Generationcited by 652
  3. 2022Beyond neural scaling laws: beating power law scaling via data pruningcited by 528
  4. 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 458
  5. 2018MolGAN: An implicit generative model for small molecular graphscited by 393
  6. 2018Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generationcited by 364
  7. 2018GuacaMol: Benchmarking Models for De Novo Molecular Designcited by 297
  8. 2017Grammar Variational Autoencodercited by 285
  9. 2018Molecular Sets (MOSES): A Benchmarking Platform for Molecular Generation Modelscited by 275
  10. 2017Molecular De Novo Design through Deep Reinforcement Learningcited by 267
  11. 2018Molecular Transformer - A Model for Uncertainty-Calibrated Chemical Reaction Predictioncited by 229
  12. 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 220
  13. 2020Hierarchical Generation of Molecular Graphs using Structural Motifscited by 208
  14. 2021Large-Scale Chemical Language Representations Capture Molecular Structure and Propertiescited by 206
  15. 2018Optimization of Molecules via Deep Reinforcement Learningcited by 200
  16. 2018Fr'echet ChemNet Distance: A metric for generative models for molecules in drug discoverycited by 194
  17. 2021GraphDF: A Discrete Flow Model for Molecular Graph Generationcited by 180
  18. 2021MARS: Markov Molecular Sampling for Multi-objective Drug Discoverycited by 125
  19. 2023Calibrated Language Models Must Hallucinatecited by 115
  20. 2021Scaling Laws for Neural Machine Translationcited by 111
  21. 2018Syntax-Directed Variational Autoencoder for Structured Datacited by 103
  22. 2018Learning Multimodal Graph-to-Graph Translation for Molecular Optimizationcited by 88
  23. 2018Constrained Generation of Semantically Valid Graphs via Regularizing Variational Autoencoderscited by 74
  24. 2019Mol-CycleGAN - a generative model for molecular optimizationcited by 66
  25. 2022LIMO: Latent Inceptionism for Targeted Molecule Generationcited by 40
  26. 2022Group SELFIES: A Robust Fragment-Based Molecular String Representationcited by 33
  27. 2021MolGrow: A Graph Normalizing Flow for Hierarchical Molecular Generationcited by 22
  28. 2023Domain-Agnostic Molecular Generation with Chemical Feedbackcited by 22
  29. 2022Tartarus: A Benchmarking Platform for Realistic And Practical Inverse Molecular Designcited by 17
  30. 2021Augmenting Molecular Deep Generative Models with Topological Data Analysis Representationscited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 3; 2026: 5.

11 papers.