Molecular Contrastive Learning with Chemical Element Knowledge Graph

Yin Fang, Qiang Zhang, Haihong Yang, Xiang Zhuang, Shumin Deng +5 more
12/1/2021
cs.LGcs.AIq-bio.QM
contrastive-ssl

Official code: Fangyinfff/KCL (91 stars, Python, MIT, last commit 2024-02-03).

Abstract

Molecular representation learning contributes to multiple downstream tasks such as molecular property prediction and drug design. To properly represent molecules, graph contrastive learning is a promising paradigm as it utilizes self-supervision signals and has no requirements for human annotations.

Show full abstract

However, prior works fail to incorporate fundamental domain knowledge into graph semantics and thus ignore the correlations between atoms that have common attributes but are not directly connected by bonds. To address these issues, we construct a Chemical Element Knowledge Graph (KG) to summarize microscopic associations between elements and propose a novel Knowledge-enhanced Contrastive Learning (KCL) framework for molecular representation learning. KCL framework consists of three modules. The first module, knowledge-guided graph augmentation, augments the original molecular graph based on the Chemical Element KG. The second module, knowledge-aware graph representation, extracts molecular representations with a common graph encoder for the original molecular graph and a Knowledge-aware Message Passing Neural Network (KMPNN) to encode complex information in the augmented molecular graph. The final module is a contrastive objective, where we maximize agreement between these two views of molecular graphs. Extensive experiments demonstrated that KCL obtained superior performances against state-of-the-art baselines on eight molecular datasets. Visualization experiments properly interpret what KCL has learned from atoms and attributes in the augmented molecular graphs. Our codes and data are available at https://github.com/ZJU-Fangyin/KCL.

View on arXivView PDF

Code Implementations(1)

Fangyinfff/KCLOfficial100%
MIT

Code and Data for the paper: Molecular Contrastive Learning with Chemical Element Knowledge Graph [AAAI 2022]

919Python, ShellDec 2, 20212 years agoMIT
knowledge-graphmolecularmpnn-model

Similar Papers

Cite this paper

@article{fang2021molecular,
  title  = {Molecular Contrastive Learning with Chemical Element Knowledge Graph},
  author = {Yin Fang and Qiang Zhang and Haihong Yang and Xiang Zhuang and Shumin Deng and Wen Zhang and Ming Qin and Zhuo Chen and Xiaohui Fan and Huajun Chen},
  year   = {2021},
  eprint = {2112.00544},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.00544}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.00544.svg)](https://codeofpaper.com/paper/2112.00544)

Discussion