A highly imperceptible color watermark attack method
Through the highly imperceptible color watermark attack network, combined with the decolorization and colorization network and the Gaussian noise module, the problem of damage to visual quality caused by the watermark attack method is solved, efficient watermark information destruction is achieved, and the robustness and visual appearance of the watermark attack are improved. .
Patent Information
- Application Number
- CN202410923981.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-07-11
AI Technical Summary
Existing watermark attack methods will cause great losses to the visual quality of the attacked watermarked image when destroying watermark information extraction, and cannot meet the needs of watermark embedding methods, resulting in limited development of robust watermark algorithms.
A highly imperceptible color watermark attack network is used, including a decolorization network, a coloring network and a Gaussian noise module. Through convolution operation and loss function optimization, an attacked watermark image is generated that does not affect the visual quality and enhances the attack capability.
Without damaging the visual quality, the bit error rate and attack capability of the watermark attack are improved. The average PSNR reaches 34.5, SSIM reaches 0.9856, and the bit error rate can reach up to 0.2503. It significantly improves the visual appearance and attack ability of the attacked watermarked image. ability.
Smart Images

Figure CN118469792B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image processing, and in particular to a highly imperceptible color watermark attack method. Background Art
[0002] With the continuous development of Internet technology, information retrieval has become more and more convenient. At the same time, a large amount of information is transmitted on the Internet without restriction. How to effectively protect information security is a key issue that needs to be solved urgently. Digital watermarking technology is a key technology for digital image copyright protection. It achieves the purpose of confirming the copyright of the image by embedding some identification information (i.e., digital watermark) in the image to be protected. However, in the transmission process of the watermarked image, it is inevitable to encounter various attacks, resulting in the inability to extract the watermark information. Robust watermarking algorithms have emerged to solve this problem.
[0003] The research on robust watermarking algorithms mainly focuses on two aspects: watermark embedding methods and watermark attack methods. Watermark embedding methods enhance the resistance to various attack methods by improving the robustness of the algorithm, while watermark attack methods destroy the extraction of watermark information by attacking the watermark image in various ways. In recent years, research work has mainly focused on watermark embedding methods, aiming to improve the robustness of the algorithm. However, the existing watermark attack system can no longer meet the needs of watermark embedding methods. The watermark information is extracted from the attacked watermark image with a very low bit error rate or even no loss.
[0004] At present, the research on watermark embedding methods at home and abroad is developing rapidly, while the research on watermark attack methods has made little progress. Since 2002, new watermark attack types have rarely been proposed, and there has been little research on watermark attacks. The complementary relationship between watermark embedding and watermark attacks has lost its balance, which undoubtedly affects the prosperity and development of robust watermark algorithms. Although the current watermark attack methods will interfere with the accurate extraction of watermark information, they will also cause significant loss in the visual quality of the attacked watermarked image. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a highly imperceptible color watermark attack method, which can interfere with the normal extraction of watermark information without damaging the visual quality of the attacked watermark image.
[0006] The present invention adopts the following technical solutions to achieve the invention objectives:
[0007] A highly imperceptible color watermark attack method, characterized by comprising the following steps:
[0008] S1: The architecture of constructing a highly imperceptible color watermark attack network;
[0009] S2: Using the architecture of the highly imperceptible color watermark attack network to perform watermark attacks;
[0010] S21: The watermarked image Send to decolorization network Generate grayscale image ;
[0011] (1);
[0012] S22: Introduce the Gaussian noise module to add noise interference to the generated grayscale image. The Gaussian kernel can be expressed as:
[0013] (2);
[0014] in: is the variance of the Gaussian function;
[0015] is the spatial position of the image pixel;
[0016] is a natural constant;
[0017] S23: Using Gaussian kernel Convolution with the target image is performed to achieve the interference target. The convolution operation can be expressed as:
[0018] (3);
[0019] in: is a noise image;
[0020] represents the Gaussian kernel size;
[0021] S24: Noise image As a shading network Input, thereby obtaining the attacked watermark image :
[0022] (4);
[0023] S3: Construct watermark attack loss function.
[0024] As a further limitation of the present technical solution, the architecture of the highly imperceptible color watermark attack network includes a decolorization network, a colorization network and a Gaussian noise module.
[0025] As a further limitation of the present technical solution, the UNet network architecture is used as the network architecture backbone of the decolorization network and the colorization network.
[0026] As a further limitation of the present technical solution, the specific steps of S3 are:
[0027] S31: In order to ensure the high imperceptibility of the attacked watermarked image, a loss function is introduced To reduce the original watermarked image And the attacked watermarked image The difference between
[0028] (5);
[0029] S32: Design brightness loss , contrast loss and local structural damage To train a highly imperceptible watermark attack network to generate grayscale images :
[0030] (6);
[0031] in: To extract the brightness information of the real grayscale image;
[0032] and Set to 70 and 0 respectively;
[0033] (7);
[0034] in: Represents a pre-trained VGG16 network that captures contrast information;
[0035] Represents the use of Pytorch1.10's standard transformation function from the original watermarked image The obtained real grayscale image;
[0036] (8);
[0037] in: represents the average value used to calculate local changes;
[0038] S33: Define quantization loss To train the network:
[0039] (9);
[0040] in: is a matrix whose size is The same size as the matrix Each value in is equivalent to ;
[0041] S34: Use the overall loss function to optimize the highly imperceptible color watermark attack network:
[0042] (10);
[0043] in: and Represent the contrast loss and the weight value of contrast loss respectively.
[0044] Compared with the prior art, the advantages and positive effects of the present invention are as follows: the present invention proposes a highly invisible color watermark attack network that applies color transformation to the field of watermark attack, which can further improve the existing watermark attack system, and the peak signal-to-noise ratio (PSNR) and structural similarity index (SSIM) of the attacked watermarked image can reach 34.5 and 0.9856 respectively. The present invention introduces a Gaussian noise module and a color transformation network to destroy the embedded watermark information, enhances the attack capability of the highly invisible color watermark attack network, and the bit error rate of the watermark information can reach up to 0.2503. The present invention has shown through a large number of experiments that it is feasible to attack the robust watermark algorithm without affecting the visual quality of the watermark image. Compared with the existing watermark attack method based on deep learning, the visual appearance and attack capability of the attacked watermark image have been significantly improved, and the average PSNR (100 test images) has reached 31.07 and the average bit error rate (100 test images) has reached 0.2245. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a schematic diagram of the architecture of the highly imperceptible color watermark attack network of the present invention.
[0046] Figure 2 Schematic diagram of the difference in information loss between the present invention and the traditional single watermark attack method. DETAILED DESCRIPTION
[0047] A specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific implementation.
[0048] Most watermark attack methods directly destroy the watermark image by filtering the image, adding noise, etc., so as to achieve the purpose of destroying the accurate extraction of watermark information. However, the visual quality of the attacked watermark image will also be greatly affected. Therefore, the present invention provides a highly imperceptible color watermark attack method.
[0049] The present invention comprises the following steps:
[0050] S1: Construct the architecture of a highly imperceptible color watermark attack network; the architecture of a highly imperceptible color watermark attack network includes a decolorization network, a coloring network, and a Gaussian noise module (GNM).
[0051] The UNet network architecture is used as the backbone of the decolorization network and the colorization network.
[0052] S2: Use the architecture of the highly imperceptible color watermark attack network to perform watermark attacks. The highly imperceptible color watermark attack network can be regarded as a new form of attack that combines traditional models and deep learning.
[0053] S21: The watermarked image Send to decolorization network Generate grayscale image ;
[0054] (1);
[0055] S22: In order to improve the attack capability of the highly imperceptible color watermark attack network, a Gaussian noise module is introduced to add noise interference to the generated grayscale image. The Gaussian kernel can be expressed as:
[0056] (2);
[0057] in: is the variance of the Gaussian function;
[0058] is the spatial position of the image pixel;
[0059] is a natural constant;
[0060] S23: Using Gaussian kernel Convolution with the target image is performed to achieve the interference target. The convolution operation can be expressed as:
[0061] (3);
[0062] in: is a noise image;
[0063] represents the Gaussian kernel size;
[0064] S24: Noise image As a shading network Input, thereby obtaining the attacked watermark image :
[0065] (4);
[0066] S3: Construct watermark attack loss function.
[0067] The specific steps of S3 are:
[0068] S31: In order to ensure the high imperceptibility of the attacked watermarked image, a loss function is introduced To reduce the original watermarked image And the attacked watermarked image The difference between
[0069] (5);
[0070] S32: In order to reduce the information loss in the color conversion process and ensure the visual quality of the attacked watermarked image, the generated grayscale image should have a normal and meaningful appearance. Design brightness loss , contrast loss and local structural damage To train a highly imperceptible watermark attack network to generate grayscale images :
[0071] (6);
[0072] in: To extract the brightness information of the real grayscale image;
[0073] and Set to 70 and 0 respectively;
[0074] (7);
[0075] in: Represents a pre-trained VGG16 network that captures contrast information;
[0076] Represents the use of Pytorch1.10's standard transformation function from the original watermarked image The obtained real grayscale image;
[0077] (8);
[0078] in: represents the average value used to calculate local changes;
[0079] S33: In order to force the pixel values of the generated grayscale image to be limited to the integer range, define the quantization loss To train the network:
[0080] (9);
[0081] in: is a matrix whose size is The same size as the matrix Each value in is equivalent to ;
[0082] S34: Use the overall loss function to optimize the highly imperceptible color watermark attack network:
[0083] (10);
[0084] in: and Represent the contrast loss and the weight value of contrast loss respectively. During the experiment, and The values are 3 and 10 respectively.
[0085] The decolorization network architecture is shown in Table 1.
[0086] Table 1 Decolorization network architecture
[0087]
[0088] The workflow of the present invention is:
[0089] Embed the watermarked image with watermark information Input to the decolorization network . Decolorization Network Generates normal-looking grayscale images with color information removed . Grayscale image As the input of GNM, we can get the noisy image , whose size and dimensions are the same as the generated grayscale image Same; the noise image As a shading network Input, get the attacked watermarked image .
[0090] In order to improve the training efficiency of the model, a small training dataset consisting of 710 male face images was created to train the highly imperceptible color watermark attack network in PyTorch 1.10 and Python 3.6. The training epoch was set to 100. The image size in the training and test datasets was cropped to 256×256. The sizes of the watermark images were 16×16, 32×32, and 64×64, respectively.
[0091] Traditional watermark attack methods destroy the accurate extraction of watermark information by directly destroying the global area of the watermarked image. The direct impact is that the visually imperceptible appearance of the watermarked image will undoubtedly be severely damaged by these brute force attack methods. We conducted a large number of experiments to compare the differences in information loss between the highly imperceptible color watermark attack network and traditional watermark attack methods (single attack method and combined attack method). Figure 2 The information loss obtained by different watermark attack methods is given.
[0092] The above disclosure is only a specific embodiment of the present invention, but the present invention is not limited thereto, and any changes that can be conceived by those skilled in the art should fall within the protection scope of the present invention.
Claims
1. A highly imperceptible color watermark attack method, characterized in that: The following steps are involved: S1: The architecture of constructing a highly imperceptible color watermark attack network; S2: Using the architecture of the highly imperceptible color watermark attack network to perform watermark attacks; S21: The watermarked image Send to decolorization network Generate grayscale image ; (1); S22: Introduce the Gaussian noise module to add noise interference to the generated grayscale image. The Gaussian kernel can be expressed as: (2); in: is the variance of the Gaussian function; is the spatial position of the image pixel; is a natural constant; S23: Using Gaussian kernel Convolution with the target image is performed to achieve the interference target. The convolution operation can be expressed as: (3); in: is a noise image; represents the Gaussian kernel size; S24: Noise image As a shading network Input, thereby obtaining the attacked watermark image : (4); S3: construct watermark attack loss function; The specific steps of S3 are: S31: In order to ensure the high imperceptibility of the attacked watermarked image, a loss function is introduced To reduce the original watermarked image And the attacked watermarked image The difference between (5); S32: Design brightness loss , contrast loss and local structural damage To train a highly imperceptible watermark attack network to generate grayscale images : (6); in: To extract the brightness information of the real grayscale image; and Set to 70 and 0 respectively; (7); in: Represents a pre-trained VGG16 network that captures contrast information; Represents the use of Pytorch1.10's standard transformation function from the original watermarked image The obtained real grayscale image; (8); in: represents the average value used to calculate local changes; S33: Define quantization loss To train the network: (9); in: is a matrix whose size is The same size as the matrix Each value in is equivalent to , S34: Use the overall loss function to optimize the highly imperceptible color watermark attack network: (10); in: and Represent the weight values of contrast loss and local structure loss respectively.
2. The highly imperceptible color watermark attack method according to claim 1 is characterized in that: The architecture of the highly imperceptible color watermark attack network includes a decolorization network, a colorization network and a Gaussian noise module.
3. The highly imperceptible color watermark attack method according to claim 2 is characterized in that: The UNet network architecture is used as the backbone of the decolorization network and the colorization network.
