TFROM: A Two-sided Fairness-Aware Recommendation Model for Both Customers and Providers

Yao Wu, Jian Cao, Guandong Xu, Yudong Tan

Introduction

In modern digital marketplaces like Amazon or Airbnb, recommendation systems must navigate the complex needs of three distinct stakeholders: the platform, the customers, and the providers. Traditional algorithms focus almost exclusively on maximizing customer utility through personalization. However, this often creates a "rich-get-richer" dynamic where a small subset of popular providers dominates exposure, leaving niche or new providers invisible. Conversely, enforcing strict provider fairness can lead to a significant drop in recommendation relevance for users.

This paper introduces TFROM (Two-sided Fairness-aware Recommendation Model), a post-processing framework designed to balance these competing interests by treating recommendation as a multi-objective optimization problem.

The TFROM Framework

TFROM is designed as a flexible layer that can be applied to any existing recommendation engine. It is offered in two variants: TFROM-offline for batch processes like email marketing, and TFROM-online for real-time requests. The model addresses two primary dimensions of fairness:

  1. Provider Fairness: TFROM supports both Uniform Fairness (exposure proportional to item count) and Quality Weighted Fairness (exposure proportional to inherent item relevance).
  2. Customer Fairness: Rather than focusing on average quality, the authors define customer fairness as the equal distribution of quality loss. If a system must introduce less-relevant items to satisfy provider exposure, TFROM ensures that this "personalization pain" is distributed evenly across the user base rather than penalizing a specific group of users.

Customer Fairness and Quality Distribution

A core insight of the paper is that fairness for customers is best measured by the variance in recommendation quality. If every user experiences a minor, equal decrease in relevance to support a healthy provider ecosystem, the system is considered fairer than one where most users receive perfect results while a minority receives poor recommendations.

Variance of recommendation quality (NDCG) across users.

As shown in the experimental results, TFROM variants successfully minimize the variance of recommendation quality (NDCG) compared to baseline methods like "all_random," ensuring a consistent experience across the user base even while adjusting for provider equity.

Achieving Provider Equity

TFROM utilizes a greedy heuristic to solve the underlying NP-hard optimization problem. For each recommendation slot, the model prioritizes users who currently have the highest recommendation quality and assigns them items from under-exposed providers. This approach effectively flattens the exposure curve.

Variance of provider exposure across different k values.

In evaluations using the Ctrip dataset, the standard "Top-k" approach exhibited exponential inequality among providers. In contrast, TFROM achieved near-zero variance in provider exposure, as illustrated in the figure above, significantly outperforming baselines that ignore user preferences.

Key Results and Insights

  • Quality Preservation: TFROM-offline maintained high recommendation quality, typically seeing less than a 10% loss in NDCG while achieving its fairness goals.
  • Position Sensitivity: The model incorporates a logarithmic discount (similar to DCG) to account for the fact that top-of-list positions are significantly more valuable for providers than lower positions.
  • Online Stability: Simulations of the online model showed that while customer fairness fluctuates initially as the system learns, it stabilizes over time, making it a viable candidate for long-term production environments.

Conclusion and Future Work

TFROM demonstrates that two-sided fairness is achievable without catastrophic losses in user experience. While the current model uses a heuristic approach and assumes static user preferences, it provides a robust foundation for future research into dynamic preference shifts and the "cold start" problem for new providers in a fair ecosystem.

Summary updated

BibTeX
@inproceedings{wu2021tfrom,
  author = {Yao Wu and Jian Cao and Guandong Xu and Yudong Tan},
  title = {{TFROM: A Two-sided Fairness-Aware Recommendation Model for Both Customers and Providers}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2021},
  doi = {10.1145/3404835.3462882},
}
Figure