Functional Groups are All you Need for Chemically Interpretable Molecular Property Prediction

Roshan Balaji, Joe Bobby, Nirav Pravinbhai Bhatt · DOI

Introduction

In the rapidly evolving landscape of drug discovery and materials science, deep learning (DL) has emerged as a powerful tool for predicting molecular properties. However, most high-performing models—such as Graph Neural Networks (GNNs) and Transformers—often operate as "black boxes." While these models can accurately predict toxicity or solubility, they frequently fail to provide explanations that are actionable for chemists. This lack of interpretability creates a significant barrier to moving from computational prediction to successful laboratory experimentation.

To address this, the Functional Group Representation (FGR) framework proposes a return to chemical first principles. By representing molecules through their functional groups, this framework achieves state-of-the-art (SOTA) performance while remaining inherently interpretable, effectively speaking the "language of chemists."

Methodology

The FGR framework bridges human expertise with machine efficiency through a multi-step pipeline designed to capture both established chemical knowledge and novel structural patterns.

The FGR framework pipeline, illustrating (A) vocabulary generation from curated and mined functional groups and (B) the latent embedding and property prediction modules.

Vocabulary Generation

The model utilizes two distinct types of "words" to describe molecular structures:

  1. Functional Groups (FG): A set of 2,672 groups curated from the ToxAlerts database, representing established chemical knowledge.
  2. Mined Functional Groups (MFG): Over 30,000 frequent substructures extracted from a corpus of 114 million molecules in PubChem using sequential pattern mining. This allows the model to identify recurring patterns that may not yet have formal chemical names.

Latent Embedding and Prediction

Because the resulting multi-hot vectors are massive and sparse, an Autoencoder is employed to compress them into a lower-dimensional latent space. This module is pre-trained on unlabeled data to learn the underlying "grammar" of chemical structures. These latent features, occasionally augmented with standard 2D RDKit descriptors, are then fed into a feedforward neural network for property prediction.

Interpretability

To ensure transparency, the framework utilizes the Captum library (specifically Integrated Gradients and Feature Ablation) to calculate attribution scores. This highlights exactly which functional groups—such as a hydroxyl group or an aromatic ring—drove the model’s final decision.

Experimental Results

The FGR framework was rigorously evaluated across 33 benchmark datasets, including MoleculeNet, MolMapNet, and specialized peptide cleavage datasets.

Performance comparison of the FGR framework against state-of-the-art models across Physiology and Biophysics benchmark datasets, showing superior performance in five out of eight tasks.

Key results include:

  • SOTA Performance: FGR outperformed KANO, a leading knowledge-graph-enhanced model, on five out of eight MoleculeNet tasks (BBBP, Tox21, ToxCast, SIDER, and ClinTox), achieving a 1.47% average improvement.
  • Physical Chemistry: On tasks such as ESOL (solubility) and FreeSolv, FGR achieved an average improvement of 8.66% over existing baselines.
  • Bioactivity: The model surpassed SOTA methods on 9 out of 14 MolMapNet datasets, demonstrating particular robustness on datasets with fewer labeled samples.

Discussion and Conclusion

The primary advantage of the FGR framework lies in its hybrid approach, combining expert-curated knowledge with raw data mining. Alignment analysis using t-SNE revealed that FGR naturally clusters molecules by their chemical scaffolds, proving the model "understands" chemical similarity without explicit instruction. Furthermore, validation via literature confirmed that the model’s attribution scores align with real-world chemistry; for instance, correctly identifying the positive impact of hydrophilic hydroxyl groups on solubility.

Despite these successes, limitations remain. The current SMILES-based approach struggles with stereoisomerism and does not explicitly incorporate 3D geometric information, which is critical for certain quantum mechanics tasks. Future work will focus on pre-training the autoencoder on larger datasets and integrating 3D spatial representations to further enhance predictive accuracy and chemical insight.

Summary updated

BibTeX
@article{balaji2026functional,
  author = {Roshan Balaji and Joe Bobby and Nirav Pravinbhai Bhatt},
  title = {{Functional Groups are All you Need for Chemically Interpretable Molecular Property Prediction}},
  journal = {Journal of Chemical Information and Modeling},
  year = {2026},
  doi = {10.1021/acs.jcim.5c02769},
}
Figure