Staining and Locking Computer Vision Models Without Retraining

Oliver J. Sutton, Qinghua Zhou, George Leete, Alexander N. Gorban, Ivan Y. Tyukin; Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2025, pp. 2346-2355

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.

Related Material


[pdf] [supp] [arXiv]
[bibtex]
@InProceedings{Sutton_2025_ICCV, author = {Sutton, Oliver J. and Zhou, Qinghua and Leete, George and Gorban, Alexander N. and Tyukin, Ivan Y.}, title = {Staining and Locking Computer Vision Models Without Retraining}, booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)}, month = {October}, year = {2025}, pages = {2346-2355} }