Stealix: Model Stealing via Prompt Evolution

Zhixiong Zhuang, Hui-Po Wang, Maria-Irina Nicolae, Mario Fritz
2/14/2026

No official code found. Best implementation: boschresearch/stealix (3 stars, AGPL-3.0, last commit 2025-11-27). 1 more below.

Abstract

Model stealing poses a significant security risk in machine learning by enabling attackers to replicate a black-box model without access to its training data, thus jeopardizing intellectual property and exposing sensitive information. Recent methods that use pre-trained diffusion models for data synthesis improve efficiency and performance but rely heavily on manually crafted prompts, limiting automation and scalability, especially for attackers with little expertise. To assess the risks posed by open-source pre-trained models, we propose a more realistic threat model that eliminates the need for prompt design skills or knowledge of class names. In this context, we introduce Stealix, the first approach to perform model stealing without predefined prompts. Stealix uses two open-source pre-trained models to infer the victim model's data distribution, and iteratively refines prompts through a genetic algorithm, progressively improving the precision and diversity of synthetic images. Our experimental results demonstrate that Stealix significantly outperforms other methods, even those with access to class names or fine-grained prompts, while operating under the same query budget. These findings highlight the scalability of our approach and suggest that the risks posed by pre-trained generative models in model stealing may be greater than previously recognized.

View on arXivView PDF

Code Implementations(2)

AGPL-3.0

Official implementation of "Stealix: Model Stealing via Prompt Evolution" (ICML 2025)

30Shell, PythonOct 31, 202510 months agoAGPL-3.0
diffusion-modelmodel-stealingprompt-optimization
zhixiongzh/stealixCommunity59%

Stealix: Model Stealing via Prompt Evolution (ICML 2025)

00CSS, HTMLMay 20, 20259 months ago

Similar Papers

Cite this paper

@article{zhuang2026stealix,
  title  = {Stealix: Model Stealing via Prompt Evolution},
  author = {Zhixiong Zhuang and Hui-Po Wang and Maria-Irina Nicolae and Mario Fritz},
  year   = {2026},
  eprint = {2506.05867},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2506.05867},
  journal = {ICML 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.05867.svg)](https://codeofpaper.com/paper/2506.05867)

Discussion