Shapley values for explaining adaptive recommendations in temporal hyperbolic graph neural networks
Recommender systems are widely used to help users navigate large and continuously evolving collections of items, such as films, products, and local businesses. In these settings, user preferences change over time, item relevance varies with recent interactions and trends, and user–item relationships may exhibit hierarchical or multilevel structures through genres, categories, and subcategories. Hyperbolic representation learning is well suited to such structures, whereas temporal and streaming methods are needed to adapt to changing preferences. A further challenge arises when recommendations are explained: the explanation should reflect the same model state that produced the recommendation rather than an outdated graph, embedding, or parameter configuration. This study presents T-HGNN-SV, a temporal hyperbolic recommender designed around explanation-state consistency. Its central contribution is the state-consistent integration of temporal graph adaptation, hyperbolic representation, ranking, and Shapley-based explanation rather than the independent novelty of each component. The model learns time-varying curvature from the observed graph state, applies recency-aware hyperbolic message passing, supports localized streaming updates, and uses hierarchy-aware scoring for multilevel item categories. Shapley attributions are estimated through Monte Carlo sampling, while a dependency-aware cache reuses previous marginal contributions only when their underlying model dependencies remain unchanged. T-HGNN-SV was evaluated on MovieLens-1 M, Amazon Electronics 5-core, and the Yelp Open Dataset, covering media, retail, and local-service recommendation. The model achieved the highest F1@10 across all three datasets and strong precision–recall performance, while not outperforming every comparison method on every individual metric. Ablation results show that hyperbolic geometry, curvature adaptation, temporal propagation, hierarchy-aware scoring, and localized updates provide complementary contributions. Streaming experiments further show that local updates substantially reduce adaptation cost while maintaining ranking quality close to full retraining. The explanation evaluation indicates stronger deletion, insertion, and temporal stability results than the evaluated explanation baselines under the selected masking procedure. A small exploratory user study also showed positive participant perceptions of explanation clarity, perceived trustworthiness, usefulness, completeness, and satisfaction, although these findings are limited to the evaluated sample. The reported Shapley attributions characterize model behavior under the specified player set and masking procedure and should not be interpreted as causal explanations of user preferences.
Authors
- Mohamed Lazaar (ORCID: https://orcid.org/0000-0003-0812-2574)
- Redwane Nesmaoui (ORCID: https://orcid.org/0000-0001-7675-3330)
- Mouad Louhichi (ORCID: https://orcid.org/0000-0002-6849-230X)
Institutions
- Mohammed V University (MA)
Publication Details
- Journal
- Discover Artificial Intelligence
- Published
- 2026-11-26
- DOI
- https://doi.org/10.1007/s44163-026-02832-6
- Primary Topic
- Recommender Systems and Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00