Abstract
Hierarchy network, as a type of complex graphs, is widely used in many application scenarios such as social network analysis in web, human resource analysis in e-government, and product recommendation in e-commerce. Hierarchy preserving network embedding is a representation learning method that project nodes into feature space by preserving the hierarchy property of networks. Recently, researches on network embedding are devoted to mining hierarchical structures and profit a lot form it. Among these works, SpaceNE stands out of preserving hierarchy with the help of subspace constraint on the hierarchical subspace system. However, like all other existing works, SpaceNE is based on transductive learning method and is hard to generalize to new nodes. Besides, they have high time complexity and hard to be scalable to large-scale networks. This paper proposes an inductive method, FastHGE to learn node representation more efficiently and generalize to new nodes more easily. As SpaceNE, a hierarchy network is embedded into a hierarchical subspace tree. For upper communities, we exploit transductive learning by preserving inner-subspace proximity of subspace from the same ancestor. For extending to new nodes, we adopt inductive learning to learn representations of leaf nodes. The overall representation of a node is retrieved by concatenating the embedding vectors of all its ancestor communities and the leaf node. By learning the basis vectors of subspace, the computing cost is alleviated from updating many parameters of projection matrices as in SpaceNE. The performance evaluation experiments show that FastHGE outperforms with much fast speed and the same accuracy. For example, in the node classification, FastHGE is nearly 30 times faster than SpaceNE. The source code of FastHGE is available online.
Similar content being viewed by others
Data Availability
Our code and data are open-source and are available on Anonymous Github (https://anonymous.4open.science/r/FGEcode-6B34/README.md).
References
Shen, S., Fu, Y., Jia, A.L., Su, H., Wang, Q., Wang, C., Dou, Y.: Learning network representation through reinforcement learning. In: ICASSP, pp. 3537–3541. IEEE, Piscataway (2020)
Gamage, A., Rappaport, B., Aeron, S., Hu, X.: Common randomized shortest paths (C-RSP): a simple yet effective framework for multi-view graph embedding. In: ICASSP, pp. 3542–3546. IEEE, Piscataway (2019)
Bi, X., Nie, H., Zhang, G., Hu, L., Ma, Y., Zhao, X., Yuan, Y., Wang, G.: Boosting question answering over knowledge graph with reward integration and policy evaluation under weak supervision. Inf. Process. Manag. 60(2), 103242 (2023)
Song, X., Li, J., Cai, T., Yang, S., Yang, T., Liu, C.: A survey on deep learning based knowledge tracing. Knowl. Based Syst. 258, 110036 (2022)
Perozzi, B., Al-Rfou, R., Skiena, S.: Deepwalk: online learning of social representations. In: KDD, pp. 701–710. ACM, New York (2014)
Tang, J., Qu, M., Wang, M., Zhang, M., Yan, J., Mei, Q.: LINE: large-scale information network embedding. In: WWW, pp. 1067–1077. ACM, New York (2015)
Grover, A., Leskovec, J.: Node2vec: scalable feature learning for networks. In: KDD, pp. 855–864. ACM, New York (2016)
Wang, X., Cui, P., Wang, J., Pei, J., Zhu, W., Yang, S.: Community preserving network embedding. In: AAAI, pp. 203–209. AAAI Press, Palo Alto (2017)
Du, L., Lu, Z., Wang, Y., Song, G., Wang, Y., Chen, W.: Galaxy network embedding: a hierarchical community structure preserving approach. In: IJCAI, pp. 2079–2085. ijcai.org, New York (2018)
Long, Q., Wang, Y., Du, L., Song, G., Jin, Y., Lin, W.: Hierarchical community structure preserving network embedding: a subspace approach. In: CIKM, pp. 409–418. ACM, New York (2019)
Chen, X., Du, L., Chen, M., Wang, Y., Long, Q., Xie, K.: Fast hierarchy preserving graph embedding via subspace constraints. In: ICASSP, pp. 3580–3584. IEEE, Piscataway (2021)
Hamilton, W.L., Ying, Z., Leskovec, J.: Inductive representation learning on large graphs. In: NIPS, New York pp. 1024–1034 (2017)
Traud, A.L., Mucha, P.J., Porter, M.A.: Social structure of facebook networks. Phys. A Stat. Mech. Appl. 391(16), 4165–4180 (2012)
Hu, F., Zhu, Y., Wu, S., Wang, L., Tan, T.: Hierarchical graph convolutional networks for semi-supervised node classification. In: IJCAI, pp. 4532–4539. ijcai.org, New York (2019)
Rushing, J.A., Ramachandran, R., Nair, U., Graves, S.J., Welch, R., Lin, H.: Adam: a data mining toolkit for scientists and engineers. Comput. Geosci. 31(5), 607–618 (2005)
Wang, H., Chen, E., Liu, Q., Xu, T., Du, D., Su, W., Zhang, X.: A united approach to learning sparse attributed network embedding. In: ICDM, pp. 557–566. IEEE Computer Society, Los Alamitos (2018)
Yang, R., Shi, J., Xiao, X., Yang, Y., Bhowmick, S.S., Liu, J.: No pane, no gain: Scaling attributed network embedding in a single server. SIGMOD Rec. 51(1), 42–49 (2022)
Liu, X., Yang, B., Song, W., Musial, K., Zuo, W., Chen, H., Yin, H.: A block-based generative model for attributed network embedding. World Wide Web 24(5), 1439–1464 (2021)
Zheng, Z., Zhang, C., Gao, X., Chen, G.: HIEN: hierarchical intention embedding network for click-through rate prediction. In: SIGIR, pp. 322–331. ACM, New York (2022)
Zhang, D., Yin, J., Zhu, X., Zhang, C.: Homophily, structure, and content augmented network representation learning. In: ICDM, pp. 609–618. IEEE Computer Society, Los Alamitos (2016)
Liu, J., He, Z., Wei, L., Huang, Y.: Content to node: Self-translation network embedding. In: KDD, pp. 1794–1802. ACM, New York (2018)
Yang, C., Liu, Z., Zhao, D., Sun, M., Chang, E.Y.: Network representation learning with rich text information. In: IJCAI, pp. 2111–2117. AAAI Press, Palo Alto (2015)
Meng, Z., Liang, S., Bao, H., Zhang, X.: Co-embedding attributed networks. In: WSDM, pp. 393–401. ACM, New York (2019)
Zhang, Z., Xiong, H., Xu, T., Qin, C., Zhang, L., Chen, E.: Complex attributed network embedding for medical complication prediction. Knowl. Inf. Syst. 64(9), 2435–2456 (2022)
Zhang, Y., Gao, S., Pei, J., Huang, H.: Improving social network embedding via new second-order continuous graph neural networks. In: KDD, pp. 2515–2523. ACM, New York (2022)
Zhang, R., Zimek, A., Schneider-Kamp, P.: A simple meta-path-free framework for heterogeneous network embedding. In: CIKM, pp. 2600–2609. ACM, New York (2022)
Xiong, H., Yan, J.: Btwalk: Branching tree random walk for multi-order structured network embedding. IEEE Trans. Knowl. Data Eng. 34(8), 3611–3628 (2022)
Zheng, S., Guan, D., Yuan, W.: Semantic-aware heterogeneous information network embedding with incompatible meta-paths. World Wide Web 25(1), 1–21 (2022)
Du, L., Chen, X., Gao, F., Fu, Q., Xie, K., Han, S., Zhang, D.: Understanding and improvement of adversarial training for network embedding from an optimization perspective. In: WSDM, pp. 230–240. ACM, New York (2022)
Funding
This work was supported by the National Natural Science Foundation of China(61902055, 62137001).
Author information
Authors and Affiliations
Contributions
Minghe Yu and Xu Chen wrote the main manuscript text. Xinhao Gu and Hengyu Liu programed the code of the model and validated the model. Lun Du supervised the work. All authors reviewed the manuscript.
Corresponding author
Ethics declarations
Competing Interests
We wish to confirm that there are no known conflicts of interest associated with this publication and there has been no significant financial support for this work that could have influenced its outcome.
Ethics Approval
Not applicable.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Minghe Yu and Xu Chen contributed equally to this work.
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
Yu, M., Chen, X., Gu, X. et al. A subspace constraint based approach for fast hierarchical graph embedding. World Wide Web 26, 3691–3705 (2023). https://doi.org/10.1007/s11280-023-01177-9
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11280-023-01177-9