Abstract
Graph Neural Networks (GNNs) have revolutionized recommender systems by effectively capturing high-order relationships between users and items. However, their complex architectures often result in "black-box" models that lack transparency. This paper introduces GREASE (Generate REfactual And System Explainer), a model-agnostic framework designed to provide intuitive, user-centric explanations for GNN-based recommendations. By combining local surrogate modeling with factual and counterfactual reasoning, GREASE identifies the minimal set of user interactions responsible for a specific recommendation. Experimental results on real-world datasets demonstrate that GREASE significantly outperforms existing baselines in both explanation validity and conciseness.
Introduction
As Graph Neural Networks (GNNs) become the standard for modern recommender systems, the need for interpretability has grown increasingly urgent. While GNNs excel at modeling the intricate web of user-item interactions, they offer little insight into why a specific item is recommended. This lack of transparency is particularly problematic in high-stakes or highly personalized domains.
Existing research into GNN interpretability often suffers from two primary issues:
- Task Mismatch: Most methods are designed for node or graph classification (e.g., identifying toxic molecules), whereas recommender systems are built on ranking tasks.
- Audience Mismatch: Explanations frequently target data scientists with technical weights and gradients, rather than providing human-understandable reasons to the end-user.
To bridge these gaps, we present GREASE, a framework that generates both factual ("Why was this recommended?") and counterfactual ("What would change this?") explanations tailored for ranking-based recommendations.
The GREASE Framework
GREASE operates in a model-agnostic, black-box setting, meaning it does not require access to the internal parameters or gradients of the underlying recommender system. The framework follows a three-stage pipeline:
1. Local Surrogate Modeling
Because the target GNN is opaque, GREASE first constructs a local "surrogate" model. It extracts the $l$-hop neighborhood of a specific user-item pair and trains a Relational Graph Convolutional Network (R-GCN) to mimic the behavior of the original GNN within that local subgraph. This distillation allows GREASE to approximate the complex global logic of the recommender using a simpler, more manageable local structure.
2. Factual Reasoning (Sufficiency)
Factual explanations aim to identify the smallest set of past interactions that are sufficient to maintain an item's position in the Top-K recommendation list. For example, a factual explanation might state: "You were recommended this movie because you previously watched and liked these three specific films."
3. Counterfactual Reasoning (Necessity)
Counterfactual explanations identify the necessary interactions that, if removed, would cause the item to drop out of the Top-K list. This provides a different perspective on causality: "If you hadn't interacted with this specific artist, this album would not have been recommended to you."
Optimization and Conciseness
Technically, GREASE achieves these explanations by learning an edge mask (a perturbation matrix). The system optimizes this mask using a ReLU-based loss function specifically designed for ranking. To ensure the explanations are digestible for humans, an $L_1$-norm penalty is applied during optimization, forcing the system to find the most concise set of edges (typically 6–10) that satisfy the explanation goal.
Experimental Evaluation
The researchers evaluated GREASE using two prominent real-world datasets:
- LastFM: A music recommendation dataset (1,801 users, 7,432 items).
- Yelp: A business review dataset (31,668 users, 38,048 items).
GREASE was tested against two state-of-the-art GNN recommender models, LightGCN and NGCF, and compared against baselines such as Random edge perturbation and PersonalRank.
Key Results
- Improved Validity: On the LastFM dataset, GREASE improved the validity of factual explanations by up to 15% and counterfactual explanations by 21% compared to the PersonalRank baseline.
- Efficiency and Conciseness: GREASE consistently achieved higher validity with a lower Explanation Cost (EC). This indicates that the framework identifies more influential interactions using fewer edges, making the insights more useful for end-users.
- Robustness: The framework maintained high performance across various "Top-K" settings ($k=10, 15, 20$), proving its effectiveness regardless of the recommendation window size.
Discussion and Limitations
While GREASE represents a significant step forward in making GNN recommendations interpretable, several areas for future work remain. Currently, factual and counterfactual explanations are generated separately; a unified framework that provides both simultaneously could offer a more holistic view. Additionally, the computational cost of training a surrogate model for every user-item pair may be high at massive scales. Finally, while the mathematical metrics are strong, qualitative user studies would further validate the perceived helpfulness of these edge-based explanations for non-technical users.
Conclusion
GREASE offers a robust, model-agnostic solution for explaining GNN-based recommendations. By focusing on the nuances of ranking rather than classification and prioritizing concise, interaction-based feedback, GREASE provides a path toward more transparent and trustworthy AI-driven discovery.
Summary updated