FairMatch: A Graph-based Approach for Improving Aggregate Diversity in Recommender Systems

Masoud Mansoury, Himan Abdollahpouri, Mykola Pechenizkiy, Bamshad Mobasher, Robin Burke · DOI

Introduction

In modern recommender systems, the "Matthew Effect"—where popular items become increasingly dominant while niche content remains obscured—presents a significant challenge. While individual recommendation lists may appear diverse, the system-wide "aggregate diversity" often suffers. This popularity bias limits user discovery, creates unfairness for smaller content suppliers, and reduces the overall health of the item catalog.

FairMatch is a graph-based post-processing algorithm designed to mitigate these issues. By framing recommendation selection as a Maximum Flow problem on a bipartite graph, FairMatch significantly enhances item coverage and visibility across the catalog with minimal impact on recommendation accuracy.

The Problem: Popularity Bias and Aggregate Diversity

Most recommendation algorithms prioritize accuracy, often leading them to recommend a narrow subset of "short-head" items. This results in low aggregate diversity: even if every user receives a varied list, the system may only be recommending a tiny fraction of the total available items to the entire user base.

This lack of diversity has three primary consequences:

  1. Stagnant User Experience: Users are less likely to discover novel or niche content.
  2. Supplier Inequity: Niche creators and smaller vendors are effectively marginalized by the algorithm's preference for popular items.
  3. Systemic Fragility: The catalog becomes stagnant as only a fraction of items ever receive visibility.

Methodology: The FairMatch Framework

FairMatch operates as a post-processing layer, meaning it can be integrated with existing recommendation engines like Matrix Factorization or K-Nearest Neighbors (KNN) without requiring model retraining.

1. Graph Construction

The process begins with a "long list" of candidate recommendations for each user (e.g., the top 100 items). FairMatch constructs a bipartite graph where one set of nodes represents users and the other represents items.

2. Weighting for Balance

Edges between users and items are weighted to balance two competing objectives:

  • Relevance: The predicted preference of a user for an item.
  • Visibility: How frequently an item has already been recommended across the system.

A hyperparameter, $\alpha$, serves as a "control dial," allowing system designers to tune the trade-off between accuracy (high $\alpha$) and diversity (low $\alpha$).

3. Maximum Flow Optimization

The core of FairMatch involves treating the selection of recommendations as a flow problem. By introducing a source node connected to items and a sink node connected to users, the algorithm employs the Push-relabel algorithm to find the maximum flow. This ensures that the selection process maximizes the utilization of under-recommended items while satisfying user requirements.

4. Iterative Refinement

FairMatch iteratively identifies high-quality, low-visibility items and adds them to the final recommendation lists. Once a user's list is filled or an item's visibility reaches a certain threshold, the corresponding nodes are removed, and the process repeats until all final recommendation slots (e.g., Top-10) are filled.

Experimental Evaluation

The authors evaluated FairMatch using two benchmark datasets: Epinions (consumer reviews) and MovieLens 1M (movie ratings). FairMatch was compared against standard baselines and state-of-the-art fairness methods like FA*IR and Discrepancy Minimization (DM).

Key Findings

  • Significant Coverage Gains: On the Epinions dataset, FairMatch increased item coverage from 46.4% to 98.1% when using a UserKNN base model, while maintaining competitive precision.
  • Improved Entropy: FairMatch consistently outperformed baselines in Entropy scores, indicating a more uniform distribution of recommendations across the item catalog.
  • Accuracy-Diversity Trade-off: While increasing diversity often comes at the cost of precision, FairMatch demonstrated that these losses are often negligible or comparable to other fairness-focused methods, but with vastly superior long-tail coverage.

Conclusion and Future Work

FairMatch provides a flexible, plug-and-play solution for improving aggregate diversity in recommender systems. By leveraging graph theory and maximum flow optimization, it offers a robust mechanism to combat popularity bias without sacrificing the core utility of the recommendation engine.

Future research may focus on:

  • Incorporating Training Bias: Explicitly accounting for item popularity in the original training data to further reduce bias.
  • Computational Efficiency: Optimizing the iterative Max Flow process for real-time, large-scale applications.
  • Rank-Aware Optimization: Refining the algorithm to consider the specific position of items within the Top-N lists to further enhance user satisfaction.

Summary updated

BibTeX
@inproceedings{mansoury2020fairmatch,
  author = {Masoud Mansoury and Himan Abdollahpouri and Mykola Pechenizkiy and Bamshad Mobasher and Robin Burke},
  title = {{FairMatch: A Graph-based Approach for Improving Aggregate Diversity in Recommender Systems}},
  booktitle = {UMAP},
  year = {2020},
  doi = {10.1145/3340631.3394860},
}
Figure