Submitted:
07 January 2025
Posted:
08 January 2025
You are already at the latest version
Abstract
Debiased recommendation has received significant attention from the academic community in recent years. Currently, our research on selection bias indicates that the existing literature ignores the effect of sentiment factors on selection bias. In the recommendation task, the existence of sentiment bias due to sentiment factors may lead to the recommendation of low-quality products to important users and unfair recommendation to niche(products designed for specific target markets and purposes) items. Eliminating sentiment bias and improving the quality of recommendations to important users can help balance research on selection bias. Sentiment bias is hidden in user ratings and reviews. Consequently, an effective approach to mitigate this bias is to analyze user ratings and comments in order to ascertain their genuine opinions. We have developed a sentiment analysis module with the objective of eliminating the bias between reviews and ratings, providing accurate sentiment ratings, mining users' real sentiment opinions, and eliminating the sentiment bias. Currently, a combinatorial function is constructed that performs the corresponding computations based on three different scenarios. Furthermore, the concept of dynamic debiasing is introduced, where the modeling time is dynamic. A selection debiasing recommendation method based on time-dynamic scenarios is also proposed. This paper demonstrates how the three aforementioned approaches can effectively mitigate selection bias by addressing data sparsity (sentiment analysis), optimizing data at the level of the data set (combinatorial functions), and considering dynamic scenarios and applying inverse propensity weighting methods (time-dynamic modeling). Our experiments on several real datasets demonstrate that our model can effectively improve the performance of recommendations.
Keywords:
1. Introduction
- (1)
- We propose a recommendation framework based on affective bias and temporal dynamic debiasing: the SCTD, which exploits the affective scores of reviews and ratings to obtain the user’s true opinion for recommendation.
- (2)
- Capturing dynamic user interests and better capturing real-world user behaviours by alleviating data imbalance and sparsity issues through two modules, SCS and TDR.
- (3)
- We conducted extensive experiments on two real datasets (yelp and Amazon), and according to the experimental results, our proposed SCTD recommendation model makes good progress and outperforms traditional debiased models.
2. Related Work
2.1. Dynamic Debiased Recommender System
2.2. Sentiment Bias
3. The Framework for SCTD
3.1. SCS
3.2. Combination Function
- Auto-Fill : If user u only rates or reviews on item i, ⊕ will populate it with or .
- Selective Fill : If user u rates and reviews on item i and does not discard it, then ⊕ will fill with a fixed weighted linear function .
- Drop : If ≥µ, ⊕ reduces the user’s sentiment score for item i; if ≥, ⊕ drops user u as a bad user. , are predefined thresholds and is the number of deleted reviews.
3.3. TDR
4. Experiments
4.1. Datasets
4.2. Baselines
- (1)
- Static Average Item Rating (Avg): The average observed rating across all item-ages.
- (2)
- Time-aware Average Item Rating (T-Avg): The average observed rating per item-age.
- (3)
- Static matrix factorization (MF): A standard MF model that assumes selection bias is static.
- (4)
- Time-aware matrix factorization (TMF) [16]: TMF captures the drift in popularity as items get older by adding an agedependent bias term.
- (5)
- Time-aware tensor factorization (TTF) [17]: TTF extends MF by modelling the effect of item-age via element-wise multiplication.
- (6)
- MF-StaticIPS: MF combined with static IPS methods.
- (7)
- TMF-StaticIPS: TMF combined with static IPS methods.
- (8)
- MF-DANCER: MF combined with dynamic IPS methods.
4.3. Experiment Results
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| IPS | Inverse Propensity Scoring |
| MF | Matrix Factorization |
| SCTD | Sentiment Classification And Temporal Dynamic Debiased Recommendation Module |
| SCS | Sentiment Classification Scoring Module |
| TDR | Temporal Dynamic Debiased Recommendation Module |
| LSTM | Long Short-Term Memory |
References
- Marlin, B.M.; Zemel, R.S. Collaborative prediction and ranking with non-random missing data. In Proceedings of the Proceedings of the third ACM conference on Recommender systems, 2009, pp. 5-12.
- Ovaisi, Z.; Ahsan, R.; Zhang, Y.; Vasilaky, K.; Zheleva, E. Correcting for selection bias in learning-to-rank systems. In Proceedings of the Proceedings of The Web Conference 2020, 2020, pp. 1863–1873. [Google Scholar]
- Pradel, B.; Usunier, N.; Gallinari, P. Ranking with non-random missing ratings: influence of popularity and positivity on evaluation metrics. In Proceedings of the Proceedings of the sixth ACM conference on Recommender systems, 2012, pp.147–154.
- Schnabel, T.; Swaminathan, A.; Singh, A.; Chandak, N.; Joachims, T. Recommendations as treatments: Debiasing learning and evaluation. In Proceedings of the international conference on machine learning. PMLR; 2016; pp. 1670–1679. [Google Scholar]
- Adamopoulos, P.; Tuzhilin, A. On over-specialization and concentration bias of recommendations: Probabilistic neighborhood selection in collaborative filtering systems. In Proceedings of the Proceedings of the 8th ACM Conference on Recommender systems, 2014, pp.153–160.
- Imbens, G.W.; Rubin, D.B. Causal inference in statistics, social, and biomedical sciences; Cambridge university press, 2015.
- Huang, J.; Oosterhuis, H.; De Rijke, M. It is different when items are older: Debiasing recommendations when selection bias and user preferences are dynamic. In Proceedings of the Proceedings of the fifteenth ACM international conference on web search and data mining, 2022, pp.381–389.
- Yang, X.; Guo, Y.; Liu, Y.; Steck, H. A survey of collaborative filtering based social recommender systems. Computer communications 2014, 41, 1–10. [Google Scholar] [CrossRef]
- Beel, J.; Gipp, B.; Langer, S.; Breitinger, C. Paper recommender systems: a literature survey. International Journal on Digital Libraries 2016, 17, 305–338. [Google Scholar] [CrossRef]
- Rubens, N.; Elahi, M.; Sugiyama, M.; Kaplan, D. Active learning in recommender systems. Recommender systems handbook.
- Zhang, F.; Yuan, N.J.; Lian, D.; Xie, X.; Ma, W.Y. Collaborative knowledge base embedding for recommender systems. In Proceedings of the Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining, 2016, pp.353–362.
- Panniello, U.; Tuzhilin, A.; Gorgoglione, M. Comparing context-aware recommender systems in terms of accuracy and diversity. User Modeling and User-Adapted Interaction 2014, 24, 35–65. [Google Scholar] [CrossRef]
- Champiri, Z.D.; Shahamiri, S.R.; Salim, S.S.B. A systematic review of scholar context-aware recommender systems. Expert Systems with Applications 2015, 42, 1743–1758. [Google Scholar] [CrossRef]
- Koren, Y. Collaborative filtering with temporal dynamics. In Proceedings of the Proceedings of the 15th ACM SIGKDD international conference on Knowledge discovery and data mining, 2009, pp.447–456.
- Xu, Y.; Yang, Y.; Han, J.; Wang, E.; Zhuang, F.; Yang, J.; Xiong, H. NeuO: Exploiting the sentimental bias between ratings and reviews with neural networks. Neural Networks 2019, 111, 77–88. [Google Scholar] [CrossRef] [PubMed]
- Koren, Y.; Rendle, S.; Bell, R. Advances in collaborative filtering. Recommender systems handbook.
- Rosenthal, S.; Farra, N.; Nakov, P. SemEval-2017 task 4: Sentiment analysis in Twitter. arXiv preprint arXiv:1912.00741, arXiv:1912.00741 2019.
- Han, J.; Zuo, W.; Liu, L.; Xu, Y.; Peng, T. Building text classifiers using positive, unlabeled and ‘outdated’examples. Concurrency and Computation: Practice and Experience 2016, 28, 3691–3706. [Google Scholar] [CrossRef]
- Liu, Q.; Wu, S.; Wang, L. Cot: Contextual operating tensor for context-aware recommender systems. In Proceedings of the Proceedings of the AAAI Conference on Artificial Intelligence, 2015, Vol.



| Dataset | Amazon | Yelp | Taobao | Jingdong |
|---|---|---|---|---|
| user | 30,759 | 45,980 | 10,121 | 8031 |
| item | 16,515 | 11,537 | 9892 | 3025 |
| review | 285,644 | 229,900 | 10,791 | 8310 |
| rating | 285,644 | 229,900 | 49,053 | 25,152 |
| Sparsity | 0.051% | 0.043% | 0.049% | 0.12% |
| Avg words/s | 10.1 | 9.9 | 12.7 | 13.2 |
| Avg words/r | 10.4 | 130 | 65 | 70 |
| Avg sentences/r | 9.7 | 11.9 | 4.9 | 5.1 |
| Avg reviews/u | 9.29 | 5.00 | 1.06 | 1.03 |
| MEthod | MSE↓ | MAE↓ | ACC↑ |
|---|---|---|---|
| Avg | 0.3155 | 0.4321 | 0.3623 |
| T-Avg | 0.328 | 0.4326 | 0.3614 |
| MF | 0.1811 | 0.3314 | 0.468 |
| TMF | 0.1338 | 0.2818 | 0.5396 |
| MF-StaticIPS | 0.1879 | 0.3377 | 0.4598 |
| TMF-StaticIPS | 0.1086 | 0.2491 | 0.6065 |
| MF-DANCER | 0.1533 | 0.3032 | 0.5074 |
| SCTD | 0.1032 | 0.2527 | 0.6202 |
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/).