Current Issue Cover
面向感知哈希的图像数据集

周元鼎, 房耀东, 秦川(上海理工大学光电信息与计算机工程学院, 上海 200093)

摘 要
目的 感知图像哈希又称图像摘要或是图像指纹,是一种有效的图像认证技术,近年来受到了广泛的关注。该技术通过将图像的感知鲁棒特征转化为固定长度的哈希序列,来实现图像版权认证。然而,该领域始终缺乏一个比较通用的数据集,已有数据集所使用的图像内容保留操作和真实场景差异较大,使得训练得到的神经网络架构在应对复杂的图像编辑操作时效果显著下降。方法 针对感知图像哈希任务,面向实际图像内容认证场景构建了一个新的数据集。首先,将现实中常见的图像内容保留操作进行总结和分类,设计了48种单一、复合的图像内容保留操作来生成感知相似图像;然后,根据感知图像哈希的定义,选择与待认证图像语义相似但是感知内容不同的图像作为感知不相似图像,增加了该数据集的辨别难度;最终建立了一个包含116 400幅图像的感知哈希图像数据集。结果 由于本文提出的数据集使用的图像内容保留操作更加复杂,不相似图像也更加难以辨别,使得在该数据集上训练得到的深度神经网络具有较好的泛化能力,即这些神经网络即使不进行重新训练或是微调,也可以在其他数据集上取得较好的认证性能。同时,在该数据集上训练得到的神经网络在不同数据集上性能差别较小,体现了本文数据集具有较好的稳定性。结论 设计了一个针对感知哈希的图像数据集,大量的对比实验表明了该数据集的有效性,该工作可对感知图像哈希领域的发展起到促进作用。
关键词
Large-scale image dataset for perceptual hashing

Zhou Yuanding, Fang Yaodong, Qin Chuan(School of Optical-Electrical and Computer Engineering, University of Shanghai for Science and Technology, Shanghai 200093, China)

Abstract
Objective With the rapid development of social media,multimedia information on the internet is updated at an exponential rate. Obtaining and transmitting digital images have become convenient,considerably increasing the risk of malicious tampering and forgery of images. Accordingly,increasing attention is given to image authentication and content protection. Many image authentication schemes have emerged recently,such as watermarking,the use of digital signatures,and perceptual image hashing(PIH). PIH,also known as image abstract or image fingerprint,is an effective technique for image authentication that has attracted widespread research attention in recent years. The goal of PIH is to authenticate an image by compressing perceptual robust features into a compact hash sequence with a fixed length. However,a general dataset in this field is lacking,and the dataset constructed using other methods have many problems. On the one hand,the types of image content-preserving manipulations used in these datasets are few and the intensity of attacks is relatively weak. On the other hand,the distinct images used in these datasets are extremely different from the images that must be authenticated,making it easy to distinguish them from each other. The convolutional neural networks(CNNs)trained by these datasets have poor generalizability and can hardly cope with the complex and diverse image editing operations in reality. This important factor has limited the development of the PIH field. Method On the basis of the preceding knowledge,we propose a specialized dataset based on various manipulations in this study. This dataset can deal with complex image authentication scenarios. The proposed dataset is divided into three subsets:original,perceptual identical,and perceptual distinct images. The latter two correspond to the robustness and discrimination of PIH,respectively. Original images are selected from ImageNet1K,and each of them corresponds to one category. For identical images,we summarize the content-preserving manipulations commonly used in the field of PIH and group them into four major categories:geometric,enhancement,filter,and editing manipulations. Each major category is subdivided into different types,for a total of 35 single-image content-preserving manipulations. To ensure the diversity and reflect the randomness of image editing in reality,we set a threshold for each type of image content-preserving manipulation and let them randomly select the attack intensity within this range. In addition,we randomly combine multiple single-image content-preserving manipulations to form combination manipulations. Some combined manipulations in the test set have not been learned in the training set due to the randomness. This result is also in line with practical application scenarios,because many unlearned,combined image editing manipulations exist in reality. For perceptual distinct images,except for a portion of images unrelated to the original images,the other portions are selected from the same category that corresponds to each original image,increasing the difficulty of the dataset and improving the generalizability of the trained CNNs. Compared with previously adopted datasets,our dataset conforms more to the actual application scenario of the PIH task. Our dataset contains 1 200 original images,and each original image is subjected to 48 image content-preserving manipulations to generate 48 perceptual identical images. To balance the number of perceptual identical and distinct images,we also select 48 perceptual distinct images for each original image. Then,24 images are randomly selected among them,and the other 24 images are semantically similar to the original images. Therefore,each batch contains 1 original image,48 perceptual identical images,and 48 perceptual distinct images,for a total of 97 images. Our dataset has 1 200 original images or 116 400 images in total. The large amount of data ensures the effective training of CNNs. Result To validate the performance of the dataset proposed in this study (i. e. ,PIHD),four CNNs were trained on five datasets,including PIHD,and tested on these datasets. The receiver operating characteristic curves of each model is compared to judge its performance. The content-preserving manipulations used in this dataset are more complex and distinct images are more difficult to distinguish,the CNNs trained on this dataset provide better image authentication performance. Even without retraining or fine-tuning,they can still obtain satisfactory image authentication performance on other datasets,fully demonstrating the generalizability of the PIHD dataset. In addition,we compare the area under curve of each model on different test sets. The results demonstrate that the performance of the networks trained on other comparison datasets varies considerably across test sets,while the performance trained on PIHD remains nearly constant across datasets,reflecting the stability of the PIHD dataset. Collectively, the networks trained on our dataset are stable and exhibit certain generalization ability,enabling them to cope with complex and diverse real-world editing operations. Conclusion In this study,we design a dataset for the PIH task that uses richer image content-preserving manipulations and exhibits a certain randomness to restore the real application scenario to the maximum extent. In addition,images with the same semantic meaning as the original images are added to the distinct images in the dataset,increasing the difficulty in compliance with the PIH task. This step enables the trained CNNs to cope with more realistic and complex practical application scenarios. We test the dataset with different models on various datasets,including our proposed dataset. A large number of experiments demonstrate the effectiveness,generalizability,and stability of this dataset. Hence,this dataset can promote the development of the PIH field.
Keywords

订阅号|日报