Submitted:
22 March 2025
Posted:
25 March 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
- Enhanced Feature Representation: The integration of FM and GCN enables the model to capture high-order feature interactions and graph-structured user-item relationships simultaneously.
- Dynamic Attention Mechanism: A Multi-Layer Attention Network (MLAN) is employed to dynamically weight user-item interactions, refining recommendations based on contextual importance.
- Hybrid Loss Optimization: The model incorporates a ranking-regression hybrid loss function, balancing relevance ranking with predictive accuracy.
2. Methodology
2.1. Factorization Machines with Dynamic Feature Interactions
- : predicted rating,
- : global bias,
- : feature bias,
- : factorization vector for feature .
2.2. Multi-Layer Attention Networks
- : attention weight for the i-th feature at layer l,
- : learnable attention vector at layer l,
- : hidden state of the i-th feature.
2.3. GCN for User-Hotel Interactions
- is the hidden representation of user i at layer l,
- is the set of neighboring hotel nodes for user i,
- is the degree of node i,
- is the weight matrix at layer l,
- is the bias term,
- is the activation function (e.g., ReLU).
2.4. Hybrid Loss Function
- is the ranking loss, computed using pairwise preference (e.g., hinge loss or log loss),
- is the Mean Squared Error loss,
- and are hyperparameters that control the trade-off between ranking and regression.
2.5. Final Prediction Model
- , , and are the outputs from the Factorization Machines, Attention Network, and GCN components,
- , , and are the weights for each component.
3. Data Preprocessing
3.1. Sparse Feature Engineering and Serialization
3.2. Distance Matrix Completion
4. Evaluation Metrics
- Accuracy: Measures the proportion of correctly predicted recommendations.where is the predicted recommendation, is the true label, and N is the number of predictions.
- Precision at K (P@K): Measures the proportion of relevant items in the top K recommendations.where K is typically set to 5 for evaluating top-5 recommendations.
- Mean Average Precision (MAP): Averages the precision at each rank across all queries, providing a more comprehensive measure of recommendation quality.
- Mean Reciprocal Rank (MRR): Measures the average rank of the first relevant recommendation across all queries.where is the rank of the first relevant recommendation for the i-th query.
5. Experiment Results

| Model Name | Accuracy | P@5 | MAP | MRR |
|---|---|---|---|---|
| Attention Net | 0.68 | 0.56 | 0.52 | 0.47 |
| FM Sub-model Only | 0.73 | 0.60 | 0.57 | 0.51 |
| Spatial Mapping (H1) | 0.75 | 0.62 | 0.59 | 0.53 |
| FM + GCN Model | 0.74 | 0.61 | 0.58 | 0.52 |
| Model (FM + GCN + Attention) | 0.79 | 0.67 | 0.63 | 0.58 |
6. Conclusion
References
- Sarwar, B.; Karypis, G.; Konstan, J.; Riedl, J. Item-based collaborative filtering recommendation algorithms. In Proceedings of the 10th international conference on World Wide Web; 2001; pp. 285–295. [Google Scholar] [CrossRef]
- Koren, Y.; Bell, R.; Volinsky, C. Matrix factorization techniques for recommender systems. Computer 2009, 42, 30–37. [Google Scholar] [CrossRef]
- Jin, T. Integrated Machine Learning for Enhanced Supply Chain Risk Prediction 2025.
- Shen, G. Computation Offloading for Better Real-Time Technical Market Analysis on Mobile Devices. In Proceedings of the 2021 3rd International Conference on Image Processing and Machine Vision; 2021; pp. 72–76. [Google Scholar] [CrossRef]
- Zhou, G.; Zhu, X.; Song, C.; Fan, Y.; Zhu, H.; Ma, X.; Yan, Y.; Jin, J.; Li, H.; Gai, K. Deep interest network for click-through rate prediction. In Proceedings of the 24th ACM SIGKDD international conference on knowledge discovery & data mining; 2018; pp. 1059–1068. [Google Scholar] [CrossRef]
- Kang, W.C.; McAuley, J. Self-attentive sequential recommendation. In Proceedings of the 2018 IEEE international conference on data mining (ICDM); 2018; pp. 197–206. [Google Scholar] [CrossRef]
- Sun, F.; Liu, J.; Wu, J.; Pei, C.; Lin, X.; Ou, W.; Jiang, P. BERT4Rec: Sequential recommendation with bidirectional encoder representations from transformer. In Proceedings of the 28th ACM international conference on information and knowledge management; 2019; pp. 1441–1450. [Google Scholar] [CrossRef]
- Zheng, Y.; Wei, P.; Chen, Z.; Cao, Y.; Lin, L. Graph-convolved factorization machines for personalized recommendation. IEEE Transactions on Knowledge and Data Engineering 2021, 35, 1567–1580. [Google Scholar] [CrossRef]
- Lu, J. Optimizing e-commerce with multi-objective recommendations using ensemble learning. In Proceedings of the 2024 4th International Conference on Computer Systems (ICCS); 2024; pp. 167–171. [Google Scholar] [CrossRef]
- Li, S. Harnessing multimodal data and mult-recall strategies for enhanced product recommendation in e-commerce. In Proceedings of the 2024 4th International Conference on Computer Systems (ICCS); 2024; pp. 181–185. [Google Scholar] [CrossRef]




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 (http://creativecommons.org/licenses/by/4.0/).