Skip to main content
Log in

RP-SWSGD: Design of sliding window stochastic gradient descent method with user’s ratings pattern for recommender systems

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

To offer relevant and useful recommendations, the crucial role of recommender systems in e-commerce industry is to predict the users’ concern for various items by estimating items’ attributes and users’ preferences. The reliability of a recommender system is usually assessed through accuracy and speed of relevant recommendations for a variety of items. The matrix factorization-based stochastic gradient descent (SGD) methods proposed by researchers lack memory needed to capture the ratings history hidden in the previous iterations. Recently, sliding window-based SGD strategies designed for Recommender systems and Hammerstein nonlinear systems gained attention due to the improved performance in terms of convergence speed and estimated accuracy. The memory impact with regard to the historical information enhances the performance of sliding window-based SGD techniques. However, sliding window-based methods are deficient in capturing the ratings history based on the users’ rating patterns. Hence utilizing the same window length for the set of observed ratings rated by users. Therefore, we propose an improved sliding window-based SGD strategy to acquire historical information of the ratings with respect to a user’s rating patterns for efficient matrix factorization of recommender systems. The proposed strategy performs significantly by accomplishing fast convergence speed and accuracy for window sizes greater than 1. The accuracy of the suggested technique is verified for two benchmark datasets such as ML-100 K and Film-Trust. However, the authenticity of the proposed method as compared to the standard counterpart (window size = 1) is confirmed through Root Mean Squared Error (RMSE) and Mean Absolute Error (MAE). The average improvements achieved by the proposed strategy in terms of RMSE and MAE over the baseline for ML-100 K dataset are 0.726% and 2.245% respectively. Whereas the proposed method accomplishes considerable average improvement of 7.89% and 9.41% for RMSE and MAE with FilmTrust dataset respectively.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Algorithm 1
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15

Similar content being viewed by others

Data availability

The datasets generated during and/or analysed during the current study are available in the reference [57, 58].

Abbreviations

SGD :

Stochastic gradient descent

MF :

Matrix factorization

RS :

Recommender system

RSs :

Recommender systems

RP-SWSGD :

Rating pattern aware sliding window stochastic gradient descent

CF :

Collaborative filtering

CB :

Content-based filtering

DNN :

Deep neural networks

ALS :

Alternating least squares

RMSE :

Root mean squared error

MAE :

Mean absolute error

References

  1. Jiang L, Cheng Y, Yang L, Li J, Yan H, Wang X (2019) A trust-based collaborative filtering algorithm for E-commerce recommendation system. J Ambient Intell Humaniz Comput 10(8):3023–3034

    Google Scholar 

  2. Jannach D, Jugovac M (2019) Measuring the business value of recommender systems. ACM Trans Manag Inf Syst 10(4):1–22

    Google Scholar 

  3. Juan W, Yue-Xin L, Chun-Ying W (2019) Survey of recommendation based on collaborative filtering. J Phys Conf Ser 1314(1):1–5

    Google Scholar 

  4. Furtado F, Singh A (2020) Movie recommendation system using machine learning. Int J Res Ind Eng 9(1):84–98

    Google Scholar 

  5. Suryawanshi S, Narnaware M (2020) Design and analysis of collaborative filtering based recommendation system. Int J Eng Appl Sci Technol 5(4):223–226

    Google Scholar 

  6. Karimi M, Jannach D, Jugovac M (2018) News recommender systems – survey and roads ahead. Inf Process Manag 54(6):1203–1227

    Google Scholar 

  7. Huang C-L, Yeh P-H, Lin C-W, Wu D-C (2014) Utilizing user tag-based interests in recommender systems for social resource sharing websites. Knowledge-Based Syst 56:86–96

    Google Scholar 

  8. Kywe SM, Lim EP, Zhu F (2012) A survey of recommender systems in twitter. In: Social Informatics: 4th International Conference, SocInfo 2012, Lausanne, Switzerland, December 5-7, 2012. Proceedings 4 (pp. 420–433). Springer Berlin Heidelberg

  9. Bergamo D, Zerbini O, Pinho P, Moutinho P (2022) The Amazon bioeconomy: beyond the use of forest products. Ecol Econ 199:107448

    Google Scholar 

  10. Kumar N, Pallavi KV, Hanji BR (2023) Personalized travel recommendation system using average cumulative rating matrix factorization technique: concept and framework. Vietnam J Comput Sci 10(02):159–195

    Google Scholar 

  11. Khanal SS, Prasad PWC, Alsadoon A, Maag A (2020) A systematic review: machine learning based recommendation systems for e-learning. Educ Inf Technol 25(4):2635–2664

    Google Scholar 

  12. Boyko N, Telishevskyi P, Kushka B (2021) Analysis of recommendation system methods for accuracy of predicted estimates. CEUR Workshop Proc 2870:1878–1888

    Google Scholar 

  13. Alhijawi B, Kilani Y (2020) The recommender system: a survey. Int J Adv Intell Paradig 15(3):229

    Google Scholar 

  14. Salter J, Antonopoulos N (2006) CinemaScreen recommender agent: combining collaborative and content-based filtering. IEEE Intell Syst 21(1):35–41

    Google Scholar 

  15. Aslanian E, Radmanesh M, Jalili M (2016) Hybrid recommender systems based on content feature relationship. IEEE Trans Ind Informatics. https://doi.org/10.1109/TII.2016.2631138

    Article  Google Scholar 

  16. Köhler S, Wöhner T, Peters R (2016) The impact of consumer preferences on the accuracy of collaborative filtering recommender systems. Electron Mark 26(4):369–379

    Google Scholar 

  17. Chen R, Hua Q, Chang YS, Wang B, Zhang L, Kong X (2018) A survey of collaborative filtering-based recommender systems: from traditional methods to hybrid methods based on social networks. IEEE Access 6:64301–64320

    Google Scholar 

  18. Cunha T, Soares C, de Carvalho ACPLF (2018) Metalearning and recommender systems: a literature review and empirical study on the algorithm selection problem for collaborative filtering. Inf Sci (Ny) 423:128–144

    MathSciNet  Google Scholar 

  19. Colace F, Conte D, De Santo M, Lombardi M, Santaniello D, Valentino C (2022) A content-based recommendation approach based on singular value decomposition. Conn Sci 34(1):2158–2176

    Google Scholar 

  20. Ben Schafer J, Konstan JA, Riedl J (2001) E-commerce recommendation applications. Data Min Knowl Discov 5(1–2):115–153

    Google Scholar 

  21. Guo X, Yin SC, Zhang YW, Li W, He Q (2019) Cold start recommendation based on attribute-fused singular value decomposition. IEEE Access 7:11349–11359

    Google Scholar 

  22. Ahamed MT, Afroge S (2019) A recommender system based on deep neural network and matrix factorization for collaborative filtering. 2nd Int Conf Electr Comput Commun Eng ECCE 2019:1–5

    Google Scholar 

  23. Ahmadian S, Joorabloo N, Jalili M, Ren Y, Meghdadi M, Afsharchi M (2020) A social recommender system based on reliable implicit relationships. Knowledge-Based Syst 192:105371

    Google Scholar 

  24. Xue F, He X, Wang X, Xu J, Liu K, Hong R (2019) Deep item-based collaborative filtering for top-N recommendation. ACM Trans Inf Syst 37(3):1–25

    Google Scholar 

  25. Goyani M, Chaurasiya N (2020) A review of movie recommendation system: limitations, survey and challenges. Electron Lett Comput Vis Image Anal 19(3):18–37

    Google Scholar 

  26. Nasiri E, Berahmand K, Li Y (2023) Robust graph regularization nonnegative matrix factorization for link prediction in attributed networks. Multimed Tools Appl 82(3):3745–3768

    Google Scholar 

  27. Kulkarni PV, Rai S, Kale R (2020) Recommender system in elearning: a survey. Springer, Singapore, pp 119–126

    Google Scholar 

  28. De Handschutter P, Gillis N, Siebert X (2021) A survey on deep matrix factorizations. Comput Sci Rev 42:100423

    MathSciNet  Google Scholar 

  29. Sun X, Li B, Sutcliffe R, Gao Z, Kang W, Feng J (2023) Wse-MF: a weighting-based student exercise matrix factorization model. Pattern Recognit 138:109285

    Google Scholar 

  30. Altschuler JM, Talwar K (2022) Privacy of noisy stochastic gradient descent: more iterations without more privacy loss. Adv Neural Inf Process Syst 35:3788–3800

    Google Scholar 

  31. Wojtowytsch S (2023) Stochastic gradient descent with noise of machine learning type Part I: discrete time analysis. J Nonlinear Sci 33(3):45

    MathSciNet  Google Scholar 

  32. Aslam MS, Chaudhary NI, Raja MAZ (2017) A sliding-window approximation-based fractional adaptive strategy for Hammerstein nonlinear ARMAX systems. Nonlinear Dyn 87(1):519–533

    Google Scholar 

  33. Khan ZA, Raja MAZ, Chaudhary NI, Mehmood K, He Y (2021) MISGD: moving-information-based stochastic gradient descent paradigm for personalized fuzzy recommender systems. Int J Fuzzy Syst 24(1):686–712

    Google Scholar 

  34. Khan ZA, Zubair S, Imran K, Ahmad R, Butt SA, Chaudhary NI (2019) A new users rating-trend based collaborative denoising auto-encoder for top-N recommender systems. IEEE Access 7:141287–141310

    Google Scholar 

  35. Hernández-Lobato JM, Houlsby N, Ghahramani Z (2014) Probabilistic matrix factorization with non-random missing data. 31st Int Conf Mach Learn ICML 2014(4):3394–3436

    Google Scholar 

  36. Bell RM, Koren Y (2007) Scalable collaborative filtering with jointly derived neighborhood interpolation weights. In: Proceedings IEEE International Conference on Data Mining, ICDM: 43–52. https://doi.org/10.1109/ICDM.2007

  37. Kumar V, Pujari AK, Sahu SK, Kagita VR, Padmanabhan V (2017) Collaborative filtering using multiple binary maximum margin matrix factorizations. Inf Sci (NY) 380:1–11

    Google Scholar 

  38. Takáes G, Pilászy I, Németh B, Tikk D (2009) Scalable collaborative filtering approaches for large reeommender systems. J Mach Learn Res 10:623–656

    Google Scholar 

  39. Luo X, Xia Y, Zhu Q (2012) Incremental collaborative filtering recommender based on regularized matrix factorization. Knowledge-Based Syst 27:271–280

    Google Scholar 

  40. Chin WS, Zhuang Y, Juan YC, Lin CJ (2015) A learning-rate schedule for stochastic gradient methods to matrix factorization, vol 9077. Springer, Cham

    Google Scholar 

  41. Aggarwal CC (2016) An introduction to recommender systems. In: Recommender systems, Cham: Springer International Publishing: 1–28

  42. Sun R, Luo ZQ (2016) Guaranteed matrix completion via non-convex factorization. IEEE Trans Inf Theory 62(11):6535–6579

    MathSciNet  Google Scholar 

  43. Jin C, Kakade SM, Netrapalli P (2016) Provable efficient online matrix completion via non-convex stochastic gradient descent. 30th Conference on Neural Information Processing Systems (NIPS 2016), Barcelona, Spain

  44. Kingma DP, Ba JL (2015) Adam: a method for stochastic optimization. 3rd Int Conf Learn Represent. ICLR 2015 – Conf Track Proc. San Diego, pp 1–15

  45. Chen P, Chen HH (2020) Accelerating matrix factorization by overparameterization. In DeLTA 2020 - Proceedings of the 1st International Conference on Deep Learning Theory and Applications: 89–97

  46. Tieleman T, Hinton G (2012) Lecture 6.5-rmsprop: divide the gradient by a running average of its recent magnitude. COURSERA Neural Netw Mach Learn 4(2):26–31

    Google Scholar 

  47. Reddi SJ, Kale S, Kumar S (2018) On the convergence of Adam and beyond. 6th Int Conf Learn Represent. ICLR 2018 - Conf Track Proc

    Google Scholar 

  48. Dozat T (2016) Incorporating Nesterov Momentum into Adam. ICLR Work 1:2013–2016

    Google Scholar 

  49. Samadianfard S, Kargar K, Shadkani S, Hashemi S, Abbaspour A, Safari MJS (2022) Hybrid models for suspended sediment prediction: optimized random forest and multi-layer perceptron through genetic algorithm and stochastic gradient descent methods. Neural Comput Appl 34:3033–3051

    Google Scholar 

  50. He H, Meng X, Tang J, Qiao J (2022) A novel self-organizing TS fuzzy neural network for furnace temperature prediction in MSWI process. Neural Comput Appl 34(12):9759–9776

    Google Scholar 

  51. Khan ZA et al (2020) Design of normalized fractional SGD computing paradigm for recommender systems. Neural Comput Appl 32:10245–10262

    Google Scholar 

  52. Chaudhary NI et al (2022) Design of auxiliary model based normalized fractional gradient algorithm for nonlinear output-error systems. Chaos, Solitons Fractals 163:112611

    MathSciNet  Google Scholar 

  53. Jing S (2023) Time-delay Hammerstein system identification using modified cross-correlation method and variable stacking length multi-error algorithm. Math Comput Simul 207:288–300

    MathSciNet  Google Scholar 

  54. Khan ZA et al (2022) Generalized fractional strategy for recommender systems with chaotic ratings behavior. Chaos, Solitons Fractals 160:112204

    MathSciNet  Google Scholar 

  55. Chen Y, Zhang J, Jin Z (2023) Optimal control of an influenza model with mixed cross-infection by age group. Math Comput Simul 206:410–436

    MathSciNet  Google Scholar 

  56. Chaudhary NI, Khan ZA, Raja MAZ, Chaudhary II (2023) Enhanced fractional adaptive processing paradigm for power signal estimation. Math Methods App Sci 46(6):7013–7028

    MathSciNet  Google Scholar 

  57. Harper FM, Konstan JA (2015) The MovieLens datasets. ACM Trans Interact Intell Syst 5(4):1–19

    Google Scholar 

  58. Guo G, Zhang J, Yorke-Smith N (2016) A novel evidence-based Bayesian similarity measure for recommender systems. ACM Trans Web 10(2):2619–2625

    Google Scholar 

  59. Yengikand AK, Meghdadi M, Ahmadian S (2023) DHSIRS: a novel deep hybrid side information-based recommender system. Multimed Tools Appl 82:34513–34539. https://doi.org/10.1007/s11042-023-15021-9

    Article  Google Scholar 

  60. Alhijawi B, Fraihat S, Awajan A (2023) Adaptable inheritance-based prediction model for multi-criteria recommender system. Multimed Tools Appl 82:32421–32442. https://doi.org/10.1007/s11042-023-14728-z

    Article  Google Scholar 

  61. Madani Y, Erritali M & Bouikhalene B (2023) A new sentiment analysis method to detect and Analyse sentiments of Covid-19 moroccan tweets using a recommender approach. Multimedia Tools and Applications 1–20

  62. Rustam F, Imtiaz Z, Mehmood A, Rupapara V, Choi GS, Din S, Ashraf I (2022) Automated disease diagnosis and precaution recommender system using supervised machine learning. Multimedia tools and applications 81(22):31929–31952

    Google Scholar 

  63. Wu S, Sun F, Zhang W, Xie X, Cui B (2022) Graph neural networks in recommender systems: a survey. ACM Comput Surv 55(5):1–37

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Naveed Ishtiaq Chaudhary.

Ethics declarations

Conflict of interest

All author declared that there are no potential conflicts of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Khan, Z.A., Raja, H.A., Chaudhary, N.I. et al. RP-SWSGD: Design of sliding window stochastic gradient descent method with user’s ratings pattern for recommender systems. Multimed Tools Appl 83, 41083–41120 (2024). https://doi.org/10.1007/s11042-023-17258-w

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-023-17258-w

Keywords

Navigation