Association Pattern-enhanced Molecular Representation Learning

Lingxiang Jia, Yuchen Ying, Tian Qiu, Shaolun Yao, Liang Xue, Jie Lei, Jie Song, Mingli Song, Zunlei FengAAAI 2025

Abstract

Accurate molecular property prediction is a fundamental challenge in drug discovery, yet standard Graph Neural Networks (GNNs) are often limited by their local message-passing scope. We introduce Association Pattern-aware Message Passing (APMP), a "plug-and-play" module that explicitly captures long-range "association patterns"—specific sequences of atoms and bonds. By integrating these higher-order dependencies into existing Molecular Foundation Models (MFMs), APMP achieves significant performance gains, including up to a 19.2% improvement in RMSE on regression tasks, without the need for expensive retraining.

Introduction

In chemistry, the physiological behavior of a molecule is often dictated by specific structural motifs or functional groups, such as arylamines or conjugated systems. These "association patterns" span multiple bonds and atoms, forming a broader context that standard GNNs struggle to capture due to their focus on immediate neighborhood aggregation. While large-scale pre-trained models exist, they are computationally expensive to modify. APMP addresses this gap by identifying and incorporating these significant structural paths as an auxiliary feature set.

Association patterns of varying lengths (2, 3, and 4) identified within a molecular graph structure.

Methodology

The APMP framework operates as a dual-branch addition to existing MFMs through four key steps:

  1. Pattern Sampling (PS): Random walks are performed from each atom to identify potential structural paths of varying lengths.
  2. Confidence-based Pattern Filtering (CPF): A centrality-based scoring mechanism filters out noise, retaining only the most structurally significant paths.
  3. Common Pattern Interaction (CPI): A Transformer-based architecture enables multi-head attention between selected paths, refining the atom's representation based on its global structural context.
  4. Dual-branch Integration: These refined features are integrated with the base MFM's output (e.g., GROVER or UniMol) before being passed to the final property predictor.
The interaction mechanism where multiple identified patterns are aggregated to update the central atom's representation.

Results and Discussion

The APMP module was evaluated across 11 benchmark datasets from the MoleculeNet suite using 8 different base models. The results demonstrate that capturing long-range context is vital for chemical understanding.

Performance Gains

The addition of APMP consistently outperformed base models. Notably, on the FreeSolv dataset, the GROVER+APMP configuration achieved a 19.2% relative improvement in RMSE. In classification tasks, such as predicting Blood-Brain Barrier Penetration (BBBP), the UniMol+APMP model saw a 4.48% relative gain in ROC-AUC. Ablation studies further indicated that performance peaks when capturing paths of length 6 or greater, confirming the importance of long-range context.

Interpretability

Beyond predictive power, APMP offers chemical insights. By analyzing the coefficients within the CPI module, researchers can identify which patterns most influence a specific property. For example, the model successfully identified that conjugated systems and specific amine groups are primary drivers for crossing the blood-brain barrier in molecules like Zafuleptine.

Conclusion

APMP demonstrates that explicitly modeling association patterns can significantly enhance the representational power of molecular models. As a plug-and-play module, it offers a computationally efficient path to improving state-of-the-art foundation models. Future research will focus on task-aware pattern filtering and extending this methodology to 3D geometric representations.

Summary updated

BibTeX
@inproceedings{jia2025association,
  author = {Lingxiang Jia and Yuchen Ying and Tian Qiu and Shaolun Yao and Liang Xue and Jie Lei and Jie Song and Mingli Song and Zunlei Feng},
  title = {{Association Pattern-enhanced Molecular Representation Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i17.33935},
}
Figure