Introduction
Modern recommender systems (RecSys) are typically evaluated on their ability to predict the next item a user will interact with. While metrics like Mean Reciprocal Rank (MRR) and Recall provide a snapshot of aggregate accuracy, they often mask a critical vulnerability: instability. A robust system should produce consistent outputs when faced with minor, non-adversarial changes to its training data. However, deep learning-based recommenders often exhibit a "butterfly effect," where the deletion or modification of a single interaction in a dataset of millions can lead to drastic shifts in the recommendation lists provided to every user in the system.
This instability is not just a technical curiosity; it has significant implications for user trust and algorithmic fairness. This paper introduces Rank List Sensitivity (RLS) to quantify this phenomenon and proposes CASPER, a method to identify the most influential interactions that drive system-wide instability.
The Butterfly Effect in Recommendation
The core issue is that deep recommendation models are highly sensitive to the specific sequence and composition of their training data. In many cases, multiple sets of model parameters can achieve near-identical accuracy on a validation set while producing conflicting rank lists for individual users.
As illustrated above, a minor interaction-level perturbation—such as a "leave-one-out" scenario where a single random interaction is removed—can cause the top-K recommendations for all users to change after the model is retrained. This suggests that the internal representations of the model are fragile, and small changes in one user's history can propagate through the network to affect unrelated users.
Quantifying Instability: Rank List Sensitivity (RLS)
To measure this instability, the authors define Rank List Sensitivity (RLS). RLS compares the recommendation lists generated by a model trained on the original dataset ($L$) against those from a model trained on a perturbed dataset ($L'$). Two primary metrics are used:
- Rank-Biased Overlap (RBO): This metric compares the entire ordering of two lists, applying weights that prioritize changes at the top of the list, where users are most likely to engage.
- Top-K Jaccard Similarity: This measures the overlap between the sets of items in the top-K positions of both lists, regardless of their specific order.
Methodology: The CASPER Framework
Identifying which interactions are most responsible for instability is a significant computational challenge. A brute-force approach would require retraining the model for every possible interaction deletion, which is unfeasible for large-scale systems. To solve this, the authors propose CASPER (Cascade-based Perturbation).
CASPER operates by modeling the dependencies between interactions using an Interaction-to-interaction Directed Acyclic Graph (IDAG). In this graph, nodes represent individual interactions, and directed edges connect consecutive interactions involving the same user or the same item.
By calculating a "cascading score" for each interaction—based on the number of its descendants in the IDAG—CASPER identifies "butterfly" interactions. The hypothesis is that perturbing an interaction with a high cascading score will maximize the propagation of changes through the model's parameter updates during the training process, leading to the greatest system-wide shift in recommendations.
Key Insights and Experimental Results
The researchers evaluated their framework across four diverse datasets: Wikipedia, Reddit, Foursquare, and LastFM. Several key findings emerged:
- CASPER's Effectiveness: CASPER consistently identifies perturbations that are far more disruptive than random changes. For example, on the Foursquare dataset using the LatentCross model, a random perturbation resulted in an RBO of ~0.93, whereas a CASPER-targeted perturbation dropped the RBO to 0.66.
- Instability as a Form of Unfairness: Perhaps the most concerning finding is that stability is not distributed equally. Users for whom the model already provides low-accuracy recommendations (Low-MRR users) experience significantly higher instability than high-accuracy users. In Foursquare experiments, CASPER reduced the Top-10 Jaccard similarity for low-accuracy users by 51.1%, compared to only 37.1% for high-accuracy users.
- Temporal Sensitivity: The timing of an interaction matters. Perturbations to earlier interactions in the training sequence generally result in higher instability, as the change has more opportunities to cascade through subsequent mini-batch updates.
- Accuracy vs. Stability: The study confirms that accuracy is a poor proxy for stability. Models can maintain high aggregate performance metrics while their individual user recommendations remain highly volatile.
Conclusion and Future Work
The discovery of widespread instability in deep recommendation systems highlights a critical need for new training paradigms. While CASPER effectively exposes these vulnerabilities, future research must focus on developing "stability-aware" training objectives. Potential directions include multi-objective learning that balances accuracy with RLS and investigating graph-based architectures that are inherently more robust to cascading perturbations. Ensuring that recommendations are both accurate and stable is essential for building trustworthy AI systems in sensitive domains.
Summary updated