Generating Compressed Counterfactual Hard Negative Samples for Graph Contrastive Learning
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.
Authors
- Sixiao Zhang (ORCID: https://orcid.org/0000-0002-8072-4230)
- Xiangguo Sun
- H. Chen
- Qian Li (ORCID: https://orcid.org/0000-0002-6050-8397)
- Hongzhi Yin
- Guandong Xu
- Haoran Yang
- Xiangyu Zhao
Institutions
- Central South University (CN)
- The University of Queensland (AU)
- City University of Hong Kong (HK)
- Nanyang Technological University (SG)
- Chinese University of Hong Kong (HK)
- Curtin University (AU)
- Education University of Hong Kong (HK)
Publication Details
- Journal
- CAAI Transactions on Intelligence Technology
- Published
- 2026-02-09
- DOI
- https://doi.org/10.1049/cit2.70102
- Primary Topic
- Advanced Graph Neural Networks
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Science Foundation
- City University of Hong Kong
- Ant Group
- Aromatic Plant Research Center
- Hong Kong Institute for Data Science