Introduction
In drug discovery, the most critical compounds—those with exceptional potency or unique solubility—are often the rarest in a dataset. When training Graph Neural Networks (GNNs) for molecular property prediction, this data imbalance leads models to prioritize "average" cases, resulting in poor performance on high-value outliers. This "rare molecule" problem hinders the identification of breakthrough compounds.
Existing data augmentation techniques, such as oversampling or feature interpolation (e.g., SMOTE), often fail for molecular graphs. Simple feature interpolation can produce "broken" structures that lack chemical validity. To address this, we present SPECTRA (Spectral Target-Aware graph augmentation), a framework that generates chemically realistic synthetic molecules by interpolating in the spectral domain.
Methods
SPECTRA operates on the graph Laplacian to preserve global structural constraints during augmentation. The pipeline consists of four primary stages:
- Graph Alignment: Using Fused Gromov–Wasserstein (FGW) couplings, SPECTRA establishes node-to-node correspondence between two parent molecules of different sizes and structures.
- Spectral Interpolation: The framework decomposes the aligned graph Laplacians into eigenvalues and eigenvectors. These spectral components are then interpolated in a shared basis.
- Graph Reconstruction: The interpolated spectral data is mapped back into a physical adjacency matrix, synthesizing a new molecular structure geometrically situated between the parents.
- Rarity-Aware Budgeting: Kernel Density Estimation (KDE) identifies sparse regions in the property space, allowing the system to concentrate augmentation efforts where data is most needed.
The final architecture utilizes a spectral GNN with edge-aware Chebyshev convolutions to process these multi-attribute graphs, accounting for bond types, stereochemistry, and conjugation.
Datasets and Evaluation
The framework was evaluated on three standard MoleculeNet regression benchmarks:
- ESOL: Water solubility (1,128 compounds).
- FreeSolv: Hydration free energy (642 compounds).
- Lipophilicity (Lipo): Octanol/water distribution coefficient (4,200 compounds).
Performance was measured using standard metrics and the Squared Error Relevance Area (SERA), which specifically quantifies accuracy on rare, extreme values.
Results and Discussion
SPECTRA consistently matches or exceeds the performance of state-of-the-art models like SGIR and MolCLR. A key advantage is its 100% chemical validity; by reconstructing graphs from a stable spectral basis and applying RDKit sanitization, the generated molecules are plausible chemical structures rather than abstract mathematical artifacts.
Visualization via t-SNE plots of molecular fingerprints confirms that SPECTRA successfully fills "empty" regions of the chemical space. Furthermore, the model is computationally efficient, sitting on the Pareto frontier of accuracy versus runtime, comparable to large-scale transformer models like Molformer but with significantly lower overhead.
Conclusion and Future Work
SPECTRA addresses the challenge of imbalanced regression in molecular chemistry by leveraging spectral domain interpolation. While currently focused on 2D topology, future iterations could incorporate 3D spatial conformations and multi-property optimization. By providing a target-aware, chemically valid augmentation strategy, SPECTRA offers a robust tool for improving the predictive accuracy of GNNs on rare, high-value compounds.
Summary updated