Counterfactually Evaluating Explanations in Recommender Systems

Yuanshun Yao, Chong Wang, Hang LiarXiv 2022

Abstract

Modern recommender systems face an increasing need to explain their recommendations. Despite considerable progress in this area, evaluating the quality of explanations remains a significant challenge for researchers and practitioners. Prior work mainly conducts human study to evaluate explanation quality, which is usually expensive, time-consuming, and prone to human bias. In this paper, we propose an offline evaluation method that can be computed without human involvement. To evaluate an explanation, our method quantifies its counterfactual impact on the recommendation. To validate the effectiveness of our method, we carry out an online user study. We show that, compared to conventional methods, our method can produce evaluation scores more correlated with the real human judgments, and therefore can serve as a better proxy for human evaluation. In addition, we show that explanations with high evaluation scores are considered better by humans. Our findings highlight the promising direction of using the counterfactual approach as one possible way to evaluate recommendation explanations.

1. Introduction

The demand for explainability in modern recommender systems is driven by user trust, legal requirements, and the need for system debugging. However, evaluating these explanations currently relies on expensive and time-consuming human studies, which are often prone to biases. While fields like Natural Language Processing (NLP) and Information Retrieval (IR) have established automated metrics (e.g., BLEU, NDCG), explainable recommendation lacks a standard proxy metric that aligns with human judgment. This paper introduces Counterfactual Proximity (CF), an offline metric that automates evaluation by measuring the impact of removing explanatory items from a user's history on the resulting recommendation.

2. Methodology: Counterfactual Proximity

The proposed method leverages counterfactual logic—reasoning about "what-if" scenarios. An explanation, defined as a set of items from a user's history, is considered counterfactual if the target recommendation would not have occurred in its absence.

To quantify this, the CF metric measures the change in the recommendation list after retraining the model without the items in the explanation. As illustrated in Figure 1, the score is derived from the difference between the predicted score of the recommended item and a benchmark item (either the new top-1 or the item immediately following it).

Illustration of Counterfactual Proximity (CF) calculation logic across two scenarios.

To address the computational cost of retraining, an approximate version ($CF^A$) is introduced. This approach utilizes a "warm-start" method, finetuning only user-specific factors via Alternating Least Squares (ALS) to significantly reduce calculation time.

3. Experimental Evaluation

The metric was evaluated using the MovieLens (ml-latest-small) dataset, focusing on item-based collaborative filtering. A user study involving 400 participants on Amazon Mechanical Turk compared CF and $CF^A$ against traditional baselines: Item Similarity and Genre Overlap.

4. Key Findings

The experimental results demonstrate that CF is a robust proxy for human judgment:

  • Human Correlation: CF and $CF^A$ showed significantly higher correlations with human ratings in dimensions such as Explainability, Informativeness, and Trustworthiness compared to baselines (correlation coefficients often >0.4 vs. ~0.2-0.3).
  • Predictive Accuracy: Linear regression analysis confirmed that CF scores are superior predictors of human satisfaction (lower Mean Squared Error) than traditional similarity-based metrics.
  • Psychological Alignment: Counterfactual reasoning aligns with natural human cognitive patterns, making such explanations more satisfying to users.
  • The Transparency Exception: Interestingly, "Genre Overlap" outperformed CF in the Transparency dimension. User feedback suggests that transparency is often equated with "intuitiveness"—matching genres feel more understandable even if they are not the mathematical cause of the recommendation.

5. Conclusion and Future Work

Counterfactual Proximity provides a scalable, automated alternative to human-centric evaluation of recommendation explanations. While computational overhead remains a challenge for large-scale systems, the alignment of CF with human judgment marks a significant step forward. Future research will explore optimization through machine unlearning and the applicability of counterfactual evaluation to social and natural language-based explanation frameworks. Additionally, moving from static survey-based evaluation to live, interactive platforms is a logical next step.

Summary updated

BibTeX
@misc{yao2022counterfactually,
  author = {Yuanshun Yao and Chong Wang and Hang Li},
  title = {{Counterfactually Evaluating Explanations in Recommender Systems}},
  year = {2022},
  eprint = {2203.01310},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.01310},
}
Figure