Search arXiv⌕ Search

arXiv subjects

Kanisha Shah

Publications and source records attributed to Kanisha Shah.

2 recordsLinked to original sources

Explainability-Guided History Distillation for Efficient Sequential Recommendation

Sequential recommendation models, spanning self-attention based Transformer architectures to state-space models, rely on processing complete interaction histories, incurring inference costs that scale with sequence length. While efficient attention variants and heuristic truncation mitigate this computational footprint, they overlook internal model attribution signals and neglect the efficiency gains achievable by distilling the raw interaction sequence itself. To bridge this gap, we propose explainability-driven sequence distillation, a retraining-free framework that leverages post-hoc attribution methods to score each interaction's predictive contribution. By retaining only the highest-scoring positions, our framework compresses user histories offline, enabling shorter sequences to accelerate online inference without altering underlying model parameters. Across four dataset configurations and four architectural paradigms, including autoregressive, bidirectional, state-space, and long-sequence backbones, Integrated Gradient-based sequence distillation preserves or improves ranking quality while substantially reducing inference GFLOPs, outperforming recency-based truncation by an average of 11.5% across all evaluated settings. Crucially, even on benchmarks with extreme temporal recency bias, our approach matches or exceeds recency truncation in the performance-efficiency trade-off, an advantage that widens under noisy input sequences. These findings demonstrate that post-hoc explainability, traditionally restricted to model interpretation, serves as a general, retraining-free principle for distilling raw input contexts and reducing online serving costs in sequential recommendation.

cs.LG↗

A Systematic Benchmark of Explainable Methods for Temporal Attribution in Sequential Recommendation Systems

Sequential RecSys are central to modern personalization, exploiting user's historical interaction sequences to drive next-step decisions. Deep learning models, particularly CNN and Transformer-based architectures, have proven highly effective at capturing temporal dependencies in these histories. For transparency and trust, understanding which past interactions drive a given recommendation is increasingly important --- both for developers auditing model behavior and for users seeking a rationale. However, the non-linearities that give these models their predictive power also render them black boxes, making it difficult to attribute decisions to specific interactions. While gradient-based, perturbation-based, and attention-based explainability methods exist, a systematic benchmark of their faithfulness for sequential recommendation is missing. We address this gap by introducing a dual-model masking metric in which one model supplies per-timestep attribution scores and a separately trained, masking-robust probe measures the resulting change in predicted probability. Using this metric, we benchmark ten XAI methods across CNN, Transformer, SASRec, and BERT4Rec backbones on KuaiRand and MovieLens, complemented by analyses of temporal attribution patterns, item popularity confounding, and robustness to input corruption. Our key findings are: (1) gradient-based methods, particularly GradientSHAP and Integrated Gradients, yield the most faithful and robust attributions; (2) raw attention weights are unreliable, but gradient-weighted attention restores faithfulness on shorter sequences, with degradation on longer horizons as softmax attention probabilities converge toward uniform importance scores, diminishing the method's ability to identify informative interactions; and (3) temporal attribution patterns in faithful methods reflect genuine task structure rather than recency or popularity bias.

cs.LG↗