Abstract
Recommender systems leverage extensive user interaction data to model preferences; however, directly modeling these data may introduce biases that disproportionately favor popular items. In this paper, we demonstrate that popularity bias arises from the influence of propensity factors during training. Building on this insight, we propose a fair sampling (FS) method that ensures each user and each item has an equal likelihood of being selected as both positive and negative instances, thereby mitigating the influence of propensity factors. The proposed FS method does not require estimating propensity scores, thus avoiding the risk of failing to fully eliminate popularity bias caused by estimation inaccuracies. Comprehensive experiments demonstrate that the proposed FS method achieves state-of-the-art performance in both point-wise and pair-wise recommendation tasks.
Introduction
Recommender systems learn primarily from implicit feedback, such as clicks, views, or purchases. However, this data is heavily skewed by exposure: users can only interact with items they actually see, and popular items are shown far more often. Consequently, models often confuse an item's high exposure (its "propensity") with actual user preference. This creates a "Matthew effect" where popular items get recommended even more, burying high-quality niche items and hurting recommendation diversity.
Historically, researchers have tackled this using Inverse Propensity Scoring (IPS)—weighting training samples by the inverse of their likelihood of being seen. Unfortunately, accurately estimating these propensity scores in the real world is incredibly difficult and unstable. This paper introduces Fair Sampling (FS), an elegant sampling strategy that eliminates popularity bias during training by canceling out exposure gradients, all without the notoriously difficult step of estimating propensity scores.
Methodology: The Fair Sampling Approach
The authors first mathematically deconstruct classic recommendation loss functions (both point-wise like cross-entropy, and pair-wise like BPR). They prove that these standard loss functions inadvertently optimize for user/item "propensity factors." Because popular items appear more often as positive samples, the loss function actively pushes their scores higher, independent of true relevance.
To fix this, the authors propose Fair Sampling (FS), a purely data-level augmentation technique that comes in two flavors:
- FS-Point (for point-wise loss): For every user-item sample in a training batch, FS constructs and adds complementary "mirror" samples. If user $u$ likes item $i$, the system samples another user $\tilde{u}$ and item $\tilde{i}$ with specific inverted interaction patterns.
- FS-Pair (for pair-wise loss): If user $u$ prefers item $i$ over item $j$, FS deliberately samples another user $\tilde{u}$ who prefers item $j$ over item $i$, adding this pair to the batch.
By ensuring every user and item has an equal likelihood of being selected as both positive and negative instances, the gradient updates related to the propensity factors perfectly cancel each other out during backpropagation. The model is forced to learn true intrinsic preferences rather than memorizing popularity.
Key Results
The authors evaluated their method on three standard implicit feedback datasets: Amazon Review (Kindle), Gowalla, and Yelp. To ensure a fair test of true unbiased preference, the authors constructed unbiased validation and test sets by sampling items with equal probability, stripping away the natural popularity skew present in the raw data.
As shown in the results table, FS-Pair achieved the highest performance across all datasets for pair-wise methods. On the Kindle dataset, FS-Pair hit a Recall@20 of 0.1652 (compared to the next best baseline at 0.1516). Furthermore, FS-Pair dramatically lowered the Average Recommendation Popularity (ARP@20). On the Kindle dataset, ARP@20 dropped to 865 (down from 1572 in standard BPR, and 1156 in the best IPS baseline), indicating a massive reduction in bias.
Conclusion and Future Work
The core contribution of this work is the realization that popularity bias is baked into the loss functions themselves. Rather than trying to estimate the bias (as in IPS), FS designs a symmetric sampling scheme where the bias mathematically sums to zero. This makes FS a robust, drop-in strategy that works with standard matrix factorization without complex architectural changes.
The authors acknowledge that FS is almost too fair; it completely neutralizes the influence of popularity. In the real world, an item's popularity is often genuinely correlated with its high quality. For future work, the authors suggest exploring ways to strategically adjust the sampling ratio to strike an optimal balance between recommendation diversity and leveraging true popularity signals.
Summary updated