Computer Science ›› 2026, Vol. 53 ›› Issue (11): 448-460.doi: 10.11896/jsjkx.250900010

• Information Security • Previous Articles     Next Articles

Research on Active Defense Against Face Forgery Based on Hybrid Color Space and AttentionMechanism

HUANG Chenxi, LU Tianliang, PENG Shufan   

  1. College of Information Network Security,People’s Public Security University of China,Beijing 100038,China
  • Received:2025-09-01 Revised:2025-12-14 Online:2026-11-15 Published:2026-11-10
  • About author:HUANG Chenxi,born in 2001,postgraduate,is a member of CCF(No.A20953G).His main research interests include deep forgery detection and cyber security.
    LU Tianliang,born in 1985,professor,Ph.D supervisor.His main research interests include cyber security and artificial intelligence,etc.
  • Supported by:
    2024 Planning Project of the Social Science Foundation of Beijing,China(24FXC017).

Abstract: Active defense against face forgery is critical for digital identity authentication and media integrity protection.How-ever,existing methods overprioritize defensive performance while neglecting image visual quality and defense robustness,failing to adapt to multi-model variations and data distortions and thus yielding poor results.To resolve this,an active defense method based on universal adversarial perturbations is proposed.It uses an improved PGD(Projected Gradient Descent) algorithm with RGB-HSV hybrid color space transformation to generate perturbations,constrains perturbations to key facial regions via a facial mask to enhance visual quality,and designs an AMAF(Adaptive Multiple Data Augmentation Framework) to boost perturbation resistance to distortions(e.g.compression,blurring).Finally,Swin Transformer extracts multi-model perturbation features,gene-rates attention maps for weighted fusion,and optimizes via feature-level loss to construct universal perturbations.Experiments on CelebA,LFW,and RaFD datasets show the proposed method achieves an average attack success rate of 98.85% against four models(12% higher for AttGAN than the baseline).Protected images outperform the baseline by 12.90% in PSNR,16.40% in SSIM,and 34.37% in Euclidean norm.The defense success rate under image distortion interference has increased by 26% compared to the baseline model.This method maintains adversarial image visual quality,saves computational resources,and sustains defense effects under image distortion when countering multiple face forgery models.

Key words: Active defense against facial forgery, Adversarial samples, Color space, Feature mask, Visual attention mechanism

CLC Number: 

  • TP391.4
[1] ZHAO Y,GAO M C,YAO W D,et al.Review of Forged Face Detection Techniques Based on Deep Learning[J].Computer Systems & Applications,2025,34(4):1-17.
[2] YANG H Y,LI X H,HU Z.A Survey of Deepfake Face Generation and Detection Technologies[J].Journal of Huazhong University of Science and Technology(Natural Science Edition),2025,53(5):85-103.
[3] LIU H,TAN Z,TAN C,et al.Forgery-aware adaptive trans-former for generalizable synthetic image detection[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.2024:10770-10780.
[4] TAN C,ZHAO Y,WEI S,et al.Frequency-aware deepfake detection:Improving generalizability through frequency space domain learning[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2024:5052-5060.
[5] PENG C,MIAO Z,LIU D,et al.Where deepfakes gaze at? spatial-temporal gaze inconsistency analysis for video face forgery detection[J].IEEE Transactions on Information Forensics and Security,2024,19:1-14.
[6] WANG Y,FANG X J,YANG G M,et al.Active DefenseAgainst Face Forgery Based on Attention Mask and Feature Extraction[J].Journal of Computer Applications,2025,45(3):904-910.
[7] YEH C Y,CHEN H W,TSAI S L,et al.Disrupting-image-translation-based deepfake algorithms with adversarial attacks[C]//Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision Workshops.2020:53-62.
[8] HUANG H,WANG Y,CHEN Z,et al.Cmua-watermark:Across-model universal adversarial watermark for combating deepfakes[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2022:989-997.
[9] LIN S Y,CHEN J C,WANG J C.A comparative study of cross-model universal adversarial perturbation for face forgery[C]//2022 IEEE International Conference on Visual Communications and Image Processing(VCIP).IEEE,2022:1-5.
[10] LV K,LIN W,XU J,et al.Generating Optimized Universal Adversarial Watermark for Preventing Face Deepfake[C]//2023 IEEE 22nd International Conference on Trust,Security and Privacy in Computing and Communications(TrustCom).IEEE,2023:1586-1591.
[11] LIU P,TAO Q,ZHOU T J.Evolving from single-modal tomulti-modal facial deepfake detection:A survey[J].arXiv:2406.06965,2024.
[12] XIA R,ZHOU D,LIU D,et al.Towards Generalized Proactive Defense against Face Swappingwith Contour-Hybrid Watermark[J].arXiv:2505.19081,2025.
[13] SZEGEDY C,ZAREMBA W,SUTSKEVER I,et al.Intriguing properties of neural networks[J].arXiv:1312.6199,2013.
[14] HUANG Q,ZHANG J,ZHOU W,et al.Initiative defenseagainst facial manipulation[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2021:1619-1627.
[15] DONG J,WANG Y,LAI J,et al.Restricted black-box adversarial attack against deepfake face swapping[J].IEEE Transactions on Information Forensics and Security,2023,18:2596-2608.
[16] GOODFELLOW I J,SHLENS J,SZEGEDY C.Explaining and harnessing adversarial examples[J].arXiv:1412.6572,2014.
[17] KURAKIN A,GOODFELLOW I J,BENGIO S.Adversarial examples in the physical world[M]//Artificial Intelligence Safety and Security.Chapman and Hall/CRC,2018:99-112.
[18] MADRY A,MAKELOV A,SCHMIDT L,et al.Towards deep learning models resistant to adversarial attacks[J].arXiv:1706.06083,2017.
[19] CROCE F,HEIN M.Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks[C]//International Conference on Machine Learning.2020:2206-2216.
[20] KAZEMI V,SULLIVAN J.One millisecond face alignment with an ensemble of regression trees[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.2014:1867-1874.
[21] QIN X,ZHANG Z,HUANG C,et al.U2-Net:Going deeperwith nested U-structure for salient object detection[J].Pattern Recognition,2020,106:107404.
[22] LIU Z,LIN Y,CAO Y,et al.Swin Transformer:Hierarchical vision transformer using shifted windows[C]//Proceedings of the IEEE/CVF International Conference on Computer Vision.2021:10012-10022.
[23] CHOI Y,CHOI M,KIM M,et al.Stargan:Unified generativeadversarial networks for multi-domain image-to-image translation[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.2018:8789-8797.
[24] TANG H,LIU H,XU D,et al.Attentiongan:Unpaired image-to-image translation using attention-guided generative adversarialnetworks[J].IEEE Transactions on Neural Networks and Learning Systems,2021,34(4):1972-1987.
[25] HE Z,ZUO W,KAN M,et al.Attgan:Facial attribute editingby only changing what you want[J].IEEE Transactions on Ima-ge Processing,2019,28(11):5464-5478.
[26] LI X,ZHANG S,HU J,et al.Image-to-image translation viahierarchical style disentanglement[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.2021:8639-8648.
[1] CHEN Zigang, PAN Ding, LENG Tao, ZHU Haihua, CHEN Long, ZHOU Yousheng. Explanation Robustness Adversarial Training Method Based on Local Gradient Smoothing [J]. Computer Science, 2025, 52(2): 374-379.
[2] LI Xiaoyu, QIAN Yi, WEN Yimin, MIU Yuqing. Multi-level Feature Fusion Image Emotion Recognition Based on Color Enhancement [J]. Computer Science, 2025, 52(11): 157-165.
[3] LI Wenting, XIAO Rong, YANG Xiao. Improving Transferability of Adversarial Samples Through Laplacian Smoothing Gradient [J]. Computer Science, 2024, 51(6A): 230800025-6.
[4] WU Jing, FAN Shaosheng, HU Chengyang. Mark Line Image Enhancement Method in Complex Illumination Environment [J]. Computer Science, 2024, 51(6A): 230300187-5.
[5] LI Shasha, XING Hongjie. Robust Anomaly Detection Based on Adversarial Samples and AutoEncoder [J]. Computer Science, 2024, 51(5): 363-373.
[6] JIN Li-zhen, LI Qing-zhong. Fast Structural Texture Image Synthesis Algorithm Based on Seam ConsistencyCriterion [J]. Computer Science, 2022, 49(6): 262-268.
[7] DOU Zhi, WANG Ning, WANG Shi-jie, WANG Zhi-hui, LI Hao-jie. Sketch Colorization Method with Drawing Prior [J]. Computer Science, 2022, 49(4): 195-202.
[8] ZHOU Xin, LIU Shuo-di, PAN Wei, CHEN Yuan-yuan. Vehicle Color Recognition in Natural Traffic Scene [J]. Computer Science, 2021, 48(6A): 15-20.
[9] WANG Dan-ni, CHEN Wei, YANG Yang, SONG Shuang. Defense Method of Adversarial Training Based on Gaussian Enhancement and Iterative Attack [J]. Computer Science, 2021, 48(6A): 509-513.
[10] WANG Ji-min, WEI Yi, ZHOU Yu, SUN Ao, LIU Yuan-sheng. Speed Limit Sign Recognition Based on LeNet-5 CNN and Color Feature [J]. Computer Science, 2021, 48(11A): 345-350.
[11] YUAN Ye, HE Xiao-ge, ZHU Ding-kun, WANG Fu-lee, XIE Hao-ran, WANG Jun, WEI Ming-qiang, GUO Yan-wen. Survey of Visual Image Saliency Detection [J]. Computer Science, 2020, 47(7): 84-91.
[12] ZHOU Xian-chun, XU Yan. Adaptive Image Inpainting Based on Structural Correlation [J]. Computer Science, 2020, 47(4): 131-135.
[13] WANG Xiao, ZOU Ze-wei, LI Bo-bo, WANG Jing. Target Detection in Colorful Imaging Sonar Based on Multi-feature Fusion [J]. Computer Science, 2019, 46(6A): 177-181.
[14] LI Jie, LING Xing-hong, FU Yu-chen, LIU Quan. Asynchronous Advantage Actor-Critic Algorithm with Visual Attention Mechanism [J]. Computer Science, 2019, 46(5): 169-174.
[15] HE Xiao-jun, XU Ai-gong, LI Yu. Color Morphology Image Processing Method Using Similarity in HSI Space [J]. Computer Science, 2019, 46(4): 285-292.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!