DiMEx: Breaking the Cold Start Barrier in Data-Free Model Extraction via Latent Diffusion Priors
Yash Thesia, Meera Suthar
TL;DR
DiMEx eliminates the Cold Start barrier in data-free model extraction by leveraging latent diffusion priors and latent-space Bayesian optimization, enabling semantically valid queries from the first iteration and achieving high-audience agreement with as few as 2,000 queries. It replaces untrained GANs with a frozen diffusion model (Stable Diffusion) and optimizes in the latent space via REMBO, augmented by vicinal sampling to capture local boundary structure. To counter this semantic threat, the Hybrid Stateful Ensemble (HSE) defense combines spatial multi-model consensus with temporal latent-drift analysis to detect and suppress optimization-driven attacks with low latency and minimal impact on legitimate users. The results show strong cold-start performance across multiple datasets, while HSE achieves substantial reductions in attack success rates, highlighting the need for stateful, trajectory-aware defenses in modern MLaaS deployments saturated by diffusion-based priors.
Abstract
Model stealing attacks pose an existential threat to Machine Learning as a Service (MLaaS), allowing adversaries to replicate proprietary models for a fraction of their training cost. While Data-Free Model Extraction (DFME) has emerged as a stealthy vector, it remains fundamentally constrained by the "Cold Start" problem: GAN-based adversaries waste thousands of queries converging from random noise to meaningful data. We propose DiMEx, a framework that weaponizes the rich semantic priors of pre-trained Latent Diffusion Models to bypass this initialization barrier entirely. By employing Random Embedding Bayesian Optimization (REMBO) within the generator's latent space, DiMEx synthesizes high-fidelity queries immediately, achieving 52.1 percent agreement on SVHN with just 2,000 queries - outperforming state-of-the-art GAN baselines by over 16 percent. To counter this highly semantic threat, we introduce the Hybrid Stateful Ensemble (HSE) defense, which identifies the unique "optimization trajectory" of latent-space attacks. Our results demonstrate that while DiMEx evades static distribution detectors, HSE exploits this temporal signature to suppress attack success rates to 21.6 percent with negligible latency.
