Introduction
Recommender systems (RS) represent significant intellectual property, requiring vast datasets and compute resources to develop. However, these models are increasingly susceptible to "model extraction" attacks, where adversaries query a target model to train a functional clone. Protecting this IP is challenging; white-box defenses require internal access to the stolen model, while existing black-box methods often fail to account for the sequential, ranking-based nature of RS or significantly degrade model utility. This paper introduces Autoregressive Out-of-distribution Watermarking (AOW), a black-box defense that embeds a hidden signature without sacrificing recommendation accuracy.
Methodology
AOW embeds a unique "watermark sequence" that the model memorizes during training. The process consists of two primary phases: generation and verification.
Watermark Generation and Embedding
The owner first trains an "oracle" model on the clean dataset. A watermark sequence ($S_{wm}$) is then constructed autoregressively. Starting with an initial item—ideally a "cold" item with few interactions—the owner queries the oracle and intentionally selects the lowest-ranked items to form the subsequent steps of the sequence. This ensures the sequence is "out-of-distribution" (OOD); it appears as nonsense to standard models but serves as a specific trigger for the watermarked model. This sequence is then injected into the training data, forcing the model to learn these unlikely transitions with high confidence.
Verification
To verify ownership of a suspicious model, the owner queries it with a truncated version of the watermark sequence. If the model predicts the next "nonsense" item in the sequence with high confidence (measured via Recall@1), it provides strong evidence that the model was derived from the original watermarked version.
Experimental Results
The authors evaluated AOW across four standard benchmarks: MovieLens-1M, MovieLens-20M, Steam, and Amazon-Beauty.
Performance and Utility
AOW demonstrates exceptional effectiveness, achieving 100% Recall@1 for watermark extraction in default settings across all datasets. Crucially, this is achieved with minimal impact on the primary recommendation task. For instance, on MovieLens-1M, the AOW-protected model maintained a Recall@10 of 19.69%, compared to the 20.16% of the clean oracle. This outperforms baseline defenses like GRO, which saw utility drop to 18.08%.
Robustness
The defense proves resilient against common evasion tactics. Because the watermark is an entire sequence, local ranking changes or output shuffling by an attacker are insufficient to remove it. AOW remains effective even after the stolen model undergoes distillation or fine-tuning, maintaining over 0.75 Recall@10 in most scenarios. The authors noted that while massive fine-tuning (using ~20% of the original data size) can degrade the watermark, such an effort by an attacker would likely negate the need for model theft in the first place.
Conclusion
AOW provides a robust, black-box solution for protecting the intellectual property of recommender systems. By leveraging OOD sequences and autoregressive triggers, it ensures high verification accuracy with negligible utility loss. Future research directions include extending AOW into a fingerprinting mechanism to trace leaks in multi-client or federated learning environments.
Summary updated