Parallel tempered genetic algorithm guided by deep neural networks for inverse molecular design

AkshatKumar Nigam, Robert Pollice, Alán Aspuru‐Guzik

Introduction

Inverse molecular design—the process of identifying molecular structures that satisfy specific property requirements—is a fundamental challenge in drug discovery and materials science. Navigating the vast chemical space is computationally demanding, often requiring expensive quantum mechanical simulations or docking studies for fitness evaluation. Traditional evolutionary algorithms can be slow, while modern deep generative models often struggle with chemical validity. JANUS addresses these limitations by integrating a parallel-tempered genetic algorithm with deep neural network (DNN) guidance.

Methodology

JANUS introduces a dual-population framework inspired by parallel tempering in physics. It maintains two distinct populations: Exploration and Exploitation. The Exploration population utilizes high-diversity genetic operators to search broad regions of chemical space, while the Exploitation population focuses on refining high-fitness candidates through similarity-based selection. Members are periodically exchanged between these populations to maintain search diversity.

Schematic of the JANUS architecture showing the parallel exploration and exploitation populations.

To ensure chemical validity, JANUS employs the SELFIES representation, where every possible string corresponds to a valid molecule, and uses the STONED algorithm for efficient, rule-free mutations and crossovers. A key efficiency gain comes from DNN-guided active learning: a surrogate model is trained on-the-fly to predict molecular properties, acting as a filter that prioritizes promising candidates for expensive ground-truth evaluations.

Experimental Setup

The authors evaluated JANUS across several established benchmarks:

  • Unconstrained Penalized logP: Maximizing the octanol-water partition coefficient while penalizing synthetic difficulty and large rings.
  • Imitated Inhibition: Generating 5,000 molecules to inhibit GSK3β and JNK3 targets, using a random forest classifier as a proxy.
  • Molecular Docking: Minimizing docking scores for four protein targets (5HT1B, 5HT2B, ACM2, and CYP2D6) in real-world simulations.
  • GuacaMol: A comprehensive suite of 20 benchmarks for distribution matching and goal-directed optimization.

Results and Discussion

JANUS demonstrated state-of-the-art performance across nearly all benchmarks. In the penalized logP task, it achieved a single best score of 34.04, significantly outperforming the previous state-of-the-art (GEGL at 31.40). In inhibition tasks, JANUS achieved 100% success in meeting all constraints for all four targets, outperforming specialized models like RationaleRL.

Optimization progress of JANUS variations in the maximization of penalized logP.

The optimization dynamics reveal that the addition of DNN guidance (JANUS+P and JANUS+C) leads to significantly faster convergence compared to the standard genetic algorithm. By balancing exploration and exploitation, JANUS avoids local optima while maintaining the ability to fine-tune high-performing structures. The use of SELFIES eliminates the need for complex, hand-coded chemical validity checks, making the algorithm highly generalizable.

Conclusion

JANUS represents a robust and efficient approach to inverse molecular design. While it excels at optimizing specific metrics, the generated molecules can sometimes be chemically unintuitive or potentially unstable. Future work will focus on integrating discriminators for drug-likeness and synthesizability, as well as extending the framework to multi-objective optimization to handle conflicting property targets simultaneously.

Summary updated

BibTeX
@inproceedings{nigam2022parallel,
  author = {AkshatKumar Nigam and Robert Pollice and Alán Aspuru‐Guzik},
  title = {{Parallel tempered genetic algorithm guided by deep neural networks for inverse molecular design}},
  booktitle = {Digital},
  year = {2022},
  doi = {10.1039/d2dd00003b},
}
Figure