Deep models have been widely and successfully used in image manipulation detection, which aims to classify tampered images and localize tampered regions. Most existing methods mainly focus on extracting global features from tampered images, while neglecting the relationships of local features between tampered and authentic regions within a single tampered image. To exploit such spatial relationships, we propose Proposal Contrastive Learning (PCL) for effective image manipulation detection. Our PCL consists of a two-stream architecture by extracting two types of global features from RGB and noise views respectively. To further improve the discriminative power, we exploit the relationships of local features through a proxy proposal contrastive learning task by attracting/repelling proposal-based positive/negative sample pairs. Moreover, we show that our PCL can be easily adapted to unlabeled data in practice, which can reduce manual labeling costs and promote more generalizable features. Extensive experiments among several standard datasets demonstrate that our PCL can be a general module to obtain consistent improvement. The code is available at https://github.com/Sandy-Zeng/PCL.
翻译:在图像操纵探测中,广泛和成功地使用了深层模型,目的是对被篡改的图像进行分类,并使被篡改的区域本地化;大多数现有方法主要侧重于从被篡改的图像中提取全球特征,同时忽视被篡改的和真实的区域在被篡改的图像中之间的当地特征关系;为了利用这种空间关系,我们提议提议采用差异性学习(PCL),以便有效地探测图像篡改。我们的PCL由双流结构组成,分别从 RGB 和噪音观点中提取两种类型的全球特征。为了进一步改善歧视力量,我们通过代理建议对比性学习任务利用地方特征之间的关系,通过吸引/复制基于建议的积极/负式样本组合。此外,我们表明我们的PCL可以很容易地在实际中适应未加标签的数据,这可以减少人工标签的成本,促进更通用的特征。几个标准数据集之间的广泛实验表明,我们的PCL可以是一个获得一致改进的一般模块。该代码可在https://github.com/Sandy-Zeng/PCL上查阅。