AI Security
New Defense System Detects Model Theft Through User Behavior Patterns
Researchers introduce D-ADD, a plug-in detector that identifies malicious queries attempting to clone AI models by analyzing account-specific usage patterns.
A team of computer security researchers has unveiled a novel defense mechanism designed to stop bad actors from duplicating commercial AI models through systematic query attacks. The system, called D-ADD, combines a statistical detection layer with prediction poisoning to catch thieves while keeping legitimate users unaffected.
The Problem: Cheap Model Cloning#
Replicating proprietary machine learning models has become an attractive target for malicious actors. Rather than developing models from scratch, adversaries can train functional clones by repeatedly querying a deployed model and collecting its responses. This approach dramatically reduces the cost and effort needed to steal valuable intellectual property, especially when the original model represents months or years of development and fine-tuning.
How D-ADD Works#
The defense rests on a key insight: attackers and ordinary users behave differently. The system builds statistical profiles of each user account's typical query patterns, representing them as probability distributions in the model's feature space.
When a new batch of queries arrives, D-ADD measures how far those queries deviate from the account's normal behavior. Queries that don't match the expected distribution receive a higher "malicious score." An enhanced variant, ADD⁺, also adapts to domain shifts—situations where legitimate users' query patterns naturally change over time.
Once malicious queries are flagged, the system responds with poisoned predictions that mislead would-be cloners without disrupting service for honest users.
Testing and Results#
Testing covered multiple attack scenarios and query settings, including both scenarios where attackers see the model's confidence scores (soft-label) and those where they only get final predictions (hard-label). D-ADD demonstrated robust protection across these conditions while maintaining usability for legitimate traffic. The approach imposes minimal computational overhead, making it practical to deploy as an add-on to existing image classification systems.
The implementation is available as open-source code, letting other researchers and practitioners adopt or build on the work.

