mlsanityData to 7 Oct 2026

Affinity Uncertainty-based Hard Negative Mining in Graph Contrastive Learning

arXiv 2301.13340 ↗First posted 31 Jan 2023cs.LG cs.SIcited by 9

Not on the map. Why?

Abstract (arXiv)

Hard negative mining has shown effective in enhancing self-supervised contrastive learning (CL) on diverse data types, including graph CL (GCL). The existing hardness-aware CL methods typically treat negative instances that are most similar to the anchor instance as hard negatives, which helps improve the CL performance, especially on image data. However, this approach often fails to identify the hard negatives but leads to many false negatives on graph data. This is mainly due to that the learned graph representations are not sufficiently discriminative due to oversmooth representations and/or non-independent and identically distributed (non-i.i.d.) issues in graph data. To tackle this problem, this article proposes a novel approach that builds a discriminative model on collective affinity information (i.e., two sets of pairwise affinities between the negative instances and the anchor instance) to mine hard negatives in GCL. In particular, the proposed approach evaluates how confident/uncertain the discriminative model is about the affinity of each negative instance to an anchor instance to determine its hardness weight relative to the anchor instance. This uncertainty information is then incorporated into the existing GCL loss functions via a weighting term to enhance their performance. The enhanced GCL is theoretically grounded that the resulting GCL loss is equivalent to a triplet loss with an adaptive margin being exponentially proportional to the learned uncertainty of each negative instance. Extensive experiments on ten graph datasets show that our approach does the following: 1) consistently enhances different state-of-the-art (SOTA) GCL methods in both graph and node classification tasks and 2) significantly improves their robustness against adversarial attacks. Code is available at https://github.com/mala-lab/AUGCL.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 59 of its 84 references that are in the map. First posted on arXiv 31 Jan 2023.

Builds on

59 of 84 references.

References · 59

  1. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  2. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
  3. 2017Graph Attention Networkscited by 8,854
  4. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  5. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  6. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  7. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
  8. 2018How Powerful are Graph Neural Networks?cited by 4,355
  9. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
  10. 2019A Comprehensive Survey on Graph Neural Networkscited by 2,906
  11. 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
  12. 2016node2vec: Scalable Feature Learning for Networkscited by 1,913
38 more
  1. 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,838
  2. 2014DeepWalk: Online Learning of Social Representationscited by 1,543
  3. 2016Variational Graph Auto-Encoderscited by 1,373
  4. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
  5. 2020Energy-based Out-of-distribution Detectioncited by 1,296
  6. 2020Graph Contrastive Learning with Augmentationscited by 1,203
  7. 2018Deep Graph Infomaxcited by 1,101
  8. 2018Pitfalls of Graph Neural Network Evaluationcited by 994
  9. 2017Selective Classification for Deep Neural Networkscited by 799
  10. 2020Contrastive Multi-View Representation Learning on Graphscited by 651
  11. 2020Prototypical Contrastive Learning of Unsupervised Representationscited by 636
  12. 2020Contrastive Learning with Hard Negative Samplescited by 619
  13. 2020Deep Graph Contrastive Representation Learningcited by 535
  14. 2020Graph Contrastive Learning with Adaptive Augmentationcited by 519
  15. 2019Using Self-Supervised Learning Can Improve Model Robustness and Uncertaintycited by 511
  16. 2020GCC: Graph Contrastive Coding for Graph Neural Network Pre-Trainingcited by 461
  17. 2019InfoGraph: Unsupervised and Semi-supervised Graph-Level Representation Learning via Mutual Information Maximizationcited by 441
  18. 2020Hard Negative Mixing for Contrastive Learningcited by 399
  19. 2017Training Confidence-calibrated Classifiers for Detecting Out-of-Distribution Samplescited by 389
  20. 2020Debiased Contrastive Learningcited by 354
  21. 2018Adversarial Attack on Graph Structured Datacited by 300
  22. 2021Graph Self-Supervised Learning: A Surveycited by 289
  23. 2021Graph Contrastive Learning Automatedcited by 287
  24. 2020Wiki-CS: A Wikipedia-Based Benchmark for Graph Neural Networkscited by 253
  25. 2017graph2vec: Learning Distributed Representations of Graphscited by 228
  26. 2020Graph Representation Learning via Graphical Mutual Information Maximizationcited by 217
  27. 2021Self-Supervised Learning of Graph Neural Networks: A Unified Reviewcited by 184
  28. 2022SimGRACE: A Simple Framework for Graph Contrastive Learning without Data Augmentationcited by 171
  29. 2021Graph Learning: A Surveycited by 140
  30. 2020Adversarial Self-Supervised Contrastive Learningcited by 138
  31. 2016Discriminative Embeddings of Latent Variable Models for Structured Datacited by 130
  32. 2021Self-supervised Graph-level Representation Learning with Local and Global Structurecited by 125
  33. 2021An Empirical Study of Graph Contrastive Learningcited by 113
  34. 2021InfoGCL: Information-Aware Graph Contrastive Learningcited by 105
  35. 2021Pixel-wise Energy-biased Abstention Learning for Anomaly Segmentation on Complex Urban Driving Scenescited by 83
  36. 2020Towards Domain-Agnostic Contrastive Learningcited by 75
  37. 2021ProGCL: Rethinking Hard Negative Mining in Graph Contrastive Learningcited by 72
  38. 2019Deep Gamblers: Learning to Abstain with Portfolio Theorycited by 69

50 most cited of 59 All 59 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 5; 2025: 3; 2026: 1.

9 papers.