Rethinking Graph Contrastive Learning Through Relative Similarity Preservation
Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 3217-3225.
https://doi.org/10.24963/ijcai.2025/358
Keywords
- Data Mining: DM: Applications
- Data Mining: DM: Other
- Data Mining: DM: Mining graphs
Abstract
Graph contrastive learning (GCL) has achieved remarkable success by following the computer vision paradigm of preserving absolute similarity between augmented views. However, this approach faces fundamental challenges in graphs due to their discrete, non-Euclidean nature -- view generation often breaks semantic validity and similarity verification becomes unreliable. Through analyzing 11 real-world graphs, we discover a universal pattern transcending the homophily-heterophily dichotomy: label consistency systematically diminishes as structural distance increases, manifesting as smooth decay in homophily graphs and oscillatory decay in heterophily graphs. We establish theoretical guarantees for this pattern through random walk theory, proving label distribution convergence and characterizing the mechanisms behind different decay behaviors. This discovery reveals that graphs naturally encode relative similarity patterns, where structurally closer nodes exhibit collectively stronger semantic relationships. Leveraging this insight, we propose RELGCL, a novel GCL framework with complementary pairwise and listwise implementations that preserve these inherent patterns through collective similarity objectives. Extensive experiments demonstrate that our method consistently outperforms 20 existing approaches across both homophily and heterophily graphs, validating the effectiveness of leveraging natural relative similarity over artificial absolute similarity.
@inproceedings{ijcai2025p358,
title = {Rethinking Graph Contrastive Learning Through Relative Similarity Preservation},
author = {Ning, Zhiyuan and Wang, Pengfei and Qiao, Ziyue and Wang, Pengyang and Zhou, Yuanchun},
booktitle = {Proceedings of the Thirty-Fourth International Joint Conference on
Artificial Intelligence, {IJCAI-25}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {James Kwok},
pages = {3217--3225},
year = {2025},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2025/358},
url = {https://doi.org/10.24963/ijcai.2025/358},
}
TY - CPAPER TI - Rethinking Graph Contrastive Learning Through Relative Similarity Preservation AU - Ning, Zhiyuan AU - Wang, Pengfei AU - Qiao, Ziyue AU - Wang, Pengyang AU - Zhou, Yuanchun T2 - Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence, IJCAI-25 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2025 SP - 3217 EP - 3225 DO - 10.24963/ijcai.2025/358 UR - https://doi.org/10.24963/ijcai.2025/358 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: