Abstract
Recommender systems trained on implicit feedback data rely on negative sampling to distinguish positive items from negative items for each user. Since the majority of positive interactions come from a small group of active users, negative samplers are often impacted by data imbalance, leading them to choose more informative negatives for prominent users while providing less useful ones for users who are not so active. This leads to inactive users being further marginalised in the training process, thus receiving inferior recommendations. In this paper, we conduct a comprehensive empirical study demonstrating that state-of-the-art negative sampling strategies provide more accurate recommendations for active users than for inactive users. We also find that increasing the number of negative samples for each positive item improves the average performance, but the benefit is distributed unequally across user groups, with active users experiencing performance gain while inactive users suffering performance degradation. To address this, we propose a group-specific negative sampling strategy that assigns smaller negative ratios to inactive user groups and larger ratios to active groups. Experiments on eight negative samplers show that our approach improves user-side fairness and performance when compared to a uniform global ratio.
Introduction
Recommender systems (RS) often rely on implicit feedback, such as clicks or views, to learn user preferences. To distinguish between positive interactions and the vast space of unobserved items, models use negative sampling. However, because interaction data is heavily skewed toward a small set of "active" users, standard negative sampling strategies inadvertently prioritize these power users. This paper investigates the systematic unfairness in state-of-the-art negative samplers and proposes a group-specific optimization strategy to bridge the gap.
The Hidden Cost of Global Negative Sampling
A common practice to improve recommendation accuracy is increasing the negative sampling ratio ($K$)—the number of negative items sampled for every positive interaction. While this typically boosts "mean utility" (average performance across all users), it masks a significant disparity.
The authors demonstrate that for inactive users, who have sparse interaction histories, a high $K$ introduces excessive noise. This noise overwhelms the few positive signals available, leading to performance degradation. Conversely, active users benefit from higher $K$ as it helps the model refine the decision boundary around their abundant data.
InformedHB: Optimizing for Fairness
To address this "rich get richer" phenomenon, the authors propose InformedHB. This method moves away from a one-size-fits-all global sampling ratio in favor of group-specific ratios.
- User Partitioning: Users are categorized into quartiles based on their activity levels (from Group 1: inactive to Group 4: active).
- Group-Specific Ratios: Instead of a uniform $K$, the model assigns tailored ratios to each group.
- Hyperband Optimization with Informed Priors: The authors adapt the Hyperband algorithm to search for optimal $K$ values. To accelerate this search, they use "informed priors"—starting with smaller $K$ values for inactive groups and larger ones for active groups, based on their empirical findings.
Experimental Results
The study evaluated eight negative sampling strategies (including DENS, DNS, and MixGCF) across four diverse datasets: Amazon Beauty, MovieLens 1M, Book Crossing, and Yelp 2022.
Key findings include:
- Universal Fairness Gap: Across all datasets and samplers, the most active users (Group 4) received recommendations significantly better than the average, while inactive groups consistently underperformed.
- Improved Utility and Fairness: InformedHB improved global NDCG and Recall by 2% to 10%. Crucially, it significantly boosted performance for the most disadvantaged users (e.g., a 6% increase for Group 1 in Amazon Beauty).
- Search Efficiency: The use of informed priors allowed the optimization process to converge up to nine times faster than an uninformed search.
Conclusion
This research highlights a critical oversight in recommender system benchmarking: global performance metrics can hide systematic unfairness toward inactive users. By adopting group-specific negative sampling ratios, developers can create more equitable systems that improve the experience for the majority of the user base without sacrificing overall accuracy. Future work will explore these dynamics in sequential recommendation and cold-start scenarios.
Summary updated