Staining and locking computer vision models without retraining

Oliver J. Sutton, Qinghua Zhou, George Leete, Alexander N. Gorban, Ivan Y. Tyukin
7/29/2025
cs.CVcs.AIcs.LG

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

We introduce new methods of staining and locking computer vision models, to protect their owners' intellectual property. Staining, also known as watermarking, embeds secret behaviour into a model which can later be used to identify it, while locking aims to make a model unusable unless a secret trigger is inserted into input images. Unlike existing methods, our algorithms can be used to stain and lock pre-trained models without requiring fine-tuning or retraining, and come with provable, computable guarantees bounding their worst-case false positive rates. The stain and lock are implemented by directly modifying a small number of the model's weights and have minimal impact on the (unlocked) model's performance. Locked models are unlocked by inserting a small `trigger patch' into the corner of the input image. We present experimental results showing the efficacy of our methods and demonstrating their practical performance on a variety of computer vision models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sutton2025staining,
  title  = {Staining and locking computer vision models without retraining},
  author = {Oliver J. Sutton and Qinghua Zhou and George Leete and Alexander N. Gorban and Ivan Y. Tyukin},
  year   = {2025},
  eprint = {2507.22000},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.22000v1}
}

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/2507.22000.svg)](https://codeofpaper.com/paper/2507.22000)

Discussion