An image steganalysis method based on adaptive parameterization
By introducing squeeze and excitation modules into the steganalysis network and designing an adaptive parameterized activation function, the problem of discarding negative eigenvalues by the ReLu function is solved, the loss of steganographic signals is reduced, and the detection accuracy and adaptability are improved.
Patent Information
- Application Number
- CN202111457306.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-01
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-12-01
AI Technical Summary
Existing steganalysis methods have problems in the design of activation functions. The ReLu function completely discards negative eigenvalues, resulting in the loss of steganographic signals and affecting detection accuracy and estimation of secret information.
Introduce the squeeze and excitation module into the feature expression network, design an adaptive parameterized activation function, and calculate the threshold boundary parameters of negative steganographic signals through global information to avoid the defects of negative value suppression by the ReLU function and retain more latent information. Write signal.
It effectively reduces the loss of steganographic signals, improves detection accuracy, adapts to different image situations, and enhances the ability to analyze steganography.
Smart Images

Figure CN114187158B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of general image data processing, and in particular to an image steganalysis method based on adaptive parameterization. Background Art
[0002] Steganalysis is a technology that detects secret information in digital media. In order to protect private communications and digital copyrights, people have vigorously developed steganography to embed secret information into multimedia signals such as audio and images in a way that is not easily detected by the human eye. Therefore, steganalysis technology is often used to detect and combat this threat, and has good research and application value.
[0003] The task of steganalysis is to distinguish between carrier images and secret images. Its development can be divided into two stages: traditional steganalysis and deep learning steganalysis. The stegographic signal is the key to distinguish between carrier images and secret images. The traditional steganalysis algorithm extracts high-frequency stegographic signals by designing a high-pass filter to obtain a residual image, then calculates the statistical features of the residual image, and finally uses classifiers such as SVM to achieve classification. Steganalysis based on deep learning uses a convolutional neural network to simulate three stages, and learns noise residual calculation, feature expression, and classification in a back-propagation manner.
[0004] In deep learning-based steganalysis, the steganalysis signal will suffer a certain degree of loss in the middle layer of the neural network. Regarding how to avoid the suppression of steganalysis signals, existing methods such as SRNet[1]Mehdi Boroumand, Mo Chen, and Jessica Fridrich, Deep Residual Network for Steganalysis of Digital Images, IEEE Transactions on Information Forensics and Security 14(5), 2019: 1181-93., zhangNet[2]Ru Zhang et al., Depth-Wise Separable Convolutions and Multi-Level Pooling for an Efficient Spatial CNN-Based Steganalysis, IEEE Transactions on Information Forensics and Security 15, 2020: 1138-50. mainly solve this problem by avoiding the use of BN or average pooling in the feature expression stage, and have achieved certain results.
[0005] However, existing methods still have problems in the design of activation functions. Most steganalysis networks usually choose ReLu as the activation function. The ReLu function completely discards negative eigenvalues, which is very unfriendly to steganalysis signals with small amplitudes and will suppress some steganalysis signals. Taking the YeNet[3]Jian Ye, Jiangqun Ni, and Yang Yi, Deep Learning Hierarchical Representations for Image Steganalysis, IEEE Transactions on Information Forensics and Security 12(11), 2017: 2545-57. steganalysis method as an example, about 50% of the input values of ReLU are negative. If all negative values are truncated to 0, the loss of steganalysis signals will be considerable.
[0006] The reduction of steganalysis signals will not only affect the accuracy of steganalyzers, but also hinder the future tasks of estimating the size of secret information and cracking the content of secret information. Therefore, it is necessary to reduce the loss of steganalysis signals. Summary of the invention
[0007] Based on this, the purpose of the present invention is to provide an image steganalysis method based on adaptive parameterization. The method introduces a squeeze and excitation module in the feature expression network, and designs an adaptive parameterized activation function. The method can calculate a suitable parameter threshold according to the actual situation of the image to be tested, retain negative steganalysis signals as much as possible, reduce the loss of steganalysis signals, improve the detection accuracy, and help to better adapt to various practical application situations.
[0008] The present invention is achieved through the following technical solutions:
[0009] An image steganalysis method based on adaptive parameterization includes the following steps: constructing a steganalysis network based on adaptive parameterization and training it; inputting a test image X into the steganalysis network for classification, and calculating a classification probability vector of the test image X; determining whether the test image X is a secret image according to the classification probability vector, and completing the image steganalysis;
[0010] The steganalysis network includes an image preprocessing network, a feature expression network and a classification network; the image preprocessing network includes a convolutional layer and a first activation function, the image preprocessing network is used to calculate the noise residual of the input image X to be tested, and output a feature map x; the feature expression network stacks a plurality of APAM modules in sequence, at least one of the APAM modules is followed by an average pooling layer, the APAM module is used to calculate the adaptive parameter α of the feature map x using a squeeze and excitation module, and output a high-level feature map Y; the classification network is used to calculate and output the classification probability vector according to the high-level feature map Y.
[0011] The present invention discloses an image steganalysis method based on adaptive parameterization, which introduces a squeeze and excitation module into a feature expression network, uses global information to calculate a threshold boundary parameter α of a negative steganalysis signal, designs an adaptive parameterized activation function, and uses the adaptive parameter α to process a feature map x, thereby avoiding the defect of a ReLU function in suppressing negative values, effectively retaining steganalysis signals useful for steganalysis, reducing the loss of steganalysis signals, and improving the detection accuracy.
[0012] Further, the APAM module includes a direct branch, a parameter calculation branch and a second activation function, the direct branch is used to directly propagate the feature map x to the second activation function, the parameter calculation branch is used to calculate the adaptive parameter α of the feature map x and propagate it to the second activation function, and the second activation function is used to perform an activation operation according to the feature map x and the adaptive parameter α to generate the high-level feature map Y;
[0013] The parameter calculation branch includes an extrusion unit, a splicing unit and an excitation unit;
[0014] The squeezing unit includes a ReLU branch and a min branch; the ReLU branch is used to squeeze the feature map x to obtain a positive one-dimensional vector x' ReLU ; The min branch is used to squeeze the feature map x to obtain a one-dimensional vector x' of negative value min ; The splicing unit is used to splice the one-dimensional vector x' ReLU and the one-dimensional vector x' min , the excitation unit is used to calculate the adaptive parameter α according to the splicing result.
[0015] The direct connection branch is used to save the original feature map and prevent the problem of gradient disappearance; the parameter calculation branch uses the squeezing and excitation modules to obtain the one-dimensional parameter vector α; since the steganographic signal of each image to be tested is slightly different, and the α values calculated by different channels of the same image to be tested are also different, the α value is an adaptive value.
[0016] Further, the ReLU branch includes a ReLU function and a first global pooling layer;
[0017] The ReLU function is used to process the feature map x∈R H×W×C , and obtain the positive global information x ReLU ∈R H×W×C , the first global pooling layer is used to process the global information x ReLU , and obtain a positive one-dimensional global information vector
[0018] Among them, R is a real number set, H, W, and C represent the height, width, and number of channels of the feature map respectively. Represents the feature map x ReLU The value at the cth channel (i,j), Represents x' ReLU The value of the c-th channel.
[0019] Further, the min branch includes a min function and a second global pooling layer;
[0020] The min function is used to process the feature map x∈R H×W×C , get the negative global information x min ∈R H×W×C , the second global pooling layer is used to process the global information x min , and obtain a negative one-dimensional global information vector
[0021] in, Represents the feature map x min The value at the cth channel (i,j), Represents x' ReLU The value of the c-th channel.
[0022] Furthermore, the excitation unit sequentially stacks a fully connected layer, a BN layer, a ReLU function, a fully connected layer, a BN layer and a Sigmoid function; the excitation unit is used to process the splicing result to obtain the adaptive parameter α in the range of [0,1].
[0023] The adaptive parameter α is determined according to the global information of the positive and negative features of the feature map x, which is beneficial to estimating the amplitude of the steganalytic signal to suppress the features of the non-steganographic signal and retain the steganalytic signal, thereby avoiding the risk of assigning an excessively large value to the second activation function.
[0024] Furthermore, the second activation function is: Among them, x is obtained by propagation of the direct branch, and α is the adaptive parameter calculated by the parameter calculation branch.
[0025] Since the amplitude of the steganographic signal of each channel is different, different thresholds are required for activation operation, so that the activation function designed by the present invention can suppress redundant features and retain the steganographic signal to better adapt to various situations of practical application.
[0026] Furthermore, the convolution layer of the image preprocessing network is initialized using high-pass filters in 30 different directions in the SRM feature; and the first activation function is a TLU activation function.
[0027] For the 30 selected high-pass filters, the residual image processed by each filter represents the features in different directions and has feature diversity. The residual features generated by the convolution kernel are processed using the TLU activation function to suppress the features exceeding the threshold, thereby achieving the effect of suppressing the image content.
[0028] Furthermore, the training process of the steganalysis network includes the following steps:
[0029] Prepare a data set, randomly divide the carrier images in the data set into a training set, a validation set, and a test set, with a division ratio of 4:1:5; use steganography to embed the carrier images to generate an equal number of steganographic images; and use the carrier image-steganographic image pairs as inputs to the steganalysis network;
[0030] Initializing the steganalysis network;
[0031] Using the AdaDelta algorithm to train the steganalysis network in the training set, and iteratively updating parameters until the steganalysis network converges;
[0032] Every 10 iterations, using the validation set to validate the steganalysis network in training;
[0033] After the steganalysis network converges, the performance of the steganalysis network is tested using the test set.
[0034] Furthermore, in the iterative parameter update step, the cross entropy function is used for loss calculation.
[0035] Furthermore, the classification unit includes a fully connected layer and a softmax layer.
[0036] Compared with the prior art, the present invention designs an adaptive parameterized activation function. Through the excitation and squeezing modules, the appropriate parameter threshold is calculated according to the actual situation of the image to be tested, which effectively avoids the defect of the ReLU function in suppressing negative values, retains more steganographic signals as much as possible, and improves the detection accuracy.
[0037] For better understanding and implementation, the present invention is described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A step diagram of an image steganalysis method based on adaptive parameterization provided by an embodiment of the present invention;
[0039] Figure 2 A network structure diagram of a steganalysis network based on adaptive parameterization provided by an embodiment of the present invention;
[0040] Figure 3 A schematic diagram of the structure of an APAM module provided in one embodiment of the present invention;
[0041] Figure 4 A flowchart of an image steganalysis method based on adaptive parameterization is provided in one embodiment of the present invention. DETAILED DESCRIPTION
[0042] In order to make the objectives, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
[0043] It should be clear that the described embodiments are only 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 ordinary technicians in this field without creative work are within the scope of protection of the embodiments of the present application.
[0044] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the embodiments of the present application. The singular forms of "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0045] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims. In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and do not have to be used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances.
[0046] In addition, in the description of this application, unless otherwise specified, "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0047] See also Figure 1 , which is a step diagram of an image steganography method based on adaptive parameterization provided by the present invention. The method comprises the following steps:
[0048] S1. Construct a steganalysis network based on adaptive parameterization and train it.
[0049] S2, input the image X to be tested into the steganalysis network for classification, and calculate the classification probability vector of the image X to be tested;
[0050] S3. Determine whether the image X to be tested is a secret image according to the classification probability vector, and complete the image steganalysis.
[0051] See also Figure 2 , which is a network structure diagram of a steganalysis network based on adaptive parameterization provided by the present invention.
[0052] In step S1, the steganalysis network includes an image preprocessing network, a feature expression network and a classification network.
[0053] The image preprocessing network includes a convolution layer and a first activation function. The convolution layer is used to calculate the noise residual of the image to be tested X and generate the residual features of the image to be tested X; the first activation function is used to process the residual features of the image to be tested X and output the feature map x.
[0054] like Figure 2 As shown, the first convolution layer is the image preprocessing layer, and its configuration is the name tag, the size of the convolution kernel and the step size of the convolution kernel in sequence; wherein, the size of the convolution kernel is expressed in the format of "input channel * (convolution kernel height * convolution kernel width * output channel)"; in this embodiment, the size of the convolution kernel is 30*(5*5*1), and the step size is 1. For the convolution layer, the convolution kernel is initialized using the high-pass filter in the spatial rich model (Spatial Rich Model, SRM), and the weight of the convolution kernel will participate in the training and update. Specifically, 30 high-pass filters selected from SRM according to different directions are used to initialize the convolution kernel. The residual image processed by each high-pass filter represents the features of different directions and has feature diversity.
[0055] The first activation function is the truncated linear unit (TLU) activation function. The TLU activation function is used to process the residual features generated by the convolution kernel, suppress features that exceed the threshold, and thus suppress the image content.
[0056] The feature expression network stacks multiple Adaptively Parametric Activation Module (APAM) modules in sequence, and an average pooling layer is set after at least one APAM module; among them, the APAM module is used to calculate the adaptive parameter α of the feature map x using the Squeeze and Excitation (SE) module, and output the high-level feature map Y.
[0057] See also Figure 3 , which is a schematic diagram of the structure of the APAM module provided by the present invention. The APAM module includes a parameter calculation branch, a direct connection branch and a second activation function; the direct connection branch is used to directly propagate the feature map x to the second activation function, the parameter calculation branch is used to calculate the adaptive parameter α of the feature map x and propagate it to the second activation function, and the second activation function is used to perform an activation operation on the feature map x and the adaptive parameter α to generate the high-level feature map;
[0058] The parameter calculation branch includes an extrusion unit, a splicing unit and an excitation unit.
[0059] The squeeze unit consists of a ReLU branch and a min branch.
[0060] Specifically, the ReLU branch includes the ReLU function and the first global pooling layer. Assume that the feature map x∈R H×W×C In the ReLU branch, the ReLU function is used to process the feature map x to obtain the positive global information x ReLU ∈R H×W×C ; Then the positive global information x ReLU Propagate to the first global pooling layer for calculation, and obtain a positive global information one-dimensional vector x' ReLU ∈R 1×1×C : Among them, R is a real number set, H, W, C represent the height, width and number of channels of the feature map respectively, (i, j) represents the height i∈[0,H] and the width j∈[0,W], Represents x ReLU The value at the cth channel (i,j), Represents x' ReLU The value of the c-th channel.
[0061] Specifically, the min branch includes a min function and a second global pooling layer; in the min branch, the min function is used to map the feature map x∈R H×W×C Processing is performed to obtain negative global information x min ∈R H×W×C ; Then the negative global information x min Propagate to the second global pooling layer for calculation, and obtain a negative one-dimensional vector of global information in, Represents x min The value at the cth channel (i,j), Represents x' min The value of the c-th channel.
[0062] In the squeeze unit, the ReLU branch is used to squeeze the feature map x to obtain a positive one-dimensional vector x' ReLU ; The min branch is used to squeeze the feature map x to obtain a one-dimensional vector x' of negative values min ; The splicing unit is used to splice the positive one-dimensional vector x' ReLU and a negative one-dimensional vector x' min , the excitation unit is used to calculate the one-dimensional parameter vector α, i.e., the adaptive parameter of the feature map x, according to the splicing result.
[0063] Specifically, the excitation unit stacks a fully connected layer, a batch normalization (BN) layer, a ReLU function, a fully connected layer, a BN layer, and a Sigmoid function in sequence. The excitation unit processes the concatenated result of the input and outputs an adaptive parameter α, and α∈[0,1].
[0064] In the APAM module, the parameter calculation branch processes the input feature map x through the SE module to calculate the adaptive parameter α; at the same time, the direct branch directly outputs the feature map x without additional operations. The output results of the two branches are converged to the second activation function for calculation, and the eigenvalues less than -α are suppressed to complete the activation operation.
[0065] Specifically, the expression of the second activation function is
[0066] Therefore, the APAM module completes the calculation and activation of the adaptive parameter α and outputs the high-level feature map Y.
[0067] In this embodiment, the feature expression network stacks 8 of the above-mentioned APAM modules in sequence, and an average pooling layer is provided after the 3rd to 5th APAM modules. The configurations of the 8 APAM modules are different. In this embodiment, the sizes of their convolution kernels are 30*(3*3*30), 30*(3*3*30), 30*(3*3*30), 30*(5*5*32), 30*(5*5*32), 30*(5*5*30), 30*(3*3*32) and 30*(3*3*16), respectively, with a step size of 1. The filter sizes of the 4 average pooling layers are 2*2, 3*3, 3*3 and 3*3, respectively, with a step size of 2.
[0068] The classification network includes a fully connected layer and a softmax layer. The high-level feature map Y output by the feature expression network is input into the classification network, processed by the fully connected layer and the softmax function layer, and the classification probability vector is output to complete the detection and classification of the image to be tested X.
[0069] After completing the construction of the above steganalysis network, it is necessary to train the steganalysis network, including the following steps:
[0070] S11. Prepare a data set: randomly divide the original images in the data set into carrier images of a training set, a validation set, and a test set in proportion, use steganography to encrypt all the carrier images, generate an equal number of cryptanalyzed images, and input them into the steganalysis network in the form of carrier image-cryptanalyzed image pairs; in this embodiment, the data set used is the BOSSBase data set, the division ratio of the training set, the validation set, and the test set is set to 4:1:5, and S-UNIWARD steganography is used to embed secret information in the carrier images.
[0071] S12, Initialize the steganalysis network: For the convolution layer of the image preprocessing network, 30 high-pass filters in the SRM feature are used to initialize the convolution kernel, and the remaining convolution kernels are initialized using the Xavier method;
[0072] S13. Training the steganalysis network: Use the AdaDelta algorithm to train the steganalysis network in the training set, and iteratively update the parameters until the network converges; during the parameter update process, use the cross entropy function to calculate the loss;
[0073] S14, verify the steganalysis network: every 10 iterations, use the validation set to verify the network in training;
[0074] S15. Test the steganalysis network: After the steganalysis network converges, use the test set to test the network performance.
[0075] See also Figure 4, which is a flow chart of an image steganalysis method based on adaptive parameterization provided by the present invention. The whole process includes the following three stages: constructing and processing a data set, training and testing a network, and classifying an image X to be tested.
[0076] First, build and process the dataset.
[0077] Obtain the BOSSBase dataset, which contains 10,000 grayscale images of size 512×512 and format pgm. Use the downsampling method to process the grayscale images of the BOSSBase dataset so that the size of the grayscale images is reduced to half of the original size to improve the training speed of the above-mentioned steganalysis network. In this embodiment, the imresize() function with default parameters in Matlab is used to downsample all images. According to the division ratio of 4:1:5, the BOSSBase dataset is divided into a training set, a validation set and a test set, that is, the training set has 4,000 carrier images, the validation set has 1,000 carrier images, and the test set has 5,000 carrier images. Use steganography to steganographically hide all carrier images, generate an equal amount of secret images, and form carrier image-secret image pairs. After the steganographic processing, the training set becomes 4,000 pairs, the validation set becomes 1,000 pairs, and the test set becomes 5,000 pairs.
[0078] Next, train and test the network.
[0079] After the above-mentioned image steganalysis network based on adaptive parameterization is implemented through PyTorch, the AdaDelta algorithm is used to train the steganalysis network. The “delta” parameter of AdaDelta is 1×10 -8 , the momentum value is 0.95, and the weight decay is 5×10 -4 The mini-batch size is 32, containing 16 pairs of carrier and secret images; and the StepLR learning rate decay strategy is used, with an initial learning rate of 0.4 and a learning rate decrease of 20% every 50 epochs.
[0080] In terms of the initialization method of the steganalysis network, the first convolutional layer uses 30 high-pass filters in SRM for weight initialization, and the bias is initialized to 0. Except for the first convolutional layer, the convolution kernels of the remaining convolutional layers are initialized using the Xavier uniform distribution initializer, and the bias is initialized to 0.2. The fully connected layer in the APAM module is initialized using the Kaiming initializer with the fan_in mode, and the remaining fully connected layers are initialized using a normal distribution with a mean of 0 and a standard deviation of 0.01.
[0081] Finally, the image X to be tested is classified.
[0082] The image X to be tested is input into the steganalysis network, and the image preprocessing network calculates the noise residual of the image X to be tested, and outputs the feature map x; the APAM module in the feature expression network calculates the adaptive parameter α of the feature map x, and outputs the high-level feature map Y; the high-level feature map Y is input into the classification network, and the classification probability vector is calculated and output. The category with the highest probability is used as the predicted label of the image to be tested X to determine whether the image is a secret image.
[0083] Please refer to Table 1, which uses detection accuracy as a performance indicator to compare the image steganalysis method based on adaptive parameterization described in this embodiment with the image steganalysis method in the prior art, and the data sources are based on the use of S-UNIWARD steganography to embed secret information. It can be seen from Table 1 that the detection accuracy of the image steganalysis method based on adaptive parameterization provided by the present invention is higher than that of other prior arts.
[0084] Compared with the prior art, the present invention designs an adaptive parameterized activation function, calculates the appropriate parameter threshold through the excitation and squeezing modules, effectively avoids the defect of the ReLU function in suppressing negative values, and can retain more steganalysis signals as much as possible according to the image conditions during the steganalysis process, thereby improving the detection accuracy.
[0085] Table 1. Comparison of detection accuracy of the present invention and other methods
[0086] 0.4bpp XuNet 0.723 YeNet 0.726 The present invention <![CDATA[ 0.7902 ]]>
[0087] The above-mentioned embodiments only express several implementation methods of the present invention, and the description is relatively specific and detailed, but it cannot be understood as limiting the scope of the invention patent. It should be pointed out that for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.
Claims
1. An image steganalysis method based on adaptive parameterization, characterized in that: The steps include: Construct a steganalysis network based on adaptive parameterization and train it; Input the image X to be tested into the steganalysis network for classification, and calculate the classification probability vector of the image X to be tested; Determine whether the image X to be tested is a secret image according to the classification probability vector, and complete the image steganalysis; The steganalysis network includes an image preprocessing network, a feature expression network and a classification network; the image preprocessing network includes a convolution layer and a first activation function, the image preprocessing network is used to calculate the noise residual of the input image to be tested X, and output a feature map x; the feature expression network stacks a plurality of APAM modules in sequence, at least one of the APAM modules is provided with an average pooling layer, the APAM module is used to calculate the adaptive parameter α of the feature map x by using a squeeze and excitation module, and output a high-level feature map Y; the classification network is used to calculate and output the classification probability vector according to the high-level feature map Y; The APAM module includes a direct branch, a parameter calculation branch, and a second activation function, wherein the direct branch is used to directly propagate the feature map x to the second activation function, the parameter calculation branch is used to calculate the adaptive parameter α of the feature map x and propagate it to the second activation function, and the second activation function is used to perform an activation operation according to the feature map x and the adaptive parameter α to generate the high-level feature map Y; The parameter calculation branch includes an extrusion unit, a splicing unit and an excitation unit; The squeezing unit includes a ReLU branch and a min branch; the ReLU branch is used to squeeze the feature map x to obtain a positive one-dimensional vector x' ReLU ; The min branch is used to squeeze the feature map x to obtain a one-dimensional vector x' of negative value min ; The splicing unit is used to splice the one-dimensional vector x' ReLU and the one-dimensional vector x' min , the excitation unit is used to calculate the adaptive parameter α according to the splicing result; The ReLU branch includes a ReLU function and a first global pooling layer; The ReLU function is used to process the feature map x∈R H×W×C , and obtain the positive global information x ReLU ∈R H×W×C , the first global pooling layer is used to process the global information x ReLU , and obtain a positive one-dimensional global information vector x' ReLU ∈R 1×1×C : Among them, R is a real number set, H, W, and C represent the height, width, and number of channels of the feature map respectively. Represents the feature map x ReLU The value at the cth channel (i,j), Represents x' ReLU The value of the cth channel; The min branch includes a min function and a second global pooling layer; The min function is used to process the feature map x∈R H×W×C , get the negative global information x min ∈R H×W×C , the second global pooling layer is used to process the global information x min , and obtain the negative global information one-dimensional vector x' min ∈R 1×1×C : in, Represents the value of the cth channel (i, j) of the feature map xmin, Represents x' ReLU The value of the cth channel; The excitation unit stacks a fully connected layer, a BN layer, a ReLU function, a fully connected layer, a BN layer and a Sigmoid function in sequence; the excitation unit is used to process the splicing result to obtain the adaptive parameter α in the range of [0,1].
2. According to claim 1, the image steganalysis method based on adaptive parameterization is characterized in that: The second activation function is: Among them, x is obtained by propagation of the direct branch, and α is the adaptive parameter calculated by the parameter calculation branch.
3. The image steganalysis method based on adaptive parameterization according to claim 1, characterized in that: The convolutional layer of the image preprocessing network is initialized using high-pass filters in 30 different directions in the SRM feature; The first activation function is a TLU activation function.
4. The image steganalysis method based on adaptive parameterization according to claim 1, characterized in that: The training process of the steganalysis network includes the following steps: Prepare a data set, randomly divide the carrier images in the data set into a training set, a validation set, and a test set, with a division ratio of 4:1:5; use steganography to embed the carrier images to generate an equal number of steganographic images; and use the carrier image-steganographic image pairs as inputs to the steganalysis network; Initializing the steganalysis network; Using the AdaDelta algorithm to train the steganalysis network in the training set, and iteratively updating parameters until the steganalysis network converges; Every 10 iterations, using the validation set to validate the steganalysis network in training; After the steganalysis network converges, the performance of the steganalysis network is tested using the test set.
5. The image steganalysis method based on adaptive parameterization according to claim 4, characterized in that: In the iterative parameter update step, the cross entropy function is used for loss calculation.
6. The image steganalysis method based on adaptive parameterization according to claim 1, characterized in that: The classification network includes a fully connected layer and a softmax layer.
