Molecular Graph Contrastive Learning with Line Graph

Xueyuan Chen, Shangzhe Li, Ruomei Liu, Bowen Shi, Jiaheng Liu +2 more
1/15/2025
cs.LG

No official code found. Best implementation: RyanChen227/LEMON (2 stars, last commit 2025-01-15).

Abstract

Trapped by the label scarcity in molecular property prediction and drug design, graph contrastive learning (GCL) came forward. Leading contrastive learning works show two kinds of view generators, that is, random or learnable data corruption and domain knowledge incorporation. While effective, the two ways also lead to molecular semantics altering and limited generalization capability, respectively. To this end, we relate the \textbf{L}in\textbf{E} graph with \textbf{MO}lecular graph co\textbf{N}trastive learning and propose a novel method termed \textit{LEMON}. Specifically, by contrasting the given graph with the corresponding line graph, the graph encoder can freely encode the molecular semantics without omission. Furthermore, we present a new patch with edge attribute fusion and two local contrastive losses enhance information transmission and tackle hard negative samples. Compared with state-of-the-art (SOTA) methods for view generation, superior performance on molecular property prediction suggests the effectiveness of our proposed framework.

View on arXivView PDF

Code Implementations(1)

RyanChen227/LEMONCommunity100%

Code for LEMON

20PythonJan 16, 20241 years ago

Similar Papers

Cite this paper

@article{chen2025molecular,
  title  = {Molecular Graph Contrastive Learning with Line Graph},
  author = {Xueyuan Chen and Shangzhe Li and Ruomei Liu and Bowen Shi and Jiaheng Liu and Junran Wu and Ke Xu},
  year   = {2025},
  eprint = {2501.08589},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.08589v1}
}

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/2501.08589.svg)](https://codeofpaper.com/paper/2501.08589)

Discussion