Proceedings

CoLA-Former: Graph Transformer Using Communal Linear Attention for Lightweight Sequential Recommendation

Download BibTeX Cite

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

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

Abstract

Graph Transformer has shown great promise in capturing the dynamics of user preferences for sequential recommendations. However, the self-attention mechanism within its structure is of quadratic complexity, posing challenges for deployment on devices with limited resources. To this end, we propose a Communal Linear Attention-enhanced Graph TransFormer for lightweight sequential recommendation, namely CoLA-Former. Specifically, we introduce a Communal Linear Attention (CoLAttention) mechanism. It utilizes low-rank yet reusable communal units to calculate the global correlations on sequential graphs. The weights from the units are also made communal across different training batches, enabling inter-batch global weighting. Moreover, we devise a low-rank approximation component. It utilizes weights distillation to reduce the scale of the trainable parameters in the Graph Transformer network. Extensive experimental results on three real-world datasets demonstrate that the proposed CoLA-Former significantly outperforms twelve state-of-the-art methods in accuracy and efficiency. The datasets and codes are available at https://github.com/ZZY-GraphMiningLab/CoLA_Former.

  1. [Chang et al., 2021] Jianxin Chang, Chen Gao, Yu Zheng, Yiqun Hui, Yanan Niu, Yang Song, Depeng Jin, and Yong Li. Sequential recommendation with graph neural net- works. In SIGIR, pages 378-387, Virtual Event, Canada, 2021. ACM.
  2. [Chen et al., 2023] Huiyuan Chen, Kaixiong Zhou, Zhimeng Jiang, Chin-Chia Michael Yeh, Xiaoting Li, Menghai Pan, Yan Zheng, Xia Hu, and Hao Yang. Probabilistic masked attention networks for explainable sequential recommen- dation. In IJCAI, pages 2068-2076, Macao, SAR, China, 2023. ijcai.org. IJCAI
  3. [Du et al., 2024] Hanwen Du, Huanhuan Yuan, Pengpeng Zhao, Deqing Wang, Victor S. Sheng, Yanchi Liu, Guan- feng Liu, and Lei Zhao. Feature-aware contrastive learning with bidirectional transformers for sequential recommen- dation. TKDE, 36(12):8192-8205, 2024.
  4. [Fan et al., 2021] Ziwei Fan, Zhiwei Liu, Jiawei Zhang, Yun Xiong, Lei Zheng, and Philip S. Yu. Continuous-time se- quential recommendation with temporal graph collabora- tive transformer. In CIKM, pages 433-442, Queensland, Australia, 2021. ACM.
  5. [Gao et al., 2024] Jingtong Gao, Xiangyu Zhao, Muyang Li, Minghao Zhao, Runze Wu, Ruocheng Guo, Yiding Liu, and Dawei Yin. Smlp4rec: An efficient all-mlp architec- ture for sequential recommendations. TOIS, 42(3):86:1- 86:23, 2024.
  6. [Glorot and Bengio, 2010] Xavier Glorot and Yoshua Ben- gio. Understanding the difficulty of training deep feedfor- ward neural networks. In AISTATS, pages 249-256, Sar- dinia, Italy, 2010. JMLR.org.
  7. [Guo et al., 2023] Meng-Hao Guo, Zheng-Ning Liu, Tai- Jiang Mu, and Shi-Min Hu. Beyond self-attention: Ex- ternal attention using two linear layers for visual tasks. TPAMI, 45(5):5436-5447, 2023.
  8. [Guo et al., 2024] Yangyang Guo, Guangzhi Wang, and Mo- han S. Kankanhalli. PELA: learning parameter-efficient models with low-rank approximation. In CVPR, pages 15699-15709, Seattle, WA, USA, 2024. IEEE.
  9. [Han et al., 2023] Dongchen Han, Xuran Pan, Yizeng Han, Shiji Song, and Gao Huang. Flatten transformer: Vision transformer using focused linear attention. In ICCV, pages 5938-5948, Paris, France, 2023. IEEE.
  10. [He et al., 2020] Xiangnan He, Kuan Deng, Xiang Wang, Yan Li, Yong-Dong Zhang, and Meng Wang. Lightgcn: Simplifying and powering graph convolution network for recommendation. In SIGIR, pages 639-648, Virtual Event, 2020. ACM.
  11. [Hu et al., 2024] Haibing Hu, Kai Han, Zhizhuo Yin, and Defu Lian. Spatial and temporal user interest representa- tions for sequential recommendation. TCSS, 11(5):6087- 6097, 2024.
  12. [Kang and McAuley, 2018] Wang-Cheng Kang and Julian J. McAuley. Self-attentive sequential recommendation. In ICDM, pages 197-206, Singapore, 2018. IEEE Computer Society.
  13. [Katharopoulos et al., 2020] Angelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, and Franc ¸ois Fleuret. Transformers are rnns: Fast autoregressive transformers with linear attention. In ICML, pages 5156-5165, Virtual Event, 2020. PMLR.
  14. [Kingma and Ba, 2015] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR, pages 1-15, San Diego, CA, US, 2015. openreview.org.
  15. [Kreuzer et al., 2021] Devin Kreuzer, Dominique Beaini, William L. Hamilton, Vincent Létourneau, and Prudencio Tossou. Rethinking graph transformers with spectral at- tention. In NeurIPS, pages 21618-21629, virtual, 2021.
  16. [Li et al., 2021] Yang Li, Tong Chen, Peng-Fei Zhang, and Hongzhi Yin. Lightweight self-attentive sequential recom- mendation. In CIKM, pages 967-977, Queensland, Aus- tralia, 2021. ACM.
  17. [Li et al., 2023] Chaoliu Li, Lianghao Xia, Xubin Ren, Yaowen Ye, Yong Xu, and Chao Huang. Graph trans- former for recommendation. In SIGIR, pages 1680-1689, Taipei, Taiwan, 2023. ACM.
  18. [Liu et al., 2023] Langming Liu, Liu Cai, Chi Zhang, Xi- angyu Zhao, Jingtong Gao, Wanyu Wang, Yifu Lv, Wenqi Fan, Yiqi Wang, Ming He, Zitao Liu, and Qing Li. Lin- rec: Linear attention mechanism for long-term sequential recommender systems. In SIGIR, pages 289-299, Taipei, Taiwan, 2023. ACM.
  19. [Liu et al., 2024a] Chengkai Liu, Jianghao Lin, Hanzhou Liu, Jianling Wang, and James Caverlee. Behavior- dependent linear recurrent units for efficient sequential recommendation. In CIKM, pages 1430-1440, Boise, ID, USA, 2024. ACM.
  20. [Liu et al., 2024b] Yuxi Liu, Lianghao Xia, and Chao Huang. Selfgnn: Self-supervised graph neural networks for sequential recommendation. In SIGIR, pages 1609- 1618, Washington DC, USA, 2024. ACM.
  21. [Luo et al., 2024] Tianze Luo, Yong Liu, and Sinno Jialin Pan. Collaborative sequential recommendations via multi- view gnn-transformers. TOIS, 42(6):1-27, 2024.
  22. [Ma et al., 2024] Haokai Ma, Ruobing Xie, Lei Meng, Yi- meng Yang, Xingwu Sun, and Zhanhui Kang. Seedrec: Sememe-based diffusion for sequential recommendation. In IJCAI, pages 2270-2278, Jeju, South Korea, 2024. ij- cai.org. IJCAI
  23. [Shi et al., 2024] Chaoyu Shi, Pengjie Ren, Dongjie Fu, Xin Xin, Shansong Yang, Fei Cai, Zhaochun Ren, and Zhumin Chen. Diversifying sequential recommendation with retro- spective and prospective transformers. TOIS, 42(5):132:1- 132:37, 2024.
  24. [Sun et al., 2019] Fei Sun, Jun Liu, Jian Wu, Changhua Pei, Xiao Lin, Wenwu Ou, and Peng Jiang. Bert4rec: Sequen- tial recommendation with bidirectional encoder represen- tations from transformer. In CIKM, pages 1441-1450, Bei- jing, China, 2019. ACM.
  25. [Wang et al., 2024] Zhaobo Wang, Yanmin Zhu, Chunyang Wang, Xuhao Zhao, Bo Li, Jiadi Yu, and Feilong Tang. Graph diffusion-based representation learning for sequen- tial recommendation. TKDE, 36(12):8395-8407, 2024.
  26. [Wu et al., 2022] Zhebin Wu, Lin Shu, Ziyue Xu, Yaomin Chang, Chuan Chen, and Zibin Zheng. Robust tensor graph convolutional networks via T-SVD based graph aug- mentation. In KDD, pages 2090-2099, Washington, DC, USA, 2022. ACM.
  27. [Wu et al., 2023a] Bin Wu, Xiangnan He, Le Wu, Xue Zhang, and Yangdong Ye. Graph-augmented co-attention model for socio-sequential recommendation. TSMC, 53(7):4039-4051, 2023.
  28. [Wu et al., 2023b] Bin Wu, Xiangnan He, Qi Zhang, Meng Wang, and Yangdong Ye. Gcrec: Graph-augmented cap- sule network for next-item recommendation. TNNLs, 34(12):10164-10177, 2023.
  29. [Xia et al., 2023] Lianghao Xia, Chao Huang, Yong Xu, and Jian Pei. Multi-behavior sequential recommendation with temporal graph transformer. TKDE, 35(6):6099-6112, 2023.
  30. [Xu et al., 2024] Yang Xu, Lei Zhu, Jingjing Li, Fengling Li, and Heng Tao Shen. Temporal social graph network hash- ing for efficient recommendation. TKDE, 36(7):3541- 3555, 2024.
  31. [Yue et al., 2023] Guowei Yue, Rui Xiao, Zhongying Zhao, and Chao Li. AF-GCN: attribute-fusing graph convolution network for recommendation. TBD, 9(2):597-607, 2023.
  32. [Yue et al., 2024] Zhenrui Yue, Yueqi Wang, Zhankui He, Huimin Zeng, Julian J. McAuley, and Dong Wang. Linear recurrent units for sequential recommendation. In WSDM, pages 930-938, Merida, Mexico, 2024. ACM.
  33. [Zhang et al., 2022] Yixin Zhang, Yong Liu, Yonghui Xu, Hao Xiong, Chenyi Lei, Wei He, Lizhen Cui, and Chunyan Miao. Enhancing sequential recommendation with graph contrastive learning. In IJCAI, pages 2398-2405, Vienna, Austria, 2022. ijcai.org. IJCAI
  34. [Zhang et al., 2023a] Jinyu Zhang, Huichuan Duan, Lei Guo, Liancheng Xu, and Xinhua Wang. Towards lightweight cross-domain sequential recommendation via external attention-enhanced graph convolution network. In DASFAA, volume 13944, pages 205-220, TianJin, China, 2023. Springer.
  35. [Zhang et al., 2023b] Mengqi Zhang, Shu Wu, Xueli Yu, Qiang Liu, and Liang Wang. Dynamic graph neu- ral networks for sequential recommendation. TKDE, 35(5):4741-4753, 2023.
  36. [Zhang et al., 2024a] Shengzhe Zhang, Liyi Chen, Chao Wang, Shuangli Li, and Hui Xiong. Temporal graph con- trastive learning for sequential recommendation. In AAAI, pages 9359-9367, Vancouver, Canada, 2024. AAAI Press.
  37. [Zhang et al., 2024b] Weizhi Zhang, Liangwei Yang, Zihe Song, Henry Peng Zou, Ke Xu, Liancheng Fang, and Philip S. Yu. Do we really need graph convolution during training? light post-training graph-ode for efficient recom- mendation. In CIKM, pages 3248-3258, Boise, ID, USA, 2024. ACM.
  38. [Zhao et al., 2024] Mankun Zhao, Aitong Sun, Jian Yu, Xuewei Li, Dongxiao He, Ruiguo Yu, and Mei Yu. Re- liable data augmented contrastive learning for sequential recommendation. TBD, 10(6):694-705, 2024.
  39. [Zhou et al., 2020] Kun Zhou, Hui Wang, Wayne Xin Zhao, Yutao Zhu, Sirui Wang, Fuzheng Zhang, Zhongyuan Wang, and Ji-Rong Wen. S3-rec: Self-supervised learn- ing for sequential recommendation with mutual informa- tion maximization. In CIKM, pages 1893-1902, Ireland, 2020. ACM.
  40. [Zhou et al., 2023] Hao Zhou, Geng Yang, Yang Xiang, Yunlu Bai, and Weiya Wang. A lightweight matrix factor- ization for recommendation with local differential privacy in big data. TBD, 9(1):160-173, 2023.

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

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