{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,23]],"date-time":"2026-10-23T23:44:58Z","timestamp":1792799098796,"version":"4.5.0"},"reference-count":64,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2024,3,22]],"date-time":"2024-03-22T00:00:00Z","timestamp":1711065600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"crossref","award":["9227010114, 62302321, 62372399, 62121002"],"award-info":[{"award-number":["9227010114, 62302321, 62372399, 62121002"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"crossref"}]},{"name":"University Synergy Innovation Program of Anhui Province","award":["GXXT-2022-040"],"award-info":[{"award-number":["GXXT-2022-040"]}]},{"name":"Supercomputing Center of Hangzhou City University","id":[{"id":"https:\/\/ror.org\/01wck0s05","id-type":"ROR","asserted-by":"crossref"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Inf. Syst."],"published-print":{"date-parts":[[2024,7,31]]},"abstract":"<jats:p>The learning objective plays a fundamental role to build a recommender system. Most methods routinely adopt either pointwise (e.g., binary cross-entropy) or pairwise (e.g., BPR) loss to train the model parameters, while rarely pay attention to softmax loss, which assumes the probabilities of all classes sum up to 1, due to its computational complexity when scaling up to large datasets or intractability for streaming data where the complete item space is not always available. The sampled softmax (SSM) loss emerges as an efficient substitute for softmax loss. Its special case, InfoNCE loss, has been widely used in self-supervised learning and exhibited remarkable performance for contrastive learning. Nonetheless, limited recommendation work uses the SSM loss as the learning objective. Worse still, none of them explores its properties thoroughly and answers \u201cDoes SSM loss suit for item recommendation?\u201d and \u201cWhat are the conceptual advantages of SSM loss, as compared with the prevalent losses?\u201d, to the best of our knowledge.<\/jats:p>\n                  <jats:p>\n                    In this work, we aim at offering a better understanding of SSM for item recommendation. Specifically, we first theoretically reveal three model-agnostic advantages: (1) mitigating popularity bias, which is beneficial to long-tail recommendation; (2) mining hard negative samples, which offers informative gradients to optimize model parameters; and (3) maximizing the ranking metric, which facilitates top-\n                    <jats:italic>K<\/jats:italic>\n                    performance. However, based on our empirical studies, we recognize that the default choice of cosine similarity function in SSM limits its ability in learning the magnitudes of representation vectors. As such, the combinations of SSM with the models that also fall short in adjusting magnitudes (e.g., matrix factorization) may result in poor representations. One step further, we provide mathematical proof that message passing schemes in graph convolution networks can adjust representation magnitude according to node degree, which naturally compensates for the shortcoming of SSM. Extensive experiments on four benchmark datasets justify our analyses, demonstrating the superiority of SSM for item recommendation. Our implementations are available in both TensorFlow\n                    <jats:xref ref-type=\"fn\">\n                      <jats:sup>1<\/jats:sup>\n                    <\/jats:xref>\n                    and PyTorch.\n                    <jats:xref ref-type=\"fn\">\n                      <jats:sup>2<\/jats:sup>\n                    <\/jats:xref>\n                  <\/jats:p>","DOI":"10.1145\/3637061","type":"journal-article","created":{"date-parts":[[2023,12,13]],"date-time":"2023-12-13T06:39:51Z","timestamp":1702449591000},"page":"1-26","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":63,"title":["On the Effectiveness of Sampled Softmax Loss for Item Recommendation"],"prefix":"10.1145","volume":"42","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-6941-5218","authenticated-orcid":false,"given":"Jiancan","family":"Wu","sequence":"first","affiliation":[{"name":"MoE Key Laboratory of Brain-inspired Intelligent Perception and Cognition, University of Science and Technology of China, Hefei, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-6148-6329","authenticated-orcid":false,"given":"Xiang","family":"Wang","sequence":"additional","affiliation":[{"name":"MoE Key Laboratory of Brain-inspired Intelligent Perception and Cognition, University of Science and Technology of China, Hefei, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4660-8092","authenticated-orcid":false,"given":"Xingyu","family":"Gao","sequence":"additional","affiliation":[{"name":"Institute of Microelectronics, Chinese Academy of Sciences, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4752-2629","authenticated-orcid":false,"given":"Jiawei","family":"Chen","sequence":"additional","affiliation":[{"name":"Zhejiang University, Hangzhou, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0000-0956-0811","authenticated-orcid":false,"given":"Hongcheng","family":"Fu","sequence":"additional","affiliation":[{"name":"Tencent Music Entertainment Group, Shenzhen, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0002-7095-8831","authenticated-orcid":false,"given":"Tianyu","family":"Qiu","sequence":"additional","affiliation":[{"name":"Tencent Music Entertainment Group, Shenzhen, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2024,3,22]]},"reference":[{"key":"e_1_3_2_2_2","unstructured":"Yu Bai Sally Goldman and Li Zhang. 2017. TAPAS: Two-pass approximate adaptive sampling for softmax."},{"key":"e_1_3_2_3_2","volume-title":"Proceedings of the International Workshop on Artificial Intelligence and Statistics","author":"Bengio Yoshua","year":"2003","unstructured":"Yoshua Bengio and Jean-S\u00e9bastien Senecal. 2003. Quick training of probabilistic neural nets by importance sampling. In Proceedings of the International Workshop on Artificial Intelligence and Statistics."},{"key":"e_1_3_2_4_2","first-page":"589","volume-title":"Proceedings of the International Conference on Machine Learning","author":"Blanc Guy","year":"2018","unstructured":"Guy Blanc and Steffen Rendle. 2018. Adaptive sampled softmax with kernel based sampling. In Proceedings of the International Conference on Machine Learning. 589\u2013598."},{"key":"e_1_3_2_5_2","doi-asserted-by":"publisher","DOI":"10.1145\/3341981.3344221"},{"key":"e_1_3_2_6_2","doi-asserted-by":"publisher","DOI":"10.1145\/1273496.1273513"},{"issue":"3","key":"e_1_3_2_7_2","article-title":"Bias and debias in recommender system: A survey and future directions","volume":"41","author":"Chen Jiawei","year":"2023","unstructured":"Jiawei Chen, Hande Dong, Xiang Wang, Fuli Feng, Meng Wang, and Xiangnan He. 2023. Bias and debias in recommender system: A survey and future directions. ACM Transactions on Information Systems 41, 3 (2023), 67:1\u201367:39.","journal-title":"ACM Transactions on Information Systems"},{"key":"e_1_3_2_8_2","doi-asserted-by":"crossref","unstructured":"Lei Chen Le Wu Richang Hong Kun Zhang and Meng Wang. 2020. Revisiting graph based collaborative filtering: A linear residual graph convolutional network approach. In Proceedings of theAAAI Conference on Artificial Intelligence. AAAI Press 27\u201334.","DOI":"10.1609\/aaai.v34i01.5330"},{"key":"e_1_3_2_9_2","first-page":"1597","volume-title":"Proceedings of the International Conference on Machine Learning","author":"Chen Ting","year":"2020","unstructured":"Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey E. Hinton. 2020. A simple framework for contrastive learning of visual representations. In Proceedings of the International Conference on Machine Learning. 1597\u20131607."},{"key":"e_1_3_2_10_2","doi-asserted-by":"publisher","DOI":"10.1145\/2959100.2959190"},{"key":"e_1_3_2_11_2","first-page":"4171","volume-title":"Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies","author":"Devlin Jacob","year":"2019","unstructured":"Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. 4171\u20134186."},{"key":"e_1_3_2_12_2","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2021.emnlp-main.552"},{"key":"e_1_3_2_13_2","volume-title":"Proceedings of the International Conference on Learning Representations","author":"Gidaris Spyros","year":"2018","unstructured":"Spyros Gidaris, Praveer Singh, and Nikos Komodakis. 2018. Unsupervised representation learning by predicting image rotations. In Proceedings of the International Conference on Learning Representations."},{"key":"e_1_3_2_14_2","first-page":"249","volume-title":"Proceedings of the 13th International Conference on Artificial Intelligence and Statistics","author":"Glorot Xavier","year":"2010","unstructured":"Xavier Glorot and Yoshua Bengio. 2010. Understanding the difficulty of training deep feedforward neural networks. In Proceedings of the 13th International Conference on Artificial Intelligence and Statistics. 249\u2013256."},{"key":"e_1_3_2_15_2","doi-asserted-by":"publisher","DOI":"10.1145\/3292500.3330839"},{"key":"e_1_3_2_16_2","article-title":"Noise-contrastive estimation of unnormalized statistical models, with applications to natural image statistics","author":"Gutmann Michael","year":"2012","unstructured":"Michael Gutmann and Aapo Hyv\u00e4rinen. 2012. Noise-contrastive estimation of unnormalized statistical models, with applications to natural image statistics. Journal of Machine Learning Research 13, 11 (2012), 307\u2013361.","journal-title":"Journal of Machine Learning Research"},{"key":"e_1_3_2_17_2","doi-asserted-by":"publisher","DOI":"10.1145\/3077136.3080777"},{"key":"e_1_3_2_18_2","doi-asserted-by":"publisher","DOI":"10.1145\/3397271.3401063"},{"key":"e_1_3_2_19_2","doi-asserted-by":"publisher","DOI":"10.1109\/TKDE.2018.2831682"},{"key":"e_1_3_2_20_2","doi-asserted-by":"publisher","DOI":"10.1145\/3038912.3052569"},{"key":"e_1_3_2_21_2","volume-title":"Proceedings of the International Conference on Learning Representations","author":"Hidasi Bal\u00e1zs","year":"2016","unstructured":"Bal\u00e1zs Hidasi, Alexandros Karatzoglou, Linas Baltrunas, and Domonkos Tikk. 2016. Session-based recommendations with recurrent neural networks. In Proceedings of the International Conference on Learning Representations."},{"key":"e_1_3_2_22_2","first-page":"263","volume-title":"Proceeings of the 8th IEEE International Conference on Data Mining","author":"Hu Yifan","year":"2008","unstructured":"Yifan Hu, Yehuda Koren, and Chris Volinsky. 2008. Collaborative filtering for implicit feedback datasets. In Proceeings of the 8th IEEE International Conference on Data Mining. 263\u2013272."},{"key":"e_1_3_2_23_2","doi-asserted-by":"publisher","DOI":"10.1145\/2487575.2487589"},{"key":"e_1_3_2_24_2","volume-title":"Proceedings of the Advances in Neural Information Processing Systems","author":"Khosla Prannay","year":"2020","unstructured":"Prannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna, Yonglong Tian, Phillip Isola, Aaron Maschinot, Ce Liu, and Dilip Krishnan. 2020. Supervised contrastive learning. In Proceedings of the Advances in Neural Information Processing Systems."},{"key":"e_1_3_2_25_2","volume-title":"Proceedings of the International Conference on Learning Representations","author":"Kingma Diederik P.","year":"2015","unstructured":"Diederik P. Kingma and Jimmy Ba. 2015. Adam: A method for stochastic optimization. In Proceedings of the International Conference on Learning Representations."},{"key":"e_1_3_2_26_2","volume-title":"Proceedings of the International Conference on Learning Representations. (Poster)","author":"Kipf Thomas N.","year":"2017","unstructured":"Thomas N. Kipf and Max Welling. 2017. Semi-supervised classification with graph convolutional networks. In Proceedings of the International Conference on Learning Representations. (Poster)."},{"key":"e_1_3_2_27_2","doi-asserted-by":"publisher","DOI":"10.1145\/1401890.1401944"},{"key":"e_1_3_2_28_2","doi-asserted-by":"publisher","DOI":"10.1109\/MC.2009.263"},{"key":"e_1_3_2_29_2","volume-title":"Proceedings of the International Conference on Learning Representations","author":"Lan Zhenzhong","year":"2020","unstructured":"Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. 2020. ALBERT: A lite BERT for self-supervised learning of language representations. In Proceedings of the International Conference on Learning Representations."},{"key":"e_1_3_2_30_2","doi-asserted-by":"publisher","DOI":"10.1145\/3366423.3380187"},{"key":"e_1_3_2_31_2","unstructured":"Zhuang Liu Yunpu Ma Yuanxin Ouyang and Zhang Xiong. 2021. Contrastive learning for recommender system. arXiv:2101.01317. Retrieved from https:\/\/arxiv.org\/abs\/2101.01317"},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","DOI":"10.1145\/3459637.3482297"},{"key":"e_1_3_2_33_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICDM.2011.134"},{"key":"e_1_3_2_34_2","doi-asserted-by":"crossref","DOI":"10.3917\/droz.paret.1964.01","volume-title":"Cours d\u2019\u00e9conomie politique","author":"Pareto Vilfredo","year":"1964","unstructured":"Vilfredo Pareto. 1964. Cours d\u2019\u00e9conomie politique. Vol. 1. Librairie Droz."},{"key":"e_1_3_2_35_2","first-page":"1907","volume-title":"Proceedings of the International Conference on Machine Learning","author":"Park Dohyung","year":"2015","unstructured":"Dohyung Park, Joe Neeman, Jin Zhang, Sujay Sanghavi, and Inderjit S. Dhillon. 2015. Preference completion: Large-scale collaborative ranking from pairwise comparisons. In Proceedings of the International Conference on Machine Learning. 1907\u20131916."},{"key":"e_1_3_2_36_2","first-page":"13834","volume-title":"Proceedings of the Advances in Neural Information Processing Systems","author":"Rawat Ankit Singh","year":"2019","unstructured":"Ankit Singh Rawat, Jiecao Chen, Felix X. Yu, Ananda Theertha Suresh, and Sanjiv Kumar. 2019. Sampled softmax with random fourier features. In Proceedings of the Advances in Neural Information Processing Systems. 13834\u201313844."},{"key":"e_1_3_2_37_2","doi-asserted-by":"crossref","first-page":"143","DOI":"10.1007\/978-1-0716-2197-4_4","volume-title":"Proceedings of the Recommender Systems Handbook","author":"Rendle Steffen","year":"2022","unstructured":"Steffen Rendle. 2022. Item recommendation from implicit feedback. In Proceedings of the Recommender Systems Handbook. Springer US, 143\u2013171."},{"key":"e_1_3_2_38_2","doi-asserted-by":"publisher","DOI":"10.1145\/2556195.2556248"},{"key":"e_1_3_2_39_2","first-page":"452","volume-title":"Proceedings of the Twenty-Fifth Conference on Uncertainty in Artificial Intelligence","author":"Rendle Steffen","year":"2009","unstructured":"Steffen Rendle, Christoph Freudenthaler, Zeno Gantner, and Lars Schmidt-Thieme. 2009. BPR: Bayesian personalized ranking from implicit feedback. In Proceedings of the Twenty-Fifth Conference on Uncertainty in Artificial Intelligence. 452\u2013461."},{"key":"e_1_3_2_40_2","doi-asserted-by":"publisher","DOI":"10.1145\/1102351.1102441"},{"key":"e_1_3_2_41_2","first-page":"1670","volume-title":"Proceedings of the International Conference on Machine Learning","author":"Schnabel Tobias","year":"2016","unstructured":"Tobias Schnabel, Adith Swaminathan, Ashudeep Singh, Navin Chandak, and Thorsten Joachims. 2016. Recommendations as treatments: Debiasing learning and evaluation. In Proceedings of the International Conference on Machine Learning. 1670\u20131679."},{"key":"e_1_3_2_42_2","doi-asserted-by":"publisher","DOI":"10.1145\/2939672.2939704"},{"key":"e_1_3_2_43_2","doi-asserted-by":"publisher","DOI":"10.1109\/TMM.2021.3126146"},{"key":"e_1_3_2_44_2","unstructured":"A\u00e4ron van den Oord Yazhe Li and Oriol Vinyals. 2018. Representation learning with contrastive predictive coding. arXiv:1807.03748. Retrieved from http:\/\/arxiv.org\/abs\/1807.03748"},{"key":"e_1_3_2_45_2","doi-asserted-by":"publisher","DOI":"10.1145\/3485447.3512010"},{"key":"e_1_3_2_46_2","doi-asserted-by":"publisher","DOI":"10.1145\/3404835.3463032"},{"key":"e_1_3_2_47_2","doi-asserted-by":"publisher","DOI":"10.1145\/3331184.3331267"},{"key":"e_1_3_2_48_2","first-page":"2764","volume-title":"Proceedings of the Twenty-Second International Joint Conference on Artificial Intelligence","author":"Weston Jason","year":"2011","unstructured":"Jason Weston, Samy Bengio, and Nicolas Usunier. 2011. WSABIE: Scaling up to large vocabulary image annotation. In Proceedings of the Twenty-Second International Joint Conference on Artificial Intelligence. 2764\u20132770."},{"key":"e_1_3_2_49_2","volume-title":"Proceedings of the Advances in Neural Information Processing Systems","author":"Wu Junkang","year":"2023","unstructured":"Junkang Wu, Jiawei Chen, Jiancan Wu, Wentao Shi, Xiang Wang, and Xiangnan He. 2023. Understanding contrastive learning via distributionally robust optimization. In Proceedings of the Advances in Neural Information Processing Systems."},{"issue":"6","key":"e_1_3_2_50_2","article-title":"Graph convolution machine for context-aware recommender system","volume":"16","author":"Wu Jiancan","year":"2022","unstructured":"Jiancan Wu, Xiangnan He, Xiang Wang, Qifan Wang, Weijian Chen, Jianxun Lian, and Xing Xie. 2022. Graph convolution machine for context-aware recommender system. Frontiers of Computer Science 16, 6 (2022), 166614.","journal-title":"Frontiers of Computer Science"},{"key":"e_1_3_2_51_2","doi-asserted-by":"publisher","DOI":"10.1145\/3404835.3462862"},{"key":"e_1_3_2_52_2","doi-asserted-by":"publisher","DOI":"10.1145\/3543507.3583521"},{"key":"e_1_3_2_53_2","doi-asserted-by":"publisher","DOI":"10.1145\/1390156.1390306"},{"key":"e_1_3_2_54_2","first-page":"441","volume-title":"Companion of The Web Conference","author":"Yang Ji","year":"2020","unstructured":"Ji Yang, Xinyang Yi, Derek Zhiyuan Cheng, Lichan Hong, Yang Li, Simon Xiaoming Wang, Taibai Xu, and Ed H. Chi. 2020. Mixed negative sampling for learning two-tower neural networks in recommendations. In Companion of The Web Conference. 441\u2013447."},{"key":"e_1_3_2_55_2","doi-asserted-by":"publisher","DOI":"10.1145\/3539618.3591624"},{"key":"e_1_3_2_56_2","volume-title":"Proceedings of the Advances in Neural Information Processing Systems","author":"Yang Zhengyi","year":"2023","unstructured":"Zhengyi Yang, Jiancan Wu, Zhicai Wang, Xiang Wang, Yancheng Yuan, and Xiangnan He. 2023. Generate what you prefer: Reshaping sequential recommendation via guided diffusion. In Proceedings of the Advances in Neural Information Processing Systems."},{"key":"e_1_3_2_57_2","doi-asserted-by":"publisher","DOI":"10.1145\/3459637.3481952"},{"key":"e_1_3_2_58_2","doi-asserted-by":"publisher","DOI":"10.1145\/3298689.3346996"},{"key":"e_1_3_2_59_2","doi-asserted-by":"publisher","DOI":"10.1145\/3219819.3219890"},{"key":"e_1_3_2_60_2","doi-asserted-by":"crossref","unstructured":"Hyokun Yun Hsiang-Fu Yu Cho-Jui Hsieh S. V. N. Vishwanathan and Inderjit Dhillon. 2014. NOMAD: Non-locking stochastic multi-machine algorithm for asynchronous and decentralized matrix completion. In Proceedings of the VLDB Endowment. 7 11 (2014) 975\u2013986.","DOI":"10.14778\/2732967.2732973"},{"key":"e_1_3_2_61_2","volume-title":"Proceedings of the Advances in Neural Information Processing Systems","author":"Zhang An","year":"2022","unstructured":"An Zhang, Wenchang Ma, Xiang Wang, and Tat-Seng Chua. 2022. Incorporating bias-aware margins into contrastive loss for collaborative filtering. In Proceedings of the Advances in Neural Information Processing Systems."},{"key":"e_1_3_2_62_2","doi-asserted-by":"publisher","DOI":"10.1145\/2484028.2484126"},{"key":"e_1_3_2_63_2","doi-asserted-by":"publisher","DOI":"10.1145\/3404835.3462875"},{"key":"e_1_3_2_64_2","doi-asserted-by":"publisher","DOI":"10.1145\/3447548.3467102"},{"key":"e_1_3_2_65_2","doi-asserted-by":"publisher","DOI":"10.1145\/3340531.3411954"}],"container-title":["ACM Transactions on Information Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3637061","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3637061","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T18:50:32Z","timestamp":1750272632000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3637061"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,3,22]]},"references-count":64,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2024,7,31]]}},"alternative-id":["10.1145\/3637061"],"URL":"https:\/\/doi.org\/10.1145\/3637061","relation":{},"ISSN":["1046-8188","1558-2868"],"issn-type":[{"value":"1046-8188","type":"print"},{"value":"1558-2868","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,3,22]]},"assertion":[{"value":"2022-10-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2023-11-27","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2024-03-22","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}