TL;DR
CPFair introduces a novel re-ranking framework for recommender systems that jointly optimizes for both consumer (user) and producer (item) fairness. By formulating the problem as a flexible optimization task, the authors demonstrate that it is possible to significantly reduce systemic biases in two-sided marketplaces without sacrificing—and sometimes even improving—overall recommendation accuracy.
What Problem Does This Paper Address?
Most recommender systems (RS) operate in two-sided marketplaces, connecting consumers (users) with producers (item providers). However, standard algorithms often suffer from two distinct types of bias:
- Consumer Unfairness: Active users (who interact more) often receive much higher quality recommendations than inactive users.
- Producer Unfairness: A small number of "short-head" (popular) items receive the vast majority of exposure, while "long-tail" items are ignored, even if they are relevant.
As shown in Figure 2, the vast majority of existing research treats these concerns in isolation.
The authors argue that optimizing for only one side can inadvertently harm the other. For example, pushing for item exposure (producer fairness) might lead to irrelevant recommendations for users, while focusing solely on user satisfaction might further entrench the dominance of popular items.
Methods
The authors propose CPFair, a model-agnostic, post-hoc re-ranking approach. Instead of training a new model from scratch, CPFair takes the output of any standard recommendation algorithm and re-orders the results to satisfy fairness constraints.
The Optimization Framework
The core of CPFair is a joint objective function that seeks to:
- Maximize Relevance: Keep the items most likely to be liked by the user at the top.
- Minimize DCF (Deviation from Consumer Fairness): Reduce the gap in recommendation quality (e.g., nDCG) between active and inactive user groups.
- Minimize DPF (Deviation from Producer Fairness): Reduce the gap in exposure between popular (short-head) and unpopular (long-tail) items.
The Algorithm
While the problem is initially formulated as a Mixed-Integer Linear Program (MILP)—which is generally NP-hard—the authors prove that for this specific ranking task, the problem can be reduced to a variation of the Knapsack problem. They provide a greedy algorithm that finds the optimal solution in polynomial time ($O(n \times N)$), making it highly scalable for real-world production systems.
Datasets
The authors evaluated their method using 8 real-world datasets spanning diverse domains:
- Movies: MovieLens
- Opinion/Social: Epinion, Foursquare
- Location: Gowalla
- Music: LastFM
- E-commerce: BookCrossing, AmazonToy, AmazonOffice
These datasets include both explicit (ratings) and implicit (clicks/interactions) feedback.
Key Insights and Ideas
- Unilateral Fairness is a Zero-Sum Game: The experiments show that optimizing only for users (C-fairness) often creates a massive bias against long-tail suppliers. Conversely, optimizing only for producers (P-fairness) can significantly degrade overall system accuracy.
- The "Active User" Advantage: Baseline models like NeuMF and VAECF show a stark disparity; active users might see a normalized nDCG near 1.0, while inactive users hover around 0.6 (see Figure 3a/b).
- Popularity Bias is Self-Reinforcing: Even when long-tail items are relevant, standard models tend to over-recommend popular items because they have more training data, leading to a "rich get richer" cycle for producers.
- Joint Optimization is the "Sweet Spot": By balancing both objectives, CPFair achieves a better trade-off than either single-sided approach.
Key Results
The results, averaged across 32 experimental setups (8 datasets × 4 baseline models), are summarized in Figure 1.
- Fairness Gains: CPFair (labeled 'CP') significantly reduced the combined unfairness metric (mCPF) compared to the fairness-unaware baseline (N).
- Accuracy Preservation: Unlike pure producer-fairness methods (P) which saw accuracy drop, CPFair actually increased average accuracy (from 0.2832 to 0.2868) and improved novelty.
- Robustness: The method proved effective across different base algorithms, including traditional matrix factorization (PF, WMF) and deep learning models (NeuMF, VAECF).
Limitations and Future Work
- Binary Grouping: The current work simplifies stakeholders into binary groups (active vs. inactive users, short-head vs. long-tail items). Real-world scenarios often involve multiple protected attributes (gender, race, etc.) or more granular segments.
- Parity-Oriented Fairness: The authors focused on "parity" (equalizing outcomes). They acknowledge that other fairness notions, such as proportionality to catalog size or relevance, are worth exploring.
- Dynamic Settings: The re-ranking is performed on a static snapshot. Future work could investigate how these fairness constraints perform in dynamic environments where item popularity and user interests shift rapidly over time.
Summary updated