Holmes: Towards Effective and Harmless Model Ownership Verification to Personalized Large Vision Models via Decoupling Common Features
Linghui Zhu, Yiming Li, Haiqin Weng, Yan Liu, Tianwei Zhang, Shu-Tao Xia, Zhi Wang
TL;DR
Holmes addresses the challenge of safely verifying ownership of personalized large vision models against model-stealing attacks. It decouples shared common features from dataset-specific ones by constructing a poisoned shadow model and a benign shadow model, then trains a lightweight meta-classifier on their output differences and uses a hypothesis-test framework for verification. The approach achieves robust, harmless ownership verification across diverse attacks and datasets (CIFAR-10, ImageNet) and extends to captioning tasks, outperforming existing watermarking and fingerprinting baselines while avoiding misjudgments with similar distributions. This work provides a practical, extensible framework for protecting private fine-tuned models in real-world deployments with quantified verification reliability.
Abstract
Large vision models (LVMs) achieve remarkable performance in various downstream tasks, primarily by personalizing pre-trained models through fine-tuning with private and valuable local data, which makes the personalized model a valuable intellectual property. Similar to the era of traditional DNNs, model stealing attacks also pose significant risks to LVMs. However, this paper reveals that most existing defense methods (developed for traditional DNNs), typically designed for models trained from scratch, either introduce additional security risks, are prone to misjudgment, or are even ineffective for fine-tuned models. To alleviate these problems, this paper proposes a harmless model ownership verification method for personalized LVMs by decoupling similar common features. In general, our method consists of three main stages. In the first stage, we create shadow models that retain common features of the victim model while disrupting dataset-specific features. We represent the dataset-specific features of the victim model by computing the output differences between the shadow and victim models, without altering the victim model or its training process. After that, a meta-classifier is trained to identify stolen models by determining whether suspicious models contain the dataset-specific features of the victim. In the third stage, we conduct model ownership verification by hypothesis test to mitigate randomness and enhance robustness. Extensive experiments on benchmark datasets verify the effectiveness of the proposed method in detecting different types of model stealing simultaneously. Our codes are available at https://github.com/zlh-thu/Holmes.
