We identify, for the first time, a new model modification attack--the cross-task model repurposing attack--that can render fingerprints generated by existing model fingerprinting approaches inapplicable. To address this challenge, we propose UniReFP--a novel unified model fingerprinting framework applicable to diverse vision models across different tasks--that utilizes ownership evidence in a shared class-level semantic space rather than original task-specific output space, enabling effective ownership verification when a protected model is repurposed across tasks with heterogeneous output formats. Specifically, UniReFP constructs a surrogate classifier by repurposing the protected model, enabling fingerprints to be generated independently of the original task-dependent output space of the protected model. Moreover, it optimizes grouped fingerprints to encode ownership evidence: fingerprints within the same group are encouraged to induce consistent semantic responses and intermediate representations on the surrogate classifier, while producing dispersed responses on independently trained reference classifiers. During verification, UniReFP uses a task-aware semantic projection mechanism to map heterogeneous suspect-model outputs into unified semantic-presence vectors, and determines ownership by measuring inner-group consistency. Extensive experimental results validate the effectiveness of UniReFP, consistently showing superior performance under cross-task repurposing attacks, commonly studied model modification attacks, and even their combinations.
Figures & tables
Figure 1: The considered fingerprinting scenario.
Figure 2: Overview of UniReFP.
Table 1: AUCs under cross-task model repurposing attacks across datasets. ts and ta represent the tasks for protected and repurposed models, respectively.
CLS
DET
SEG
PET
VOC
COCO
PET
VOC
COCO
PET
VOC
COCO
UniReFP
0.889 ± 0.008
0.912 ± 0.009
0.896 ± 0.018
0.875 ± 0.023
0.842 ± 0.073
0.942 ± 0.026
0.817 ± 0.010
0.957 ± 0.009
0.893 ± 0.006
TFP
0.881 ± 0.004
0.886 ± 0.010
0.912 ± 0.016
–
–
–
–
–
–
MetaV
0.754 ± 0.058
0.871 ± 0.011
0.834 ± 0.006
–
–
–
0.809 ± 0.031
0.899 ± 0.016
0.646 ± 0.043
LiteGuard
0.920 ± 0.018
0.957 ± 0.013
0.941 ± 0.006
–
–
–
0.884 ± 0.047
0.986 ± 0.005
0.793 ± 0.013
AKH
0.861 ± 0.024
–
–
–
–
–
–
–
–
Table 2: AUCs under the commonly-studied model modification attacks on three datasets.
ts→ta
BP → RP
RP → NFT
RP → PFT
BP → RP → NFT
BP → RP → PFT
CLS → DET
0.872 ± 0.024
0.932 ± 0.011
0.956 ± 0.015
0.859 ± 0.028
0.866 ± 0.026
CLS → SEG
0.965 ± 0.018
0.997 ± 0.005
0.998 ± 0.004
0.952 ± 0.023
0.961 ± 0.020
DET → CLS
0.788 ± 0.126
0.904 ± 0.134
0.813 ± 0.120
0.758 ± 0.099
0.803 ± 0.065
DET → SEG
0.939 ± 0.071
0.998 ± 0.002
1.000 ± 0.000
0.978 ± 0.032
0.975 ± 0.005
SEG → CLS
0.753 ± 0.053
0.833 ± 0.077
0.852 ± 0.032
0.738 ± 0.033
0.735 ± 0.075
SEG → DET
0.789 ± 0.070
0.935 ± 0.103
0.967 ± 0.053
0.742 ± 0.016
0.976 ± 0.025
Table 3: AUCs under combined repurposing and modification attacks.
Task
Dataset
Method
FT
PR
KD
NFT
PFT
CLS
PET
UniReFP
1.000 ± 0.000
1.000 ± 0.000
0.445 ± 0.041
1.000 ± 0.000
1.000 ± 0.000
TFP
1.000 ± 0.000
1.000 ± 0.000
0.409 ± 0.015
1.000 ± 0.000
0.996 ± 0.004
MetaV
0.819 ± 0.097
0.921 ± 0.032
0.364 ± 0.115
0.787 ± 0.143
0.879 ± 0.090
LiteGuard
1.000 ± 0.000
1.000 ± 0.000
0.598 ± 0.094
1.000 ± 0.000
1.000 ± 0.000
AKH
1.000 ± 0.000
1.000 ± 0.000
0.454 ± 0.047
0.983 ± 0.029
0.867 ± 0.057
AnaFP
1.000 ± 0.000
1.000 ± 0.000
0.727 ± 0.081
1.000 ± 0.000
1.000 ± 0.000
Table 4: AUCs under five commonly-studied model modifications across different datasets and tasks.
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 3: AUCs for different sizes of reference classifier set under different tasks: (a) image classification, (b) object detection, and (c) semantic segmentation.
Figure 4: AUCs for different numbers of fingerprints under different tasks: (a) image classification, (b) object detection, and (c) semantic segmentation.
Figure 5: AUCs under different fingerprint groups N and group members M with fixed fingerprint number Q=NM=100 across datasets and tasks: (a) image classification, (b) object detection, and (c) semantic segmentation.
Figure 6: AUCs for different fingerprint initialization methods: natural data samples (Datainit) versus random noise (Randominit), evaluated under different tasks: (a) image classification, (b) object detection, and (c) semantic segmentation.
Dataset
UniReFP
TFP
MetaV
LiteGuard
AKH
AnaFP
COCO
116s
275s
56s
452s
–
–
VOC
117s
252s
53s
450s
–
–
PET
44s
213s
10s
216s
122s
11249s
Appendix
Table 5: Time overhead of constructing fingerprints for protected models trained on image classification across three datasets.