Skip to main content

Users’ Preference-Aware Music Recommendation with Contrastive Learning

  • Conference paper
  • First Online:
Advanced Intelligent Computing Technology and Applications (ICIC 2024)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 14873))

Included in the following conference series:

  • 521 Accesses

Abstract

Music recommendation serves as a critical branch of recommender systems, which is pivotal to capture users’ preference via their historical listening sequence for improving user experience. However, existing efforts in music domain acquire users’ preference in a supervised manner, thus inevitably suffering from the problem of data sparsity due to rare interactions between users and music pieces and further failing to precisely model users’ preference. Inspired by the recent success of self-supervised learning, in this paper, we propose a novel Users’ Preference-aware Music recommendation with Contrastive Learning (UPMCL) method to mitigate the above issues. To be specific, the proposed approach UPMCL first encodes the information of music pieces according to original and augmented listening sequences. Moreover, it employs the contrastive learning to maximize the agreement between mask- and permute-based augmented listening sequences to learn the representations of music pieces. Eventually, the attention mechanism is utilized to integrate different types of users’ preferences to generate the comprehensive users’ preference and further achieve accurate music recommendation. Extensive experimental results conducted on three real-world music datasets clearly demonstrate that UPMCL has the capability in effectively recommending appropriate music pieces to users.

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

Access this chapter

Subscribe and save

Springer+ Basic
€32.70 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
EUR 29.95
Price includes VAT (France)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
EUR 70.18
Price includes VAT (France)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
EUR 86.50
Price includes VAT (France)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Wang, D., Zhang, X., Yu, D., Xu, G., Deng, S.: Came: content-and context-aware music embedding for recommendation. IEEE Trans. Neural Networks Learn. Syst. 32(3), 1375–1388 (2020)

    Article  Google Scholar 

  2. Sánchez-Moreno, D., González, A.B.G., Vicente, M.D.M., Batista, V.F.L., García, M.N.M.: A collaborative filtering method for music recommendation using playing coefficients for artists and users. Expert Syst. Appl. 66, 234–244 (2016)

    Article  Google Scholar 

  3. Lee, W.P., Chen, C.T., Huang, J.Y., Liang, J.Y.: A smartphone-based activity-aware system for music streaming recommendation. Knowl.-Based Syst. 131, 70–82 (2017)

    Article  Google Scholar 

  4. Wang, D., Deng, S., Xu, G.: Sequence-based context-aware music recommendation. Inf. Retrieval J. 21, 230–252 (2018)

    Article  Google Scholar 

  5. Deldjoo, Y., Schedl, M., Knees, P.: Content-driven music recommendation: evolution, state of the art, and challenges. Comput. Sci. Rev. 51, 100618 (2024)

    Article  Google Scholar 

  6. Zhong, G., Wang, H., Jiao, W.: MusicCNNs: a new benchmark on content-based music recommendation. In: Proceedings of the International Conference on Neural Information Processing, pp. 394–405 (2018)

    Google Scholar 

  7. Wang, X., Wang, Y.: Improving content-based and hybrid music recommendation using deep learning. In: Proceedings of the 22nd ACM International Conference on Multimedia, pp. 627–636 (2014)

    Google Scholar 

  8. La Gatta, V., Moscato, V., Pennone, M., Postiglione, M., Sperlí, G.: Music recommendation via hypergraph embedding. IEEE Trans. Neural Networks Learn. Syst. 10, 7887–7899 (2022)

    Google Scholar 

  9. Vaswani, A., et al.: Attention is all you need. In: Advances in Neural Information Processing Systems, vol. 30 (2017)

    Google Scholar 

  10. Yang, J., et al.: Vision-language pre-training with triple contrastive learning. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 15671–15680 (2022)

    Google Scholar 

  11. Rethmeier, N., Augenstein, I.: A primer on contrastive pretraining in language processing: methods, lessons learned, and perspectives. ACM Comput. Surv. 55(10), 1–17 (2023)

    Article  Google Scholar 

  12. Yu, J., Yin, H., Xia, X., Chen, T., Li, J., Huang, Z.: Self-supervised learning for recommender systems: a survey. IEEE Trans. Knowl. Data Eng. 36, 335–355 (2023)

    Article  Google Scholar 

  13. Devlin, J., Chang, M.W., Lee, K., Toutanova, K.: Bert: pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805 (2018)

  14. Oord, A.V.D., Li, Y., Vinyals, O.: Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748 (2018)

  15. Celma, O.: Music recommendation. In: Proceedings of Music Recommendation and Discovery, pp. 43–85 (2010)

    Google Scholar 

  16. Turrin, R., Quadrana, M., Condorelli, A., Pagano, R., Cremonesi, P.: 30Music listening and playlists dataset. RecSys Posters 75 (2015)

    Google Scholar 

  17. Wang, D., Zhang, X., Wan, Y., Yu, D., Xu, G., Deng, S.: Modeling sequential listening behaviors with attentive temporal point process for next and next new music recommendation. IEEE Trans. Multimedia 24, 4170–4182 (2021)

    Article  Google Scholar 

  18. Rendle, S., Freudenthaler, C., Schmidt-Thieme, L.: Factorizing personalized Markov chains for next-basket recommendation. In: Proceedings of the 19th International Conference on World Wide Web, pp. 811–820 (2010)

    Google Scholar 

  19. Tang, J., Wang, K.: Personalized top-n sequential recommendation via convolutional sequence embedding. In: Proceedings of the 11th ACM International Conference on Web Search and Data Mining, pp. 565–573 (2018)

    Google Scholar 

  20. Kang, W.C., McAuley, J.: Self-attentive sequential recommendation. In: 2018 IEEE International Conference on Data Mining, pp. 197–206 (2018)

    Google Scholar 

  21. Ma, C., Kang, P., Liu, X.: Hierarchical gating networks for sequential recommendation. In: Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 825–833 (2019)

    Google Scholar 

  22. Wang, D., Zhang, X., Xiang, Z., Yu, D., Xu, G., Deng, S.: Sequential recommendation based on multivariate Hawkes process embedding with attention. IEEE Trans. Cybern. 52(11), 11893–11905 (2021)

    Article  Google Scholar 

  23. Oh, Y., Yun, S., Hyun, D., Kim, S., Park, C.: MUSE: music recommender system with shuffle play recommendation enhancement. In: Proceedings of the 32nd ACM International Conference on Information and Knowledge Management, pp. 1928–1938 (2023)

    Google Scholar 

  24. Kingma, D.P., Ba, J.: Adam: a method for stochastic optimization. arXiv preprint arXiv:1412.6980 (2014)

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jian Wang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Wang, J., Ma, H. (2024). Users’ Preference-Aware Music Recommendation with Contrastive Learning. In: Huang, DS., Pan, Y., Guo, J. (eds) Advanced Intelligent Computing Technology and Applications. ICIC 2024. Lecture Notes in Computer Science, vol 14873. Springer, Singapore. https://doi.org/10.1007/978-981-97-5615-5_25

Download citation

  • DOI: https://doi.org/10.1007/978-981-97-5615-5_25

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-97-5614-8

  • Online ISBN: 978-981-97-5615-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics