NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Unmasking Gender Bias in Recommendation Systems and Enhancing Category-Aware Fairness

Tahsin Alamgir Kheya, Mohamed Reda Bouadjenek, Sunil AryalarXiv 2025 · DOI

TL;DR

Standard fairness metrics in recommender systems ensure different user groups get equally accurate recommendations, but they completely miss whether those recommendations pigeonhole users into gender stereotypes. This paper introduces category-aware fairness metrics to track granular bias (like over-recommending romance movies to women) and proposes a regularization technique to mitigate it. The result is a more balanced recommendation engine that preserves accuracy while breaking down algorithmic filter bubbles.

What Problem Does This Paper Address?

Recommender systems heavily influence what we buy, watch, and read. Naturally, researchers want to ensure these systems are fair. Currently, the standard approach to "consumer-side fairness" is to balance overall utility metrics—like precision or recall—across demographic groups (e.g., ensuring the system is equally accurate for both male and female users).

However, the authors point out a massive loophole: a model can achieve perfect performance parity while serving highly stereotyped content. For example, a movie recommender might achieve identical Precision@10 scores for men and women, yet disproportionately recommend action movies to men and romance movies to women. This creates gender-based "filter bubbles," reinforcing societal stereotypes and limiting content diversity.

Figure 1: Comparison of action and romance movie recom- mendations among male and female users across four rec- ommendation algorithms, along with corresponding Preci- sion@10 values. The graphs highlight disparities in genre recommendations by gender, with romance movies being more frequently suggested to female users and action movies to male users, despite similar Precision@10 metrics.

Methods

To unmask this hidden bias, the authors propose a suite of category-aware fairness metrics divided into two flavors:

  1. Non-ranking metrics: Category Coverage (CC) measures the proportion of recommended items in a specific category relative to all recommendations, while Relative Category Representation (RCR) compares this to the actual distribution of categories in the dataset.
  2. Rank-based metrics: Metrics like Category Mean Average Precision (CMAP) and Category Discounted Cumulative Gain (CDCG) factor in item position, penalizing models that push stereotypical content to the very top of a user's feed.

Using these metrics, they define a Gender Balance Score (GBS), which calculates the absolute difference in category distributions between male and female user groups.

To fix the bias, they introduce an in-processing regularization technique. They inject the GBS of Category Coverage directly into the model's loss function during training:

$$L = \alpha L_{FairGenreGender} + (1-\alpha) L_{Recommendation}$$

By tuning the hyperparameter $\alpha$, engineers can precisely calibrate the trade-off between pure recommendation accuracy and category-level fairness.

Datasets

The authors evaluated their approach on three widely used real-world datasets:

  • MovieLens 100K: 943 users, 1,349 movies, across 18 genres.
  • MovieLens 1M: A larger scale version with 6,040 users and nearly 1 million interactions.
  • Yelp: 1,316 users and 1,272 businesses mapped to 21 condensed categories (e.g., Coffee, Tea & Desserts, Travel & Transportation).

Key Insights and Ideas

  • Accuracy $\neq$ Fairness: Parity in standard metrics (NDCG, Precision) is a false security blanket. Granular, category-level evaluation is mandatory to detect subtle demographic pigeonholing.
  • Expressive Models Amplify Bias: Complex deep learning models like Neural Matrix Factorization (NeuMF) are excellent at finding intricate patterns, but they are also the most prone to capturing and amplifying historical, stereotypical correlations hidden in the data.
  • Fairness as a Regularizer: Interestingly, optimizing for fairness doesn't always ruin performance. In some cases, the fairness penalty acts as a form of regularization that prevents the model from overfitting to noisy historical interactions, maintaining or even slightly boosting recommendation quality.

Key Results

The authors tested five baseline recommendation models (UserKNN, ItemKNN, Matrix Factorization, VAE-CF, and NeuMF). NeuMF consistently exhibited the highest gender bias on larger datasets.

When applying their category-aware regularization technique:

  • Massive Bias Reduction: For the NeuMF model, gender bias dropped by an average of 77% on MovieLens 100K, 53% on MovieLens 1M, and 50% on Yelp across all six proposed metrics.
  • Minimal Performance Trade-off: This dramatic drop in bias came with negligible degradation in overall recommendation performance (measured via Hit Ratio and NDCG).
  • Outperforming Baselines: The proposed method achieved a significantly better balance between fairness and accuracy compared to existing fairness-aware frameworks like BeyondParity and SM-GBiasedMF.

Limitations and Future Work

The primary limitation acknowledged by the authors is their focus on binary gender identities due to dataset constraints. Real-world applications will need to extend these frameworks to accommodate multi-valued and non-binary sensitive attributes.

For future work, the authors plan to adapt these metrics to evaluate provider-side fairness (e.g., ensuring fair exposure for different item brands or merchants) and to mitigate popularity bias (the tendency of algorithms to only recommend blockbuster items).

Summary updated

BibTeX
@misc{kheya2025unmasking,
  author = {Tahsin Alamgir Kheya and Mohamed Reda Bouadjenek and Sunil Aryal},
  title = {{Unmasking Gender Bias in Recommendation Systems and Enhancing Category-Aware Fairness}},
  year = {2025},
  eprint = {2502.17921},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.17921},
}
Figure