Abstract
The COVID-19 pandemic highlights the need for computational tools to automate and accelerate drug design for novel protein targets. We leverage deep learning language models to generate and score drug candidates based on predicted protein binding affinity. We pre-trained a deep learning language model (BERT) on ~9.6 billion molecules and achieved peak performance of 603 petaflops in mixed precision. Our work reduces pre-training time from days to hours, compared to previous efforts with this architecture, while also increasing the dataset size by nearly an order of magnitude. For scoring, we fine-tuned the language model using an assembled set of thousands of protein targets with binding affinity data and searched for inhibitors of specific protein targets, SARS-CoV-2 Mpro and PLpro. We utilized a genetic algorithm approach for finding optimal candidates using the generation and scoring capabilities of the language model. Our generalizable models accelerate the identification of inhibitors for emerging therapeutic targets.
Introduction
Traditional drug discovery is a grueling process, often taking 10 to 15 years to bring a single compound to market. When a pandemic strikes, the need for rapid intervention is paramount. However, the "chemical space"—the total number of potential drug-like molecules—is estimated at $10^{60}$, making an exhaustive search impossible. While machine learning has accelerated this process, most models are task-specific, requiring large, labeled datasets for every new protein target. This research addresses the need for generalizable models that can learn the underlying "language" of chemistry from billions of unlabeled molecules and be rapidly fine-tuned for novel viral proteins.
Methodology
Chemistry as Language
The researchers treated molecular structures as a language using the SMILES (Simplified Molecular Input Line Entry System) notation. By representing chemicals as text strings, they could leverage the BERT (Bidirectional Encoder Representations from Transformers) architecture. The model learned chemistry by predicting masked parts of molecular strings, effectively decoding the "grammar" of molecular stability and structure.
Scaling and Fine-tuning
To achieve unprecedented scale, the team utilized the Summit supercomputer, achieving 603 petaflops of performance. This allowed them to pre-train on a massive dataset of ~9.6 billion unique molecules—an order of magnitude larger than previous efforts—in just 8 hours. For affinity prediction, the molecule BERT was combined with a pre-trained protein model (ProtBERT) via a cross-attention layer, simulating how specific molecular components interact with amino acids in a protein pocket.
Results and Discovery
Computational Efficiency and Accuracy
The model demonstrated high parallel efficiency (83.3% scaling) and achieved a precision of 0.60 for both SARS-CoV-2 main protease (Mpro) and papain-like protease (PLpro). This indicates that 60% of the top-scoring molecules identified were true potent inhibitors.
Genetic Algorithm Optimization
Beyond simple screening, the researchers employed a Genetic Algorithm (GA) to "evolve" molecules. The language model generated variations, which were then scored for binding affinity and synthesizability. This iterative process successfully identified candidates with significantly higher predicted binding affinities than the starting population.
Discussion and Conclusion
The success of this approach reinforces the utility of Transformers in decoding chemical structures. By scaling pre-training to nearly 10 billion molecules, the model learned robust features that translated effectively to specific therapeutic targets. While the model remains a "black box" in some respects—as attention weights do not always map perfectly to physical binding sites—the ability to reduce discovery timelines from days to hours represents a significant leap forward for pandemic preparedness. Future work will focus on experimental wet-lab validation and refining tokenization strategies to better capture 3D spatial geometry.
Summary updated