Skip to main content
QUICK REVIEW

[Paper Review] MoCL: Contrastive Learning on Molecular Graphs with Multi-level Domain Knowledge

Mengying Sun, Jing Xing|arXiv (Cornell University)|Jun 5, 2021
Machine Learning in Materials ScienceMaterials Science5 citations
TL;DR

MoCL proposes a novel contrastive learning framework for molecular graphs that integrates multi-level domain knowledge—local-level guidance for semantic-preserving augmentations and global-level similarity modeling—to improve representation learning. It achieves state-of-the-art performance across multiple molecular benchmark datasets under both linear and semi-supervised settings through a double contrastive objective.

ABSTRACT

Recent years have seen a rapid growth of utilizing graph neural networks (GNNs) in the biomedical domain for tackling drug-related problems. However, like any other deep architectures, GNNs are data hungry. While requiring labels in real world is often expensive, pretraining GNNs in an unsupervised manner has been actively explored. Among them, graph contrastive learning, by maximizing the mutual information between paired graph augmentations, has been shown to be effective on various downstream tasks. However, the current graph contrastive learning framework has two limitations. First, the augmentations are designed for general graphs and thus may not be suitable or powerful enough for certain domains. Second, the contrastive scheme only learns representations that are invariant to local perturbations and thus does not consider the global structure of the dataset, which may also be useful for downstream tasks. Therefore, in this paper, we study graph contrastive learning in the context of biomedical domain, where molecular graphs are present. We propose a novel framework called MoCL, which utilizes domain knowledge at both local- and global-level to assist representation learning. The local-level domain knowledge guides the augmentation process such that variation is introduced without changing graph semantics. The global-level knowledge encodes the similarity information between graphs in the entire dataset and helps to learn representations with richer semantics. The entire model is learned through a double contrast objective. We evaluate MoCL on various molecular datasets under both linear and semi-supervised settings and results show that MoCL achieves state-of-the-art performance.

Motivation & Objective

  • To address the limitations of general-purpose graph augmentations in biomedical graph contrastive learning.
  • To improve representation learning by incorporating domain-specific knowledge at both local and global levels.
  • To design a contrastive framework that preserves semantic meaning during augmentation while capturing global structural similarity.
  • To develop a double contrastive objective that jointly optimizes local invariance and global semantic alignment.
  • To evaluate the effectiveness of MoCL on diverse molecular property prediction tasks under realistic settings.

Proposed method

  • Introduces local-level domain knowledge to guide graph augmentations, ensuring semantic preservation during data perturbation.
  • Employs global-level domain knowledge to model pairwise similarity across all graphs in the dataset, capturing broader structural patterns.
  • Designs a double contrastive loss that simultaneously maximizes agreement between augmented views of the same graph and between similar graphs in the dataset.
  • Utilizes graph neural networks to encode molecular graphs into latent representations optimized via the dual contrastive objective.
  • Applies the framework in both linear and semi-supervised fine-tuning settings to evaluate downstream performance.
  • Leverages existing molecular graph data to pre-train representations without requiring labeled data during the contrastive phase.

Experimental results

Research questions

  • RQ1Can incorporating local-level domain knowledge improve the quality of graph augmentations in molecular graph contrastive learning?
  • RQ2Does modeling global graph similarity enhance the semantic richness of learned representations?
  • RQ3How does the double contrastive objective compare to standard contrastive learning in terms of downstream performance?
  • RQ4To what extent does MoCL generalize across diverse molecular graph datasets and learning settings?
  • RQ5Can MoCL achieve state-of-the-art performance in molecular property prediction without requiring labeled data during pretraining?

Key findings

  • MoCL achieves state-of-the-art performance on multiple molecular graph benchmark datasets under both linear and semi-supervised learning settings.
  • The integration of local-level domain knowledge leads to more meaningful and semantically consistent graph augmentations.
  • Global-level similarity modeling significantly improves representation quality by capturing broader structural relationships in the dataset.
  • The double contrastive objective outperforms standard contrastive learning by jointly optimizing for local invariance and global consistency.
  • MoCL demonstrates strong generalization across diverse molecular datasets, indicating robustness and scalability.
  • The model achieves superior performance even with limited labeled data, highlighting the effectiveness of the unsupervised pretraining strategy.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.