Computer scientists have introduced T-HGNN-SV, an integrated temporal hyperbolic recommender framework designed to resolve a fundamental architectural inconsistency in dynamic recommendation systems by ensuring that recommendation rankings and their corresponding explanations always reflect the exact same evolving model state. Published in Discover Artificial Intelligence by researchers Redwane Nesmaoui, Mouad Louhichi, and Mohamed Lazaar, the system combines non-Euclidean representation learning, dynamic geometric curvature adaptation, recency-weighted message passing, and localized streaming graph updates with a version-controlled Shapley attribution mechanism. In modern dynamic environments such as media streaming services, online marketplaces, and local business directories, user preferences evolve over time, item relevance fluctuates according to emerging trends, and catalog items frequently exhibit complex, multilevel categorical hierarchies. While past research has explored hyperbolic representations to model hierarchy or applied temporal filtering to capture shifting interests, existing explainability frameworks often evaluate feature attributions against outdated graph snapshots, stale embeddings, or obsolete parameter weights. The authors demonstrate that coordinating temporal graph adaptation, hyperbolic geometry, candidate ranking, and Shapley-based explanations within a unified, state-consistent framework yields balanced ranking accuracy across diverse domains while preventing explanation staleness during continuous online operation.
Recommender platforms frequently struggle to represent user-item interactions that are simultaneously dynamic and hierarchically structured without introducing geometric distortion or excessive computational overhead. Real-world consumer interactions rarely conform to simple linear sequences or rigid tree structures; rather, products, films, and service venues occupy overlapping category paths and directed acyclic graphs spanning genres, brands, and subcategories. Euclidean representation spaces often require high dimensionality to embed such branching hierarchies without severe distortion, whereas hyperbolic geometry naturally accommodates expanding hierarchical volume with fewer dimensions because space expands exponentially away from the origin within the manifold. Simultaneously, temporal changes require systems to rapidly adjust latent representations as fresh interactions occur. However, when recommendation engines update user and item vectors in response to incoming events, conventional feature attribution methods risk referencing earlier model parameters or obsolete neighborhood configurations. This creates a state mismatch where an explanation delivered to a consumer or system auditor no longer explains the actual computational state that generated the recommendation score. T-HGNN-SV addresses this operational vulnerability by explicitly tying the valid lifetime of computed feature attributions to the specific structural, geometric, and parameter dependencies underlying the recommendation model.
At the foundation of the T-HGNN-SV architecture is representation learning conducted inside the d-dimensional Poincaré ball endowed with time-varying curvature magnitude. The hyperbolic distance between points reflects structural hierarchy, where nodes placed further from the center exhibit greater relative distances, effectively capturing branching relationships with minimal geometric distortion. Rather than enforcing an arbitrary static curvature across all temporal windows, T-HGNN-SV incorporates a dynamic curvature learning mechanism that learns the curvature parameter from the observed graph state. For each temporal interval, a graph pooling operation aggregates degree distributions, relation types, node attributes, and interaction timestamps into a graph summary vector. A dedicated neural network maps this structural summary through an unconstrained scalar and a bounded sigmoid function to determine the positive curvature magnitude, constrained between defined minimum and maximum bounds to prevent numerical instability near the boundary of the Poincaré ball. To prevent erratic structural oscillations between consecutive temporal windows, the training protocol applies an explicit curvature smoothness regularization loss that penalizes large step changes. When curvature updates occur across global intervals, existing user, item, and category embeddings are mapped through the origin tangent space via logarithmic and exponential operations, maintaining embedding direction and tangent magnitude while preserving geometric stability.
Information propagation across the temporal interaction graph occurs via recency-aware hyperbolic message passing designed to account for interaction decay over time. To prevent future information leakage, the system constructs temporal heterogeneous graphs containing only events observed prior to the target prediction timestamp. For an interaction edge linking a user and an item, the model computes an exponential recency weight governed by a relation-specific decay coefficient that diminishes the relative influence of older historical events compared to recent actions. Attention logits are subsequently calculated within the tangent space using learnable relation transformation matrices and leaky rectified linear activation functions before incorporating the logarithmic recency factor. Normalized neighbor weights then aggregate projected neighborhood information across hyperbolic tangent spaces, followed by an exponential mapping back onto the Poincaré ball. A residual connection balances the updated message against the previous node embedding, and an explicit projection operator clips vector magnitudes to ensure embeddings remain strictly within the interior of the Poincaré ball and prevent numerical overflow. This mechanism allows the model to prioritize recent user tastes while preserving persistent historical preferences and multilevel category relationships.
To maintain high throughput on continuous data streams without prohibitive operational costs, T-HGNN-SV operates across two coordinated timescales: a slow global timescale and a fast local timescale. Periodic global optimization recomputes global parameters, executes comprehensive message passing across the entire active temporal window, and refines the learned curvature. In contrast, fast streaming updates process newly observed interactions individually without triggering full model retraining. When an incoming interaction arrives, the framework identifies the affected k-hop neighborhood surrounding the involved user and item nodes, leaving the broader graph and global curvature fixed. The system then applies recency-aware hyperbolic message passing strictly over this localized induced subgraph, applying gradient clipping and manifold projection to maintain representation stability. Because the worst-case size of an affected neighborhood can expand exponentially with network degree, the neighborhood radius k is constrained to small values, ensuring that streaming updates remain computationally efficient. This localization reduces single-event adaptation costs to scaling linearly with the size and edge count of the local neighborhood, allowing the model to adapt within milliseconds while postponing full model retraining until accumulated drift surpasses predefined performance boundaries.
The central methodological contribution of T-HGNN-SV is the synchronization of this localized streaming adaptation with an incremental, dependency-aware explanation cache. The explanation module computes Shapley values, which distribute attribution among a defined player set encompassing user features, item attributes, historical interactions, category paths, and contextual nodes available prior to the prediction timestamp. Because calculating exact combinatorial Shapley values across all possible player coalitions is computationally intractable, the model applies Monte Carlo sampling over random player permutations, using feature-specific masking operators where inactive interaction edges are neutralized and absent categories are replaced with baseline tokens. To eliminate redundant sampling across events, each computed marginal contribution is stored in an incremental cache indexed alongside explicit version identifiers corresponding to its underlying dependencies, including specific node embeddings, local edges, active features, curvature, and scoring parameters. When a localized streaming event modifies an affected neighborhood, the framework increments the version identifiers of changed components, instantly invalidating only those cached attribution entries that intersect the modified dependency set. Unaffected explanation entries remain valid and reusable, substantially lowering computation time from evaluating complete player sets to evaluating only altered player subsets.
Recommendation scoring inside T-HGNN-SV functions through a hierarchy-aware candidate reranking formulation that directly complements the hyperbolic embedding space. Working from a candidate set retrieved for a specific user, the model computes a direct hyperbolic affinity score defined as the negative hyperbolic distance between the user embedding and candidate item embedding, where shorter distances denote higher affinity. To integrate structural taxonomy information, the scoring function simultaneously calculates an item-category path score by averaging the negative hyperbolic distances between the user embedding and each hierarchical category node along the item’s category path, weighted by level-specific importance coefficients. For items belonging to multiple overlapping categories or directed acyclic graph structures, path contributions are averaged across all valid branches, ensuring items are not forced into rigid artificial hierarchies. The final recommendation score combines direct hyperbolic affinity, the weighted hierarchy score, and an item bias term. Training optimizes positive and negative user-item pairs using a pairwise ranking loss regularized by curvature smoothness, temporal embedding consistency across intervals, an L2 parameter penalty, and an explanation alignment loss that encourages the sum of estimated Shapley attributions to match the difference between full and empty coalition model outputs.
Empirical evaluation of T-HGNN-SV across MovieLens-1 M, Amazon Electronics 5-core, and the Yelp Open Dataset demonstrated robust recommendation accuracy under a rigorous chronological full-ranking protocol. On MovieLens-1 M and Yelp, T-HGNN-SV achieved the highest Precision@10, Recall@10, and F1@10 among all evaluated models, which included classical matrix factorization, neural collaborative filtering, LightGCN, static hyperbolic models, and temporal graph neural networks. Across five random seeds, the framework exhibited consistent ranking stability, recording standard deviations of approximately 0.003 on MovieLens-1 M, 0.005 on Amazon Electronics, and 0.006 on Yelp. In the sparser Amazon Electronics domain, T-HGNN-SV secured the highest Precision@10 and F1@10, while traditional matrix factorization attained the highest Recall@10, confirming that the framework delivers a balanced precision-recall trade-off rather than dominating every baseline across every isolated metric. Component ablations confirmed that non-Euclidean representation provided the largest structural performance contribution, as replacing hyperbolic space with Euclidean geometry produced the steepest drops in F1@10 on MovieLens-1 M and Amazon Electronics. On Yelp, the largest performance drop occurred when both dynamic curvature learning and streaming updates were simultaneously removed, demonstrating that temporal adaptation and geometric modeling provide complementary benefits.
Analysis of the learned hyperbolic geometry revealed that curvature adaptation dynamically tracked changes in the underlying interaction graphs. Temporal monitoring showed that learned curvature co-varied strongly with interaction density, yielding a Pearson correlation coefficient of r = 0.996, and with category-based preference drift, exhibiting a Pearson correlation of r = 0.995. However, the authors explicitly note that because curvature, density, and preference drift all shared underlying longitudinal trends, these strong correlations demonstrate empirical association rather than direct causation. In streaming efficiency benchmarks, localized updates achieved ranking quality closely matching full retraining, maintaining attribution vector correlations above 0.95 relative to fully retrained reference models while drastically reducing wall-clock update latency and memory footprints. Quantitative explanation evaluations using feature deletion and insertion tests further demonstrated that T-HGNN-SV produced the lowest deletion area under the curve and highest insertion area under the curve across all three datasets, confirming that features identified by its synchronized Shapley estimator exercised genuine influence over model scoring under the specified masking procedure, while also achieving the highest temporal stability under small model perturbations.
The researchers augmented their quantitative experiments with an exploratory pilot user study involving 50 human participants, consisting of 30 individuals with technical backgrounds and 20 non-technical participants recruited via convenience sampling. Evaluated across five dimensions using five-point Likert scales, T-HGNN-SV received the highest aggregate mean ratings for explanation clarity at 4.48, perceived trustworthiness at 4.30, usefulness at 4.43, completeness at 4.34, and overall satisfaction at 4.45, outperforming both explainable and non-explainable baselines. Subgroup analysis showed identical descriptive preference orderings across both technical and non-technical cohorts. Nevertheless, the authors caution that these perceptual findings remain exploratory and descriptive, without establishing statistical significance across user populations. Furthermore, the paper underscores several critical structural limitations: the reported Shapley values reflect model behavior under specific masking rules and player sets rather than causal drivers of human psychology; the framework does not reconstruct partially missing node attributes; and scalability measurements reflect a specific hardware environment. Future research directions outlined by the authors include evaluating larger industrial streaming graphs, developing automated criteria for triggering global refreshes, and designing robust attribution methods for partially observed feature graphs.
Subject of Research: Temporal hyperbolic graph neural networks for explainable recommendation
Article Title: Shapley values for explaining adaptive recommendations in temporal hyperbolic graph neural networks
Article References: Nesmaoui, R., Louhichi, M., & Lazaar, M. (2026). Shapley values for explaining adaptive recommendations in temporal hyperbolic graph neural networks. Discover Artificial Intelligence, 6(1), Article 1958. https://doi.org/10.1007/s44163-026-02832-6
Image Credits: AI Generated
DOI: 10.1007/s44163-026-02832-6
Keywords: hyperbolic geometry, graph neural networks, recommender systems, Shapley values, temporal graphs, streaming updates, Poincare ball, curvature learning, explainable artificial intelligence, MovieLens, Amazon Electronics, Yelp Open Dataset, message passing, model state consistency, hierarchical representation, collaborative filtering
News Source: Scienmag.



