Proceedings

STLSP: Integrating Structure and Text with Large Language Models for Link Sign Prediction of Networks

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 3180-3188.

https://doi.org/10.24963/ijcai.2025/354

Abstract

Link Sign Prediction (LSP) in signed networks is a critical task with applications in recommendation systems, community detection, and social network analysis. Existing methods primarily rely on graph neural networks to exploit structural information, often neglecting the valuable insights from edge-level textual data. Furthermore, utilizing large language models (LLMs) for LSP faces challenges in reliability and interpreting graph structures. To address these issues, we propose a novel STLSP framework that integrates signed networks' \underline{S}tructural and \underline{T}extual information with LLMs for the \underline{LSP} task. STLSP leverages structural balance theory to generate node embeddings that capture positive and negative relationships. These embeddings are transformed into natural language representations through clustering techniques, allowing LLMs to utilize the structural context fully. By integrating these representations with edge text, STLSP improves the accuracy and reliability of the LSP task. Extensive experiments conducted on five real-world datasets demonstrate that STLSP outperformed state-of-the-art baselines, achieving an 8.7% improvement in terms of accuracy. Moreover, STLSP shows robust performance across various LLMs, making it adaptable to different computational environments. The code and data are publically available at https://github.com/sss483/STLSP.

  1. [Beigi et al., 2020] Ghazaleh Beigi, Jiliang Tang, and Huan Liu. Social science-guided feature engineering: A novel approach to signed link analysis. ACM Transactions on Intelligent Systems and Technology (TIST), 11(1):1-27, 2020.
  2. [Bi et al., 2024] Baolong Bi, Shenghua Liu, Yiwei Wang, Lingrui Mei, and Xueqi Cheng. Lpnl: Scalable link predic- tion with large language models. In Findings of the Asso- ciation for Computational Linguistics (ACL), pages 3615- 3625, Bangkok, Thailand, 2024. Association for Compu- tational Linguistics.
  3. [Chen et al., 2018] Yiqi Chen, Tieyun Qian, Huan Liu, and Ke Sun. "Bridge": Enhanced Signed Directed Network Embedding. In Proceedings of the ACM International Conference on Information and Knowledge Management (CIKM), pages 773-782, Torino, Italy, 2018. ACM.
  4. [Cheng et al., 2024] Hongrong Cheng, Miao Zhang, and Javen Qinfeng Shi. A survey on deep neural network prun- ing: Taxonomy, comparison, analysis, and recommenda- tions. IEEE Transactions on Pattern Analysis and Machine Intelligence, 46(12):10558-10578, 2024.
  5. [Chiang et al., 2011] Kai-Yang Chiang, Nagarajan Natara- jan, Ambuj Tewari, and Inderjit S Dhillon. Exploiting longer cycles for link prediction in signed networks. In Proceedings of the ACM International Conference on In- formation and Knowledge Management (CIKM), pages 1157-1162, Glasgow, United Kingdom, 2011. ACM.
  6. [Derr et al., 2018] Tyler Derr, Yao Ma, and Jiliang Tang. Signed graph convolutional networks. In Proceedings of the IEEE International Conference on Data Mining (ICDM), pages 929-934, Singapore, 2018. IEEE.
  7. [Duan et al., 2023] Keyu Duan, Qian Liu, Tat-Seng Chua, Shuicheng Yan, Wei Tsang Ooi, Qizhe Xie, and Junxian He. Simteg: A frustratingly simple approach improves textual graph learning. arXiv preprint arXiv:2308.02565, 2023.
  8. [Dubey et al., 2024] Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Amy Yang, Angela Fan, et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024.
  9. [Fang et al., 2024] Zhihong Fang, Shaolin Tan, and Yaonan Wang. A signed subgraph encoding approach via linear optimization for link sign prediction. IEEE Transactions on Neural Networks and Learning Systems, 35(10):14659- 14670, 2024.
  10. [Giray, 2023] Louie Giray. Prompt engineering with chat- gpt: a guide for academic writers. Annals of Biomedical Engineering, 51(12):2629-2633, 2023.
  11. [Heider, 1946] Fritz Heider. Attitudes and cognitive organi- zation. The Journal of Psychology, 21(1):107-112, 1946.
  12. [Huang et al., 2019] Junjie Huang, Huawei Shen, Liang Hou, and Xueqi Cheng. Signed graph attention networks. In Proceedings of the Artificial Neural Networks and Ma- chine Learning (ICANN), pages 566-577, Munich, Ger- many, 2019. Springer.
  13. [Huang et al., 2021] Junjie Huang, Huawei Shen, Liang Hou, and Xueqi Cheng. Sdgnn: Learning node represen- tation for signed directed networks. In Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), pages 196-203, Vancouver, Canada (Virtual Event), 2021. AAAI Press.
  14. [Huang et al., 2024] Jin Huang, Xingjian Zhang, Qiaozhu Mei, and Jiaqi Ma. Can llms effectively leverage graph structural information through prompts, and why? Trans- actions on Machine Learning Research, 2024.
  15. [Jin et al., 2024] Bowen Jin, Gang Liu, Chi Han, Meng Jiang, Heng Ji, and Jiawei Han. Large language models on graphs: A comprehensive survey. IEEE Transactions on Knowledge and Data Engineering, 36(12):8622-8642, 2024.
  16. [Kouvaros and Lomuscio, 2021] Panagiotis Kouvaros and Alessio Lomuscio. Towards scalable complete verifica- tion of relu neural networks via dependency-based branch- ing. In Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI), pages 2643-2650, Mon- treal, Canada (Virtual Event), 2021. ijcai.org. IJCAI
  17. [Leskovec et al., 2010] Jure Leskovec, Daniel Huttenlocher, and Jon Kleinberg. Predicting positive and negative links in online social networks. In Proceedings of the Inter- national Conference on World Wide Web (WWW), pages 641-650, Raleigh, North Carolina, USA, 2010. ACM.
  18. [Lin and Li, 2024] Wanyu Lin and Baochun Li. Status-aware signed heterogeneous network embedding with graph neu- ral networks. IEEE Transactions on Neural Networks and Learning Systems, 35(4):4580-4592, 2024.
  19. [Liu et al., 2023] Jiawei Liu, Chunqiu Steven Xia, Yuyao Wang, and Lingming Zhang. Is your code generated by chatgpt really correct? rigorous evaluation of large lan- guage models for code generation. Advances in Neural Information Processing Systems, 36:21558-21572, 2023.
  20. [MacQueen, 1967] J MacQueen. Some methods for classi- fication and analysis of multivariate observations. In Pro- ceedings of Berkeley Symposium on Mathematical Statis- tics and Probability/University of California Press, pages 281-297, Oakland, CA, USA, 1967.
  21. [Majeed and Hwang, 2024] Abdul Majeed and Seong Oun Hwang. Reliability issues of llms: Chatgpt a case study. IEEE Reliability Magazine, 1(4):36-46, 2024.
  22. [Mekrache et al., 2024] Abdelkader Mekrache, Adlen Ksen- tini, and Christos Verikoukis. Intent-based management of next-generation networks: an llm-centric approach. IEEE Network, 38(5):29-36, 2024.
  23. [Ni et al., 2019] Jianmo Ni, Jiacheng Li, and Julian McAuley. Justifying recommendations using distantly- labeled reviews and fine-grained aspects. In Proceedings of the Conference on Empirical Methods in Natural Lan- guage Processing and the International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 188-197, Hong Kong, China, 2019. Association for Computational Linguistics.
  24. [Team et al., 2024] Gemma Team, Thomas Mesnard, Cas- sidy Hardin, Robert Dadashi, Surya Bhupatiraju, Shreya Pathak, Laurent Sifre, Morgane Rivière, Mihir Sanjay Kale, Juliette Love, et al. Gemma: Open models based on gemini research and technology. arXiv preprint arXiv:2403.08295, 2024.
  25. [Wang et al., 2017] Suhang Wang, Jiliang Tang, Charu Ag- garwal, Yi Chang, and Huan Liu. Signed network embed- ding in social media. In Proceedings of the SIAM Inter- national Conference on Data Mining (ICDM), pages 327- 335, Houston, Texas, USA, 2017. SIAM.
  26. [Wang et al., 2023] Hanchen Wang, Tianfan Fu, Yuanqi Du, Wenhao Gao, Kexin Huang, Ziming Liu, Payal Chandak, Shengchao Liu, Peter Van Katwyk, Andreea Deac, et al. Scientific discovery in the age of artificial intelligence. Na- ture, 620(7972):47-60, 2023.
  27. [West et al., 2014] Robert West, Hristo S Paskov, Jure Leskovec, and Christopher Potts. Exploiting social net- work structure for person-to-person sentiment analysis. Transactions of the Association for Computational Lin- guistics, 2:297-310, 2014.
  28. [Xie et al., 2022] Yu Xie, Yanfeng Liang, Maoguo Gong, A Kai Qin, Yew-Soon Ong, and Tiantian He. Semisuper- vised graph neural networks for graph classification. IEEE Transactions on Cybernetics, 53(10):6222-6235, 2022.
  29. [Xu et al., 2019] Pinghua Xu, Wenbin Hu, Jia Wu, and Bo Du. Link prediction with signed latent factors in signed social networks. In Proceedings of the ACM SIGKDD In- ternational Conference on Knowledge Discovery and Data Mining (KDD), pages 1046-1054, Anchorage, AK, USA, 2019. ACM.
  30. [Zhang et al., 2023] Zeyu Zhang, Jiamou Liu, Xianda Zheng, Yifei Wang, Pengqian Han, Yupan Wang, Kaiqi Zhao, and Zijian Zhang. Rsgnn: A model-agnostic ap- proach for enhancing the robustness of signed graph neu- ral networks. In Proceedings of the ACM Web Conference (WWW), pages 60-70, Austin, TX, USA, 2023. ACM.
  31. [Zhou et al., 2023] Honglu Zhou, Advith Chegu, Samuel S Sohn, Zuohui Fu, Gerard De Melo, and Mubbasir Kapa- dia. Harnessing neighborhood modeling and asymmetry preservation for digraph representation learning. In Pro- ceedings of the International Joint Conference on Artifi- cial Intelligence (IJCAI), pages 6519-6524, Macao,SAR, China, 2023. ijcai.org. IJCAI

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards