ControllableGPT: A Ground-Up Designed Controllable GPT for Molecule Optimization
Xuefeng Liu, Songhao Jiang, Bo Li, Rick Stevens
TL;DR
The work tackles the need for controllable, bidirectional generation in molecule optimization by introducing ControllableGPT, a ground-up GPT model built around the Causally Masked Seq2seq (CMS) objective that blends MLM, CLM, and seq2seq. CMS enables per-token control with expansion, contraction, or mutation at specified spans while preserving designated regions in SMILES strings, facilitated by a three-phase pretraining regimen and a novel generation process. The model is evaluated on viral and cancer drug benchmarks, where it outperforms eight baselines, achieving higher similarity to original drugs and improved property scores, including toxicity reduction in targeted cases. This approach advances controllable generative modeling for drug optimization and demonstrates practical benefits for editing existing therapeutics with precision and safety considerations, paving the way for broader applications in molecular design.
Abstract
Large Language Models (LLMs) employ three popular training approaches: Masked Language Models (MLM), Causal Language Models (CLM), and Sequence-to-Sequence Models (seq2seq). However, each approach has its strengths and limitations, and faces challenges in addressing specific tasks that require controllable and bidirectional generation, such as drug optimization. To address this challenge, inspired by the biological processes of growth and evolution, which involve the expansion, shrinking, and mutation of sequences, we introduce ControllableGPT. This initiative represents the first effort to combine the advantages of MLM, CLM, and seq2seq into a single unified, controllable GPT framework. It enables the precise management of specific locations and ranges within a sequence, allowing for expansion, reduction, or mutation over chosen or random lengths, while maintaining the integrity of any specified positions or subsequences. In this work, we designed ControllableGPT for drug optimization from the ground up, which included proposing the Causally Masked Seq2seq (CMS) objective, developing the training corpus, introducing a novel pre-training approach, and devising a unique generation process. We demonstrate the effectiveness and controllability of ControllableGPT by conducting experiments on drug optimization tasks for both viral and cancer benchmarks, surpassing competing baselines.
