TL;DR
Sequential recommender systems are increasingly targeted by "fake orders"—malicious interactions injected into genuine user histories to manipulate item exposure. This paper introduces DITaR (Dual-view Identification and Targeted Rectification), a framework that detects these covert manipulations by identifying discrepancies between collaborative and semantic data views. By using influence functions to isolate only the truly harmful interactions, DITaR efficiently sanitizes the model via targeted gradient ascent in just a few epochs, completely avoiding the need for costly retraining.
What Problem Does This Paper Address?
Modern sequential recommender systems (like those powering e-commerce or streaming platforms) predict a user's next action by analyzing their chronological interaction history. However, bad actors exploit this by injecting "fake orders"—such as click farming, context-irrelevant item substitutions, or sequential perturbations—directly into legitimate user profiles. This strategy is far more covert than traditional bot attacks because it leverages the established trust of real users to artificially boost specific products.
Purging this malicious data presents a major challenge:
- High Retraining Costs: Retraining deep sequential models from scratch every time a fake order is detected is computationally prohibitive.
- Sequence Disruption: Simply deleting interactions breaks the temporal chain, degrading the model's ability to learn genuine user patterns.
- The "Good Noise" Paradox: Not all anomalous data is bad. Some noisy interactions actually act as implicit data augmentation, helping the model generalize better. Existing machine unlearning methods uniformly strip out all suspicious data, inadvertently harming model performance.
Methods
The authors propose DITaR (Dual-view Identification and Targeted Rectification), which splits the defense into two main phases:
1. Dual-View Identification (DI)
Fake orders are typically optimized for one dimension (e.g., boosting a product's click count) but struggle to maintain consistency across both statistical and semantic dimensions simultaneously. DITaR exploits this blind spot by constructing two distinct views:
- Semantic View: Uses a pre-trained large language model (LLaMA2-7B) to extract deep text embeddings of item attributes, aligned via a trainable adapter network.
- Collaborative View: Uses dimension-reduced semantic features fused with learnable item ID embeddings via an adaptive gating mechanism.
The views are jointly trained using an InfoNCE contrastive loss to explicitly enforce feature independence. When a fake order is encountered, it triggers a "cross-view information asymmetry." DITaR combines representation disagreement, prediction divergence, popularity anomalies, and contextual disruptions into a unified anomaly score to flag suspicious interactions.
2. Targeted Rectification (TaR) with Gradient Ascent
Instead of blindly deleting all flagged items, DITaR applies an Influence Function to evaluate the true impact of each suspicious sample on a clean validation set.
- If the influence score is positive, the item is genuinely harmful.
- If the score is negative, the item actually provides a beneficial data augmentation effect and is preserved.
For the harmful items, DITaR performs targeted gradient ascent to efficiently neutralize their impact on the model parameters. To prevent the model from forgetting normal recommendation patterns during this process, a one-step gradient descent regularization constraint is applied using clean data.
Datasets
The framework was evaluated by synthetically injecting fake orders into three standard recommendation benchmarks:
- MovieLens-1M (ML-1M): 6,040 users, 3,416 items, ~1M interactions.
- Amazon-Beauty: 22,363 users, 12,101 items, ~198K interactions.
- Yelp2018: 213,170 users, 94,304 items, ~3.27M interactions.
The authors simulated three distinct attack profiles: Repetitive orders (click farming), Semantic orders (replacing items with semantically irrelevant ones), and Sequential orders (swapping the order of non-adjacent items).
Key Insights and Ideas
- The Asymmetry of Fake Data: Because fake orders are artificially generated, they naturally create detectable gaps between statistical interaction patterns (collaborative filtering) and textual logic (semantic associations).
- Counterintuitive Data Augmentation: The paper reveals that certain types of manipulation, specifically sequential order swapping, can actually improve model performance. Swapping introduces controlled temporal noise that prevents the model from overfitting to rigid sequence dependencies.
- Selective Unlearning: Uniformly removing all anomalies degrades recommendation quality. Filtering candidate anomalies through an influence function ensures that the system only unlearns truly destructive biases while retaining helpful data variations.
Key Results
- Recommendation Quality: Tested across three architectures (SASRec, GRU4Rec, and BERT4Rec), DITaR consistently outperformed state-of-the-art unlearning baselines (SISA, RecEraser, UltraRE). It successfully restored model accuracy (Hit Rate and NDCG) close to—and occasionally higher than—the clean data baseline.
- Extreme Efficiency: While full retraining requires 100–180 epochs and sharding-based unlearning baselines require 35–120 epochs to converge, DITaR consistently achieves optimal rectification in just 5 epochs.
Limitations and Future Work
While DITaR demonstrates impressive efficiency gains, a few limitations are apparent:
- LLM Dependency: The semantic view relies heavily on offline embedding generation from LLaMA2-7B, which adds an upfront computational footprint and depends on the quality of the item text descriptions.
- Hyperparameter Tuning: The framework relies on adaptive thresholds ($\tau_d$ and $\tau_{inf}$) that must be carefully tuned on a clean validation set to balance false positives and negatives.
The authors suggest that future work could extend this dual-view approach to handle multimodal sequential recommendations (incorporating images or video features) or adapt the framework for real-time, streaming data rectification.
Summary updated