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

Explainable Fairness in Recommendation

Yingqiang Ge, Juntao Tan, Yan Zhu, Yinglong Xia, Jiebo Luo, Shuchang Liu, Zuohui Fu, Shijie Geng, Zelong Li, Yongfeng Zhang · DOI

TL;DR

This paper introduces "Explainable Fairness in Recommendation" (CEF), a novel framework that goes beyond simply detecting unfairness in recommender systems. CEF aims to identify why a system is unfair by pinpointing specific input features that contribute to disparities, offering actionable insights for improving fairness without significantly sacrificing recommendation quality.

What Problem Does This Paper Address?

Recommender systems (RS) are ubiquitous, but their fairness is a growing concern. While much research has focused on quantifying fairness and building fairer models, a critical gap remains: understanding the root causes of unfairness. Why do certain recommendation systems exhibit biases (e.g., popularity bias, where popular items get disproportionately more exposure)? This lack of understanding hinders effective model improvement. Existing explainability methods, often borrowed from classification tasks, struggle with the scale and complexity of RS, and crucially, they often fail to account for the inherent trade-off between fairness and recommendation utility. This paper tackles this challenge by proposing a method to explain fairness in RS, specifically focusing on the fairness-utility trade-off.

Methods

The core of the proposed solution is the Counterfactual Explainable Fairness (CEF) framework. CEF operates on feature-aware recommender systems, where user and item features are explicitly modeled. The key idea is to use counterfactual reasoning: for each feature, CEF finds the "minimal" change to that feature that would shift the recommendation results towards a desired level of fairness.

Here's a breakdown of the CEF approach:

  1. Feature Generation: User-feature attention matrices and item-feature quality matrices are constructed from review data using sentiment analysis.
  2. Feature-Aware Recommender System: A standard deep neural network model is trained to predict user-item interaction scores based on these feature matrices.
  3. Counterfactual Optimization: For each feature, CEF formulates an optimization problem. The goal is to find a small perturbation (change) to a feature's values across all users or items that minimizes a chosen disparity metric (like demographic parity or exact-K fairness) while also constraining the magnitude of the perturbation. This ensures that the change is "minimal" and doesn't drastically alter the original input.
  4. Explainability Score: After finding the optimal counterfactual change for a feature, an explainability score is calculated. This score balances two factors:
  5. Validity: How much the feature's perturbation improves fairness.
  6. Proximity: How large the perturbation is (a measure of how much the original input was changed). This score helps rank features by their ability to improve fairness while maintaining utility.

Datasets

The authors evaluated their method on three real-world datasets:

  • Yelp: Contains user reviews for various businesses.
  • Amazon: A collection of user reviews across different product categories. The paper specifically uses the "CDs & Vinyl" and "Electronics" sub-datasets.

These datasets were preprocessed by removing users and items with fewer than 20 reviews to handle sparsity. The last 5 interacted items were used for testing, and the rest for training. For fairness evaluation, items were split into "popular" (top 20% by interaction count) and "long-tail" (remaining 80%) groups.

Key Insights and Ideas

  • Beyond Detection: Understanding the "Why": The most significant insight is the shift from simply detecting unfairness to explaining its causes. CEF provides concrete features that, when modified, can improve fairness, offering a direct path for intervention.
  • Fairness-Utility Trade-off is Crucial: CEF explicitly models and balances the trade-off between improving fairness and maintaining recommendation performance. This is a critical aspect often overlooked by methods that focus solely on fairness.
  • Counterfactuals as Explanations: The use of counterfactual reasoning is a powerful way to identify features that are "responsible" for disparities. By asking "what if this feature were slightly different?", CEF reveals its impact.
  • Feature-Level Explanations are Actionable: Identifying specific features (e.g., "meal," "cheese," "dish" for restaurant recommendations) provides engineers with tangible levers to adjust their models.

Key Results

  • Superior Fairness-Utility Trade-off: CEF consistently outperformed baseline methods (Random, Popularity-based, EFM, Shapley Values) in achieving a better fairness-utility trade-off across all tested datasets and recommendation list lengths. This is visualized through accuracy-fairness trade-off curves, where CEF's curves are generally closer to the ideal upper-right corner.
  • Significant Fairness Improvement with Minimal Performance Drop: When using CEF-generated explanations to adjust recommendations, the paper reports substantial improvements in fairness metrics (e.g., increased long-tail rate) with only minor decreases in recommendation performance (NDCG, F1). For instance, on Yelp, CEF resulted in a 13.431% increase in long-tail rate at @5 with only a 0.851% drop in NDCG@5.
  • Baselines Struggle with Trade-off: Methods like Shapley Values (SV), which explain disparity alone, performed worse than CEF because they didn't account for the utility aspect. Popularity-based methods sometimes performed worse than random selection, highlighting the complexity of feature importance for fairness.
  • Ablation Studies Confirm Multi-faceted Approach: Experiments with CEF-User (only user features) and CEF-Item (only item features) showed that using both user and item features (the full CEF) yielded the best results, reinforcing the importance of a comprehensive approach.

Limitations and Future Work

  • Computational Cost: While CEF is more scalable than traditional Shapley value methods for RS, optimizing for each feature can still be computationally intensive.
  • Hyperparameter Tuning: The framework involves hyperparameters (e.g., λ for balancing terms, β for scoring) that require careful tuning.
  • Future Directions: The authors suggest exploring methods for generating multiple explanations simultaneously without relying on greedy scoring. They also propose investigating penalizing vectors to control the number of perturbed features, which could lead to more efficient explanations.

Summary updated

BibTeX
@inproceedings{ge2022explainable,
  author = {Yingqiang Ge and Juntao Tan and Yan Zhu and Yinglong Xia and Jiebo Luo and Shuchang Liu and Zuohui Fu and Shijie Geng and Zelong Li and Yongfeng Zhang},
  title = {{Explainable Fairness in Recommendation}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2022},
  doi = {10.1145/3477495.3531973},
}
Figure