NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multi-channel learning for integrating structural hierarchies into context-dependent molecular representation

Yue Wan, Jialu Wu, Tingjun Hou, Chang‐Yu Hsieh

Abstract

Reliable molecular property prediction is essential for various scientific endeavors and industrial applications, such as drug discovery. However, the data scarcity, combined with the highly non-linear causal relationships between physicochemical and biological properties and conventional molecular featurization schemes, complicates the development of robust molecular machine learning models. Self-supervised learning (SSL) has emerged as a popular solution, utilizing large-scale, unannotated molecular data to learn a foundational representation of chemical space that might be advantageous for downstream tasks. Yet, existing molecular SSL methods largely overlook chemical knowledge, including molecular structure similarity, scaffold composition, and the context-dependent aspects of molecular properties when operating over the chemical space. They also struggle to learn the subtle variations in structure-activity relationship. This paper introduces a multi-channel pre-training framework that learns robust and generalizable chemical knowledge. It leverages the structural hierarchy within the molecule, embeds them through distinct pre-training tasks across channels, and aggregates channel information in a task-specific manner during fine-tuning. Our approach demonstrates competitive performance across various molecular property benchmarks and offers strong advantages in particularly challenging yet ubiquitous scenarios like activity cliffs.

Introduction

In drug discovery, predicting molecular properties is a fundamental yet notoriously difficult challenge. The relationship between a molecule's structure and its biological activity is often highly non-linear, a phenomenon most clearly seen in activity cliffs—where minor structural modifications lead to drastic changes in potency.

Traditional machine learning models often fail to capture these nuances because they treat molecules as flat graphs or simple strings. While self-supervised learning (SSL) has attempted to bridge this gap by pre-training on large unannotated datasets like ZINC15, many existing methods still overlook the hierarchical nature of chemistry. Specifically, they fail to distinguish between the core "scaffold" of a molecule and its peripheral "functional groups," or to account for how the importance of these structural components changes depending on the specific property being predicted.

Methods: Multi-Channel Pre-training

To address these limitations, we propose a prompt-guided multi-channel learning framework. This architecture decomposes molecular information into three distinct hierarchical channels during the pre-training phase:

  1. Molecule Contrastive Distancing (MCD): This channel provides a global view, learning to differentiate between overall molecular structures.
  2. Scaffold Contrastive Distancing (SCD): This channel focuses on the "partial" view of the core scaffold. It employs a novel "scaffold-invariant perturbation" strategy to ensure the model recognizes that molecules sharing the same core should have similar latent representations.
  3. Context Prediction (CP): This channel focuses on the local view, predicting the presence of specific functional groups and motifs within the molecule.
The multi-channel framework integrates global, scaffold, and local views through prompt-guided aggregation for task-specific property prediction.

Hierarchical Distancing and Aggregation

A key innovation in our approach is the use of an adaptive margin loss based on Tanimoto similarity. This prevents the model from excessively separating structurally similar molecules in the latent space, preserving the chemical relationships necessary for accurate property prediction.

Molecule and Scaffold Contrastive Distancing (MCD and SCD) capture global and core structural similarities through pull-push mechanisms.

Furthermore, we introduce Prompt-guided Aggregation. Instead of a static representation, the model utilizes a "prompt token" during fine-tuning. This allows a multi-head attention mechanism to dynamically weigh the relevance of the MCD, SCD, and CP channels for a specific downstream task. This makes the resulting molecular representation context-dependent, mirroring how medicinal chemists prioritize different structural features based on the target property.

Experimental Results

We evaluated our model, designated as GPS, against several state-of-the-art baselines across multiple benchmarks:

  • MoleculeNet: On this standard benchmark (covering tasks like toxicity and blood-brain barrier penetration), our model achieved an average ROC-AUC of 80.6%, outperforming major models such as Uni-Mol (79.8%) and MolFormer (77.8%).
  • MoleculeACE: In this benchmark specifically designed to test performance on activity cliffs, our model consistently ranked at the top. It demonstrated a significantly stronger correlation between internal representations and biological potency compared to other SSL methods.
  • Efficiency: Despite its performance, the model maintains a smaller parameter footprint than many 3D-geometry-based models, facilitating easier deployment.

Conclusion

By explicitly integrating structural hierarchies—from local motifs to global scaffolds—our multi-channel framework creates a more robust and chemically aware representation of molecular space. The use of prompt-guided aggregation allows the model to adapt its focus based on the task at hand, effectively navigating the complex landscapes of activity cliffs. Future work will explore the integration of 3D geometric data and chirality to further refine the model's predictive accuracy in biological contexts.

Summary updated

BibTeX
@inproceedings{wan2025multi,
  author = {Yue Wan and Jialu Wu and Tingjun Hou and Chang‐Yu Hsieh and Yue Wan},
  title = {{Multi-channel learning for integrating structural hierarchies into context-dependent molecular representation}},
  booktitle = {Nature Communications},
  year = {2025},
  doi = {10.1038/s41467-024-55082-4},
}
Figure