Make Users and Preferred Items Closer: Recommendation via Distance Metric Learning

  • Junliang Yu
  • Min GaoEmail author
  • Wenge Rong
  • Yuqi Song
  • Qianqi Fang
  • Qingyu Xiong
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 10638)


Recommender systems can help to relieve the dilemma called information overload. Collaborative filtering is a primary approach based on collective historical ratings to recommend items to users. One of the most competitive collaborative filtering algorithm is matrix factorization. In this paper, we proposed an alternative method. It aims to make users be spatially close to items they like and be far away from items they dislike, by connecting matrix factorization and distance metric learning. The metric and latent factors are trained simultaneously and then used to generate reliable recommendations. The experiments conducted on the real-world datasets have shown that, compared with methods only based on factorization, our method has advantage in terms of accuracy.


Recommendation Distance metric learning Collaborative filtering Matrix factorization 



This research is supported by the Basic and Advanced Research Projects in Chongqing (cstc2015jcyjA40049), the National Key Basic Research Program of China (973) (2013CB328903), the National Natural Science Foundation of China (61472021), and the Fundamental Research Funds for the Central Universities (106112014 CDJZR 095502).


  1. 1.
    Hernando, A., Bobadilla, J., Ortega, F.: A non negative matrix factorization for collaborative filtering recommender systems based on a Bayesian probabilistic model. Knowl. Based Syst. 97, 188–202 (2016)CrossRefGoogle Scholar
  2. 2.
    Hocke, J., Martinetz, T.: Global metric learning by gradient descent. In: Wermter, S., Weber, C., Duch, W., Honkela, T., Koprinkova-Hristova, P., Magg, S., Palm, G., Villa, A.E.P. (eds.) ICANN 2014. LNCS, vol. 8681, pp. 129–135. Springer, Cham (2014). doi: 10.1007/978-3-319-11179-7_17 Google Scholar
  3. 3.
    Hsieh, C.K., Yang, L., Cui, Y., Lin, T.Y.: Collaborative metric learning. In: Proceedings of the 26th International Conference on World Wide Web, pp. 193–201. ACM (2017)Google Scholar
  4. 4.
    Jamali, M., Ester, M.: A matrix factorization technique with trust propagation for recommendation in social networks, pp. 135–142 (2010)Google Scholar
  5. 5.
    Khoshneshin, M., Street, W.N.: Collaborative filtering via Euclidean embedding. In: ACM Conference on Recommender Systems, pp. 87–94 (2010)Google Scholar
  6. 6.
    Koren, Y.: Collaborative filtering with temporal dynamics. Commun. ACM 53(4), 89–97 (2010)CrossRefGoogle Scholar
  7. 7.
    Koren, Y., Bell, R.M., Volinsky, C.: Matrix factorization techniques for recommender systems. IEEE Comput. 42(8), 30–37 (2009)CrossRefGoogle Scholar
  8. 8.
    Kulis, B., et al.: Metric learning: a survey. Found. Trends \(\textregistered \). Mach. Learn. 5(4), 287–364 (2013). Now Publishers, Inc.Google Scholar
  9. 9.
    Lu, J., Wu, D., Mao, M., Wang, W., Zhang, G.: Recommender system application developments: a survey. Decis. Support Syst. 74, 12–32 (2015)CrossRefGoogle Scholar
  10. 10.
    Nguyen, B., Morell, C., De Baets, B.: Supervised distance metric learning through maximization of the Jeffrey divergence. Pattern Recog. 64, 215–225 (2017). ElsevierCrossRefGoogle Scholar
  11. 11.
    Qian, Q., Jin, R., Yi, J., Zhang, L., Zhu, S.: Efficient distance metric learning by adaptive sampling and mini-batch stochastic gradient descent (SGD). Mach. Learn. 99(3), 353–372 (2015)MathSciNetCrossRefzbMATHGoogle Scholar
  12. 12.
    Salakhutdinov, R., Mnih, A.: Probabilistic matrix factorization. In: International Conference on Neural Information Processing Systems, pp. 1257–1264 (2007)Google Scholar
  13. 13.
    Wang, J., Deng, Z., Choi, K., Jiang, Y., Luo, X., Chung, F., Wang, S.: Distance metric learning for soft subspace clustering in composite kernel space. Pattern Recogn. 52, 113–134 (2016)CrossRefGoogle Scholar
  14. 14.
    Wu, P., Hoi, S.C.H., Zhao, P., Miao, C., Liu, Z.: Online multi-modal distance metric learning with application to image retrieval. IEEE Trans. Knowl. Data Eng. 28(2), 454–467 (2016)CrossRefGoogle Scholar

Copyright information

© Springer International Publishing AG 2017

Authors and Affiliations

  • Junliang Yu
    • 1
    • 2
  • Min Gao
    • 1
    • 2
    Email author
  • Wenge Rong
    • 3
  • Yuqi Song
    • 1
    • 2
  • Qianqi Fang
    • 1
    • 2
  • Qingyu Xiong
    • 1
    • 2
  1. 1.School of Software EngineeringChongqing UniversityChongqingChina
  2. 2.Key Laboratory of Dependable Service Computing in Cyber Physical Society (Chongqing University), Ministry of EducationChongqingChina
  3. 3.School of Computer Science and EngineeringBeihang UniversityBeijingChina

Personalised recommendations