Talk

Principled Latent-Variable Modeling Enables Efficient Conditional Molecular Design

Abstract

The chemical space of drug-like molecules is vast, motivating the development of generative models that must learn broad chemical distributions, enable conditional generation by capturing structure–property representations, and provide fast molecular generation. Meeting these objectives depends critically on modeling choices, including the probabilistic modeling approach, the conditional generative formulation, architecture, and the molecular input representation. To address these challenges, we present a scalable latent-variable framework with a Transformer encoder and autoregressive Transformer decoder, trained on 79 million drug-like molecules from PubChem using SELFIES, which guarantees syntactic validity. The latent-variable formulation enables theory-consistent conditional generation, where a property predictor finetuned from the pretrained encoder on limited labels, leveraging chemical representations learned during generative pretraining, provides a single conditioning signal that is applied consistently to the latent prior, the inference network, and the decoder. Our contributions are: (i) a Transformer-based latent-variable encoder-decoder model trained on SELFIES representations, (ii) a principled conditional latent-variable formulation for property-guided generation, and (iii) efficient finetuning with low-rank adapters (LoRA) in both encoder and decoder, enabling fast adaptation with limited property and activity data. On GuacaMol and MOSES benchmarks, our approach matches or exceeds strong baselines, and latent-space analyses reveal smooth, semantically structured representations that support both unconditional exploration and property-aware generation. Our model exhibits strong performance on the Tartarus benchmarks, as validated through molecular docking experiments, where generated compounds show comparable or favorable binding interaction scores against all three benchmark targets. These results suggest that a modernized, scale-appropriate VAE remains competitive for molecular generation when paired with principled conditioning and parameter-efficient finetuning.