PairIT: Autoregressive Transformers for Low-Data Molecule Optimization
cs.LG, cs.AI, physics.chem-ph
Submitted: 2026-10-13
Updated: 2026-10-13
Code: https://github.com/prescient-design/pairit
License: http://creativecommons.org/licenses/by/4.0/
The gist: Generating novel molecules with desired properties is a central challenge in drug discovery.
Terminology
Abstract
Generating novel molecules with desired properties is a central challenge in drug discovery. Although foundational work focused on de novo generation, practical use cases require a more complex setting: conditioning on an initial seed molecule, optimizing multiple properties, and operating in data-sparse regimes. We introduce PairIT, a flexible training framework for autoregressive transformers over SMILES sequences that enables seeded generation by learning from pairs of structurally similar molecules. By leveraging matched pairs, the model learns to generate local, chemically meaningful edits that improve a property of the seed molecule. Prompt tokens extend this framework by specifying the target property, desired direction, and approximate magnitude of change. Multiple prompt tokens can be concatenated to enable multi-property optimization at inference time. For properties where pair supervision alone is insufficient, reinforcement learning post-training can further improve optimization, providing a tunable trade-off between proximity to the seed and the optimization objective. PairIT naturally supports pretraining on a large dataset and fine-tuning on a smaller dataset, which is critical for performance in data-sparse regimes. Surprisingly, we observe diminishing returns to the scale of the pretraining dataset. We demonstrate empirically on MoleculeNet and Therapeutics Data Commons datasets that, with appropriate paired-data curation, a standard transformer model of modest size (68M parameters) can achieve robust seeded molecular optimization in low-data regimes.
Sources
- Mol-MoE: Training Preference-Guided Routers for Molecule Generation
- SmileyLlama: Modifying Large Language Models for Directed Chemical Space Exploration
- Black Box Recursive Translations for Molecular Optimization
- Large Language Models for Controllable Multi-property Multi-objective Molecule Optimization
- $\texttt{MiniMol}$: A Parameter-Efficient Foundation Model for Molecular Learning
- Conditional Diffusion on Web-Scale Image Pairs leads to Diverse Image Variations
- Latent Bayesian Optimization via Autoregressive Normalizing Flows
- Preference Optimization for Molecular Language Models
- DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
- Training Dynamics of Learning 3D-Rotational Equivariance
- LLaMA: Open and Efficient Foundation Language Models
- MiDi: Mixed Graph and 3D Denoising Diffusion for Molecule Generation
- DrugAssist: A Large Language Model for Molecule Optimization
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks