Towards Efficient Molecular Property Optimization with Graph Energy Based Models

Luca Miglior, Lorenzo Simone, Marco Podda, Davide Bacciu · DOI

Abstract

Molecular property optimization is a critical yet computationally demanding task in drug discovery. Traditional methods often rely on complex reinforcement learning or large labeled datasets. We present UEMO (Unsupervised Energy-based Molecule Optimization), a lightweight framework that implicitly learns the energy landscape of desirable molecular properties. By training on filtered data subsets and employing Langevin dynamics for sampling, UEMO achieves superior optimization performance with significantly lower parameter counts and faster sampling speeds compared to state-of-the-art baselines.

Introduction

Designing new drugs is often described as searching for a needle in a haystack—except the haystack is the size of the solar system. In the quest to find molecules with specific medicinal properties, researchers have traditionally relied on complex "guided" searches that are either computationally exhausting or require massive amounts of labeled data. Current methods generally fall into three categories: Reinforcement Learning (RL), which is powerful but unstable; Bayesian Optimization (BO), which requires smooth latent spaces; and Classifier-Based (CB) guidance, which demands large labeled datasets.

UEMO addresses these gaps by shifting the focus from explicit optimization to implicit learning, creating a model that is both faster and more effective than current state-of-the-art approaches.

Methodology

The core of UEMO treats molecular generation as an energy-minimization problem. The architecture consists of two primary components:

  1. Graph Convolutional Network (GCN): Processes molecular graphs (atoms as nodes, bonds as edges) to encode them into vector representations.
  2. Energy Head: A series of fully connected layers that map the GCN vector to a single scalar value representing "Energy." In this framework, low energy corresponds to a high probability of possessing the desired property.
The UEMO architecture featuring a Graph Convolutional Encoder and an Energy Head for property optimization.

Unlike models that predict specific property values, UEMO is trained on a subset of molecules that already satisfy target criteria (e.g., high solubility). By learning the distribution of this "high-quality" subset, the model implicitly captures desirable chemical features without numerical labels. To generate new molecules, the model utilizes Langevin dynamics, iteratively nudging random noise toward low-energy regions of the chemical space.

Experimental Setup

The researchers evaluated UEMO using the ZINC-250k dataset. To simulate real-world scenarios where labeled data is scarce, they partitioned the data into property-specific slices:

  • High QED: Molecules with a Quantitative Estimate of Drug-likeness $\ge 0.75$ (~54k molecules).
  • High LogP: Molecules with an Octanol-Water Partition Coefficient $\ge 3$ (~34k molecules).

Key Results

UEMO was compared against strong baselines, including GraphDF, GraphAF, and MoFlow. The model demonstrated significant improvements in both property optimization and computational efficiency.

Density plots for QED and LogP showing UEMO's ability to shift the generated distribution toward higher property values compared to baselines.
  • Superior Optimization: In the QED task, UEMO achieved an average score of 0.79, significantly outperforming the next best baseline (MoFlow at 0.59).
  • Efficiency: With only 0.25M parameters, UEMO is orders of magnitude smaller than many modern transformers. It generated 100 molecules in just 14.6 seconds, making it 3x to 25x faster than competitors like GraphDF (174s) and MoFlow (366s).
  • Quality: The model maintained 100% validity, uniqueness, and novelty in its generated samples.

Conclusion

UEMO demonstrates that "less is more" in molecular design. By simplifying the architecture and training objective, the researchers have created a tool that makes navigating the vast chemical space significantly more efficient. Future work will focus on incorporating explicit chemical rules to improve synthetic accessibility and scaling the approach to larger, drug-specific datasets.

Summary updated

BibTeX
@misc{miglior2025towards,
  author = {Luca Miglior and Lorenzo Simone and Marco Podda and Davide Bacciu},
  title = {{Towards Efficient Molecular Property Optimization with Graph Energy Based Models}},
  year = {2025},
  eprint = {2502.12219},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.12219},
}
Figure