On the Relationship between Counterfactual Explainer and Recommender: A Framework and Preliminary Observations

Gang Liu, Zhihan Zhang, Zheng Ning, Meng Jiang · DOI

Introduction

Modern recommender systems, particularly those utilizing Deep Neural Networks (DNNs), often operate as "black boxes." While they achieve high predictive accuracy, they lack transparency regarding why specific items are recommended. Researchers from the University of Notre Dame address this by investigating counterfactual explanations—identifying the minimal set of user actions that, if absent, would lead to a different recommendation.

Counterfactual Explanations: A New Paradigm

A counterfactual explanation provides actionable feedback. For instance, if a system recommends The Godfather II, a counterfactual explanation might identify that watching The Godfather was the primary driver. Removing that single interaction would change the recommendation to a different film, such as Apt Pupil.

Visualizing a counterfactual explanation: removing a specific past action (The Godfather) to trigger a different recommendation (Apt Pupil).

A Unified Framework for Explainability

The authors propose a general framework to evaluate explainers across different recommender models. This framework consists of two stages:

  1. Influence Score Calculation: Determining the impact of a past interaction. Methods include Gradient-Based approaches (like ACCENT and FIA), which use model internals to estimate changes, and Data-Based approaches (like DB-FM), which involve retraining the model on modified datasets.
  2. Search Algorithm: Identifying the "minimal set" of items to remove. This can be done via a simple Greedy Search or a more complex Iterative Greedy Search that seeks a global minimum.

The Accuracy-Explainability Trade-off

The study's most significant finding is the inverse relationship between a recommender's accuracy and its explainability. As models become more accurate (lower Mean Squared Error or MSE), they become increasingly "stubborn."

The trade-off between accuracy and explainability: as the recommender's error (MSE) decreases, the success rate of the explainer (ESP) also declines.

As shown in the experimental results, when the model's MSE decreases, the Explanation Success Percentage (ESP) also drops. Highly optimized models learn user patterns so deeply that it requires a much larger set of removed data points to alter their output. This suggests that the "smarter" a recommender gets, the harder it is to explain its logic through simple counterfactuals.

Key Results and Future Directions

The ACCENT model, combining gradient-based influence with iterative greedy search, emerged as the top performer, achieving a 54% ESP on the MovieLens 100K dataset. However, performance dropped significantly on sparser datasets like Yelp, where ESP fell to approximately 27-29%.

The research highlights a critical gap: current data-based methods for non-gradient models (like Bayesian systems) remain weak. Future work must focus on developing robust explainers for non-differentiable models and establishing finer-grained metrics that account for human interpretability and causal logic.

Summary updated

BibTeX
@misc{liu2022relationship,
  author = {Gang Liu and Zhihan Zhang and Zheng Ning and Meng Jiang},
  title = {{On the Relationship between Counterfactual Explainer and Recommender: A Framework and Preliminary Observations}},
  year = {2022},
  eprint = {2207.04317},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.04317},
}
Figure