Learning over Positive and Negative Edges with Contrastive Message Passing

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Pao-Huang, Peter, Kanatsoulis, Charilaos I., Bereket, Michael, Leskovec, Jure
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916022338977792
author Pao-Huang, Peter
Kanatsoulis, Charilaos I.
Bereket, Michael
Leskovec, Jure
author_facet Pao-Huang, Peter
Kanatsoulis, Charilaos I.
Bereket, Michael
Leskovec, Jure
contents Conventional approaches to learning on graphs involve message passing along existing (i.e., positive) edges to update node features. However, these approaches often disregard the potentially valuable information contained in the absence (i.e., negative) of edges. Here, we theoretically analyze the value of negative edges in graph representations and prove that in settings of low label rates, high homophily, and high edge density, access to negative edges provides significant information gain over using only positive edges. Motivated by this insight, we introduce Contrastive Message Passing (CMP), a general message passing architecture that enable graph neural network layers to reason over positive and negative edges. By imposing soft positive semidefinite constraints on the learnable weights, our approach differentially applies similarity-preserving transformations to positively connected nodes and dissimilarity-inducing transformations to negatively connected nodes. Over simulated and real datasets in varying data regimes, CMP consistently outperforms baselines in low-label settings when negative edges are informative.
format Preprint
id arxiv_https___arxiv_org_abs_2605_17854
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Learning over Positive and Negative Edges with Contrastive Message Passing
Pao-Huang, Peter
Kanatsoulis, Charilaos I.
Bereket, Michael
Leskovec, Jure
Machine Learning
Conventional approaches to learning on graphs involve message passing along existing (i.e., positive) edges to update node features. However, these approaches often disregard the potentially valuable information contained in the absence (i.e., negative) of edges. Here, we theoretically analyze the value of negative edges in graph representations and prove that in settings of low label rates, high homophily, and high edge density, access to negative edges provides significant information gain over using only positive edges. Motivated by this insight, we introduce Contrastive Message Passing (CMP), a general message passing architecture that enable graph neural network layers to reason over positive and negative edges. By imposing soft positive semidefinite constraints on the learnable weights, our approach differentially applies similarity-preserving transformations to positively connected nodes and dissimilarity-inducing transformations to negatively connected nodes. Over simulated and real datasets in varying data regimes, CMP consistently outperforms baselines in low-label settings when negative edges are informative.
title Learning over Positive and Negative Edges with Contrastive Message Passing
topic Machine Learning
url https://arxiv.org/abs/2605.17854