A Seagull Loss Function With Application to Recommender Systems

Outliers are intrinsic to recommender systems (RSs) due to user uncertainty and bring large deviations to the total loss. Classical loss functions such as <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$L_{1}$</tex-math></inline-formula> and <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$L_{2}$</tex-math></inline-formula> do not consider this issue, thus biasing the model toward abnormal ratings. Advanced ones such as Logcosh, Huber, and Wing losses try to control model biasing; however, they do not consider the rating ranges of recommender systems. In this article, we propose a Seagull loss combining quadratic and softsign functions to handle this issue. The quadratic function aims to preserve or appropriately increase losses caused by small deviations, while softsign function aims to suppress losses caused by large deviations. It is distinguished from three types of popular losses. Compared with <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$L_{1}$</tex-math></inline-formula> and <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$L_{2}$</tex-math></inline-formula>, it controls the upper bound, therefore suppressing the influence of outliers. Compared with Logcosh and Huber, it not only adjusts the loss of small deviations but also suppresses the loss of large deviations. Compared with Wing loss, it considers the characteristics of data in RSs and therefore is more suitable to the matrix factorization model. Experiments are undertaken on six real-world recommendation datasets in comparison with six popular loss functions. Results show that Seagull loss function has superiority to all losses above on mean absolute error (MAE) and root mean square error (RMSE) and slight inferiority to <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$L_{2}$</tex-math></inline-formula> and Wing on hit ratio (HR), mean average precision (MAP), and normalized discounted cumulative gain (NDCG).

Authors

Institutions

Publication Details

Journal
IEEE Transactions on Computational Social Systems
Published
2025-01-16
DOI
https://doi.org/10.1109/tcss.2025.3527470
Primary Topic
Multi-Criteria Decision Making
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Seagull Loss Function With Application to Recommender Systems

Hong Yu, Hui Xiao, Yuan-Yuan Xu, Heng‐Ru Zhang et al.
IEEE Transactions on Computational Social Systems
Multi-Criteria Decision Making
article

A Seagull Loss Function With Application to Recommender Systems

Hong Yu, Hui Xiao, Yuan-Yuan Xu, Heng‐Ru Zhang, Xizhao Wang, Fan Min
article en

Abstract

Outliers are intrinsic to recommender systems (RSs) due to user uncertainty and bring large deviations to the total loss. Classical loss functions such as <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$L_{1}$</tex-math></inline-formula> and <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$L_{2}$</tex-math></inline-formula> do not consider this issue, thus biasing the model toward abnormal ratings. Advanced ones such as Logcosh, Huber, and Wing losses try to control model biasing; however, they do not consider the rating ranges of recommender systems. In this article, we propose a Seagull loss combining quadratic and softsign functions to handle this issue. The quadratic function aims to preserve or appropriately increase losses caused by small deviations, while softsign function aims to suppress losses caused by large deviations. It is distinguished from three types of popular losses. Compared with <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$L_{1}$</tex-math></inline-formula> and <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$L_{2}$</tex-math></inline-formula>, it controls the upper bound, therefore suppressing the influence of outliers. Compared with Logcosh and Huber, it not only adjusts the loss of small deviations but also suppresses the loss of large deviations. Compared with Wing loss, it considers the characteristics of data in RSs and therefore is more suitable to the matrix factorization model. Experiments are undertaken on six real-world recommendation datasets in comparison with six popular loss functions. Results show that Seagull loss function has superiority to all losses above on mean absolute error (MAE) and root mean square error (RMSE) and slight inferiority to <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$L_{2}$</tex-math></inline-formula> and Wing on hit ratio (HR), mean average precision (MAP), and normalized discounted cumulative gain (NDCG).

IEEE Transactions on Computational Social SystemsVol. 12(5)
Chongqing University of Posts and Telecommunications (CN), Southwest Petroleum University (CN), Shenzhen University (CN), Shenzhen Research Institute of Big Data (CN)
Life below water
Openalex Percentile: Top 99%
Multi-Criteria Decision Making
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.