Interactive, Enhanced Dual Hypergraph Model for Explainable Contrastive Learning Recommendation
<p>The framework of ECR-ID.</p> "> Figure 2
<p>Impact of each module. (<b>a</b>) Impact of auroc; (<b>b</b>) impact of auprc; (<b>c</b>) impact of precision; (<b>d</b>) impact of recall.</p> "> Figure 3
<p>Impact of <math display="inline"><semantics> <msub> <mi>ξ</mi> <mrow> <mi>c</mi> <mi>l</mi> </mrow> </msub> </semantics></math>. (<b>a</b>) Impact of auroc; (<b>b</b>) impact of auprc; (<b>c</b>) impact of precision; (<b>d</b>) impact of recall.</p> "> Figure 4
<p>Impact of <math display="inline"><semantics> <msub> <mi>β</mi> <mrow> <mi>c</mi> <mi>l</mi> <mo>−</mo> </mrow> </msub> </semantics></math>. (<b>a</b>) Impact of auroc; (<b>b</b>) impact of auprc; (<b>c</b>) impact of precision; (<b>d</b>) impact of recall.</p> ">
Abstract
:1. Introduction
- (1)
- The direct application of user–item interaction data from real-world scenarios in hypergraph convolutional training recommendation models may encounter significant performance degradation. This is due to the multiple types of interactions (such as clicks, queries, and purchases) and node attributes in user–item interactions in real scenarios, resulting in an imbalanced distribution of node and hyperedge types in the constructed hypergraph structure. When aggregating and propagating node information to generate potential feature representations for items, this imbalance issue causes a considerable amount of important collaborative information among different types of nodes to be overlooked, leading to inadequate utilization of the critical hidden information of various types of hypergraph nodes and an ineffective representation of the underlying semantics of users and items.
- (2)
- Existing hypergraph-based contrastive learning recommendation models with randomized strategies (e.g., random pruning, random masking, and randomly adding and removing edges) for graph model augmentation and sampling may lead to degraded recommendation performance. This is due to the fact that the aforementioned stochastic strategies can easily change the original topological semantics and introduce false-positive and false-negative examples, resulting in confusing “important” key items and “non-important” items to the user and thus generating false-positive and negative views, which ultimately has a negative impact on model training [20,21].
- We carefully designed a dual-hypergraph set-based convolutional interaction propagation learning framework, which uses two different interaction propagation strategies to comprehensively capture the dynamic propagation and filtering between user–item interaction information of multiple interaction types, as well as the latent semantic information between different interaction types, alleviating the imbalance problem of hyperedges and node types and achieving the optimization of the latent features of the users and items.
- We propose an explanation-guided contrastive learning strategy to alleviate the false-positive and false-negative problems during view generation for the more efficient distinction between positive views and negative views, which is seamlessly coupled with a dual-hypergraph set convolutional network design.
- We developed a new variant of hypergraph utilizing an interpretation-guided contrastive learning model for recommendation tasks. Experiments demonstrate that ECR-ID achieves varying degrees of improvement in several metrics compared to state-of-the-art methods. To the best of our knowledge, it is the first to consider an interpretable approach for different items and new variants of hypergraph embeddings in the item recommendation task.
- We comprehensively demonstrate the superiority of ECR-ID over baselines based on several challenging datasets.
2. Related Work
2.1. Graph Learning in Recommendation
2.2. Interpretability in Recommendation
2.3. Contrastive Learning in Recommendation
3. Methodology
3.1. Formalization
3.2. Hypergraph Construction Module
3.3. Hypergraph Interactive Learning Module
3.3.1. Dual Hypergraph Convolution
3.3.2. Interactive Information Propagation Mechanism
3.4. Explanation-Guided Contrastive Learning Module
3.4.1. Explanation-Guided Importance Scores
3.4.2. Explanation-Guided Contrastive Learning for Different Views
3.5. Optimization
4. Experiment
4.1. Experimental Dataset
4.2. Experimental Setting
4.3. Baselines
- GraphSAGE [37] proposes a generalized inductive architecture that uses local neighborhood sampling and aggregation features of nodes to generate embeddings of nodes.
- GCN [38] is an efficient method for graph learning using the spectral graph convolution operator.
- GAT [39] is a new approach to graph learning that utilizes a mask self-attention mechanism to assign different weights to each node and its neighboring nodes based on their features.
- HGNN [10] designed the super-edge convolution operation to handle the data correlation during representation learning. With this method, the hyperedge convolution operation can be effectively used to capture the implicit layer representation of higher-order data structures.
- HyperGCN [13] is a new GCN method for hypergraph semi-supervised learning based on hypergraph theory.
- DualHGCN [35] is a contrastive dual-hypergraph convolutional network model that converts a multilayer bipartite graph network into two sets of sub-hypergraphs.
- SGL [18] utilizes three types of data augmentation based on different perspectives to complement/supervise the recommendation task with contrastive signals on user–item graphs.
- HCCF [40] employs a hypergraph structure learning module and cross-view hypergraph comparison coding model based on contrastive learning to learn better user representations by characterizing both local and global collaborative relationships in the joint embedding space.
4.4. Experimental Results Analysis
4.4.1. Comparison with Baselines
- GraphSAGE, GCN, and GAT perform poorly on both datasets, which may be because these embedding methods, relying on simple homogeneous graphs, have weak interaction representations and do not deal well with non-planar relationships between nodes. The superiority of SGL is due to the contrastive learning of data enhancement in recommendation tasks. The worst performance of GCN is probably due to the fact that it suffers from oversmoothing problems.
- DualHGCN outperforms HGNN and HyperGCN, which may be because when facing complex user–item interaction information for different types, HyperGCN and HGNN do not distinguish the interaction types well enough to capture potential higher-order information about users and items based on different interaction types effectively. In addition, the overall performance of DualHGCN is weaker than HCCF, which may be because the hypergraph-based contrastive learning model in HCCF utilizes the local-to-global cross-view supervision information to effectively alleviate the problem of sparse interaction data. HyperGCN and HGNN are essentially different variants of hypergraphs, and it is clear that the optimization of the structure of the hypergraph based on the hyperedge convolution operation is superior to improvements in the hypergraph training method for final performance.
- The performance of SGL is weaker than that of HCCF, and the model shows the limitations of simple graphs in edge representation. Meanwhile, the inferior performance of HCCF compared with the model may be because its designed homogeneous hypergraph embedding method cannot handle the connection between different interaction types well.
4.4.2. Ablation Analysis
4.4.3. Sensitivity Analysis
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Zhang, W.; Wang, J. A collective bayesian poisson factorization model for cold-start local event recommendation. In Proceedings of the 21th ACM SIGKDD Conference on Knowledge Discovery & Data Mining, Sydney, NSW, Australia, 10–13 August 2015; pp. 1455–1464. [Google Scholar]
- Hu, G.; Dai, X.; Song, Y.; Huang, S.; Chen, J. A Synthetic Approach for Recommendation: Combining Ratings, Social Relations, and Reviews. In Proceedings of the 24th International Joint Conference on Artificial Intelligence, Buenos Aires, Argentina, 25–31 July 2015; pp. 1756–1762. [Google Scholar]
- Yu, Z.; Lian, J.; Mahmoody, A.; Liu, G.; Xie, X. Adaptive User Modeling with Long and Short-Term Preferences for Personalized Recommendation. In Proceedings of the International Joint Conference on Artificial Intelligence, Macao, China, 10–16 August 2019; Volume 7, pp. 4213–4219. [Google Scholar]
- Ma, C.; Zhang, Y.; Wang, Q.; Liu, X. Point-of-interest recommendation: Exploiting self-attentive autoencoders with neighbor-aware influence. In Proceedings of the 27th ACM International Conference on Information & Knowledge Management, Torino, Italy, 22–26 October 2018; pp. 697–706. [Google Scholar]
- Wu, S.; Tang, Y.; Zhu, Y.; Wang, L.; Xie, X.; Tan, T. Session-based recommendation with graph neural networks. In Proceedings of the AAAI Conference on Artificial Intelligence, Honolulu, HI, USA, 27 January–1 February 2019; Volume 33, pp. 346–353. [Google Scholar]
- Wang, X.; He, X.; Wang, M.; Feng, F.; Chua, T.S. Neural graph collaborative filtering. In Proceedings of the 42nd International ACM SIGIR Conference on Research and Development in Information Retrieval, Paris, France, 21–25 July 2019; pp. 165–174. [Google Scholar]
- Yu, F.; Zhu, Y.; Liu, Q.; Wu, S.; Wang, L.; Tan, T. TAGNN: Target attentive graph neural networks for session-based recommendation. In Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval, Xi’an, China, 20–25 July 2020; pp. 1921–1924. [Google Scholar]
- Ji, S.; Feng, Y.; Ji, R.; Zhao, X.; Tang, W.; Gao, Y. Dual channel hypergraph collaborative filtering. In Proceedings of the 26th ACM SIGKDD Conference on Knowledge Discovery & Data Mining, Virtual, 23–27 August 2020; pp. 2020–2029. [Google Scholar]
- Wang, J.; Ding, K.; Hong, L.; Liu, H.; Caverlee, J. Next-item recommendation with sequential hypergraphs. In Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrievall, Xi’an, China, 20–25 July 2020; pp. 1101–1110. [Google Scholar]
- Jiang, J.; Wei, Y.; Feng, Y.; Cao, J.; Gao, Y. Dynamic hypergraph neural networks. In Proceedings of the International Joint Conference on Artificial Intelligence, Macao, China, 10–16 August 2019; pp. 2635–2641. [Google Scholar]
- Zhou, P.; Wu, Z.; Zeng, X.; Wen, G.; Ma, J.; Zhu, X. Totally dynamic hypergraph neural network. In Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence, Macao, China, 19–25 August 2023; pp. 2476–2483. [Google Scholar]
- Xia, X.; Yin, H.; Yu, J.; Wang, Q.; Cui, L.; Zhang, X. Self-supervised hypergraph convolutional networks for session-based recommendation. In Proceedings of the AAAI Conference on Artificial Intelligence, Virtual, 2–9 February 2021; Volume 35, pp. 4503–4511. [Google Scholar]
- Yadati, N.; Nimishakavi, M.; Yadav, P.; Nitin, V.; Louis, A.; Talukdar, P. Hypergcn: A new method for training graph convolutional networks on hypergraphs. Adv. Neural Inf. Process. Syst. 2019, 32, 1511–1522. [Google Scholar]
- Wang, S.; Hu, L.; Wang, Y.; He, X.; Sheng, Q.Z.; Orgun, M.A.; Cao, L.; Ricci, F.; Yu, P.S. Graph Learning based Recommender Systems: A Review. In Proceedings of the 30th International Joint Conference on Artificial Intelligence, Montreal, QB, Canada, 19–27 August 2021; pp. 4644–4652. [Google Scholar]
- Wei, Y.; Wang, X.; Li, Q.; Nie, L.; Li, Y.; Li, X.; Chua, T.S. Contrastive learning for cold-start recommendation. In Proceedings of the 29th ACM International Conference on Multimedia, Jinjiang, China, 20–24 October 2021; pp. 5382–5390. [Google Scholar]
- Xia, X.; Yin, H.; Yu, J.; Shao, Y.; Cui, L. Self-supervised graph co-training for session-based recommendation. In Proceedings of the 30th ACM International Conference on Information & Knowledge Management, Gold Coast, QLD, Australia, 1–5 November 2021; pp. 2180–2190. [Google Scholar]
- Zhu, Y.; Xu, Y.; Yu, F.; Liu, Q.; Wu, S.; Wang, L. Deep graph contrastive representation learning. arXiv 2020, arXiv:2006.04131. [Google Scholar]
- Wu, J.; Wang, X.; Feng, F.; He, X.; Chen, L.; Lian, J.; Xie, X. Self-supervised graph learning for recommendation. In Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval, Virtual, 11–15 July 2021; pp. 726–735. [Google Scholar]
- Yu, J.; Yin, H.; Li, J.; Wang, Q.; Hung, N.Q.V.; Zhang, X. Self-supervised multi-channel hypergraph convolutional network for social recommendation. In Proceedings of the Web Conference, Ljubljana, Slovenia, 19–23 April 2021; pp. 413–424. [Google Scholar]
- Liu, M.; Lin, Y.; Liu, J.; Liu, B.; Zheng, Q.; Dong, J.S. B2-sampling: Fusing balanced and biased sampling for graph contrastive learning. In Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery & Data Mining, Long Beach, CA, USA, 6–10 August 2023; pp. 1489–1500. [Google Scholar]
- Yi, Z.; Wang, X.; Ounis, I.; Macdonald, C. Multi-modal graph contrastive learning for micro-video recommendation. In Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, Madrid, Spain, 11–15 July 2022; pp. 1807–1811. [Google Scholar]
- Zhang, J.; Gao, M.; Yu, J.; Guo, L.; Li, J.; Yin, H. Double-scale self-supervised hypergraph learning for group recommendation. In Proceedings of the 30th ACM International Conference on Information & Knowledge Management, Gold Coast, Australia, 1–5 November 2021; pp. 2557–2567. [Google Scholar]
- Li, Y.; Chen, H.; Sun, X.; Sun, Z.; Li, L.; Cui, L.; Yu, P.S.; Xu, G. Hyperbolic hypergraphs for sequential recommendation. In Proceedings of the 30th ACM International Conference on Information & Knowledge Management, Gold Coast, QLD, Australia, 1–5 November 2021; pp. 988–997. [Google Scholar]
- Zhou, S.M.; Gan, J.Q. Low-level interpretability and high-level interpretability: A unified view of data-driven interpretable fuzzy system modelling. Fuzzy Sets Syst. 2008, 159, 3091–3131. [Google Scholar] [CrossRef]
- Chen, X.; Zhang, Y.; Qin, Z. Dynamic explainable recommendation based on neural attentive models. In Proceedings of the AAAI Conference on Artificial Intelligence, Honolulu, HI, USA, 27 January–1 February 2019; Volume 33, pp. 53–60. [Google Scholar]
- Cai, X.; Guo, W.; Zhao, M.; Cui, Z.; Chen, J. A knowledge graph-based many-objective model for explainable social recommendation. IEEE Trans. Comput. Soc. Syst. 2023, 10, 3021–3030. [Google Scholar] [CrossRef]
- Zhang, W.; Zhou, X.; Zeng, X.; Zhu, S. Learning-Motivation-Boosted Explainable Temporal Point Process Model for Course Recommendation. IEEE Access 2024, 12, 93876–93888. [Google Scholar] [CrossRef]
- Wang, X.; Liu, N.; Han, H.; Shi, C. Self-supervised heterogeneous graph neural network with co-contrastive learning. In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining, Virtual, 14–18 August 2021; pp. 1726–1736. [Google Scholar]
- Wei, C.; Liang, J.; Liu, D.; Wang, F. Contrastive graph structure learning via information bottleneck for recommendation. Adv. Neural Inf. Process. Syst. 2022, 35, 20407–20420. [Google Scholar]
- Yang, W.; Huo, T.; Liu, Z.; Lu, C. based Multi-intention Contrastive Learning for Recommendation. In Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval, Taipei, Taiwan, 23–27 July 2023; pp. 2339–2343. [Google Scholar]
- Gu, S.; Wang, X.; Shi, C.; Xiao, D. Self-supervised Graph Neural Networks for Multi-behavior Recommendation. In Proceedings of the International Joint Conference on Artificial Intelligence, Vienna, Austria, 23–29 July 2022; pp. 2052–2058. [Google Scholar]
- Jing, B.; Park, C.; Tong, H. Hdmi: High-order deep multiplex infomax. In Proceedings of the Web Conference, Ljubljana, Slovenia, 19–23 April 2021; pp. 2414–2424. [Google Scholar]
- Bo, D.; Wang, X.; Shi, C.; Shen, H. Beyond low-frequency information in graph convolutional networks. In Proceedings of the AAAI Conference on Artificial Intelligence, Virtual, 2–9 February 2021; Volume 35, pp. 3950–3957. [Google Scholar]
- Ma, M.; Fergus, R. Visualizing and understanding convolutional networks. In Computer Vision–ECCV 2014, Proceedings of the 13th European Conference, Zurich, Switzerland, 6–12 September 2014; Proceedings, Part I; Academic Press: Cambridge, MA, USA, 2013. [Google Scholar]
- Xue, H.; Yang, L.; Rajan, V.; Jiang, W.; Wei, Y.; Lin, Y. Multiplex bipartite network embedding using dual hypergraph convolutional networks. In Proceedings of the Web Conference, Ljubljana, Slovenia, 19–23 April 2021; pp. 1649–1660. [Google Scholar]
- He, C.; Xie, T.; Rong, Y.; Huang, W.; Li, Y.; Huang, J.; Ren, X.; Shahabi, C. Bipartite graph neural networks for efficient node representation learning. arXiv 2019, arXiv:1906.11994. [Google Scholar]
- Hamilton, W.; Ying, Z.; Leskovec, J. Inductive representation learning on large graphs. Adv. Neural Inf. Process. Syst. 2017, 30, 1–19. [Google Scholar]
- Kipf, T.N.; Welling, M. Semi-supervised classification with graph convolutional networks. arXiv 2016, arXiv:1609.02907. [Google Scholar]
- Veličković, P.; Cucurull, G.; Casanova, A.; Romero, A.; Lio, P.; Bengio, Y. Graph attention networks. arXiv 2017, arXiv:1710.10903. [Google Scholar]
- Xia, L.; Huang, C.; Xu, Y.; Zhao, J.; Yin, D.; Huang, J. Hypergraph contrastive collaborative filtering. In Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, Madrid, Spain, 11–15 July 2022; pp. 70–79. [Google Scholar]
Dataset | User | Item | Interaction | Interaction Types | Density |
---|---|---|---|---|---|
Amazon | 3781 | 5749 | 60,658 | 2 | 0.279% |
Alibaba | 1869 | 13,349 | 27,036 | 3 | 0.108% |
Methods | Amazon | Alibaba | ||||||
---|---|---|---|---|---|---|---|---|
Auroc | Auprc | Precision | Recall | Auroc | Auprc | Precision | Recall | |
GraphSAGE | 66.99 | 69.39 | 63.47 | 52.74 | 66.49 | 60.36 | 63.47 | 52.74 |
GCN | 64.93 | 77.45 | 69.46 | 71.53 | 56.87 | 77.66 | 69.46 | 71.53 |
GAT | 66.70 | 70.16 | 63.34 | 51.39 | 55.38 | 54.49 | 63.34 | 51.39 |
HGNN | 80.14 | 82.94 | 78.54 | 69.51 | 69.64 | 73.50 | 78.54 | 69.51 |
HyperGCN | 68.42 | 73.78 | 67.12 | 61.61 | 61.38 | 65.21 | 67.12 | 61.61 |
DualHGCN | 83.46 | 88.69 | 85.63 | 76.39 | 84.57 | 86.02 | 85.63 | 76.39 |
SGL | 90.34 | 94.56 | 89.63 | 80.39 | 87.66 | 88.99 | 89.63 | 80.39 |
HCCF | 94.27 | 95.32 | 91.56 | 91.67 | 90.13 | 89.32 | 90.27 | 82.13 |
ECR-ID | 96.68 | 97.89 | 93.70 | 94.98 | 93.57 | 91.76 | 91.76 | 84.94 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Li, J.; Gao, R.; Yan, L.; Liu, D.; Wan, X.; Wu, X.; Hu, J. Interactive, Enhanced Dual Hypergraph Model for Explainable Contrastive Learning Recommendation. Electronics 2025, 14, 216. https://doi.org/10.3390/electronics14020216
Li J, Gao R, Yan L, Liu D, Wan X, Wu X, Hu J. Interactive, Enhanced Dual Hypergraph Model for Explainable Contrastive Learning Recommendation. Electronics. 2025; 14(2):216. https://doi.org/10.3390/electronics14020216
Chicago/Turabian StyleLi, Jin, Rong Gao, Lingyu Yan, Donghua Liu, Xiang Wan, Xinyun Wu, and Jiwei Hu. 2025. "Interactive, Enhanced Dual Hypergraph Model for Explainable Contrastive Learning Recommendation" Electronics 14, no. 2: 216. https://doi.org/10.3390/electronics14020216
APA StyleLi, J., Gao, R., Yan, L., Liu, D., Wan, X., Wu, X., & Hu, J. (2025). Interactive, Enhanced Dual Hypergraph Model for Explainable Contrastive Learning Recommendation. Electronics, 14(2), 216. https://doi.org/10.3390/electronics14020216