Skip to main navigation Skip to search Skip to main content

Generating Compressed Counterfactual Hard Negative Samples for Graph Contrastive Learning

  • Haoran Yang
  • , Hongxu Chen
  • , Xiangyu Zhao
  • , Sixiao Zhang
  • , Xiangguo Sun
  • , Qian Li
  • , Hongzhi Yin
  • , Guandong Xu*
  • *Corresponding author for this work

Research output: Journal Publications and ReviewsRGC 21 - Publication in refereed journalpeer-review

Abstract

Graph contrastive learning (GCL) relies on acquiring high-quality positive and negative samples to learn the structural semantics of the input graph. Previous approaches typically sampled negative samples from the same training batch or an irrelevant external graph. However, this approach is limited by the problem of sampling false negatives. To address this limitation, this paper introduces a novel method called CGC. CGC uses a counterfactual mechanism to generate hard negative samples that are similar to positive samples but have different semantics. However, CGC faces the challenge of high space complexity due to the storage requirements of augmented graphs. To overcome this challenge, an expansion of CGC is proposed in this paper, called CCGC (compressed CGC), which incorporates a compression module using knowledge distillation techniques to compress the features of augmented graphs. The effectiveness of the proposed method is demonstrated through satisfactory results on multiple datasets, outperforming traditional unsupervised graph learning methods and state-of-the-art GCL methods. Supplementary experiments are conducted to compare CGC and CCGC at different compression ratios. © 2026 The Author(s). CAAI Transactions on Intelligence Technology published by John Wiley & Sons Ltd on behalf of The Institution of Engineering and Technology and Chongqing University of Technology.
Original languageEnglish
Number of pages14
JournalCAAI Transactions on Intelligence Technology
Online published9 Feb 2026
DOIs
Publication statusOnline published - 9 Feb 2026

Bibliographical note

Full text of this publication does not contain sufficient affiliation information. With consent from the author(s) concerned, the Research Unit(s) information for this record is based on the existing academic department affiliation of the author(s).

Funding

This work is an extension of a previously published conference paper, Generating Counterfactual Hard Negative Samples for Graph Contrastive Learning [20], which is accepted by The 32nd ACM Web Conference (WWW’2023). This work is supported by the Australian Research Council (ARC) under (Grant Nos. DP220103717, DP200101374, LP170100891 and LE220100078), and NSF under (Grant Nos. III-1763325, III-1909323, III-2106758 and SaTC-1930941). This research is also partially supported by APRC—CityU New Research Initiatives (Grant No. 9610565, Start-up Grant for New Faculty of City University of Hong Kong), SIRG—CityU Strategic Interdisciplinary Research Grant (Nos. 7020046 and 7020074), HKIDS Early Career Research Grant (Grant No. 9360163), Huawei Innovation Research Program and Ant Group (CCF-Ant Research Fund).

Research Keywords

  • artificial neural networks
  • data mining
  • graph contrastive learning

Fingerprint

Dive into the research topics of 'Generating Compressed Counterfactual Hard Negative Samples for Graph Contrastive Learning'. Together they form a unique fingerprint.

Cite this