Generating Counterfactual Hard Negative Samples for Graph Contrastive Learning
Not on the map. Why?
Abstract (arXiv)
Graph contrastive learning has emerged as a powerful tool for unsupervised graph representation learning. The key to the success of graph contrastive learning is to acquire high-quality positive and negative samples as contrasting pairs for the purpose of learning underlying structural semantics of the input graph. Recent works usually sample negative samples from the same training batch with the positive samples, or from an external irrelevant graph. However, a significant limitation lies in such strategies, which is the unavoidable problem of sampling false negative samples. In this paper, we propose a novel method to utilize Counterfactual mechanism to generate artificial hard negative samples for Graph Contrastive learning, namely CGC, which has a different perspective compared to those sampling-based strategies. We utilize counterfactual mechanism to produce hard negative samples, which ensures that the generated samples are similar to, but have labels that different from the positive sample. The proposed method achieves satisfying results on several datasets compared to some traditional unsupervised graph learning methods and some SOTA graph contrastive learning methods. We also conduct some supplementary experiments to give an extensive illustration of the proposed method, including the performances of CGC with different hard negative samples and evaluations for hard negative samples generated with different similarity measurements.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 21 of its 40 references that are in the map. First posted on arXiv 1 Jul 2022.
Builds on
21 of 40 references.
References · 21
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2018How Powerful are Graph Neural Networks?cited by 4,355
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,838
- 2020Graph Contrastive Learning with Augmentationscited by 1,203
- 2018Deep Graph Infomaxcited by 1,101
- 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
- 2020TUDataset: A collection of benchmark datasets for learning with graphscited by 718
- 2014Distributed Representations of Sentences and Documentscited by 677
- 2020Contrastive Multi-View Representation Learning on Graphscited by 651
9 more
- 2020Contrastive Learning with Hard Negative Samplescited by 619
- 2020Graph Contrastive Learning with Adaptive Augmentationcited by 519
- 2020GCC: Graph Contrastive Coding for Graph Neural Network Pre-Trainingcited by 461
- 2019InfoGraph: Unsupervised and Semi-supervised Graph-Level Representation Learning via Mutual Information Maximizationcited by 441
- 2017graph2vec: Learning Distributed Representations of Graphscited by 228
- 2021Graph Trend Filtering Networks for Recommendationscited by 53
- 2021Automated Self-Supervised Learning for Graphscited by 50
- 2016Faster Kernels for Graphs with Continuous Attributes via Hashingcited by 31
- 2022Dual Space Graph Contrastive Learningcited by 20
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 8; 2025: 0; 2026: 2.
13 papers.
Sort:
- 2024Robust image representations with counterfactual contrastive learningcited by 12
- 2024Counterfactual contrastive learning: robust representations via causal image synthesiscited by 11
- 2024A Survey on Self-Supervised Graph Foundation Models: Knowledge-Based Perspectivecited by 9
- 2023When Graph Neural Network Meets Causality: Opportunities, Methodologies and An Outlookcited by 4
- 2024From Overfitting to Robustness: Quantity, Quality, and Variety Oriented Negative Sample Selection in Graph Contrastive Learningcited by 4
- 2024LATEX-GCL: Large Language Models (LLMs)-Based Data Augmentation for Text-Attributed Graph Contrastive Learningcited by 4
- 2024Motif-Consistent Counterfactuals with Adversarial Refinement for Graph-Level Anomaly Detectioncited by 3
- 2022Mitigating the Performance Sacrifice in DP-Satisfied Federated Settings through Graph Contrastive Learningcited by 2
- 2024All in One: Multi-Task Prompting for Graph Neural Networks (Extended Abstract)cited by 2
- 2023Graph Self-Contrast Representation Learningcited by 1
- 2026AC2L-GAD: Active Counterfactual Contrastive Learning for Graph Anomaly Detectioncited by 1
- 2024Imbalanced Graph-Level Anomaly Detection via Counterfactual Augmentation and Feature Learningcited by 0
1 more
- 2026Adaptive Negative Scheduling for Graph Contrastive Learning4 May 2026
- 2026AC2L-GAD: Active Counterfactual Contrastive Learning for Graph Anomaly Detection29 Jan 2026
- 2024Robust image representations with counterfactual contrastive learning16 Sep 2024
- 2024LATEX-GCL: Large Language Models (LLMs)-Based Data Augmentation for Text-Attributed Graph Contrastive Learning2 Sep 2024
- 2024Motif-Consistent Counterfactuals with Adversarial Refinement for Graph-Level Anomaly Detection18 Jul 2024
- 2024Imbalanced Graph-Level Anomaly Detection via Counterfactual Augmentation and Feature Learning13 Jul 2024
- 2024From Overfitting to Robustness: Quantity, Quality, and Variety Oriented Negative Sample Selection in Graph Contrastive Learning21 Jun 2024
- 2024A Survey on Self-Supervised Graph Foundation Models: Knowledge-Based Perspective24 Mar 2024
- 2024Counterfactual contrastive learning: robust representations via causal image synthesis14 Mar 2024
- 2024All in One: Multi-Task Prompting for Graph Neural Networks (Extended Abstract)11 Mar 2024
- 2023When Graph Neural Network Meets Causality: Opportunities, Methodologies and An Outlook19 Dec 2023
- 2023Graph Self-Contrast Representation Learning5 Sep 2023
- 2024Robust image representations with counterfactual contrastive learningcited by 12
- 2024Counterfactual contrastive learning: robust representations via causal image synthesiscited by 11
- 2024A Survey on Self-Supervised Graph Foundation Models: Knowledge-Based Perspectivecited by 9
- 2023When Graph Neural Network Meets Causality: Opportunities, Methodologies and An Outlookcited by 4
- 2024From Overfitting to Robustness: Quantity, Quality, and Variety Oriented Negative Sample Selection in Graph Contrastive Learningcited by 4
- 2024LATEX-GCL: Large Language Models (LLMs)-Based Data Augmentation for Text-Attributed Graph Contrastive Learningcited by 4
- 2024Motif-Consistent Counterfactuals with Adversarial Refinement for Graph-Level Anomaly Detectioncited by 3
- 2022Mitigating the Performance Sacrifice in DP-Satisfied Federated Settings through Graph Contrastive Learningcited by 2
- 2024All in One: Multi-Task Prompting for Graph Neural Networks (Extended Abstract)cited by 2
- 2023Graph Self-Contrast Representation Learningcited by 1
- 2026AC2L-GAD: Active Counterfactual Contrastive Learning for Graph Anomaly Detectioncited by 1
- 2024Imbalanced Graph-Level Anomaly Detection via Counterfactual Augmentation and Feature Learningcited by 0
12 most cited of 13 All 13 (JSON)
- 2026Adaptive Negative Scheduling for Graph Contrastive Learning4 May 2026
- 2026AC2L-GAD: Active Counterfactual Contrastive Learning for Graph Anomaly Detection29 Jan 2026
- 2024Robust image representations with counterfactual contrastive learning16 Sep 2024
- 2024LATEX-GCL: Large Language Models (LLMs)-Based Data Augmentation for Text-Attributed Graph Contrastive Learning2 Sep 2024
- 2024Motif-Consistent Counterfactuals with Adversarial Refinement for Graph-Level Anomaly Detection18 Jul 2024
- 2024Imbalanced Graph-Level Anomaly Detection via Counterfactual Augmentation and Feature Learning13 Jul 2024
- 2024From Overfitting to Robustness: Quantity, Quality, and Variety Oriented Negative Sample Selection in Graph Contrastive Learning21 Jun 2024
- 2024A Survey on Self-Supervised Graph Foundation Models: Knowledge-Based Perspective24 Mar 2024
- 2024Counterfactual contrastive learning: robust representations via causal image synthesis14 Mar 2024
- 2024All in One: Multi-Task Prompting for Graph Neural Networks (Extended Abstract)11 Mar 2024
- 2023When Graph Neural Network Meets Causality: Opportunities, Methodologies and An Outlook19 Dec 2023
- 2023Graph Self-Contrast Representation Learning5 Sep 2023
12 newest of 13 All 13 (JSON)