Abstract
The rapid development of IoT, cloud computing, and big data has led to an exponential increase in data complexity, driving the widespread application of complex networks. In transportation networks, for example, accurately predicting vehicle behaviors and traffic flow is critical for optimizing intelligent transportation systems. However, traditional deep learning models often focus on a single spatial granularity, limiting their ability to fully capture the multi-granularity interactions within these networks, reducing prediction accuracy. Key challenges include managing the intricate spatiotemporal dependencies inherent in complex network predictions and effectively integrating multi-granularity information. To address these challenges, we propose a novel complex network prediction method based on spatial multi-granularity adaptive fusion and contrastive learning. Our approach captures spatial representations at three levels: micro (node-wise graph), meso (regional graph), and macro (global graph). These representations are dynamically fused through an adaptive strategy to enhance spatiotemporal modeling. Furthermore, we introduce a multi-granularity contrastive learning mechanism to explore both commonalities and distinctions across three levels, boosting the model’s robustness and generalization. By aligning and contrasting features at various granularities, our method captures both local and global dynamics effectively. Extensive experiments on three real-world traffic datasets demonstrate that our method consistently outperforms state-of-the-art models in prediction accuracy.


Similar content being viewed by others
Data availability
Data will be made available on request.
References
Fatimazahraa, H., Azeddine, W., Youssef, F.: Recent trends in internet of things and cloud computing: A detailed comprehensive review. In: Proceeding of the International Conference on Connected Objects and Artificial Intelligence (COCIA2024), pp. 398–403 (2024)
Du, K.-L., Swamy, M.N.S.: Big Data, Cloud Computing, and Internet of Things, pp. 905–932 (2019)
Lu, K., Liu, J., Zhou, X., Han, B.: A review of big data applications in urban transit systems. IEEE Trans. Intell. Transp. Syst. 22(5), 2535–2552 (2021)
Lin, X., Lu, Q., Chen, L., Brilakis, I.K.: Assessing dynamic congestion risks of flood-disrupted transportation network systems through time-variant topological analysis and traffic demand dynamics. Adv. Eng. Inf. 62, 102672 (2024)
Luo, N., Xie, D., Mo, Y., Li, F., Teng, C., Ji, D.: Joint rumour and stance identification based on semantic and structural information in social networks. Appl. Intell. 54(11–12), 264–282 (2024)
Kanoulas, E., Du, Y., Xia, T., Zhang, D.: Finding fastest paths on a road network with speed patterns. In: 22nd International Conference on Data Engineering (ICDE’06), pp. 10–10 (2006)
Wang, J., Wu, N., Zhao, W.X., Peng, F., Lin, X.: Empowering a* search algorithms with neural networks for personalized route recommendation. In: Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 539–547 (2019)
Wu, N., Wang, J., Zhao, W.X., Jin, Y.: Learning to effectively estimate the travel time for fastest route recommendation. In: Proceedings of the 28th ACM International Conference on Information and Knowledge Management, pp. 1923–1932 (2019)
Liu, Q., Wu, S., Wang, L., Tan, T.: Predicting the next location: A recurrent model with spatial and temporal contexts. Proceedings of the AAAI Conference on Artificial Intelligence, 194–200 (2016)
Liu, Y., Yao, L., Li, B., Wang, X., Sammut, C.: Social graph transformer networks for pedestrian trajectory prediction in complex social scenarios. In: Proceedings of the 31st ACM International Conference on Information & Knowledge Management, Atlanta, GA, USA, October 17-21, 2022, pp. 1339–1349 (2022)
Li, Y., Yu, R., Shahabi, C., Liu, Y.: Diffusion convolutional recurrent neural network: Data-driven traffic forecasting. In: ICLR (2018)
Fang, Z., Long, Q., Song, G., Xie, K.: Spatial-temporal graph ode networks for traffic flow forecasting. In: Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining, pp. 364–373 (2021)
BAI, L., Yao, L., Li, C., Wang, X., Wang, C.: Adaptive graph convolutional recurrent network for traffic forecasting. In: Advances in Neural Information Processing Systems, pp. 17804–17815 (2020)
Wu, Z., Pan, S., Long, G., Jiang, J., Zhang, C.: Graph wavenet for deep spatial-temporal graph modeling. In: IJCAI, pp. 1907–1913 (2019)
Guo, S., Lin, Y., Feng, N., Song, C., Wan, H.: Attention based spatial-temporal graph convolutional networks for traffic flow forecasting. Proceedings of the AAAI Conference on Artificial Intelligence, 922–929 (2019)
Han, L., Du, B., Sun, L., Fu, Y., Lv, Y., Xiong, H.: Dynamic and multi-faceted spatio-temporal deep learning for traffic speed forecasting. In: Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining, pp. 547–555 (2021)
Ma, Q., Zhang, Z., Zhao, X., Li, H., Zhao, H., Wang, Y., Liu, Z., Wang, W.: Rethinking sensors modeling: Hierarchical information enhanced traffic forecasting. In: Proceedings of the 32nd ACM International Conference on Information and Knowledge Management, pp. 1756–1765 (2023)
Zhang, J., Zheng, Y., Qi, D.: Deep spatio-temporal residual networks for citywide crowd flows prediction. Proceedings of the AAAI Conference on Artificial Intelligence (2017)
Zhao, L., Song, Y., Zhang, C., Liu, Y., Wang, P., Lin, T., Deng, M., Li, H.: T-gcn: A temporal graph convolutional network for traffic prediction. IEEE Transactions on Intelligent Transportation Systems, 3848–3858 (2020)
Wu, N., Zhao, X.W., Wang, J., Pan, D.: Learning effective road network representation with hierarchical graph neural networks. In: Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 6–14 (2020)
Song, C., Lin, Y., Guo, S., Wan, H.: Spatial-temporal synchronous graph convolutional networks: A new framework for spatial-temporal network data forecasting. In: AAAI, pp. 914–921 (2020)
Jiang, J., Wu, B., Chen, L., Zhang, K., Kim, S.: Enhancing the robustness via adversarial learning and joint spatial-temporal embeddings in traffic forecasting. In: Proceedings of the 32nd ACM International Conference on Information and Knowledge Management, pp. 987–996 (2023)
Zheng, C., Fan, X., Wang, C., Qi, J.: Gman: A graph multi-attention network for traffic prediction. Proceedings of the AAAI Conference on Artificial Intelligence, 1234–1241 (2020)
Yu, F.: Multi-scale context aggregation by dilated convolutions. arXiv preprint arXiv:1511.07122 (2015)
Ng, A., Jordan, M., Weiss, Y.: On spectral clustering: Analysis and an algorithm. In: Advances in Neural Information Processing Systems, pp. 849–856 (2001)
Chang, C., Lin, C.: LIBSVM: A library for support vector machines. ACM Trans. Intell. Syst. Technol., 1–27 (2011)
Sutskever, I., Vinyals, O., Le, Q.V.: Sequence to sequence learning with neural networks. In: NeurIPS, pp. 3104–3112 (2014)
Yu, B., Yin, H., Zhu, Z.: Spatio-temporal graph convolutional networks: A deep learning framework for traffic forecasting. In: Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence, pp. 3634–3640 (2018)
Wang, J., Jiang, J., Jiang, W., Li, C., Zhao, W.X.: Libcity: An open library for traffic prediction. In: Proceedings of the 29th International Conference on Advances in Geographic Information Systems, pp. 145–148 (2021)
Han, Q., Sui, S., Lu, D., Wu, S., Xu, G.: Enhancing spatiotemporal prediction with intra- and inter-granularity contrastive learning. In: Database Systems for Advanced Applications - 29th International Conference (2024)
Zhang, X., Qian, B., Li, Y., Cao, S., Davidson, I.: Context-aware and time-aware attention-based model for disease risk prediction with interpretability. IEEE Transactions on Knowledge and Data Engineering, 3551–3562 (2023)
Acknowledgements
This work was supported by the Heilongjiang Key R &D Program of China under Grant No. GA23A915 and the National Natural Science Foundation of China under Grant No. 62302120.
Author information
Authors and Affiliations
Corresponding authors
Ethics declarations
Conflict of interest
The authors have no conflict of interest to declare that are relevant to the content of this article.
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
Sui, S., Han, Q., Lu, D. et al. A novel complex network prediction method based on multi-granularity contrastive learning. CCF Trans. Pervasive Comp. Interact. 6, 394–405 (2024). https://doi.org/10.1007/s42486-024-00174-9
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s42486-024-00174-9