The invention discloses an adaptive
image steganography method based on a
generative adversarial network, which is suitable for the field of
image steganography, and comprises the following steps: obtaining a cover image C and secret information M, and embedding the secret information into the cover image through an improved CSPNet
encoder to generate a
steganography image S; the decoder d receives the steganographic image S and extracts secret information M'through a symmetric CSPNet architecture; and a reviewer network C. The distribution consistency of the steganographic image and the
real image is evaluated, and an optimization
signal is fed back by using a Wasserstein
loss function; an MSE targeting technology is introduced, hyper-parameters are dynamically adjusted through
linear fitting, and the
mean square error of the steganographic image and the cover image is controlled within a
target range; a soft
label loss function is adopted to prevent network
overfitting; reed-Solomon coding is firstly carried out on secret information, and the information is ensured to be completely recovered through an error correction mechanism; and repeating the training process until the steganographic image meets the transparency and capacity requirements. According to the method,
deep learning and a
steganography technology are combined, part of calculation paths are separated through a CSPNet architecture, and the
feature extraction capability is kept while the calculation complexity is reduced by 30%; the MSE targeting technology realizes
dynamic balance of capacity and transparency, and relatively high hiding capacity is realized on a DIV2K
data set; the soft
label is combined with Reed-Solomon coding, so that the decoder is high in
recovery accuracy under the large pixel depth; the local features are monitored by the reviewer network, the steganographic image is forced to keep
natural distribution, and the
invisibility and robustness of the steganographic image are effectively improved.