面向图像拼接检测的自适应残差算法
张玲1,2,3, 穆文鹏1,2,3, 陈北京1,2,3(1.南京信息工程大学数字取证教育部工程研究中心, 南京 210044;2.南京信息工程大学江苏省大气环境与装备技术协同创新中心, 南京 210044;3.南京信息工程大学计算机学院, 南京 210044) 摘 要
目的 恶意的图像拼接篡改给名誉、法律、政治等带来一系列的挑战,而现有的图像拼接检测算法通常采用参数固定的高通滤波器提取滤波特征进行预处理,没有考虑图像之间的差异。方法 本文设计自适应残差模块(adaptive residuals module, ARM)凸显拼接篡改痕迹,将卷积运算后的残差多次拼接,且每次拼接后再利用注意力机制实现通道间的非线性交互。然后,使用通道注意力SE(squeeze and excitation)模块以减少由ARM提取残差特征产生的通道之间信息冗余,并以在图像分类领域获得卓越性能的EfficientNet(high-efficiency network)为骨干网络,提出一种新的图像拼接检测算法。结果 实验结果表明,所提算法在CASIA I(CASIA image tampering detection evaluation database),CASIA II,COLUMBIA COLOR,NIST16(NIST special database 16)和FaceForensic++这5个公开数据集上分别取得98.95%,98.88%,100%,100%,88.20%的检测准确率,获得比现有算法更高的准确率。提出的ARM将骨干网络EfficientNet在CASIA II数据集的准确率提高了3.94%以上。结论 提出的基于自适应残差的图像拼接检测算法充分考虑图像之间的差异,凸显篡改区域与未篡改区域之间的区别,并获得更好的拼接检测结果。
关键词
Adaptive residual algorithm for image splicing detection
Zhang Ling1,2,3, Mu Wenpeng1,2,3, Chen Beijing1,2,3(1.Engineering Research Center of Digital Forensics, Ministry of Education, Nanjing University of Information Science & Technology, Nanjing 210044, China;2.Jiangsu Collaborative Innovation Center of Atmospheric Environment and Equipment Technology (CICAEET), Nanjing University of Information Science & Technology, Nanjing 210044, China;3.School of Computer Science, Nanjing University of Information Science & Technology, Nanjing 210044, China) Abstract
Objective In recent years,digital media have become central to the exchange of information in our daily lives.With the rapid development of image editing tools and deep learning techniques,tampering with transmitted images is easy.Image splicing is one of the most common types of image tampering.Malicious image splicing challenges reputation,law,and politics.Therefore,various approaches have been proposed for detecting image splicing forgeries.Deep learning has also been successfully applied in image splicing detection.However,the existing deep learning-based works usually preprocess the input images by extracting features filtered by the high-pass filters with fixed parameters,which does not consider the differences between images.Method Therefore,a new image splicing detection algorithm is proposed in this paper.First,an adaptive residual module(ARM) is designed to highlight the splicing traces.In the ARM,the residual after the convolution operation is serialized several times,and the attention mechanism is used to realize the nonlinear interaction between channels after each connection.Unlike ordinary filters with fixed parameters,the ARM module entirely relies on the feature reuse and attention mechanism of residuals to retain and enlarge the details of the splicing.Then,a squeeze and excitation(SE) module is used to reduce the inter channel information redundancy generated by ARM residual feature extraction.The SE module uses an average adaptive pool to generate channel statistics information on global space and the gating mechanism of the Sigmoid activation function to learn channel weights from channel dependencies.Finally,a new image splicing detection algorithm is proposed by combining with the proposed ARM and the backbone network EffcientNet,a model with excellent performance in image classification.Result Experimental results show the proposed algorithm achieves 98.95%,98.88%,100%,100%,and 88.20% detection accuracies on CASIA image tampering detection evaluation database(CASIA I),CASIA II,COLUMBIA COLOR,NIST special database 16(NIST16),and FaceForensic++,respectively,and obtains higher accuracy than the existing algorithms.Moreover,the proposed ARM algorithm improves the accuracy of backbone network by 3.94% on the CASIA II dataset.Regarding the computational time,on the CASIA II dataset,the training time per batch of the proposed algorithm is 71.75 s,and the test time for a single image is 0.011 s,which is less than the existing algorithms.In addition,the size of the parameters of ARM is 0.003 6 MB,which is about 2‰ of the parameters size of the backbone network EfficientNet,and the FLOPs are about 0.037 G.Conclusion This paper proposes an image splicing detection algorithm based on ARM,and the proposed algorithm performs well on five public datasets.The designed ARM is a plug-and-play lightweight,adaptive feature extraction module,and it can be migrated on other models,such as Xception and ResNet.
Keywords
|