Image data forensics method and system

By designing the UsmSA block structure in image detection, combined with depth-separable convolution and self-attention mechanism, the problem of reduced detection efficiency and insufficient robustness of USM sharpened images is solved, and high accuracy of USM sharpened images is achieved. Detection and adaptability to various post-processing operations.

CN117496225BActive Publication Date: 2024-09-06NANCHANG UNIV +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311343578.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-17
Publication Date
2024-09-06
Estimated Expiration
2043-10-17

AI Technical Summary

Technical Problem

When the existing technology detects USM sharpened images, the detection efficiency is lower than after JPEG compression, resampling and adding noise processing, and the detection accuracy of images mixed with multiple USM sharpening methods is not high, the robustness is insufficient, and it is difficult to resist Post-processing operations performed by the attacker.

Method used

A convolution block structure based on the UsmSA block is designed, which combines depth-separable convolution, SE module and self-attention mechanism. Through feature enhancement and classification model construction, it achieves high-accuracy detection of USM sharpened images and adapts to Various post-processing operations.

Benefits of technology

It improves the accuracy and robustness of USM sharpened image detection, reduces the false negative rate, can accurately distinguish sharpened images in a variety of scenarios, and maintains high detection efficiency after JPEG compression, Gaussian noise and resampling processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117496225B
    Figure CN117496225B
Patent Text Reader

Abstract

The present application discloses an image data forensics method and system thereof, wherein the image data forensics method comprises the following steps: determining a convolution block; in response to completing the determination of the convolution block, constructing a classification model based on the convolution block; completing image forensics according to the constructed classification model, and obtaining the final image forensics result. The UsmSA block and classification model constructed in the present application can not only have a very high detection accuracy rate for USM sharpening processed images, but also reduce the underreporting rate of USM sharpening forensics.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and in particular, to an image data forensics method and system thereof. Background Art

[0002] With the advent of the digital age, global digital construction is in full swing. People can easily learn about various social information and share daily life through the Internet. Among them, images and videos, as the main carriers of information dissemination on the Internet, have become an inseparable part of people's lives. At present, many researchers have published their ideas on digital image forensics. The current mainstream detection method is mainly based on deep learning detection method, which regards digital image forensics as a binary classification problem, and distinguishes false samples from real samples by designing new neural network structures or loss functions. However, most of them currently use image post-processing operations to conceal the traces of image modification. Since the USM sharpening method is an important image processing method, USM sharpening can be used to conceal traces of image tampering, so the detection of this sharpening process should play a key role in image forensics. With the development of technology, how to improve the robustness of the model has become increasingly important in image forensics. Most of the existing schemes have a good detection effect on USM sharpening, but when the USM sharpened image is subjected to JPEG compression, resampling, and noise addition, the detection efficiency is significantly reduced. In order to address the above problems, the present invention designs a digital image sharpening forensics method based on UsmSA. It can realize the forensic work of images after USM sharpening, and experiments have proved that the accuracy of the model detection is very good. It is particularly worth mentioning that the present invention can adaptively extract image features in different forensic scenarios, and has strong robustness to various image post-processing operations. When the USM-sharpened image is added with Gaussian noise, JPEG compression or resampling, the detection accuracy of the method does not show a significant decrease. However, most of the existing methods are to distinguish whether the image has been USM sharpened, but when the images processed by multiple USM sharpening methods are mixed together, the detection accuracy is not high. In the process of forensics, since it is impossible to distinguish which USM sharpening method the image is generated by, this requires the scheme to have a high sensitivity to multiple sharpening methods, and also have outstanding detection capabilities when multiple sharpened images are mixed, reducing the false alarm rate. In addition, the existing anti-forensic means often perform post-processing such as JPEG compression, resampling, and adding Gaussian noise on the image to conceal the modification traces. The attacker may perform the above post-processing operations on the sharpened adversarial sample to interfere with the forensic detector. Therefore, the robustness of the image forensics scheme to multiple post-processing operations is very important. The existing solutions have poor robustness and can generally only withstand a certain type of post-processing operation, and their accuracy needs to be improved.

[0003] Therefore, how to provide an image forensics method that is highly robust to post-processing methods such as Gaussian noise, JPEG compression, and resampling operations has become an urgent problem to be solved in this field. Summary of the invention

[0004] The present application provides an image data forensics method, comprising the following steps: determining a convolution block; in response to completing the determination of the convolution block, building a classification model based on the convolution block; completing image forensics according to the built classification model to obtain a final image forensics result.

[0005] As above, the determination of the convolution block specifically includes the following sub-steps: inputting the image data into the depthwise separable convolution; after the image data is input into the depthwise separable convolution, the image data is passed through the layer normalization layer and the activation function to obtain a feature map; the feature map is input into the SE module to assign weights to each channel; after assigning weights, the feature map is input into the self-attention block; after the feature map is input into the self-attention block, a feedforward network is used for feature enhancement.

[0006] As mentioned above, the image data refers to the image data after USM sharpening processing.

[0007] As above, inputting the feature map into the SE module includes, the SE module passes the input feature map through the pooling+FC layer, and stretches the size of the feature map to 1×1×C.

[0008] As mentioned above, the construction of a classification model based on a convolution block includes inputting RGB three-channel image data into the classification model.

[0009] An image data forensics system includes a convolution block determination unit, a classification model building unit and an evidence collection result acquisition unit; the convolution block unit is used to determine the convolution block structure; the classification model building unit is used to build a classification model based on the determined convolution block; the evidence collection result acquisition unit is used to complete image forensics according to the built classification model and obtain the final image forensics result.

[0010] As above, the convolution block unit determines the convolution block specifically including the following sub-steps: inputting the image data into the depth-separable convolution; after the image data is input into the depth-separable convolution, the image data passes through the layer normalization layer and the activation function to obtain a feature map; the feature map is input into the SE module to assign weights to each channel; after assigning weights, the feature map is input into the self-attention block; after the feature map is input into the self-attention block, a feedforward network is used for feature enhancement.

[0011] As mentioned above, the image data in the convolution block unit refers to the image data after USM sharpening processing.

[0012] As above, the convolution block unit inputs the feature map into the SE module, and the SE module passes the input feature map through the pooling+FC layer to stretch the size of the feature map to 1×1×C.

[0013] As mentioned above, in the classification model building unit, building a classification model based on a convolution block includes inputting RGB three-channel image data into the classification model.

[0014] This application has the following beneficial effects:

[0015] (1) The UsmSA block and classification model constructed in this application can not only have a very high detection accuracy for USM sharpening processed images, but also reduce the false negative rate of USM sharpening forensics.

[0016] (2) The model structure of the present invention is relatively simple. Convolutional neural networks have been proven to be effective models for image detection. Compared with traditional sharpening forensics methods, the model proposed by the present invention is simpler and more efficient, and has higher detection efficiency.

[0017] (3) The classification model built by this application is highly robust and can adapt to multi-scenario evidence collection. This method is highly robust to JPEG compression, Gaussian noise, and resampling. Even if the USM sharpened image has undergone the above three post-processing operations, this application can accurately distinguish the sharpened image. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0019] Figure 1 is a flow chart of an image data forensics method provided according to an embodiment of the present application;

[0020] Figure 2 is a schematic diagram of the structure of a convolution block provided according to an embodiment of the present application;

[0021] Figure 3 is a structural diagram of a classification model provided according to an embodiment of the present application;

[0022] Figure 4 It is a schematic diagram of the internal structure of the image data forensics system provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0023] The following is a clear and complete description of the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0024] This application designs a high-precision USM sharpening recognition algorithm based on the characteristics of the USM sharpening algorithm. Specifically, a convolutional block structure called UsmSA Block is designed, and the SE module and attention mechanism are introduced to learn the key features of USM sharpening from many features, and the extracted feature matrix is ​​input into the convolutional neural network for prediction and classification.

[0025] Embodiment 1

[0026] like Figure 1 As shown, an image data forensics method provided by this embodiment specifically includes the following steps:

[0027] Step S110: determine the convolution block.

[0028] In this embodiment, a convolutional block structure is designed and proposed, called the UsmSA block. UsmSA is a residual block, and there is a certain probability that this part of the network structure will be skipped during training. In the UsmSA structure, a depth-separable convolution is first used to split the multi-channel feature maps from the previous layer into feature maps of a single channel, and then perform single-channel convolution on them and stack them together.

[0029] like Figure 2 As shown, it is a schematic diagram of the structure of the UsmSA block. In this embodiment, the layer normalization layer LN is used in all UsmSA (USM Sharpening Self-Attention Block), and the mean and variance of all neurons of the current sample are calculated for different samples. Then, the compression and excitation network SE (Squeeze and Excitation network) module is used to explicitly model the interdependence between feature channels, obtain the importance of each channel by learning, and then weight the features on each channel according to this importance, so as to highlight important features and suppress unimportant features. Finally, the attention mechanism is used to achieve better feature representation for the network. This structure learns the weights of the relationship between channels and the weights of the relationship between pixels through branches, and then multiplies them back to the original feature map, so that the feature map can be better represented. Finally, a FFN is used.

[0030] Among them combined Figure 2, the determination of the convolutional block includes the following sub-steps:

[0031] Step S1101: Input image data into depth-wise separable convolution.

[0032] The image data refers to image data after USM sharpening processing. The process of USM sharpening processing can refer to the existing technology and will not be described in detail here.

[0033] Step S1102: After the image data is input into the depthwise separable convolution, the image data passes through the layer normalization layer LN and the ReLU activation function to obtain a feature map.

[0034] This embodiment makes it easier to learn feature representations of different scales and abstraction levels through this part, which helps to improve the network's expressive power and generalization performance.

[0035] Step S1103: Input the feature map into the SE module and assign weights to each channel.

[0036] The multiplication feature fusion of the SE module can stretch the input feature map into 1×1×C through the pooling+FC layer, and then multiply it with the original image data to assign weights to each channel.

[0037] The specific values ​​of the weights assigned are randomly selected values.

[0038] Step S1104: After assigning weights, the feature map is input into the self-attention block Block SA.

[0039] The purpose of designing this block is to perform adaptive feature refinement by multiplying the obtained attention map with the input feature map to further improve the generalization ability and robustness of the model.

[0040] Step S1105: After the feature map is input into the self-attention block Block SA, the feed-forward network FFN is used to perform feature enhancement.

[0041] Finally, a feedforward network FFN is used in the UsmSA block to perform feature enhancement to better improve the detection performance of the model.

[0042] Step S120: In response to the determination of completing the convolution block, building a classification model based on the convolution block.

[0043] Based on the UsmSA block, a classification model (CNN model) is built to implement the sharpness detection of USM image data. Figure 3 As shown in the figure, the structure of the built CNN model is shown in the figure. The construction of the classification model based on this structure specifically includes the following sub-steps:

[0044] Step S1201: Input image data.

[0045] There are two types of input images, one is unsharpened images, and the other is sharpened images. The data size of the two types of images is 224×224.

[0046] The input image data is RGB three-channel, because the goal of this work is to perform USM forensic detection on color images.

[0047] Step S1202: Process the image data to obtain a feature map of a specified size, input the feature map into the LN layer of the classification model, and complete the processing of the feature map.

[0048] The image is convolved into a feature map of size 96×(56×56) using a 4x4 convolution kernel, and then passed through an LN layer, after which these feature maps are continuously inserted into Figure 3 There are 4 stages in it.

[0049] The first stage includes three UsmSA blocks, followed by a layer normalization. The second stage includes a convolutional layer, 3 UsmsA blocks, and layer normalization. The third stage then includes a convolutional layer, 9 UsmSA blocks, and layer normalization, and finally the fourth stage includes a convolutional layer and 3 UsmSA blocks.

[0050] Between each stage, a layer normalization (LN) and a convolutional layer are used. Figure 3 "dim=192,384,768" means that the output feature dimensions are 192,384,768 respectively.

[0051] Finally, a global average pooling layer is used instead of the fully connected layer to process the data of the entire feature map. This improvement can force the correspondence between the feature map and the category and avoid overfitting.

[0052] After the above steps, a final feature vector is obtained to complete the construction of the classification model.

[0053] Step S130: Complete image forensics according to the constructed classification model and obtain the final image forensics result.

[0054] The built classification model also includes a linear classification module, which consists of a fully connected layer and a softmax function. Through the linear classification module, the feature map is input into the fully connected layer and the softmax() activation function to obtain the final category probability, that is, the forensic result.

[0055] The threshold can be set in advance. For example, if the threshold is 0.5, if the category probability is between 0.5-1, the input image is judged to be a sharpened image, and if the category probability is between 0-0.5, it is judged to be an unsharpened image.

[0056] Based on the UsmSA blocks and classification models constructed above, this embodiment also uses a public image dataset to conduct experiments to verify the effectiveness of the present invention.

[0057] The experiment uses the public datasets COCO and UCID. COCO is a large-scale dataset for object detection, segmentation, and key point detection. This dataset consists of 328,000 uncompressed images of complex scenes. The UCID dataset is a dataset that contains 1,338 uncompressed color images. The purpose of this image dataset is to provide a benchmark dataset for image retrieval.

[0058] The COCO dataset was randomly selected using a partitioning algorithm to select a training set of 40,000 images and a test set of 14,000 images. Both the training set and the test set were divided into two groups. One of the images in the training set and the test set was subjected to USM sharpening based on Gaussian filtering. This study selected nine USM sharpening parameters for experiments. The model accuracy under different parameters on the COCO dataset is shown in Table 1.

[0059] Table 1 Sharpening detection accuracy under nine different σ and λ

[0060]

[0061] The prior arts 1 and 2 are reproduced as comparative schemes. It can be seen from Table 1 that the detection accuracy of the present invention under nine sharpening parameters is higher than that of the two prior arts. A set of experiments was conducted to evaluate the accuracy of the present invention in detecting multiple different sharpening methods. In order to generate the sharpened images for this set of experiments, all images in the test database were randomly divided into five image sub-databases, each with 1,400 DeepFake images. Five different USM sharpening methods were used to sharpen the five sub-databases. The five sharpening methods include a Gaussian filter-based method, a Laplace filter-based method, a quadratic filter-based method, and two adaptive methods. Then, all the sharpened images are mixed together to create a set of 7,000 sharpened images. The results in Table 2 show that the present invention still achieved the best accuracy of 98.47% in this case.

[0062] Table 2 Detection accuracy of mixed sharpened images processed by five different sharpening methods

[0063]

[0064] In order to hide the traces of tampering, the attacker may perform JPEG compression on the USM sharpened image to further hide the traces of forgery. Therefore, the robustness of the model is verified. Under the sharpening parameters of σ=1.0, λ=1.0, the test images after USM sharpening based on the Gaussian filter are compressed with JPEG compression quality factors in the range of QF={40,50,60,70,80}. The experiment was conducted on the COCO dataset, and the results are shown in Table 3. From the data in the table, it can be seen that the accuracy of the three schemes decreases as the image compression quality factor decreases. The accuracy of the prior art schemes 1 and 2 is seriously reduced. The scheme of the present invention is still very accurate when the compression quality factor is above 50.

[0065] Table 3 Detection accuracy under JPEG compression

[0066]

[0067] In order to verify the effect of adding Gaussian noise on the accuracy of model forensics, Gaussian noise with a variance in the range of {1.0, 1.5, 2.0, 2.5, 3.0} was added to the test data set images after USM sharpening. The USM sharpening parameters are σ=1.0, λ=1.0. The results are shown in Table 4. Although the accuracy of the present invention decreases with the increase of noise intensity, the model's ability to resist noise interference is generally stronger than that of the prior art. When the Gaussian noise intensity is low, the accuracy of the present invention can reach 99.23%, and even when the noise variance is 3.0, the model accuracy is 97.73%. In this group of experiments, the average accuracy of the model of the present invention can reach more than 98%.

[0068] Table 4 Detection accuracy with added Gaussian noise

[0069]

[0070] Finally, the effect of resampling on the accuracy of forensics was verified on the UCID dataset. First, the test set images were resampled with resampling rates in the range of {0.5, 0.75, 1.25, 1.50, 1.75, 2.0}. Then the detection accuracy of the model was tested as shown in Table 5.

[0071] Table 5 Detection accuracy after image resampling

[0072]

[0073]

[0074] In actual experimental operation, the present invention can be adapted to a variety of application scenarios. After testing, the model can be used as a forensic detector for image resampling, JPEG compression or Gaussian noise detection. The above operations are commonly used by attackers to conceal traces of image tampering, so it is of great significance to detect them.

[0075] Embodiment 2

[0076] like Figure 4 As shown, the present application provides an image data forensics system, wherein the system specifically includes: a convolution block determination unit 410, a classification model building unit 420, and an forensics result acquisition unit 430.

[0077] The convolution block unit 410 is used to determine the convolution block.

[0078] In this embodiment, a convolutional block structure is designed and proposed, called the UsmSA block. UsmSA is a residual block, and there is a certain probability that this part of the network structure will be skipped during training. In the UsmSA structure, a depth-separable convolution is first used to split the multi-channel feature maps from the previous layer into feature maps of a single channel, and then perform single-channel convolution on them and stack them together.

[0079] like Figure 2 The figure shows a schematic diagram of the structure of the UsmSA block. Unlike other CNN networks, this embodiment uses layer normalization layers LN in UsmSA to calculate the mean and variance of all neurons of the current sample for different samples. Then, the compression and excitation network SE (Squeeze and Excitation) module is used to explicitly model the interdependence between feature channels, obtain the importance of each channel through learning, and then weight the features on each channel according to this importance, so as to highlight important features and suppress unimportant features. Finally, the attention mechanism is used to achieve better feature representation for the network. This structure learns the weights of the relationship between channels and the weights of the relationship between pixels through branches, and then multiplies them back to the original feature map, so that the feature map can be better represented. Finally, a FFN is used.

[0080] The convolution block determination unit 410 includes the following submodules: a depth-separable convolution input module, a feature map acquisition module, a weight assignment module, a self-attention block input module, and a feature enhancement module.

[0081] The depthwise separable convolution input module is used to input image data into the depthwise separable convolution.

[0082] The feature map acquisition module is used to input the image data into the depth-wise separable convolution, and then the image data passes through the layer normalization layer LN and the ReLU activation function to obtain the feature map.

[0083] The weight assignment module is used to input the feature map into the SE module and assign weights to each channel.

[0084] The self-attention block input module is used to input the feature map into the self-attention block Block SA.

[0085] The feature enhancement module is used to input the feature map into the self-attention block Block SA and use the feedforward network FFN to perform feature enhancement.

[0086] The classification model building unit 420 is used to build a classification model based on the determined convolution block.

[0087] The classification model building unit specifically includes the following sub-modules: image data input module and feature map processing module.

[0088] The image data input module is used to input image data.

[0089] The input image data size is 224×224.

[0090] The input image data is RGB three-channel, because the goal of this work is to perform USM forensic detection on color images.

[0091] The feature map processing module is used to process the image data to obtain a feature map of a specified size, input the feature map into the LN layer of the classification model, and complete the processing of the feature map.

[0092] The image is convolved into a feature map of size 96×(56×56) using a 4x4 convolution kernel, and then passes through an LN layer, after which these feature maps are continuously inserted into 4 stages.

[0093] Between each stage, a layer normalization (LN) and a convolutional layer are used. Figure 3 "dim=192,384,768" means that the output feature dimensions are 192,384,768 respectively.

[0094] Finally, a global average pooling layer is used instead of the fully connected layer to process the data of the entire feature map. This improvement can force the correspondence between the feature map and the category and avoid overfitting.

[0095] After the above steps, a final feature vector is obtained to complete the construction of the classification model.

[0096] The forensic result acquisition unit 430 is used to complete image forensics according to the constructed classification model and obtain the final image forensics result.

[0097] The linear classification module uses them to calculate the final category probability. The linear classification module consists of a fully connected layer and a softmax function, which can output a classification probability.

[0098] This application has the following beneficial effects:

[0099] (1) The UsmSA block and classification model constructed in this application can not only have a very high detection accuracy for USM sharpening processed images, but also reduce the false negative rate of USM sharpening forensics.

[0100] (2) The model structure of the present invention is relatively simple. Convolutional neural networks have been proven to be effective models for image detection. Compared with traditional sharpening forensics methods, the model proposed by the present invention is simpler and more efficient, and has higher detection efficiency.

[0101] (3) The classification model built by this application is highly robust and can adapt to multi-scenario evidence collection. This method is highly robust to JPEG compression, Gaussian noise, and resampling. Even if the USM sharpened image has undergone the above three post-processing operations, this application can accurately distinguish the sharpened image.

[0102] Although the present application is described with reference to examples, this is for illustrative purposes only and is not intended to limit the present application, and changes, additions and / or deletions to the embodiments may be made without departing from the scope of the present application.

[0103] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for obtaining image data forensics, characterized in that: The following steps are involved: Determine the convolution block; In response to the determination of completing the convolutional block, building a classification model based on the convolutional block; Complete image forensics according to the established classification model to obtain the final image forensics result; the image data forensics includes sharpening detection of image data; The construction of the classification model includes the following sub-steps: Input image data; Process the image data to obtain a feature map of a specified size, input the feature map into the LN layer of the classification model, and complete the processing of the feature map; The image is convolved into a feature map of size 96×56×56 using a 4x4 convolution kernel, and then passed through an LN layer, after which these feature maps are continuously inserted into the 4 stages of the model; The first stage includes three convolution blocks and one layer normalization; the second stage includes one convolution layer, three convolution blocks and layer normalization; the third stage includes one convolution layer, nine convolution blocks and layer normalization, and the fourth stage includes one convolution layer and three convolution blocks; The determination of the convolution block specifically includes the following sub-steps: Input image data to depthwise separable convolution; After the image data is input into the depthwise separable convolution, the image data passes through the layer normalization layer and activation function to obtain the feature map; Input the feature map into the SE module and assign weights to each channel; After assigning weights, the feature map is input into the self-attention block; After the feature map is input into the self-attention block, a feed-forward network is used for feature enhancement.

2. The image data forensics method according to claim 1, characterized in that: The image data includes a sharpened image and an unsharpened image.

3. The image data forensics method according to claim 1, characterized in that: Inputting the feature map into the SE module includes: the SE module passes the input feature map through the pooling+FC layer and stretches the size of the feature map to 1×1×C.

4. The image data forensics method according to claim 3, characterized in that: Building a classification model based on convolution blocks includes inputting RGB three-channel image data into the classification model.

5. An image data forensics system, characterized in that: It includes a convolution block determination unit, a classification model building unit, and a forensic result acquisition unit; The convolution block unit is used to determine the convolution block structure; The classification model building unit is used to build a classification model based on the determined convolution block; The forensic result acquisition unit is used to complete the image forensics according to the established classification model and obtain the final image forensics result; the image data forensics includes sharpening detection of image data; The classification model building unit builds the classification model including the following sub-steps: Input image data; Process the image data to obtain a feature map of a specified size, input the feature map into the LN layer of the classification model, and complete the processing of the feature map; The image is convolved into a feature map of size 96×56×56 using a 4x4 convolution kernel, and then passed through an LN layer, after which these feature maps are continuously inserted into the 4 stages of the model; The first stage includes three convolution blocks and one layer normalization; the second stage includes one convolution layer, three convolution blocks and layer normalization; the third stage includes one convolution layer, nine convolution blocks and layer normalization, and the fourth stage includes one convolution layer and three convolution blocks; The convolution block unit determines the convolution block by specifically including the following sub-steps: Input image data to depthwise separable convolution; After the image data is input into the depthwise separable convolution, the image data passes through the layer normalization layer and activation function to obtain the feature map; Input the feature map into the SE module and assign weights to each channel; After assigning weights, the feature map is input into the self-attention block; After the feature map is input into the self-attention block, a feed-forward network is used for feature enhancement.

6. The image data forensics system according to claim 5, characterized in that: The image data in the convolution block unit includes a sharpened image and an unsharpened image.

7. The image data forensics system according to claim 5, characterized in that: The convolution block unit inputs the feature map into the SE module, and the SE module passes the input feature map through the pooling+FC layer to stretch the size of the feature map to 1×1×C.

8. The image data forensics system according to claim 5, characterized in that: In the classification model building unit, building a classification model based on a convolution block includes inputting RGB three-channel image data into the classification model.