English

Can Watermarking Techniques Help Prevent LLM Model Stealing?

Cryptography and Security 2026-07-12 v1

Abstract

Model stealing attacks have recently been introduced, enabling the extraction of precise information from black-box commercial language models. In this work, we propose defense methods against a recent attack of \cite{carlini2024stealing} and extensions for extracting the hidden layer dimension of production language models. Our methods are inspired by watermarking techniques that perturb the logits layer of these models to prevent such attacks. We provide empirical experiments demonstrating the effectiveness of the proposed defense versus model quality degradation across various configurations, and propose an effective defense against such attacks while preserving model utility.

Cite

@article{arxiv.2607.10794,
  title  = {Can Watermarking Techniques Help Prevent LLM Model Stealing?},
  author = {Elette Boyle and MohammadTaghi Hajiaghayi and Keivan Rezaei and Suho Shin and Amos Stern},
  journal= {arXiv preprint arXiv:2607.10794},
  year   = {2026}
}