Balancing Accuracy and Fairness for Interactive Recommendation with Reinforcement Learning

Weiwen Liu, Feng Liu, Ruiming Tang, Ben Liao, Guangyong Chen, Pheng-Ann HengarXiv 2021

Introduction

Interactive Recommender Systems (IRS), such as those powering video platforms and news feeds, must continuously adapt to user feedback. However, a fundamental tension exists between maximizing immediate user engagement (accuracy) and ensuring equitable representation of different item groups (fairness). Traditional fairness-aware models often treat fairness as a static constraint, which can lead to rigid recommendations that alienate users.

This paper introduces FairRec, a reinforcement learning (RL) framework that treats fairness as a long-term optimization goal. By "amortizing" fairness over time, the system can prioritize accuracy when necessary and compensate for fairness as user interests diversify. Furthermore, FairRec shifts the focus from simple exposure fairness to activity fairness, rewarding the system for actual user conversions (e.g., clicks or funding) rather than just impressions.

The FairRec Framework

FairRec is built on an Actor-Critic architecture designed to dynamically balance the accuracy-fairness trade-off. The core innovation lies in its personalized, fairness-aware state representation and its dual-objective reward function.

Personalized State Representation

The state input $h$ to the RL agent is a concatenation of two distinct vectors:

  1. User Preference State (UPS): This component utilizes an attention mechanism to weigh a user’s recent interactions at both the individual item level and the group level. This allows the model to capture both specific tastes and broader category interests.
  2. Fairness State (FS): This is a latent representation of the current allocation of "desired activities" across different demographic or category groups, allowing the agent to track which groups are currently under-represented in terms of actual user engagement.
The FairRec Actor-Critic architecture, illustrating the integration of user preference and fairness states.

Reward Mechanism

Unlike standard RL agents that only seek to maximize clicks, the FairRec agent is rewarded based on a combination of interaction and fairness gain. If a user interacts with a recommended item, the reward is calculated as $1 + \text{fairness gain}$. Items from under-represented groups provide a higher fairness gain, incentivizing the agent to promote diversity without sacrificing relevance. If no interaction occurs, the agent receives a penalty ($-\lambda$).

Experimental Evaluation

The model was evaluated on two datasets: MovieLens (with 10 synthesized item groups) and Kiva.org (a microlending dataset where groups are defined by the borrower's geographical region). The goal in Kiva is to ensure borrowers from different regions have equitable access to funding.

Key Results

FairRec was compared against six baselines, including static deep learning models (DeepFM) and state-of-the-art RL frameworks (DRR). As shown in the results table, FairRec consistently outperformed all baselines across three key metrics:

  • Accuracy (CVR): FairRec achieved the highest Conversion Rate, outperforming the strongest baseline (DRR) by 1.3% on MovieLens and 5.1% on Kiva.
  • Fairness (PropFair): It maintained superior fairness scores, showing a 2.2% to 2.3% improvement over DRR.
  • Unit Fairness Gain (UFG): This metric measures the efficiency of the trade-off (fairness gained per unit of accuracy lost). FairRec improved UFG by 11% on MovieLens and 13.4% on Kiva, demonstrating a more graceful balance than existing methods.
Performance comparison of FairRec against state-of-the-art baselines on MovieLens and Kiva datasets.

Discussion and Future Work

The success of FairRec highlights the importance of treating fairness as a dynamic, cumulative reward rather than a static constraint. By incorporating group-level embeddings, the model acts as a global regularizer, helping it generalize better for under-represented categories.

While effective, future work could address the challenges of scaling RL to millions of items in real-time and exploring how the framework handles overlapping or continuous protected attributes. Additionally, extending the model to recommend lists of items (slate recommendation) rather than single items remains a promising direction for enhancing real-world applicability.

Summary updated

BibTeX
@misc{liu2021balancing,
  author = {Weiwen Liu and Feng Liu and Ruiming Tang and Ben Liao and Guangyong Chen and Pheng-Ann Heng},
  title = {{Balancing Accuracy and Fairness for Interactive Recommendation with Reinforcement Learning}},
  year = {2021},
  eprint = {2106.13386},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.13386},
}
Figure