Image classification models face serious risks of unauthorized replication and illegal distribution. Although model backdoor watermarking techniques have been widely adopted for ownership verification,most existing methods rely on conspicuous noise triggers or rigid partitions of the interpretability space,resulting in poor watermark concealment,easy vulnerability to geometric transformations,and failure to evade manual inspection and conventional image processing. To address these issues,we propose a clean⁃label backdoor watermarking method for image classification models that leverages feature attribution and background injection. This approach achieves high concealment and strong robustness in watermark embedding without modifying the true labels of the samples. First,we employ a saliency detection mechanism to semantically decouple the foreground and background of an image,disguising the backdoor trigger as a background endowed with artistic texture features,thereby achieving visually imperceptible embedding. Next,we introduce a texture⁃adaptive superpixel segmentation strategy to establish coding targets and derive a differentiable feature attribution algorithm based on local sampling and fitting. By incorporating multi⁃task constraints,we deeply embed the watermark information into the model’s decision⁃making mechanism. Experimental results demonstrate that our proposed method not only maintains stable classification performance but also enables reliable watermark extraction and exhibits excellent resistance against common image transformation⁃based watermark removal attacks. Compared with existing watermarking schemes,our method demonstrates superior performance in terms of concealment and robustness,offering a practical copyright protection solution for ownership verification of image classification models.
黑盒水印的本质是基于后门攻击的思想,早期的黑盒后门水印方法,如BadNets[6]和Blend[7],大多采取脏标签的办法,在插入触发器的同时修改训练样本的真实标签,但特征和标签间的强行语义冲突会造成数据分布出现异常,很容易被现有的后门防御机制拦截.例如,Neural Cleanse[8]使用逆向工程触发器检测后门,Spectral Signatures[9]依靠统计特征分布过滤毒化数据,STRIP[10]采用运行时输入扰动来识别异常预测.为了克服这个难题,Turner et al[11]最先提出一种干净标签的后门攻击范式,即在保证样本标签真实性的基础上嵌入触发器.此范式虽然消除了显式的标签污染,但干净标签水印方法在视觉隐蔽性上存在不足.Zhao et al[12]采用高频特征噪声作为触发器,Zhu et al[13]是用突兀属性来注入触发器,这些方法都会留下一些人工合成的痕迹,极易被人工审查或频域滤波发现.
随着可解释人工智能的发展,模型版权保护方向也开始使用特征归因,研究者试图把版权信息编码成模型对某个区域的解释极性.Shao et al[14]的解释性水印强制模型在验证时会输出事先设定好的解释图.但现有的方法强制用规则的几何网格来分割图像的解释空间,把图像原来的自然边缘和语义纹理强行割裂开,而且对于几何变换等常规图像处理十分敏感.另外,由于解释性算法计算量大、不可导,所以不能对水印嵌入过程进行端到端的优化[13].
针对上述问题,本文提出一种基于特征归因与背景注入的干净标签后门水印方法.从可见性思考,该方法通过显著性检测模型[15]把图像语义解耦,把后门触发器自然地融合成有高保真度的艺术渲染背景[16],很好地避开视觉和异常审查.从决策来说,抛弃刚性的网格,采用Achanta et al[17]的顺应纹理超像素分割来建立解释目标,推导出基于局部采样的闭式可导特征归因算法,完成多任务的端到端联合训练.
传统的黑盒后门水印一般使用脏标签法[18].Gu et al[6]的BadNets用静态黑白方块作为触发器,在图像局部添加.Chen et al[7]的Blend将全局随机噪声和原始图像混合.这些方法会把有明显特征的触发样本标成错误的目标类,造成特征和真实的标签存在严重的语义矛盾,数据分布很容易被现有的防御机制所识别并拦截.例如,Wang et al[8]的Neural Cleanse通过特征激活聚类来过滤异常样本,Tran et al[9]的Spectral Signatures利用奇异值分解技术成功剔除了投毒数据.
为了提高后门样本的隐蔽性,干净标签攻击开始流行[19],其主要目的是不改变样本真实标签.Turner et al[11]用标签一致性攻击策略来对目标类样本进行对抗扰动,使模型在训练的时候只依靠附加的触发器.Nguyen and Tran[20]的WaNet使用隐藏的图像弹性扭曲作为触发器,以避开人工视觉检测.Zhu et al[13]的BAAT把人像的特定语义属性当作触发载体来维持特征空间的一致性.但现有的干净标签方法在实际使用过程中仍然存在视觉上的明显缺陷,本文提出的语义解耦和艺术背景注入,是把触发器伪装成自然存在的复杂纹理来弥补现有方法的不足.
相关研究表明,误分类后门不仅会损害模型主任务的性能,还很容易成为外部恶意利用的安全漏洞.针对这一痛点,Sun et al[21]尝试建立触发器与信息熵之间的联系,避免将触发器直接与某类样本绑定,并通过分析后门图片的信息熵来作为版权保护的依据.Zhu et al[22]使用对抗优化的策略,促使后门样本在模型训练前后表现出不同的损失分布差异,在不影响主分类任务的前提下实现版权验证.由此可见,消除触发器对主任务的干扰,实现无害化的水印嵌入,已成为当前该领域的重要研究方向.
1.3 特征归因方法
特征归因属于可解释人工智能的关键部分,其目的在于衡量输入图像各个区域对于模型最终决策的作用.为了实现模型的可解释性,Selvaraju et al[23]的Grad⁃CAM利用分类层反向传播来得到类激活图,通过类激活图来解释模型分类的原因.Ribeiro et al[24]的LIME在输入样本附近做局部扰动采样,拟合线性解释模型,再利用线性模型的可解释性来解释复杂的图像分类模型.Ghorbani et al[25]首次发现特征归因存在脆弱性,可以被微小的对抗扰动轻易改变模型解释图.Ross et al[26]把解释结果主动加入损失函数,使模型只关注正确的特征.Rieger et al[27]用惩罚不合理解释的方法来对齐神经网络和先验知识.
受到上述可解释人工智能思想的启发,Shao et al[14]的前沿的解释性水印,首次把多比特水印序列映射到事先设定好的特征归因目标图上.训练时用多任务损失迫使模型在某个区域做出符合预设极性的决策解释.但是该方法强制使用规则的网格来划分图像区域,而刚性结构粗暴地割裂了图像天然的纹理边缘.如Tancik et al[28]指出的,规则网格编码对于图像裁剪、JPEG压缩等常规变换十分脆弱,会大大降低水印提取率.目前仍需要更优秀的编码方案来推动解释性水印的持续发展.
选取七种有代表性的后门水印方法进行对比,分别是传统的脏标签攻击BadNets[6]和Blend[7]、它们的干净标签变体BadNets⁃C和Blend⁃C、使用干净标签策略的LC(Label⁃Consistent)[11]、基于熵的无害型水印EntropyMark[21]和解释性水印EaaW(Explanation as a Watermark)[14].同时,用干净模型做基线比较.
ChenB Q, ChenS Y. Deep learning∥Chen B Q,Chen S Y. Machine Vision Technology. Singapore:Springer,2026:273-297.
[2]
ChenK Y, LinY C, LiJ L,et al. Bloodroot:When watermarking turns poisonous for stealthy backdoor∥International Conference on Acoustics,Speech and Signal Processing. Barcelona,Spain:IEEE,2026:15782-15786.
[3]
YuanX M, NieH W. Secure industrial federated learning:Label encryption for model protection. Engineering Applications of Artificial Intelligence,2025,160 (Part A):111806.
[4]
UchidaY, NagaiY, SakazawaS,et al. Embedding watermarks into deep neural networks∥Proceedings of the 2017 ACM on International Conference on Multimedia Retrieval.New York,NY,USA:Association for Computing Machinery,2017:269-277.
[5]
AdiY, BaumC, CisseM,et al. Turning your weakness into a strength:Watermarking deep neural networks by backdooring∥Proceedings of the 27th USENIX Conference on Security Symposium. Berkeley,NY,USA:USENIX Association,2018:1615-1631.
[6]
GuT Y, LiuK, Dolan⁃GavittB,et al. BadNets:Evaluating backdooring attacks on deep neural networks. IEEE Access,2019(7):47230-47244.
[7]
ChenX Y, LiuC, LiB,et al. Targeted backdoor attacks on deep learning systems using data poisoning. https://arxiv.org/abs/1712.05526,2017-12-15.
[8]
WangB L, YaoY S, ShanS,et al. Neural cleanse:Identifying and mitigating backdoor attacks in neural networks∥2019 IEEE Symposium on Security and Privacy. San Francisco,CA,USA:IEEE,2019:707-723.
[9]
TranB, LiJ, MadryA. Spectral signatures in backdoor attacks∥Advances in Neural Information Processing Systems 31. Montreal,Canada:Curran Associates,2018,Article No. 89.
[10]
GaoY S, XuC E, WangD R,et al. Strip:Adefence against Trojan attacks on deep neural networks∥Proceedings of the 35th Annual Computer Security Applications Conference. New York,NY,USA:Association for Computing Machinery,2019: 113-125.
ZhaoS H, MaX J, ZhengX,et al. Clean⁃label backdoor attacks on video recognition models∥2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition. Seattle,WA,USA:IEEE,2020:14431-14440.
[13]
ZhuM Y, LiY M, GuoJ F,et al. Towards sample⁃specific backdoor attack with clean labels via attribute trigger. IEEE Transactions on Dependable and Secure Computing,2025,22(5):4685-4698.
[14]
ShaoS, LiY M, YaoH W,et al. Explanation as a watermark:Towards harmless and multi⁃bit model ownership verification via watermarking feature attribution. https://arxiv.org/abs/2405.04825,2024-09-10.
[15]
DharaG, KumarR K. A survey on visual saliency detection approaches and attention models. Multimedia Tools and Applications,2025,84(35):44183-44225.
[16]
ZhangS J, QiY L, WuJ Q. Applying deep learning for style transfer in digital art:Enhancing creative expression through neural networks. Scientific Reports,2025,15(1):11744.
[17]
AchantaR, ShajiA, SmithK,et al. SLIC superpixels compared to state⁃of⁃the⁃art superpixel methods. IEEE Transactions on Pattern Analysis and Machine Intelligence,2012,34(11):2274-2282.
[18]
LiY, JiangY, LiZ,et al. Backdoor learning:A survey. IEEE Transactions on Neural Networks and Learning Systems,2022,35(1):5-22.
[19]
GongX, TianB, XueM,et al. Megatron:Evasive clean⁃label backdoor attacks against vision transformer. IEEE Transactions on Dependable and Secure Computing,2026,23(1):525-542.
[20]
NguyenT A, TranA T. Wanet⁃imperceptible warping⁃based backdoor attack∥International Conference on Learning Representations. Online:ICLR,2021:1-16.
[21]
SunM, WangR, ZhuZ X,et al. EntropyMark:Towards more harmless backdoor watermark via entropy⁃based constraint for open⁃source dataset copyright protection∥2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition. Nashville,TN,USA:IEEE,2025:30692-30701.
[22]
YuQ K, ZhangC, JinG J,et al. StealthMark:Harmless and stealthy ownership verification for medical segmentation via uncertainty⁃guided backdoors. IEEE Transactions on Image Processing,2026,35:1290-1304.
[23]
SelvarajuR R, CogswellM, DasA,et al. Grad⁃CAM:Visual explanations from deep networks via gradient⁃based localization∥2017 IEEE International Conference on Computer Vision. Venice,Italy:IEEE,2017:618-626.
[24]
RibeiroM T, SinghS, GuestrinC. "Why should I trust you?":Explaining the predictions of any classifier∥Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining.San Francisco,CA,USA:Association for Computing Machinery,2016:1135-1144.
[25]
GhorbaniA, AbidA, ZouJ.I nterpretation of neural networks is fragile. Proceedings of the AAAI Conference on Artificial Intelligence,2019,33(1):3681-3688.
[26]
RossA S, HughesM C, Doshi⁃VelezF. Right for the right reasons:Training differentiable models by constraining their explanations. https://arxiv.org/abs/1703.03717,2027-05-25.
[27]
RiegerL, SinghC, MurdochW,et al. Interpretations are useful:Penalizing explanations to align neural networks with prior knowledge∥Proceedings of the 37th International Conference on Machine Learning. New York,NY,USA:PMLR,2020:8116-8126.
[28]
TancikM, MildenhallB, NgR. StegaStamp:Invisible hyperlinks in physical photographs∥2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition.Seattle,WA:IEEE,2020:2114-2123.
[29]
HuangX, BelongieS. Arbitrary style transfer in real⁃time with adaptive instance normalization∥2017 IEEE International Conference on Computer Vision. Venice,Italy:IEEE,2017:1510-1519.
[30]
DengJ, DongW, SocherR,et al. ImageNet:A large⁃scale hierarchical image database∥2009 IEEE Conference on Computer Vision and Pattern Recognition. Miami,FL,USA:IEEE,2009:248-255.
[31]
ParkhiO M, VedaldiA, ZissermanA,et al. Cats and dogs∥2012 IEEE Conference on Computer Vision and Pattern Recognition. Providence,RI,USA:IEEE,2012:3498-3505.
[32]
StallkampJ, SchlipsingM, SalmenJ,et al. The German traffic sign recognition benchmark:A multi⁃class classification competition∥The 2011 International Joint Conference on Neural Networks. San Jose,CA,USA:IEEE,2011:1453-1460.