A non-linear watermark attack system

By using the U-Net architecture, non-linear residual block and simplified channel attention mechanism in the watermark attack, combined with the GeLU activation function, the attack capability and imperceptibility of the watermark attack are improved, and the attack capability of the existing watermark attack methods is solved. and imperceptibility, achieving a more efficient watermark attack effect.

CN118396830BActive Publication Date: 2024-08-30QILU UNIVERSITY OF TECHNOLOGY (SHANDONG ACADEMY OF SCIENCES)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410851622.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-08-30
Estimated Expiration
2044-06-28

AI Technical Summary

Technical Problem

Existing watermark attack methods have deficiencies in attack capabilities and imperceptibility, making it difficult to effectively challenge robust digital watermark algorithms, resulting in stagnant development of watermark algorithms.

Method used

Using the classic U-Net architecture, skip connections and residual networks integrated with channel attention, combined with non-linear residual blocks and GeLU activation functions, watermark attacks are carried out through non-linear residual blocks and simplified channel attention mechanisms to improve the attack Capacity and imperceptibility.

Benefits of technology

The effect and imperceptibility of watermark attacks are significantly improved. The PSNR and BER indicators are better than other deep learning watermark attack methods, ensuring the practical value and attack effect of watermarked images after the attack.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118396830B
    Figure CN118396830B
Patent Text Reader

Abstract

The present invention discloses a non-linear watermark attack system, which relates to the field of digital watermark technology, and includes the following steps: using the classic U-Net architecture and jump connection, and using the residual network integrated with channel attention to perform watermark attack tasks on RGB images; using non-linear residual blocks in the non-linear watermark attack network, the residual network and the channel attention to perform non-linear removal processing; the non-linear residual block receives the input feature map and extracts features through a series of convolution operations, and the convolution layer is used to perform convolution operations; transposed convolution is used to perform upsampling operations. The present invention is superior to the existing watermark attack methods in terms of watermark attack capability and watermark attack imperceptibility.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of digital watermarking, and in particular to a non-linear watermark attack system. Background Art

[0002] Digital watermarking technology is a technology that can embed hidden information into digital media. Its purpose is to protect the copyright and integrity of digital media to prevent illegal copying and tampering. It is widely used in copyright protection, identity authentication, digital integrity checking and other fields. Digital watermarking technology is closely related to watermark attack technology. Watermark attack technology refers to various methods and techniques for attacking watermark information embedded in digital media.

[0003] The development of things is always dialectical. Digital watermark technology and watermark attack technology complement each other. If digital watermark technology wants to be continuously optimized, it needs to face the challenge of more effective watermark attack technology. Robust watermark algorithms need to be formed through continuous experience. If there is no effective watermark attack algorithm to hone the watermark algorithm, the development of the watermark algorithm will stagnate. Therefore, it is very necessary to develop watermark attack algorithms to improve the digital watermark robustness testing tools. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a non-linear watermark attack system, which is superior to the existing watermark attack methods in terms of watermark attack capability and watermark attack imperceptibility.

[0005] The present invention adopts the following technical solutions to achieve the invention objectives:

[0006] A non-linear watermark attack system, characterized by comprising the following steps:

[0007] The classic U-Net architecture and skip connections are used, and the residual network with channel attention is used to perform watermark attack tasks on RGB images;

[0008] In the nonlinear watermark attack network, residual network and channel attention, non-linear residual blocks are used to remove nonlinearity.

[0009] The non-linear residual block receives the input feature map and extracts features through a series of convolution operations. The convolution layer is used for convolution operations; the transposed convolution is used for upsampling operations. The non-linear watermark attack network uses these two layers to downsample and upsample the feature map.

[0010] Adopting GeLU and removing its nonlinearity effectively solves the gradient vanishing problem in the training process, enhances the perception ability of neurons, and improves the ability to express input data;

[0011] The attention mechanism is introduced into the non-linear residual block, and the channel attention mechanism is further optimized, and a simplified channel attention without non-linearity is proposed.

[0012] As a further limitation of the technical solution, the non-linear residual block uses a gated linear unit to perform non-linear removal;

[0013] GLU is a commonly used neural network module that combines linear transformation and gating function, defined as:

[0014] (1);

[0015] in: represents a feature map;

[0016] and It is a linear converter;

[0017] is a non-linear activation function

[0018] Represents element-wise multiplication.

[0019] As a further limitation of the present technical solution, the nonlinear activation function can be expressed as:

[0020] (2);

[0021] in: represents the cumulative distribution function of the standard normal distribution;

[0022] GELU can be approximated in the following way:

[0023] (3);

[0024] According to equations (1) and (2), it is found that GELU is a special case of GLU, that is, and is the identity function, See Due to this similarity, GLU is considered as an activation function for watermark attack, and GLU itself contains nonlinearity and does not depend on , even if removed , GLU still does not contain nonlinearity, so GELU is simplified and nonlinear GeLU is proposed;

[0025] Directly divide the feature map into two parts in the channel dimension and multiply them. SimpleGate implements this through element-by-element multiplication. The specific formula is as follows:

[0026] (4);

[0027] in: and They are feature maps of the same size. By simplifying GELU to SimpleGate, the comprehensive watermark attack capability is significantly improved.

[0028] As a further limitation of the present technical solution, the channel attention first performs a global average pooling operation on the input features, and then passes the features after the global average pooling to two linear layers and ReLU for feature compression and mapping. Finally, the result after feature mapping is input into the Sigmoid function to obtain the channel attention weight. The calculated channel attention weight is multiplied element by element with the input feature to achieve the weighting of the input feature, which is expressed as follows:

[0029] (5);

[0030] in: Represents a feature map;

[0031] It represents the global average pooling operation in the spatial information channel;

[0032] Is a nonlinear activation function Sigmoid;

[0033] and represents a fully connected layer;

[0034] If the channel attention mechanism is regarded as a function, equation (5) is simplified to:

[0035] (6);

[0036] Will See , retaining the more important part of channel attention, the specific formula of simplified channel attention mechanism is proposed as follows:

[0037] (7).

[0038] Compared with the prior art, the advantages and positive effects of the present invention are: the system combines the U-Net structure, the non-linear channel attention mechanism, the skip connection, the non-linear residual network, the convolution and the non-linear GeLU activation function to construct a non-linear watermark attack network, which is superior to the existing watermark attack methods in terms of watermark attack capability and watermark attack imperceptibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a system structure diagram of the present invention.

[0040] Figure 2 It is the non-linear residual block of the present invention.

[0041] Figure 3 It is the non-linear GeLU activation function of the present invention.

[0042] Figure 4 Simplified comparison diagram of the attention mechanism of the present invention. DETAILED DESCRIPTION

[0043] 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.

[0044] The present invention comprises the following steps:

[0045] The classic U-Net architecture and skip connections are used, and a residual network with channel attention is used to perform watermark attack tasks on RGB images; the U-Net architecture does not hinder network performance.

[0046] In the nonlinear watermark attack network, residual network and channel attention, nonlinear residual blocks are used to remove nonlinearity, achieving a higher watermark attack effect;

[0047] The non-linear residual block receives the input feature map and extracts features through a series of convolution operations. The convolution layer is used for convolution operations; the transposed convolution is used for upsampling operations. The non-linear watermark attack network uses these two layers to downsample and upsample the feature map.

[0048] The ReLU activation function is widely used in computer vision. However, some of the most advanced visual restoration methods tend to use GeLU to replace ReLU. Therefore, this algorithm does not use ReLU as the activation function, but uses GeLU (non-linear activation function), and removes the nonlinearity of GeLU, which effectively solves the gradient vanishing problem in the training process, enhances the perception ability of neurons, and improves the ability to express input data. Finally, the introduction of non-nonlinear GeLU makes the nonlinear watermark attack network more imperceptible while maintaining the watermark attack capability.

[0049] Considering the recent popularity of Transformer in computer vision, an attention mechanism is introduced into the non-linear residual block, and the channel attention mechanism is further optimized. A simplified channel attention mechanism without non-linearity is proposed. This attention mechanism can be used to enhance the model's attention to input features in watermark attack work, thereby extracting more representative features.

[0050] The non-linear residual block uses a gated linear unit to perform non-linear removal;

[0051] GLU (Gated Linear Units) originated from a structural design in the Transformer model. It is a commonly used neural network module and is widely used in natural language processing, computer vision and other fields. It combines linear transformation and gating function to effectively extract important feature information in the sequence and prevent overfitting. GLU is widely used in some computer vision fields, which means that GLU may be able to be applied to watermark attacks. It can be defined as:

[0052] (1);

[0053] in: represents a feature map;

[0054] and It is a linear converter;

[0055] is a non-linear activation function

[0056] Represents element-wise multiplication.

[0057] The nonlinear activation function can be expressed as:

[0058] (2);

[0059] in: represents the cumulative distribution function of the standard normal distribution;

[0060] GELU can be approximated in the following way:

[0061] (3);

[0062] According to equations (1) and (2), it can be found that GELU is a special case of GLU, that is, and is the identity function, See Due to this similarity, GLU can be regarded as an activation function for watermark attack, and GLU itself contains nonlinearity and does not depend on , even if removed , GLU still does not contain nonlinearity, so GELU is simplified and nonlinear GeLU is proposed;

[0063] Directly divide the feature map into two parts in the channel dimension and multiply them. Compared with GELU, SimpleGate is implemented by element-by-element multiplication, which does not bring more complexity to the network structure and ensures the watermark attack capability and imperceptibility of the network. The specific formula is as follows:

[0064] (4);

[0065] in: and They are feature maps of the same size. By simplifying GELU to SimpleGate, the comprehensive watermark attack capability is significantly improved.

[0066] The GELU is simplified and SimpleGate is used to replace the GELU in the watermark attack work, and a good attack performance is achieved. However, the nonlinearity in the channel attention module still exists. Next, we will discuss its simplification.

[0067] Applying CA (channel attention) to the watermark attack task is helpful to guide the model to learn the key features of the watermarked image and improve the performance of the watermark attack. Figure 4 As shown in the figure, the channel attention first performs a global average pooling operation on the input features, and then passes the features after global average pooling to two linear layers and ReLU for feature compression and mapping. Finally, the result after feature mapping is input into the Sigmoid function to obtain the channel attention weight. The calculated channel attention weight is multiplied element by element with the input feature to achieve the weighting of the input feature. The formula can be expressed as:

[0068] (5);

[0069] in: Represents a feature map;

[0070] It represents the global average pooling operation in the spatial information channel;

[0071] Is a nonlinear activation function Sigmoid;

[0072] and represents a fully connected layer;

[0073] If the channel attention mechanism is regarded as a function, equation (5) can be simplified as:

[0074] (6);

[0075] Will See , retaining the more important part of channel attention, the specific formula of simplified channel attention mechanism is proposed as follows:

[0076] (7).

[0077] Formula (7) is applied to the non-linear residual block to realize the non-linear watermark attack system.

[0078] Comparison of Deep Learning Attacks:

[0079] Table 1 Comparison of BG and NNLG with deep learning watermark attack methods

[0080]

[0081] The experimental results show that the non-nonlinear watermark attack system performs well in terms of imperceptibility. The PSNR reaches 37.3380, which is higher than the numerical results of other deep learning watermark attack methods. It can achieve a more imperceptible watermark attack.

[0082] In addition, in terms of watermark attack effect, the BER of this system reached 0.3205, which is much higher than other methods and has significant advantages in watermark attack effect.

[0083] Comparison of attack effects across datasets

[0084] Table 2 Comparison of attack effects on the SIDD dataset

[0085]

[0086] Table 3 Comparison of attack effects on ImageNet dataset

[0087]

[0088] In order to conduct a more comprehensive evaluation and comparison of attack effects across datasets, the SIDD dataset and ImageNet dataset were used.

[0089] According to the results in Table 2, the watermark attack task was performed on the SIDD dataset using the traditional watermark attack method and the system. The system is still superior to most traditional watermark attack methods, and maintains a PSNR value of 38.5737 on the SIDD dataset, effectively ensuring the practical value of the watermarked image after the attack. Table 3 shows the experimental results of the attack effect on the ImageNet dataset. The attack effect of the system is slightly higher than that of the SIDD dataset, with a BER of 0.2244. At the same time, they are still more imperceptible than traditional attack methods, with a PSNR of 37.6686.

[0090] In summary, this system has high imperceptibility and good attack effects on different data sets, which further proves the attack capability and applicability of the non-linear watermark attack network.

[0091] The processing flow of the present invention is as follows:

[0092] Input is a watermarked image

[0093] After the convolution operation, the input is subjected to feature extraction.

[0094] The non-linear residual block realizes the fusion of the non-linear residual network and the non-linear channel attention mechanism to learn high-level representations of input features.

[0095] The downsampling operation helps to reduce the size of the feature map, reduce the dimension of the input image, and extract richer feature information.

[0096] A simple neural network gate class is defined through non-linear GeLU. The function of this gate is to split the input tensor into two parts, then multiply the two parts, and finally return the result. By building such a simple gate model, the input data can be split and operated, making it relatively simple for attacks to directly tamper with or destroy the watermark.

[0097] The role of the transposed convolution is upsampling, which expands the size of the input feature map. In the watermark attack task, the role of this transposed convolution may be to restore the size of the feature map to its original size and reduce the number of channels. The purpose of this is to extract more accurate and detailed features in the watermark attack.

[0098] This is followed by channel reduction through several convolution operations.

[0099] To reduce information loss, two skip connections are interspersed in it.

[0100] Finally, the output of the neural network is combined with the input, that is, the upsampled feature map is added to the original input image to retain some details of the input image. This helps to improve the quality of the watermark attack, making it clearer and more realistic.

[0101] 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 system without nonlinear watermark attack, It is characterized in that include: The classic U-Net architecture and skip connections are used, and the residual network with channel attention is used to perform watermark attack tasks on RGB images; In the nonlinear watermark attack network, residual network and channel attention, non-linear residual blocks are used to remove nonlinearity. The non-linear residual block receives the input feature map and extracts features through a series of convolution operations. The convolution layer is used for convolution operations; the transposed convolution is used for upsampling operations. The non-linear watermark attack network uses these two layers to downsample and upsample the feature map. Adopting GeLU and removing its nonlinearity effectively solves the gradient vanishing problem in the training process, enhances the perception ability of neurons, and improves the ability to express input data; The attention mechanism is introduced into the non-linear residual block, and the channel attention mechanism is further optimized, and a simplified channel attention without non-linearity is proposed; The non-linear residual block uses a gated linear unit to perform non-linear removal; GLU is a commonly used neural network module that combines linear transformation and gating function, defined as: (1); in: represents a feature map; and It is a linear converter; is a non-linear activation function represents element-wise multiplication; Channel attention first performs a global average pooling operation on the input features, and then passes the features after global average pooling to two linear layers and ReLU for feature compression and mapping. Finally, the result after feature mapping is input into the Sigmoid function to obtain the channel attention weight. The calculated channel attention weight is multiplied element by element with the input feature to achieve the weighting of the input feature. The formula is expressed as: (5); in: Represents a feature map; It represents the global average pooling operation in the spatial information channel; Is a nonlinear activation function Sigmoid; and represents a fully connected layer; If the channel attention mechanism is regarded as a function, equation (5) is simplified to: (6); Will See as , retaining the more important part of channel attention, the specific formula of simplified channel attention mechanism is proposed as follows: (7); The nonlinear activation function can be expressed as: (2); in: represents the cumulative distribution function of the standard normal distribution; GELU can be approximated in the following way: (3); According to equations (1) and (2), it is found that GELU is a special case of GLU, that is, and is the identity function, See Due to this similarity, GLU is considered as an activation function for watermark attack, and GLU itself contains nonlinearity and does not depend on , even if removed , GLU still does not contain nonlinearity, so GELU is simplified and nonlinear GeLU is proposed; Directly divide the feature map into two parts in the channel dimension and multiply them. SimpleGate implements this through element-by-element multiplication. The specific formula is as follows: (4); in: and They are feature maps of the same size. By simplifying GELU to SimpleGate, the comprehensive watermark attack capability is significantly improved.