Abstract
Studies on graph contrastive learning, which is an effective way of self-supervision, have achieved excellent experimental performance. Most existing methods generate two augmented views, and then perform feature learning on the two views through maximizing semantic consistency. Nevertheless, it is still challenging to generate optimal views to facilitate the graph construction that can reveal the essential association relations among nodes by graph contrastive learning. Considering that the extremely high mutual information between views is prone to have a negative effect on model training, a good choice is to add constraints to the graph data augmentation process. This paper proposes two constraint principles, low dissimilarity priority (LDP) and mutual exclusion (ME), to mitigate the mutual information between views and compress redundant parts of mutual information between views. LDP principle aims to reduce the mutual information between views at global scale, and ME principle works to reduce the mutual information at local scale. They are opposite and appropriate in different situations. Without loss of generality, the two proposed principles are applied to two well-performed graph contrastive methods, i.e. GraphCL and GCA, and experimental results on 20 public benchmark datasets show that the models with the aid of the two proposed constraint principles achieve higher recognition accuracy.
Similar content being viewed by others
References
Caron M, Misra I, Mairal J, Goyal P, Bojanowski P, Joulin A (2020) Unsupervised learning of visual features by contrasting cluster assignments. Adv Neural Inf Process Syst 33:9912–9924
He K, Fan H, Wu Y, Xie S, Girshick R (2020) Momentum contrast for unsupervised visual representation learning. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. pp 9729–9738
Tian Y, Krishnan D, Isola P (2020) Contrastive multiview coding. In: European conference on computer vision. pp 776–794. Springer
Qian R, Meng T, Gong B, Yang M-H, Wang H, Belongie S, Cui Y (2021) Spatiotemporal contrastive video representation learning. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. pp 6964–6974
Chi Z, Dong L, Wei F, Yang N, Singhal S, Wang W, Song X, Mao X-L, Huang H, Zhou M (2021) Infoxlm: an information-theoretic framework for cross-lingual language model pre-training. In: Proceedings of the conference of the North American chapter of the association for computational linguistics: human language technologies. pp 3576–3588
Fang H, Wang S, Zhou M, Ding J, Xie P (2020) Cert: contrastive self-supervised learning for language understanding. arXiv preprint arXiv:2005.12766
Giorgi J, Nitski O, Wang B, Bader G (2021) Declutr: deep contrastive learning for unsupervised textual representations. In: Proceedings of the 59th annual meeting of the association for computational linguistics and the 11th international joint conference on natural language processing (Volume 1: Long Papers). pp 879–895
Wang C, Liu Z (2021) Learning graph representation by aggregating subgraphs via mutual information maximization. arXiv preprint arXiv:2103.13125
Jin M, Zheng Y, Li Y.-F, Gong C, Zhou C, Pan S (2021) Multi-scale contrastive siamese networks for self-supervised graph representation learning. In: International joint conference on artificial intelligence 2021, pp 1477–1483. Association for the Advancement of Artificial Intelligence (AAAI)
Li S, Zhou J, Xu T, Dou D, Xiong H (2022) Geomgcl: Geometric graph contrastive learning for molecular property prediction. Proc AAAI Conf Artif Intell 36:4541–4549
Chen M, Huang C, Xia L, Wei W, Xu Y, Luo R (2023) Heterogeneous graph contrastive learning for recommendation. In: Proceedings of the sixteenth ACM international conference on web search and data mining, pp 544–552
Linsker R (1988) Self-organization in a perceptual network. Computer 21(3):105–117
Xiao T, Wang X, Efros AA, Darrell T (2021) What should not be contrastive in contrastive learning. In: International conference on learning representations
Chen B, Zhang J, Zhang X, Dong Y, Song J, Zhang P, Xu K, Kharlamov E, Tang J (2022) Gccad: Graph contrastive learning for anomaly detection. IEEE Trans Knowl Data Eng. https://doi.org/10.1109/TKDE.2022.3200459
Shi S, Xie P, Luo X, Qiao K, Wang L, Chen J, Yan B (2022) Adaptive multi-layer contrastive graph neural networks. Neural Process Lett. 1–20
Sun Q, Li J, Peng H, Wu J, Ning Y, Yu P.S, He L (2021) Sugar: subgraph neural network with reinforcement pooling and self-supervised mutual information mechanism. In: Proceedings of the web conference 2021. pp 2081–2091
Zhao H, Yang X, Wang Z, Yang E, Deng C (2021) Graph debiased contrastive learning with joint representation clustering. In: IJCAI international joint conference on artificial intelligence. pp 3434–4440
Shuai J, Zhang K, Wu L, Sun P, Hong R, Wang M, Li Y (2022) A review-aware graph contrastive learning framework for recommendation. In: Proceedings of the 45th international ACM SIGIR conference on research and development in information retrieval. pp 1283–1293
Zhu Y, Xu Y, Yu F, Liu Q, Wu S, Wang L (2021) Graph contrastive learning with adaptive augmentation. In: Proceedings of the web conference 2021. pp 2069–2080
Wu M, Zhuang C, Mosse M, Yamins D, Goodman N (2020) On mutual information in contrastive learning for visual representations. arXiv preprint arXiv:2005.13149
Tian Y, Sun C, Poole B, Krishnan D, Schmid C, Isola P (2020) What makes for good views for contrastive learning? Adv Neural Inf Process Syst 33:6827–6839
Xu D, Cheng W, Luo D, Chen H, Zhang X (2021) Infogcl: Information-aware graph contrastive learning. Adv Neural Inf Process Syst 36:30414–30425
You Y, Chen T, Sui Y, Chen T, Wang Z, Shen Y (2020) Graph contrastive learning with augmentations. Adv Neural Inf Process Syst 33:5812–5823
Zheng Y, Pan S, Lee V, Zheng Y, Yu PS (2022) Rethinking and scaling up graph contrastive learning: an extremely efficient approach with group discrimination. Adv Neural Inf Process Syst 35:10809–10820
Yu W, Wan S, Li G, Yang J, Gong C (2023) Hyperspectral image classification with contrastive graph convolutional network. IEEE Trans Geosci Remote Sens 61:1–15
Tsai Y-H, Wu Y, Salakhutdinov R, Morency L-P (2021) Self-supervised learning from a multi-view perspective. In: International conference on learning representations
Wan S, Pan S, Yang J, Gong C (2021) Contrastive and generative graph convolutional networks for graph-based semi-supervised learning. Proc AAAI Conf Artif Intell 35:10049–10057
Yang Y, Huang C, Xia L, Li C (2022) Knowledge graph contrastive learning for recommendation. In: Proceedings of the 45th international ACM SIGIR conference on research and development in information retrieval. pp 1434–1443
Wu L, Lin H, Tan C, Gao Z, Li S.Z (2021) Self-supervised learning on graphs: contrastive, generative, or predictive. IEEE Trans Knowl Data Eng
Poole B, Ozair S, Van Den Oord A, Alemi A, Tucker G (2019) On variational bounds of mutual information. In: International conference on machine learning. pp 5171–5180. PMLR
Oord AVD, Li Y, Vinyals O (2018) Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748
Grover A, Leskovec J (2016) node2vec: Scalable feature learning for networks. In: Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining. pp 855–864
Hamilton W.L, Ying R, Leskovec J (2017) Inductive representation learning on large graphs. In: Advances in neural information processing systems. pp 1025–1035
Kipf TN, Welling M (2016) Variational graph auto-encoders. Advances in neural information processing systems
Perozzi B, Al-Rfou R, Skiena S (2014) Deepwalk: online learning of social representations. In: Proceedings of the 20th ACM SIGKDD international conference on knowledge discovery and data mining. pp 701–710
Qiu J, Dong Y, Ma H, Li J, Wang K, Tang J (2018) Network embedding as matrix factorization: Unifying deepwalk, line, pte, and node2vec. In: Proceedings of the eleventh ACM international conference on web search and data mining. pp 459–467
Veličković P, Fedus W, Hamilton WL, Liò P, Bengio Y, Hjelm RD (2019) Deep graph infomax. In: International Conference on Learning Representations
Qiu J, Chen Q, Dong Y, Zhang J, Yang H, Ding M, Wang K, Tang J (2020) Gcc: graph contrastive coding for graph neural network pre-training. In: Proceedings of the 26th ACM SIGKDD international conference on knowledge discovery and data mining. pp 1150–1160
Sun F-Y, Hoffman J, Verma V, Tang J (2020) Infograph: unsupervised and semi-supervised graph-level representation learning via mutual information maximization. In: International conference on learning representations
Hassani K, Khasahmadi AH (2020) Contrastive multi-view representation learning on graphs. In: International conference on machine learning. pp 4116–4126 . PMLR
Wan S, Zhan Y, Liu L, Yu B, Pan S, Gong C (2021) Contrastive graph poisson networks: semi-supervised learning with extremely limited labels. Adv Neural Inf Process Syst 34:6316–6327
Ribeiro LF, Saverese PH, Figueiredo DR (2017) struc2vec: learning node representations from structural identity. In: Proceedings of the 23rd ACM SIGKDD international conference on knowledge discovery and data mining. pp 385–394
Freeman LC (1978) Centrality in social networks conceptual clarification. Soc Netw 1(3):215–239
Chen T, Kornblith S, Norouzi M, Hinton G (2020) A simple framework for contrastive learning of visual representations. In: International conference on machine learning. pp 1597–1607 . PMLR
Morris C, Kriege N.M, Bause F, Kersting K, Mutzel P, Neumann M (2020) Tudataset: a collection of benchmark datasets for learning with graphs. In: International conference on machine learning
Mernyei P, Cangea C (2020) Wiki-cs: a wikipedia-based benchmark for graph neural networks. In: International conference on machine learning
Shchur O, Mumme M, Bojchevski A, Günnemann S (2018) Pitfalls of graph neural network evaluation. arXiv preprint arXiv:1811.05868
Sen P, Namata G, Bilgic M, Getoor L, Galligher B, Eliassi-Rad T (2008) Collective classification in network data. AI Mag 29(3):93–93
Pan S, Wu J, Zhu X, Zhang C, Wang Y (2016) Tri-party deep network representation. In: IJCAI international joint conference on artificial intelligence. pp 1895–1901
Glorot X, Bengio Y (2010) Understanding the difficulty of training deep feedforward neural networks. In: Proceedings of the thirteenth international conference on artificial intelligence and statistics. pp 249–256
Diederik KP, Jimmy B (2015) A method for stochastic optimization. In: International conference on learning representations
Kipf TN, Welling M (2017) Semi-supervised classification with graph convolutional networks. In: International Conference on Learning Representations
Veličković P, Cucurull G, Casanova A, Romero A, Lio P, Bengio Y (2018) Graph attention networks. In: International conference on learning representations
van der Maaten L, Hinton G (2008) Visualizing data using t-sne. J Mach Learn Res 9:2579–2605
Acknowledgements
This work is supported by Beijing Natural Science Foundation (No.4202004). Consulting Project for Major Strategic Decision making for Serving Capital in 2022 from Beijing University of Technology.
Author information
Authors and Affiliations
Contributions
SX wrote the main manuscript text. All authors reviewed the manuscript.
Corresponding author
Ethics declarations
Conflict of interest
The authors declare no competing interests.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Xu, S., Wang, L. & Jia, X. Graph Contrastive Learning with Constrained Graph Data Augmentation. Neural Process Lett 55, 10705–10726 (2023). https://doi.org/10.1007/s11063-023-11346-6
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11063-023-11346-6