Block orthogonal mapping and adaptive inversion image data hiding method
By employing a block-based orthogonal mapping and adaptive inversion method for image data hiding, the problem of perturbation amplification during the inverse solution of high-density discrete data in continuous state space is solved, achieving stable and efficient recovery of secret information under lossy channels.
Patent Information
- Application Number
- CN202611688107.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-29
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies are prone to numerical computation problems when matching high-density discrete data with probabilistic priors in continuous state spaces. Furthermore, under lossy compression or noise perturbation, the perturbation is easily amplified during the inverse solution process, leading to deviation of latent variables and making it difficult to accurately recover discrete data.
By employing a block-based orthogonal mapping and adaptive inversion method, and through Gray coding, orthogonal discrete cosine transform, and channel degradation feature analysis, a non-zero inversion starting point is selected, skipping the zero-reaching interval. Combined with a guard backoff mechanism, deterministic inverse integration and grid quantization are performed to recover the secret bit sequence.
It effectively reduces the impact of disturbances in the reverse solution process, improves the stability and computational reliability of secret information recovery, and enhances fault tolerance and adaptability under complex channel conditions.
Smart Images

Figure CN123185296A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of electronic digital data processing and information hiding technology, and relates to an image data hiding method using block orthogonal mapping and adaptive inversion. Background Technology
[0002] In the field of electronic digital data processing, using deterministic generative models in continuous state space to hide discrete data has become a relatively mature technical solution. The common approach is to first convert the discrete secret bits into initial latent variables that satisfy a standard normal distribution, then input the initial latent variables into a pre-trained diffusion model, perform deterministic sampling according to a set noise schedule, generate a carrier image containing hidden information, and the receiving end solves the differential equation in reverse according to the parameters shared by both parties to recover the initial state from the received image and further restore the discrete bits so that the generated image is consistent with the distribution of the natural image in terms of statistical characteristics.
[0003] As embedding density increases and channel perturbations intensify, these methods are prone to significant numerical computation problems. When the number of discrete bits per unit location increases, discrete symbols form a denser grid distribution in the state space, causing the initial state distribution to gradually deviate from the continuous Gaussian prior and reducing the interval between adjacent symbols that can be used for decision-making. Simultaneously, the carrier image, after being subjected to JPEG compression or noise interference during transmission, may deviate from its original generation trajectory. When the receiver performs inverse solving, the near-zero noise interval exhibits strong numerical rigidity; small perturbations generated during transmission are continuously amplified during the integration process, leading to numerical deviations in the inversely obtained latent variables. For example, Chinese invention patent application CN118827875A discloses a diffusion-based model... The high-capacity generative image steganography method discretizes and maps secret bits to a preset noise interval in the spatial domain. The input model samples and generates a secret-carrying image. The extraction end relies on deterministic inverse differential equations to perform full-path inversion from the zero-noise starting point to recover the secret-carrying noise, and assists in pixel parity fine-tuning for error detection and correction. This technical concept is essentially based on the stringent assumption of lossless channel: on the one hand, the direct mapping of the spatial scalar interval fails to achieve symbol energy decoupling, and the fault tolerance of adjacent states is narrow; on the other hand, the inverse solution is forcibly locked to the zero-noise starting point. When facing non-ideal degradation such as lossy compression or noise disturbances that objectively exist in actual network transmission, the high numerical rigidity of the zero-noise interval will cause small channel disturbances to be amplified sharply in the inverse integration, and the fine-tuning error correction mechanism will fail under lossy true conditions, causing the recovered latent variables to drift.
[0004] Therefore, the technical problem to be solved by this invention is how to ensure that high-density discrete data matches the probability prior of continuous state space, avoid the zero-reaching noise interval that is easy to amplify perturbations during the inverse numerical solution process, and adjust the inversion integration starting point and decision criteria according to the degradation of unknown channels in order to accurately recover discrete data. Summary of the Invention
[0005] To address the problems in the background art, the present invention provides the following technical solution: an image data hiding method using block orthogonal mapping and adaptive inversion, comprising the following steps:
[0006] Step S1: The sending end obtains the secret bit sequence, scrambles the secret bit sequence using the shared key stream, distributes the scrambled bit sequence to multiple channels and converts it into integer symbols, transforms the integer symbols into Gray symbols, and then standardizes them according to the theoretical mean and standard deviation of the set of equally probable legal symbols to construct a standardized symbol matrix.
[0007] Step S2: Divide the standardized symbol matrix into non-overlapping matrix blocks, apply a two-dimensional orthogonal discrete cosine transform to each symbol matrix block using the orthogonal discrete cosine transform matrix, and reorganize the transformed matrix blocks into dense initial latent variables according to their original spatial positions.
[0008] Step S3: Input the initial latent variables containing density into the diffusion model, and generate the dense image by solving the problem through a deterministic numerical algorithm based on the set noise scheduling parameters;
[0009] Step S4: The receiver acquires the received image after passing through the transmission channel, converts the received image into luminance components, calculates the spectral energy ratio using Fourier transform, compares the pixel differences between block boundaries and non-boundary positions to measure the discontinuity of block boundaries, calculates the high-frequency energy ratio and high-frequency coefficient sparsity using block discrete cosine transform, estimates the noise level using Laplace filter residuals, and statistically analyzes the luminance mean and luminance standard deviation to obtain blind channel characteristics reflecting channel degradation. The channel degradation response is calculated using predetermined reference statistics to obtain the starting prior and routing basis for the inversion branch required for candidate scoring. The candidate inversion starting point set is preset by the receiver and remains unchanged during the online phase.
[0010] Step S5: The receiver performs deterministic inversion for the preset candidate starting point, using the normalized received image as the approximate initial state under the corresponding noise scale; non-zero candidate starting points skip the inversion interval below them; the inversion endpoint state is divided by the endpoint noise scale to obtain candidate latent variables, which are then subjected to an inverse block orthogonal discrete cosine transform and inverse standardization to obtain continuous symbols; candidates are selected based on candidate scores, branch routes, and guard backoff, and the basic candidate is adopted when the guard backoff condition is met; the selected continuous symbols are subjected to legal grid quantization, inverse Gray decoding, bit rearrangement, and key stream descrambling to obtain the recovered secret bit sequence.
[0011] Preferably, step S1 specifically includes the following sub-steps: Step S11, allocating the total hidden capacity to each channel to determine the bit width corresponding to each channel; Step S12, truncating the bit segments of each channel in channel order, grouping them according to the bit width of the corresponding channel, and converting the truncated bit segments into integer symbols; Step S13, converting each integer symbol into a Gray symbol, and standardizing each Gray symbol according to the theoretical mean and standard deviation of the set of equally probable legal symbols to form a standardized symbol matrix.
[0012] Preferably, step S2 specifically includes the following sub-steps: Step S21, dividing the normalized symbol matrix corresponding to each channel into a matrix of size... And non-overlapping symbol matrix blocks, using order of orthogonal discrete cosine transform matrix For the The first in the channel A symbol matrix block Perform orthogonal transformation calculations to obtain the transformed matrix block. : ,in, For the first The first channel A transformed matrix block, To meet The orthogonal discrete cosine transform matrix, It is the identity matrix. The orthogonal discrete cosine transform matrix The transpose of the matrix, For the first The first channel Step S22: Reassemble the transformed matrix blocks according to their original spatial positions, fill the channels with random noise following a standard normal distribution in the unallocated hidden capacity, and synthesize a dense initial latent variable.
[0013] Preferably, step S3 specifically includes the following sub-steps: Step S31, multiply the initial latent variable containing density by the maximum noise scale as the initial sampling state of the pre-trained diffusion model, and turn off the additional random perturbation in the sampling process; Step S32, perform deterministic numerical integration from the high noise scale to the low noise scale according to the preset noise schedule, using Euler prediction and Heun correction in non-final integration steps, and Euler update in the final integration step; perform inverse normalization and pixel truncation on the sampling output under the terminating noise scale to obtain the dense image.
[0014] Preferably, step S4 specifically includes the following sub-steps: Step S41, using the mean and standard deviation of the corresponding features predetermined by the independent channel-distortion-free reference image, the blind channel features or their preset logarithmic transformation values are standardized; based on the standardized features, various channel degradation responses are calculated, and based on the deviation of the high-frequency energy correlation features from the reference statistics, evidence of high-frequency energy loss is determined.
[0015] Preferably, step S4 determines the inversion branch and its corresponding candidate starting point from the set of candidate starting points based on the channel degradation response. This specifically includes the following sub-steps: Step S42, calculate the strong JPEG compression route score and the weak JPEG compression route score according to the channel degradation response and blind channel characteristics; when the strong JPEG compression route score, block boundary evidence, and high-frequency energy loss evidence all reach the corresponding thresholds, initially select the strong JPEG compression branch and use a preset subset of compression candidate starting points; otherwise, when the weak JPEG compression route score, coefficient sparsity evidence, and spectrum offset evidence all reach the corresponding thresholds, initially select the weak JPEG compression branch and use a preset fixed safety starting point; in other cases, initially select the basic branch; each candidate starting point is determined before online extraction, and the basic branch and the strong JPEG compression branch are selected through subsequent comprehensive scoring, and the basic candidate is retained as a backoff benchmark.
[0016] Preferably, step S5 involves solving for the candidate latent variables through deterministic inverse numerical integration, specifically including the following sub-steps: Step S51, directly mapping the received image to the initial state of the non-zero noise scale corresponding to the candidate starting point, truncating and skipping the integration interval from the zero noise starting point to the candidate starting point; Step S52, starting from the initial state, calling the denoising network of the diffusion model, and integrating from the candidate starting point to the maximum noise scale endpoint through Euler prediction and Heun correction algorithm in the non-last integration step according to the inverse noise scheduling sequence, and dividing the obtained endpoint state by the endpoint noise scale to obtain the candidate latent variables.
[0017] Preferably, determining the target continuous symbol in step S5 specifically includes the following sub-steps: Step S53, in the basic candidate starting point subset, a weighted comprehensive score is calculated based on the distance between the candidate continuous symbol and the legal grid point, the deviation of the candidate latent variable mean from 0 and the standard deviation from 1, the denoising consistency error, and the starting point anchor distance. The candidate with the smallest score is selected as the basic candidate and retained. In the compression candidate starting point subset, without considering the grid point distance, a compression comprehensive score is calculated based on the latent variable prior bias, the denoising consistency error, and the compression starting point anchor distance. The candidate with the smallest score is selected as the strong JPEG compression candidate. The weak JPEG compression candidate adopts the result corresponding to the preset fixed security starting point. Candidates are initially selected according to the branch route for subsequent joint decision-making. Among them, the denoising consistency error is the mean square error between the received image and the corresponding effective noise scale denoising prediction, and the starting point anchor value is determined according to the blind channel characteristics and offline calibration relationship.
[0018] Preferably, step S5 further includes step S54: when the initial candidate comes from a weak JPEG compression branch or a strong JPEG compression branch, calculate the average absolute distance from the continuous symbols of the initial candidate and the basic candidate to the nearest legal integer grid point at the carrying position, and subtract the latter from the former to obtain the original grid point distance difference; set a soft grid point threshold and a hard grid point threshold not less than the soft grid point threshold; when the difference reaches or exceeds the hard grid point threshold, backtrack to the basic candidate; when the difference reaches or exceeds the soft grid point threshold but is lower than the hard grid point threshold, retain the initial candidate only when the JPEG compression confidence, coefficient sparsity evidence, and routing score corresponding to the initial branch all reach their respective retention thresholds, otherwise backtrack to the basic candidate; when the difference is lower than the soft grid point threshold, retain the initial candidate; wherein, the JPEG compression confidence is the JPEG component corresponding to various degradation responses calculated based on the standardized degradation features of the received image after Softmax normalization; when the initial selection is the basic branch, the basic candidate is directly adopted, and the continuous symbols obtained by the finally selected candidate are used as the target continuous symbols.
[0019] Preferably, step S5, which involves quantizing and decoding to recover the original secret information, specifically includes the following sub-steps: Step S55, mapping the acquired target continuous symbols to the nearest valid integer symbol lattice point in Euclidean distance to obtain Gray symbols; Step S56, performing an inverse Gray transform on the recovered Gray symbols to obtain the integer symbols corresponding to each channel; Step S57, expanding each integer symbol into a discrete binary bit string according to the bit width set for each channel, and concatenating them according to the agreed channel arrangement order to recover the complete scrambled bit sequence; generating a deterministic pseudo-random key stream at the receiving end that is completely identical to that at the sending end, and descrambling the scrambled bit sequence and the deterministic pseudo-random key stream by performing bit-by-bit XOR logic to output the recovered secret bit sequence.
[0020] The beneficial effects of this invention are:
[0021] 1. In image data hiding using block orthogonal mapping and adaptive inversion, the distribution of high-density discrete secret data is adjusted by Gray coding, standardization using the theoretical mean and standard deviation of the set of equally probable legal symbols, and block orthogonal discrete cosine transform. This makes the dense initial latent variables closer to the continuous Gaussian prior used in the diffusion model, while maintaining the energy relationship before and after the transformation. This reduces the distribution deviation caused by discrete symbols directly entering the continuous generation space and reduces the possibility of misjudgment due to the reduction of the decision interval between adjacent symbols. It balances the hiding capacity and the feature distribution stability of the generated image without changing the parameters of the generation network.
[0022] 2. By selecting a non-zero inversion starting point based on the channel degradation of the received image and skipping the inversion interval that approaches zero noise, the influence of numerical rigidity on the inverse solution within this interval can be reduced, and the transmission disturbance can be continuously amplified during the inverse integration process. This makes the solution process of candidate latent variables more stable, reduces the latent variable reconstruction deviation caused by channel disturbance, and improves the stability and computational reliability of the secret information recovery process while preserving the effective features of the received image.
[0023] 3. By adopting corresponding scoring methods for different channel degradation conditions and using a guard backoff mechanism to verify the candidate inversion results, the risk of misselection caused by relying solely on grid distance for decision-making under lossy compression conditions can be reduced. When the grid distance difference reaches a preset threshold and the joint confidence condition is not met, the system backoffs to the basic candidate to limit the recovery risk caused by unreliable compression branch selection, thereby reducing the possibility of erroneous results continuing to propagate and amplifying into bit errors, and improving the fault tolerance and adaptability of secret data recovery under complex and unknown channel conditions. Attached Figure Description
[0024] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort, wherein:
[0025] Figure 1 This is the main flowchart of the data hiding and inversion extraction of the present invention;
[0026] Figure 2 This is a collaborative architecture diagram of the key technical elements of the system of the present invention;
[0027] Figure 3 This is a graph showing the inversion of the initial noise scale versus the bit extraction accuracy of the present invention.
[0028] Figure 4This is an interactive diagram of offline parameter calibration and online inversion in this invention;
[0029] Figure 5 This is the orthogonal reshaping and diffusion generation diagram of the latent variables at the transmitting end in this invention;
[0030] Figure 6 This is a diagram showing the receiver degradation sensing and bi-branch inversion decision of the present invention.
[0031] Figure 7 This is a schematic diagram of the symbol matrix and latent variable block orthogonal inverse mapping topology of the present invention. Detailed Implementation
[0032] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of the present invention.
[0033] A method for hiding image data using block orthogonal mapping and adaptive inversion includes the following steps:
[0034] Step S1: The sending end obtains the secret bit sequence, scrambles the secret bit sequence using the shared key stream, distributes the scrambled bit sequence to multiple channels and converts it into integer symbols, transforms the integer symbols into Gray symbols, and then standardizes them according to the theoretical mean and standard deviation of the set of equally probable legal symbols to construct a standardized symbol matrix.
[0035] Step S2: Divide the standardized symbol matrix into non-overlapping symbol matrix blocks, apply a two-dimensional orthogonal discrete cosine transform to each symbol matrix block using the orthogonal discrete cosine transform matrix, and reorganize the transformed matrix blocks into dense initial latent variables according to their original spatial positions.
[0036] Step S3: Input the initial latent variables containing density into the diffusion model, and generate the dense image by solving the problem through a deterministic numerical algorithm based on the set noise scheduling parameters;
[0037] Step S4: The receiver acquires the received image after passing through the transmission channel, converts the received image into luminance components, calculates the spectral energy ratio using Fourier transform, compares the pixel differences between block boundaries and non-boundary positions to measure the discontinuity of block boundaries, calculates the high-frequency energy ratio and high-frequency coefficient sparsity using block discrete cosine transform, estimates the noise level using Laplace filter residuals, and statistically analyzes the luminance mean and luminance standard deviation to obtain blind channel characteristics reflecting the degree of channel degradation. The channel degradation response is calculated using predetermined reference statistics to obtain the starting prior and routing basis for the inversion branch required for candidate scoring. The candidate inversion starting point set is preset by the receiver and remains unchanged during the online phase.
[0038] Step S5: The receiver performs deterministic inversion for preset candidate starting points, using the normalized received image as the approximate initial state at the corresponding noise scale; non-zero candidate starting points skip the inversion interval below them. The inversion endpoint state is divided by the endpoint noise scale to obtain candidate latent variables, which are then subjected to an inverse block orthogonal discrete cosine transform and inverse normalization to obtain continuous symbols; candidates are selected based on candidate scores, branch routes, and guard backoff, with the basic candidate being adopted when the guard backoff condition is met; the selected continuous symbols are subjected to legal grid quantization, inverse Gray decoding, bit rearrangement, and key stream descrambling to obtain the recovered secret bit sequence.
[0039] Preferably, step S1 specifically includes the following sub-steps: Step S11, allocating the total hidden capacity to each channel to determine the bit width corresponding to each channel; Step S12, truncating the bit segments of each channel in channel order, grouping them according to the bit width of the corresponding channel, and converting the truncated bit segments into integer symbols; Step S13, converting each integer symbol into a Gray symbol, and standardizing each Gray symbol according to the theoretical mean and standard deviation of the set of equally probable legal symbols to form a standardized symbol matrix.
[0040] Preferably, step S2 specifically includes the following sub-steps: Step S21, dividing the normalized symbol matrix corresponding to each channel into a matrix of size... And non-overlapping symbol matrix blocks, using order of orthogonal discrete cosine transform matrix For the The first in the channel A symbol matrix block Perform orthogonal transformation calculations to obtain the transformed matrix block. : ,in, For the first The first channel A transformed matrix block, To meet The orthogonal discrete cosine transform matrix, It is the identity matrix. The orthogonal discrete cosine transform matrix The transpose of the matrix, For the first The first channel Step S22: Reassemble the transformed matrix blocks according to their original spatial positions, fill the channels with random noise following a standard normal distribution in the unallocated hidden capacity, and synthesize a dense initial latent variable.
[0041] Preferably, step S3 specifically includes the following sub-steps: Step S31, multiply the initial latent variable containing density by the maximum noise scale as the initial sampling state of the pre-trained diffusion model, and turn off the additional random perturbation in the sampling process; Step S32, perform deterministic numerical integration from the high noise scale to the low noise scale according to the preset noise schedule, using Euler prediction and Heun correction in non-final integration steps, and Euler update in the final integration step; perform inverse normalization and pixel truncation on the sampling output under the terminating noise scale to obtain the dense image.
[0042] Preferably, step S4 specifically includes the following sub-steps: Step S41, using the mean and standard deviation of the corresponding features predetermined by the independent channel-distortion-free reference image, the blind channel features or their preset logarithmic transformation values are standardized; based on the standardized features, various channel degradation responses are calculated, and based on the deviation of the high-frequency energy correlation features from the reference statistics, evidence of high-frequency energy loss is determined.
[0043] Preferably, step S4 determines the inversion branch and its corresponding candidate starting point from the set of candidate starting points based on the channel degradation response. This specifically includes the following sub-steps: Step S42, calculate the strong JPEG compression route score and the weak JPEG compression route score according to the channel degradation response and blind channel characteristics; when the strong JPEG compression route score, block boundary evidence, and high-frequency energy loss evidence all reach the corresponding thresholds, initially select the strong JPEG compression branch and use a preset subset of compression candidate starting points; otherwise, when the weak JPEG compression route score, coefficient sparsity evidence, and spectrum offset evidence all reach the corresponding thresholds, initially select the weak JPEG compression branch and use a preset fixed safety starting point; in other cases, initially select the basic branch; each candidate starting point is determined before online extraction, and the basic branch and the strong JPEG compression branch are selected through subsequent comprehensive scoring, and the basic candidate is retained as a backoff benchmark.
[0044] Preferably, step S5 involves solving for the candidate latent variables through deterministic inverse numerical integration, specifically including the following sub-steps: Step S51, directly mapping the received image to the initial state of the non-zero noise scale corresponding to the candidate starting point, truncating and skipping the integration interval from the zero noise starting point to the candidate starting point; Step S52, starting from the initial state, calling the denoising network of the diffusion model, and integrating from the candidate starting point to the maximum noise scale endpoint through Euler prediction and Heun correction algorithm in the non-last integration step according to the inverse noise scheduling sequence, and dividing the obtained endpoint state by the endpoint noise scale to obtain the candidate latent variables.
[0045] Preferably, determining the target continuous symbol in step S5 specifically includes the following sub-steps: Step S53, in the basic candidate starting point subset, a weighted comprehensive score is calculated based on the distance between the candidate continuous symbol and the legal grid point, the deviation of the candidate latent variable mean from 0 and the standard deviation from 1, the denoising consistency error, and the starting point anchor distance. The candidate with the smallest score is selected as the basic candidate and retained. In the compression candidate starting point subset, without considering the grid point distance, a compression comprehensive score is calculated based on the latent variable prior bias, the denoising consistency error, and the compression starting point anchor distance. The candidate with the smallest score is selected as the strong JPEG compression candidate. The weak JPEG compression candidate adopts the result corresponding to the preset fixed security starting point. Candidates are initially selected according to the branch route for subsequent joint decision-making. Among them, the denoising consistency error is the mean square error between the received image and the corresponding effective noise scale denoising prediction, and the starting point anchor value is determined according to the blind channel characteristics and offline calibration relationship.
[0046] Preferably, step S5 further includes step S54: when the initial candidate comes from a weak JPEG compression branch or a strong JPEG compression branch, calculate the average absolute distance from the continuous symbols of the initial candidate and the basic candidate to the nearest legal integer grid point at the carrying position, and subtract the latter from the former to obtain the original grid point distance difference; set a soft grid point threshold and a hard grid point threshold not less than the soft grid point threshold; when the difference reaches or exceeds the hard grid point threshold, backtrack to the basic candidate; when the difference reaches or exceeds the soft grid point threshold but is lower than the hard grid point threshold, retain the initial candidate only when the JPEG compression confidence, coefficient sparsity evidence, and routing score corresponding to the initial branch all reach their respective retention thresholds, otherwise backtrack to the basic candidate; when the difference is lower than the soft grid point threshold, retain the initial candidate; wherein, the JPEG compression confidence is the JPEG component corresponding to various degradation responses calculated based on the standardized degradation features of the received image after Softmax normalization; when the initial selection is the basic branch, the basic candidate is directly adopted, and the continuous symbols obtained by the finally selected candidate are used as the target continuous symbols.
[0047] Preferably, step S5, which involves quantizing and decoding to recover the original secret information, specifically includes the following sub-steps: Step S55, mapping the acquired target continuous symbols to the nearest valid integer symbol lattice point in Euclidean distance to obtain Gray symbols; Step S56, performing an inverse Gray transform on the recovered Gray symbols to obtain the integer symbols corresponding to each channel; Step S57, expanding each integer symbol into a discrete binary bit string according to the bit width set for each channel, and concatenating them according to the agreed channel arrangement order to recover the complete scrambled bit sequence; generating a deterministic pseudo-random key stream at the receiving end that is completely identical to that at the sending end, and descrambling the scrambled bit sequence and the deterministic pseudo-random key stream by performing bit-by-bit XOR logic to output the recovered secret bit sequence.
[0048] Example 1: In the process of large-capacity hidden data storage and non-ideal channel transmission in the field of electronic digital data processing, when the multi-bit data carried by each spatial sampling position reaches 21 bpp, the discrete information symbols form a dense grid distribution in the numerical state space. If this discrete grid is directly mapped to the input of the diffusion model, the initial input data will deviate from the standard Gaussian distribution prior on which the pre-trained model depends, and the decision interval between adjacent information symbols will shrink accordingly. At the same time, after the carrier image is stored across networks, read quantized, brightness scaled or lossy compressed and transmitted, it will deviate from the original generation trajectory. The deterministic inverse differential equation has high numerical rigidity in the interval approaching zero noise. The high-frequency disturbance introduced by transmission is amplified by the gradient of the scoring function during the inverse integration process, making it difficult for the fixed inversion path to adapt to the unknown channel, thereby affecting the latent variable reconstruction and bit recovery at the receiver.
[0049] The sending end data processing unit acquires the binary secret bit sequence to be embedded, calls a preset pseudo-random number generator, and generates a deterministic pseudo-random key stream by combining it with the deterministic key shared by both the sender and receiver. The secret bit sequence is then scrambled bit by bit using XOR logic. For the three-channel data carrier, the total hidden capacity of 21 bpp is evenly distributed across the red, green, and blue data channels, with each channel having a bit width of 7. The corresponding bit segments are then extracted from the scrambled bit sequence according to the preset channel order. One channel, to To divide the symbol group into periods, the first... Group of integer symbols We obtain it according to the following formula: ,in, For the first The first channel Integer symbols, in The value ranges from 0 to 127. After being disrupted, they were allocated to the first The corresponding bit values of each channel; For the first The bit width of each channel, followed by integer symbols. Implement Gray code transformation: ,in, Gray symbol, This indicates a bitwise XOR operation. This represents a binary right shift operation, based on the total number of Gray symbol levels. Calculate the statistical mean with standard deviation : When the total number of Gray symbol grades is 128, the statistical mean is... The value is 63.5. Each Gray symbol is standardized using the theoretical mean and standard deviation of the set of equally probable legal symbols according to the following formula: ,in, For standardized continuous information symbols, after standardization, the continuous information symbols are arranged according to channel order and planar grid coordinates to construct a multi-channel standardized symbol matrix.
[0050] The transmitting end data processing unit divides the normalized symbol matrix corresponding to each channel into a matrix of size 1. Furthermore, the non-overlapping symbol matrix blocks are orthogonally normalized discrete cosine transform matrices. Perform a two-dimensional transformation and determine the block side length. Set to 8, for the first The first in the channel A symbol matrix block Perform two-dimensional orthogonal discrete cosine transform: ,in, For the first The first channel A transformed matrix block, Satisfies the orthogonal normalization relation: ,in, for An identity matrix of order 1. The orthogonal discrete cosine transform matrix The transpose of the matrix is used for orthogonal transformation, which linearly combines the discrete symbols within a matrix block along each orthogonal basis while maintaining the sum of squares energy of the matrix block. Before entering this step, the discrete symbols of each channel are scrambled by a deterministic pseudo-random key stream, forming discrete value combinations within the block. After being weighted by an 8th-order orthogonal discrete cosine basis function, 64 symbols act together on each transformation coefficient, dispersing the concentrated distribution of discrete grid points and changing the coordinate representation of the symbols within the block. Subsequently, the transformed matrix blocks are reassembled according to the original two-dimensional grid positions to form a multi-channel dense initial latent variable. When there are channels with unallocated hidden capacity in the actual capacity configuration, random noise following a standard normal distribution is filled in. In this embodiment, each of the three channels is allocated 7 bits, so there are no unallocated channels.
[0051] The transmitting end inputs the dense initial latent variables into a pre-trained score-matching-based EDM diffusion model, shuts off random perturbation noise during the sampling process, and allows data evolution to proceed according to deterministic probabilistic flow ordinary differential equations. The noise scheduling sequence contains the maximum noise scale. Minimum noise scale The system employs 40 discrete sampling time steps, with a maximum noise scale of 80 and a minimum noise scale of 0.002. The noise scale for each time step is determined by a power-law scheduling controlled by parameter ρ. This involves interpolating at equal intervals between the maximum and minimum noise scales raised to the power of 1 / ρ, and then raising the value to the power of ρ to obtain a noise scale sequence arranged from high to low. In this embodiment, ρ is set to 7. At each discrete time step, the system uses Euler prediction and Heun correction algorithm in the non-final integration step to solve the deterministic probabilistic flow ordinary differential equation along the forward generation trajectory. Based on the preset noise scheduling, deterministic sampling is performed from high noise scale to low noise scale, and a preset minimum positive termination noise scale is used at the end of the scheduling to obtain a denoised output tensor. The denoised output tensor is then subjected to pixel value domain inverse normalization scaling and discrete truncation quantization. The denoised output is subjected to inverse normalization, pixel truncation, and 8-bit quantization to generate a dense image, which is then sent to the physical channel for transmission or storage and distribution.
[0052] The receiving end data processing unit acquires the received image after passing through an unknown transmission channel. Without requiring the original latent variables of the sending end, privately generated random seeds, and real channel labels, it extracts the blind channel features of the image through a multi-dimensional combination of spatial domain structure, transform domain distribution, and global statistics. First, the received image is converted into a luminance component Y. In frequency domain processing, a two-dimensional discrete Fourier transform is performed on the luminance component Y. A preset normalized cutoff frequency is used to divide the high-frequency and low-frequency regions. The ratio of the sum of high-frequency spectral energy to the sum of low-frequency spectral energy is calculated, and a positive number is introduced into the denominator to avoid division by zero. The spectral energy ratio is then calculated via Fourier transform. In spatial domain structure processing, for a preset 8×8 grid, the mean absolute value of the first-order difference between adjacent pixels on both sides of the grid block boundary and the mean absolute value of the first-order difference between adjacent pixels within the grid are traversed and statistically analyzed. The ratio of these two values is calculated to eliminate the interference of the carrier's own texture structure on edge detection and to characterize block effect distortion. The pixel differences between the 8×8 block boundaries and non-boundary positions are then compared to obtain the degree of discontinuity at the block boundaries. In block transform domain processing, a two-dimensional orthogonal discrete cosine transform is performed on each 8×8 luminance block. The proportion of the sum of the squares of the discrete cosine coefficients in the diagonal high-frequency region to the total AC energy of that block is calculated to determine the average high-frequency energy ratio of the entire image. For example, the high-frequency coefficient matrix is traversed simultaneously, and the proportion of discrete cosine coefficients with amplitudes less than a preset lower limit is statistically analyzed to obtain the high-frequency coefficient sparsity. Then, the high-frequency energy ratio and high-frequency coefficient sparsity are calculated using block discrete cosine transform to quantitatively characterize the high-frequency energy loss caused by lossy compression quantization truncation. In noise level estimation, a third-order Laplace filter convolution operator is used to perform high-pass spatial filtering on the luminance component Y to weaken the structural contour. The second-order central moment of the filter residual is calculated as the noise residual estimate. The noise level is then estimated using the Laplace filter residual to measure the additive white Gaussian noise level. In global statistical processing, all spatial grid sampling points of the luminance component Y are traversed, and the luminance mean and luminance standard deviation are statistically analyzed to characterize the global gain scaling and contrast shift caused by network transmission. The calculated spectral energy ratio, block boundary discontinuity measure, high-frequency energy ratio, high-frequency coefficient sparsity, noise residual estimate, luminance mean, and luminance standard deviation are combined to construct a complete blind channel feature vector. Using feature statistics determined from independent, channel-distortion-free reference images during the offline phase, the corresponding reference mean is subtracted from each blind channel feature or its preset logarithmic transform value, and then divided by the corresponding reference standard deviation to obtain standardized features. Weighted responses for steady state, brightness variation, noise, and JPEG compression are calculated based on these standardized features, and various degradation responses are obtained through normalized exponential transformation. Simultaneously, based on the deviations of relevant features from the reference statistics, block boundaries, high-frequency energy loss, coefficient sparsity, and spectral shift evidence are determined. For JPEG compression, combining the aforementioned degradation responses and feature evidence, as well as noise and brightness degradation suppression factors, strong JPEG compression routing scores and weak JPEG compression routing scores are calculated respectively.In this embodiment, the strong JPEG compression route score threshold is set to 0.38, and the weak JPEG compression route score threshold is set to 0.62. When the strong JPEG compression route score reaches 0.38, and both the block boundary evidence and the high-frequency energy loss evidence reach 0.28, the strong JPEG compression inversion branch is initially selected. If the strong JPEG compression branch condition is not met, but the weak JPEG compression route score reaches 0.62, and the coefficient sparsity evidence reaches 0.80 and the spectral offset evidence reaches 0.45, the weak JPEG compression inversion branch is initially selected; otherwise, the basic inversion branch is initially selected.
[0053] The receiver performs deterministic truncation inversion on each preset candidate starting point and caches the results. The basic candidate subset includes a nominal zero starting point and a preset positive starting point no greater than 0.08. The strong JPEG candidate subset includes preset starting points in the range of 0.08 to 0.30. The weak JPEG branch uses candidates corresponding to a fixed safe starting point. Branch routing determines the initial selection results, and the basic optimal candidate is always reserved for guard backoff. For each candidate starting point, the received image is directly used as an approximate initial state at the corresponding noise scale without adding additional random noise; the nominal zero starting point is replaced by a preset minimum positive scale. The corresponding inversion interval is truncated according to the unified reference noise sequence, and Euler prediction and Heun correction (before the final integration step) are performed. The final step uses Euler update, dividing the endpoint state by the endpoint noise scale to obtain the candidate latent variables.
[0054] For each candidate latent variable, a block-based inverse orthogonal discrete cosine transform is performed, targeting the th... In the first channel, with the first Candidate transform blocks corresponding to each symbol matrix block Restore the standardized symbol blocks according to the following formula: The restored blocks are then reassembled according to their original spatial positions, and the statistical average values corresponding to each channel are used. and standard deviation By performing de-standardization, continuous information symbols are obtained: A dual-scoring comprehensive evaluation, consisting of a base branch and a compression branch, is implemented among the candidate inversion results. The base inversion branch calculates the distance between continuous information symbols and the nearest valid integer symbol grid point, the statistical bias of candidate latent variables deviating from the Gaussian prior distribution, the denoising consistency error between diffusion inverse reconstruction and forward generation, and the deviation distance between the candidate starting point and the starting point anchor value of the corresponding branch. The denoising consistency error is calculated as follows: For the i-th candidate starting point, the received image is input into the denoising network, and a denoising prediction result is obtained at the effective noise scale corresponding to that candidate starting point; the mean square error between the received image and the denoising prediction result is calculated as the denoising consistency error. This error is directly calculated from the received image and the current candidate starting point, without calling the generated trajectory saved at the transmitting end.
[0055] For the same received image, the minimum and maximum values of grid distance, latent variable statistical bias, and denoising consistency error are calculated for all candidate starting points, and min-max normalization is performed. A positive lower limit is set for the denominator to avoid division by zero. The starting point anchor cost is the logarithmic distance between the candidate scale and the corresponding branch anchor point, and is normalized. The above calculations only use candidate metrics for the current image; the reference statistics, scoring weights, and decision configurations for image degradation features are determined and frozen before testing. Guard backoff uses the unnormalized raw grid distance difference, and test data is not involved in parameter search. The basic comprehensive score is then calculated using 1, 0.25, 0.35, and 0.30 as corresponding weights. ,in, The first branch of the basic inversion The basic comprehensive score of each candidate starting point; The distance between consecutive information symbols and the grid points of valid integer symbols; The statistical bias of candidate latent variables from their Gaussian prior distribution; The denoising consistency error between diffusion-backward reconstruction and forward generation; The deviation distance between the candidate starting point and the starting point anchor value determined based on blind channel characteristics and offline calibration relationships is used. The strong JPEG compression inversion branch does not use the distance term between continuous information symbols and valid integer symbol grid points; it only evaluates the statistical bias of the candidate latent variable deviating from the Gaussian prior distribution, the denoising consistency error, and the compression channel anchor point distance, and calculates the independent compression comprehensive score with corresponding weights of 0.15, 0.2, and 1.35. ,in, The first branch of JPEG compression inversion The independent JPEG compression comprehensive score of each candidate starting point was determined by offline experiments as the default value for the two sets of weights mentioned above. The compression confidence, sparsity evidence, and route score retention threshold related to guard backoff were calibrated on the offline calibration dataset using K-fold cross-validation and constraint optimization, and frozen before testing. The test data did not participate in the parameter search. In the corresponding test, when the weighted score reached a minimum value, each inversion branch selected the candidate latent variable that produced the minimum score and solved for the corresponding continuous information symbol.
[0056] After candidate solutions are determined, the receiver performs a guard backoff decision. When initially selecting the JPEG compression branch, the original grid distance between the initial candidate and the base candidate is calculated, and the grid distance difference is obtained by subtracting the latter from the former. If this difference reaches or exceeds the hard grid threshold, the receiver backoffs to the base candidate; if the difference reaches or exceeds the soft grid threshold but is lower than the hard grid threshold, the initial candidate is retained if the JPEG compression confidence, coefficient sparsity evidence, and corresponding branch route score all reach their respective retention thresholds, otherwise, the receiver backoffs; if the difference is lower than the soft grid threshold, the initial candidate is retained. The JPEG compression confidence is taken from the Softmax normalized result of the received image degradation response. When initially selecting the base branch, the base candidate is directly used, and the continuous symbols obtained by the selected candidate are reused for subsequent decoding.
[0057] The receiver quantizes the determined target continuous symbols to the nearest valid Gray symbol grid point of the corresponding channel and restricts them to the range of valid symbols; performs an inverse Gray transform to obtain integer symbols, expands them according to the bit width of each channel and splices them to scramble the bit sequence, then uses the shared key to generate the same deterministic key stream, and completes descrambling by bit-by-bit XOR to obtain the recovered secret bit sequence.
[0058] Example 2: The current test platform uses Windows 11 Professional operating system. The hardware computing unit consists of a graphics processor with 24GB of video memory. The underlying computing environment uses Python 3.9, PyTorch 1.12.1 and CUDA 11.3 computing platform. The test data uses publicly available benchmark image datasets. Among them, the AFHQv2 dataset and FFHQ dataset have an image spatial resolution of 64×64 and 3 channels, and the CIFAR-10 dataset has an image spatial resolution of 32×32 and 3 channels. Each dataset uses the officially divided independent validation test set samples. Data generation and reverse solving call the unconditionally pre-trained EDM diffusion model weight tensor. The sampling schedule uses a discrete time step sequence that includes the maximum noise scale, minimum noise scale and total number of steps. During the sampling process, the additional random perturbation term is turned off, and the deterministic probabilistic flow ordinary differential equation is solved along the forward and backward trajectories using the second-order Eulerhorn numerical algorithm.
[0059] For the mapping parameters between the discrete state space and the continuous diffusion latent variables, the symbol matrix block size takes into account the degrees of freedom of the local orthogonal basis superposition, spatial local correlation, and tensor block computational complexity. The dimension of the orthogonal discrete cosine transform matrix corresponds to the symbol matrix block size. The candidate starting point set contains 16 discrete scales and is divided into a basic candidate starting point subset and a lossy compression candidate starting point subset. When approaching the zero-noise region, the numerical rigidity of the inverse solution increases, and transmission distortion is prone to accumulate with the inverse integration. When the candidate starting point is too large, it will skip many forward generation trajectories. Therefore, the inversion results are examined through different candidate starting points. The parameters used for inversion routing and guard backoff are predetermined before online extraction. In this embodiment, the strong JPEG compression route scoring threshold is set to 0.38, and the weak JPEG compression route scoring threshold is set to 0.62. When the strong JPEG compression route score reaches 0.38, and both the block boundary evidence and the high-frequency energy loss evidence reach 0.28, the strong JPEG compression branch is initially selected. If the strong JPEG compression branch condition is not met, but the weak JPEG compression route score reaches 0.62, and the coefficient sparsity evidence reaches 0.80 and the spectrum offset evidence reaches 0.45, then the weak JPEG compression branch is initially selected; otherwise, the basic branch is initially selected. The basic branch and the strong JPEG compression branch select candidates from a preset candidate starting point subset through comprehensive scoring. The weak JPEG compression branch adopts a preset fixed safety starting point and retains the basic candidate as a backoff benchmark.
[0060] To create different types of non-ideal transmission conditions, the generated dense images are subjected to PNG format recoding and quantization, brightness adjustment with scaling factors of 0.95 and 1.05, additive white Gaussian noise interference with standard deviations of 0.005 and 0.01, and lossy JPEG compression with quality factors of 95, 90, and 80. The transmitting end first performs bit-by-bit XOR scrambling with the secret bit stream to be embedded using a deterministic pseudo-random key stream, converts it into integer symbols according to the capacity allocated to each channel, completes Gray encoding in sequence, and performs standardization based on the theoretical mean and standard deviation of the set of equally probable legal symbols. The initial latent variables of the dense image are synthesized by block orthogonal discrete cosine transform, and then input into the EDM diffusion model. The dense image is generated through 40 steps of deterministic integration. The receiving end converts the received image into brightness components, calculates the spectral energy ratio through Fourier transform, calculates the block boundary features through the pixel differences between the block boundaries and non-boundary positions, calculates the high-frequency energy ratio and high-frequency coefficient sparsity through block discrete cosine transform, estimates the noise level through Laplace filter residuals, and statistically analyzes the brightness mean and brightness standard deviation. Using offline determined reference mean and standard deviation, the aforementioned features or their preset logarithmic transform values are standardized to calculate various degradation responses and determine routing evidence such as high-frequency energy loss. The receiver performs initial branch selection based on the degradation response and feature evidence, and performs deterministic inversion on preset candidate starting points. For non-zero candidate starting points, the normalized received image is considered as an approximate state at the corresponding noise scale, skipping inversion intervals below this starting point without adding additional random noise. The inversion endpoint state is divided by the endpoint noise scale to obtain candidate latent variables, which are then subjected to inverse block orthogonal discrete cosine transform and inverse standardization to obtain candidate continuous symbols. The basic branch and strong JPEG compression branch are selected based on their corresponding comprehensive scores, while the weak JPEG compression branch uses candidates corresponding to a fixed security starting point. After the final candidates are determined through guard backoff, their continuous symbols are reused for quantization, inverse Gray decoding, and keystream descrambling to obtain the recovered secret bit sequence.
[0061] Four ablation test groups were set up at a baseline capacity of 1 bpp. The test groups of this invention simultaneously adopted block orthogonal mapping and adaptive inversion. The double-deletion control group adopted global linear mapping based on random orthogonal matrix and fixed 0.002 starting point inversion. The partially missing control group 1 retained block orthogonal mapping and fixed 0.002 starting point inversion. The partially missing control group 2 adopted global linear mapping based on random orthogonal matrix and retained adaptive inversion. The bit extraction accuracy of each group was measured under the following conditions: no distortion, PNG recoding, Gaussian noise 0.005, Gaussian noise 0.01, brightness adjustment 0.95, brightness adjustment 1.05, JPEG compression 95, JPEG compression 90 and JPEG compression 80.
[0062] The double-missing control group employed a global linear mapping based on a random orthogonal matrix and a fixed starting point inversion of 0.002. Under nine conditions—no distortion, PNG recoding, Gaussian noise 0.005, Gaussian noise 0.01, brightness adjustment 0.95, brightness adjustment 1.05, and JPEG quality factors of 95, 90, and 80—the bit extraction accuracies were 100.00%, 97.69%, 89.90%, 80.57%, 99.80%, 98.71%, 61.90%, 59.60%, and 55.55%, respectively. This group achieved correct recovery of all bits in the no-distortion test; however, the accuracy decreased to varying degrees after processing through other channels.
[0063] The partially missing control group 1 retained the block orthogonal mapping, with the initial inversion noise level also fixed at 0.002. Under the nine conditions mentioned above, the bit extraction accuracy was 100.00%, 97.13%, 90.48%, 82.30%, 99.82%, 98.70%, 62.87%, 60.32%, and 59.32%, respectively. Compared with the double-missing control group, the accuracy under the JPEG quality factor of 95 improved from 61.90% to 62.87%, and under the Gaussian noise of 0.005, it improved from 89.90% to 90.48%; under the PNG recoding condition, it decreased from 97.69% to 97.13%, and under the brightness adjustment of 1.05, it changed from 98.71% to 98.70%. These results indicate that, under a fixed inversion starting point, the block orthogonal mapping improved the recovery results under some channel conditions, but did not achieve improvement under all conditions.
[0064] The partially missing control group 2 employed global linear mapping based on random orthogonal matrices and adaptive inversion. Under the nine conditions mentioned above, the bit extraction accuracy was 100.00%, 97.86%, 91.35%, 82.50%, 99.80%, 99.05%, 67.86%, 64.79%, and 61.79%, respectively. Specifically, it achieved 97.86% under PNG recoding, 99.80% and 99.05% under brightness adjustments of 0.95 and 1.05, respectively, and 67.86% under a JPEG quality factor of 95. Compared to the double-missing control group using a fixed starting point of 0.002, the accuracy remained consistent under distortion-free and brightness adjustment conditions (0.95), while improving under all other test conditions. This indicates that adaptive inversion improved the information recovery results under these channel conditions.
[0065] The test group of this invention simultaneously employed block orthogonal mapping and adaptive inversion. Under the nine conditions mentioned above, the bit extraction accuracy was 100.00%, 97.96%, 91.48%, 82.81%, 99.86%, 99.30%, 69.03%, 66.30%, and 63.46%, respectively. Compared with the partially missing control group 2, the accuracy remained consistent under distortion-free conditions. Under PNG recoding, Gaussian noise of 0.005, and brightness adjustment of 0.95, the accuracy improved by 0.10, 0.13, and 0.06 percentage points, respectively; under JPEG quality factors of 95, 90, and 80, the accuracy improved by 1.17, 1.51, and 1.67 percentage points, respectively. Within the scope of this test, employing both mechanisms simultaneously achieved a high bit extraction accuracy, with the improvement under JPEG compression conditions being greater than that achieved using only adaptive inversion.
[0066] The hidden capacity was further modified by increasing the total hidden capacity from 3bpp to 6bpp, 9bpp, 12bpp, 15bpp, 18bpp, 21bpp, 24bpp, 27bpp, and 30bpp on the AFHQv2, FFHQ, and CIFAR-10 datasets, respectively. This corresponds to an increase in the capacity per channel from 1bpp to 10bpp. The average information extraction accuracy, the quality FID generated, and the detection error rate Pe recorded when evaluating the XuNet and SRNet deep steganalysis networks were determined under conditions without channel distortion.
[0067] When the average accuracy of the AFHQv2 dataset at 3bpp, 6bpp, 9bpp, 12bpp, 15bpp, 18bpp, 21bpp, 24bpp, 27bpp, and 30bpp is 100.00%, 100.00%, 100.00%, 99.99%, 99.97%, 99.89%, 99.60%, 98.85%, 96.74%, and 92.57%, respectively, the corresponding detection error rates Pe are 0.468, 0.483, 0.491, and 0.490, respectively. The average accuracy was 0.498, 0.493, 0.496, 0.492, 0.485, and 0.492, respectively; the corresponding generated quality FIDs were 2.30, 2.18, 2.14, 2.21, 2.17, 2.17, 2.19, 2.17, 2.15, and 2.13. As the capacity increased from 3 bpp to 21 bpp, the average accuracy changed from 100.00% to 99.60%, and further to 98.85%, 96.74%, and 92.57% at 24 bpp, 27 bpp, and 30 bpp, respectively.
[0068] When the average accuracy of the FFHQ dataset with sequences of the same size is 100.00%, 100.00%, 100.00%, 100.00%, 99.99%, 99.95%, 99.79%, 99.23%, 96.98%, and 93.02%, respectively; the detection error rates Pe are 0.434, 0.474, 0.488, 0.484, 0.473, 0.484, 0.470, and 0.474, respectively. The FID values were 0.480 and 0.476; the generated quality FID values were 4.23, 3.51, 3.29, 3.33, 3.33, 3.27, 3.30, 3.28, 3.33, and 3.32, respectively. The average accuracy of this dataset varied from 100.00% to 99.79% in the range of 3bpp to 21bpp, and was 99.23%, 96.98%, and 93.02% at 24bpp, 27bpp, and 30bpp, respectively.
[0069] The average accuracy of the CIFAR-10 dataset with the same sequence size was 100.00%, 99.99%, 99.89%, 99.46%, 98.75%, 97.97%, 96.13%, 93.05%, 89.67%, and 85.61%, respectively; the detection error rates Pe were 0.440, 0.445, 0.453, 0.484, 0.454, 0.470, 0.448, and 0, respectively. The FID values were 468, 0.455, and 0.450; the generated quality FID values were 2.67, 2.38, 2.36, 2.35, 2.32, 2.36, 2.35, 2.33, 2.29, and 2.35, respectively. The average accuracy of this dataset decreased continuously with the increase in size, reaching 96.13% at 21 bpp, and further decreasing to 93.05%, 89.67%, and 85.61% at 24 bpp, 27 bpp, and 30 bpp, respectively.
[0070] Based on the quantitative results of the three capacity tests, within the range of 3bpp to 21bpp, the average bit extraction accuracy of AFHQv2 and FFHQ is no less than 99.60%, and that of CIFAR-10 is no less than 96.13%. The generation quality (FID) of the three datasets ranges from 2.13 to 4.23, and the detection error rate (Pe) ranges from 0.434 to 0.498, which is close to the median detection error rate of 0.500. When the capacity is further increased to 24bpp, 27bpp, and 30bpp, the number of symbol levels per channel expands to 256, 512, and 1024, respectively. The minimum Euclidean decision interval between normalized consecutive symbols increases with the number of levels. As the capacity increases and decreases, the numerical deviation generated by the finite step size inversion is more likely to cross the decision boundary of adjacent grid points. Correspondingly, the average accuracy of AFHQv2 at 30bpp is 92.57%, FFHQ is 93.02%, and CIFAR-10 is 85.61%. Therefore, this embodiment uses 21bpp as the engineering capacity boundary when simultaneously examining the information extraction accuracy, generation quality (FID), and detection error rate (Pe) under the above test conditions. After the secret bits are perturbed by the deterministic pseudo-random key stream and subjected to block orthogonal discrete cosine transform, they enter the diffusion model. As the capacity continues to increase, the expansion of discrete symbol levels and the reduction of grid spacing correspond to the above-mentioned process of decreasing extraction accuracy.
[0071] Example 3: Before communication deployment, the data processing system first establishes offline reference statistics. The system calls 1000 independent, channel-distortion-free generated images as a calibration sample set. The feature extraction module extracts the blind channel features of each calibration sample in the frequency and spatial domains. In frequency domain processing, a two-dimensional Fourier transform is performed on the luminance component to calculate the spectral energy ratio; the high-frequency energy ratio is calculated through block discrete cosine transform and incorporated into the reference feature statistics; in spatial block processing, the mean absolute value of the first-order difference of the sampling points on both sides of the boundary of adjacent data blocks is traversed and compared with the first-order difference of the adjacent sampling points within the block. The absolute value means are used to calculate the ratio, which is a measure of the discontinuity of the block boundaries. The sparsity of high-frequency coefficients is calculated by block discrete cosine transform. In noise residual processing, the noise level is estimated by Laplace filtering residuals. In global statistical processing, all spatial grid sampling points are traversed, and the mean and standard deviation of the image brightness components are calculated respectively. After summarizing the above features of each calibrated image, their arithmetic mean and sample standard deviation are calculated respectively to form a reference statistical mean vector and reference standard deviation vector in the distortion-free state. Based on this, a feature standardization model is constructed, and this set of reference statistics is fixedly saved for online inversion.
[0072] The feature standardization model is established using the aforementioned channel-distortion-free reference samples. The generation model, hidden capacity, spatial resolution, and channel format of each reference sample are consistent with the corresponding experimental settings. During feature extraction, the mean of the absolute difference between adjacent pixels on both sides of the block boundary is divided by the mean of the absolute difference between adjacent pixels within the block to obtain the relative block boundary features. The relative ratio between local statistics is used to reduce the influence of the carrier's own texture structure on the block boundary features. For features using a preset logarithmic transformation, the calculation of offline reference mean and reference standard deviation, as well as online standardization, are performed after the same transformation. Each blind channel feature or its preset logarithmic transformation value is subtracted from the corresponding reference mean and divided by the corresponding reference standard deviation to obtain the standardized deviation relative to the distortion-free state.
[0073] During online sensing, the receiving processing unit acquires the received image after transmission through an unknown channel. It uses the same feature extraction operators as in offline calibration to perform brightness transformation, two-dimensional discrete Fourier transform, block differential ratio calculation, two-dimensional discrete cosine transform, Laplace high-pass filter residual calculation, and mean-standard deviation statistics. This yields corresponding spectral energy ratio, high-frequency energy ratio, block boundary discontinuity measurement, block DCT high-frequency coefficient sparsity, noise residual estimation, and brightness statistical features. A feature standardization model is then used to calculate the standardized feature values of each feature relative to the distortion-free state. Based on the standardized features, response values for the steady state, brightness change, noise, and JPEG compression are calculated according to preset weights. These are then subjected to normalized exponential transformation to obtain various degradation responses, with the JPEG response component serving as the JPEG confidence level for subsequent joint decision-making. Simultaneously, based on the deviation of relevant features from reference statistics, evidence of block boundaries, high-frequency energy loss, coefficient sparsity, and spectral shift is determined. The above response calculation parameters and feature processing rules are determined before online extraction and remain unchanged during the online phase.
[0074] The receiver calculates strong JPEG compression route scores and weak JPEG compression route scores based on channel degradation response and blind channel characteristics. When the strong JPEG compression route score reaches 0.38, and both block boundary evidence and high-frequency energy loss evidence reach 0.28, a strong JPEG compression branch is initially selected using a preset subset of JPEG compression candidate starting points. If the strong JPEG compression branch condition is not met, but the weak JPEG compression route score reaches 0.62, and the coefficient sparsity evidence reaches 0.80 and the spectrum offset evidence reaches 0.45, a weak JPEG compression branch is initially selected using a preset fixed safe starting point. In other cases, a basic branch is initially selected using a preset subset of basic candidate starting points. The candidate starting point set remains unchanged online, and the optimal candidate of the basic branch is always retained as the backoff benchmark. Based on blind channel characteristics, degradation response, and offline determined mapping relationships, the starting point anchor values for the basic branch and compression branch are obtained, and the deviation cost between the candidate starting point and the corresponding anchor value is calculated on a logarithmic noise scale. When a nominal zero starting point is involved, a preset positive lower limit is used for numerical processing.
[0075] For each candidate starting point, the receiver converts the received image to the model input range as an approximate initial state at the corresponding noise scale, without adding additional random noise. For non-zero candidate starting points, inversion intervals below that starting point are skipped; for nominal zero starting points, numerical processing is performed using a preset minimum positive noise scale. Taking the numerically processed starting point as the first node, an increasing inversion scale sequence is constructed according to a preset 40-step noise scheduling. A pre-trained EDM denoising network is called, employing Euler prediction and Heun correction in steps other than the final integration step. The final integration step uses Euler update, advancing to the maximum noise scale of 80. The obtained endpoint state is divided by the endpoint noise scale to obtain the corresponding candidate latent variables.
[0076] The denoising consistency error is calculated using the mean squared error between the received image and the corresponding effective noise scale in the denoising prediction. After converting the received image to the model input range, the effective noise scale is determined based on the candidate starting point, the noise lower limit supported by the model, and the noise scale rounding rule. A pre-trained EDM denoising network is then invoked to obtain the denoising prediction, and the mean squared difference between this prediction and the received image element by element is calculated. This calculation does not require re-performing forward generation from the candidate latent variables, nor does it depend on the original generation trajectory saved at the sending end.
[0077] In the basic candidate starting point subset, the distance between continuous information symbols and legal integer symbol grid points, the statistical bias of candidate latent variables deviating from the Gaussian prior distribution, the denoising consistency error, and the deviation distance between the candidate starting point and the starting point anchor value of the corresponding branch are linearly weighted according to the basic branch weights determined in previous embodiments to obtain a basic comprehensive score. In the compressed candidate starting point subset, the distance between continuous information symbols and legal integer symbol grid points is not used. Instead, the prior bias of candidate latent variables, the denoising consistency error, and the compressed channel anchor point distance are linearly weighted according to predetermined compression weights to obtain an independent compressed comprehensive score. The candidate with the smallest comprehensive score is selected for the basic branch and the strong JPEG compression branch, respectively. The candidate corresponding to the fixed security starting point is used for the weak JPEG compression branch. The basic candidates are retained, and preliminary candidates are determined based on the routing results for subsequent guard decision-making.
[0078] When initially selecting a weak or strong JPEG compression branch, the grid distance difference is obtained by subtracting the original grid distance of the base candidate from the original grid distance of the initial compression candidate. A soft grid threshold and a hard grid threshold not less than the soft grid threshold are set. When the grid distance difference reaches or exceeds the hard grid threshold, the candidate reverts to the base candidate. When the grid distance difference reaches or exceeds the soft grid threshold but is less than the hard grid threshold, if the JPEG compression confidence, coefficient sparsity evidence, and the routing score corresponding to the initial branch all reach their respective retention thresholds, the continuous information symbols of the initial compression candidate are retained as the target continuous symbols; otherwise, the candidate reverts to the base candidate. When the grid distance difference is less than the soft grid threshold, the initial compression candidate is retained. The JPEG compression confidence is the JPEG degradation response probability obtained by blind channel feature analysis and normalized exponential transformation of the received image. In this embodiment, the soft grid threshold is set to 0.08; the hard grid threshold, compressed confidence retention threshold, and strong / weak route score retention threshold are set to 1.10 by default (higher than their respective value ranges, and by default do not participate in joint decision-making); the coefficient sparsity evidence retention threshold is set to 0 by default (no restriction by default); the joint retention conditions are fully enabled only after loading the effective thresholds obtained from offline calibration data, and are frozen before testing.
[0079] After determining the target continuous symbols, they are mapped to the nearest valid integer symbol lattice point in Euclidean distance to obtain Gray symbols. Then, an inverse Gray transform is performed to restore the integer symbol sequence corresponding to each channel. Based on the bit width set for each channel, the integer symbols are expanded into binary bit segments and spliced together in the preset channel order to form a complete scrambled bit sequence. The receiving end calls the same pseudo-random number generator and pre-shared deterministic key as the sending end to generate a consistent deterministic pseudo-random key stream. The scrambled bit sequence is descrambled through bit-by-bit XOR logic, and the recovered secret bit sequence is output.
[0080] Example 4: This example combines Figures 1 to 7 This paper explains the image data hiding method using block orthogonal mapping and adaptive inversion, such as... Figure 1 As shown, in step S1, the transmitting end obtains the secret bit sequence, scrambles the secret bit sequence using a shared key stream, distributes the scrambled bit sequence to multiple channels and converts it into integer symbols, transforms the integer symbols into Gray symbols, and then standardizes them according to the theoretical mean and standard deviation of the set of equally probable legal symbols to construct a standardized symbol matrix. In step S2, the standardized symbol matrix is divided into non-overlapping matrix blocks, and a two-dimensional orthogonal discrete cosine transform is performed on each symbol matrix block using an orthogonal discrete cosine transform matrix. The transformed matrix blocks are then reassembled into a dense initial latent variable according to their original spatial positions. In step S3, the dense initial latent variable is input into a diffusion model, and a dense image is generated by solving the model using a deterministic numerical algorithm based on the set noise scheduling parameters. In step S4, the receiving end obtains the received image after passing through the transmission channel, converts the received image into a luminance component, calculates the spectral energy ratio using Fourier transform, compares the pixel differences between the block boundaries and non-boundary positions to measure the discontinuity of the block boundaries, and calculates the spectral energy ratio using block discrete cosine transform. The high-frequency energy ratio and high-frequency coefficient sparsity are calculated, the noise level is estimated through Laplace filter residuals, and the mean and standard deviation of brightness are statistically analyzed to obtain blind channel characteristics reflecting channel degradation. The channel degradation response is calculated using predetermined reference statistics to obtain the starting point prior and routing basis for inversion branches required for candidate scoring. The candidate inversion starting point set is preset by the receiver and remains unchanged during the online phase. In step S5, the receiver performs deterministic inversion for the preset candidate starting points, using the normalized received image as the approximate initial state under the corresponding candidate noise scale. Non-zero candidate starting points skip the inversion interval below the starting point. The inversion endpoint state is divided by the endpoint noise scale to obtain candidate latent variables. Continuous symbols are obtained through one inverse block orthogonal discrete cosine transform and inverse standardization. Candidates are selected based on candidate scores, branch routing, and guard backoff. When the guard backoff condition is met, the basic candidate is adopted. The selected continuous symbols are subjected to legal grid quantization, inverse Gray decoding, bit rearrangement, and key stream descrambling to obtain the recovered secret bit sequence.
[0081] like Figure 2As shown, the symbol normalization and block mapping part performs Gray encoding on integer symbols, standardizes them based on the theoretical mean and standard deviation of the legal symbol set, and then performs linear combination of symbols within the block through two-dimensional orthogonal discrete cosine transform, adjusting the distribution of each component of the latent variable while maintaining the total energy within the block. The deterministic diffusion sampling generation part disables additional random perturbations in the sampling process, uses Euler prediction and Heun correction for numerical solution, and performs pixel inverse normalization, truncation, and quantization on the sampled output to obtain a dense image. The blind channel feature and response part extracts features such as the discontinuity of block boundaries and the sparsity of high-frequency coefficients of block DCT, and calculates multiple types of degraded responses in combination with offline reference statistics, providing a basis for candidate scoring and branch routing. The adaptive inverse integration and decision-making part performs deterministic inversion for preset candidate starting points. Non-zero candidate starting points skip inversion intervals below the starting point to reduce the impact of disturbances in near-zero noise intervals on the inversion. Starting point selection is performed through candidate comprehensive scoring and branch routing. Then, joint decision-making is carried out based on grid distance difference and relevant confidence evidence. When the guard retreat condition is met, the basic candidate is adopted to determine the final result used for secret information recovery.
[0082] like Figure 3 As shown, under the same experimental settings, the bit extraction accuracy (BAR) was examined under PNG saving and reading conditions, Gaussian noise with a luminance coefficient of 0.95 and a standard deviation of 0.005, and JPEG compression with a quality factor of 95, respectively. The following values are approximate values read from the curve in the graph. Starting from the nominal zero point... ,Right now At the same starting point, the BAR under the four conditions mentioned above is approximately 67%, 61%, 63.5%, and 59.5%, respectively. When the starting point increases to 0.002, the BAR increases to approximately 98.5%, 100%, 92.5%, and 63.6%, respectively. Within a smaller range of non-zero candidate starting points, the BAR under PNG conditions is approximately 97% to 98.5% between 0.002 and 0.03; under brightness adjustment conditions, it approaches 100% between 0.002 and 0.02; and under Gaussian noise conditions, it is approximately 92.5% to 93.5% between 0.002 and 0.03. Under JPEG compression conditions, the BAR generally increases as the starting point increases from 0.002 to 0.05, rising from approximately 63.6% to approximately 69.2%, reaching a higher level of approximately 70.5% around 0.08 to 0.12. Within the same starting point range, the BAR under the other three conditions decreases from approximately 85% to approximately 81%. When the starting point is further increased to 0.30, the BAR (Browser Accuracy) decreases to approximately 76% under PNG, brightness adjustment, and Gaussian noise conditions, while it slowly decreases to approximately 69% under JPEG compression. These results indicate that, under the experimental settings, there are differences in the optimal inversion starting point corresponding to different channel conditions. PNG saving / reading, brightness adjustment, and Gaussian noise conditions are suitable for smaller non-zero candidate starting points, while under JPEG compression, the optimal starting point shifts to a larger noise scale; an excessively large starting point also reduces extraction accuracy. These results provide experimental basis for candidate starting point scoring and adaptive selection based on the degradation characteristics of the received image.
[0083] like Figure 4As shown, Step 1, Offline Parameter Calibration. Reference statistics for blind channel characteristics are established using independent, channel-distortion-free reference images. Calibration and verification data, isolated from test data, are used to determine the starting point anchoring relationship, candidate scoring weights, branch routing, and joint decision parameters. A candidate inversion starting point set is pre-set, and the above parameters are frozen. In the online phase, inversion selection is performed solely based on the received image and the frozen parameters. Step 2, Secret Information Preprocessing and Block Orthogonal Mapping. The secret bit sequence is XORed using the shared key stream, allocated to each channel according to the agreed capacity, converted to integer symbols, and Gray-coded. Standardization is performed based on the theoretical mean and standard deviation of the legal symbol set. The symbol matrix is divided into 8×8 blocks, orthogonally normalized DCT is performed, and the blocks are spliced according to their original spatial positions to obtain the initial latent variables containing the secret information. Step 3, Secret Image Generation. The initial latent variables containing the secret information are multiplied by the maximum noise scale as the initial sampling state for the pre-trained EDM model. Deterministic Euler-Heun sampling is performed according to the preset noise schedule. The resulting image is generated through pixel inverse normalization, truncation, and quantization, and then sent to the transmission channel. Step 4: Blind Channel Sensing and Multi-Startpoint Truncation Inversion. Extract the spectrum, block boundaries, high-frequency energy and coefficient sparsity of block DCT, noise residuals, and brightness statistical features. Calculate multiple types of degradation responses and branch routing criteria based on frozen parameters. The basic branch uses a preset basic candidate set, the weak JPEG compression branch uses a fixed safe starting point, and the strong JPEG compression branch uses a preset compression candidate set. Perform deterministic inversion for candidate starting points, skipping inversion intervals below the starting point for non-zero candidate starting points. Divide the inversion endpoint state by the endpoint noise scale to obtain candidate latent variables, and retain the candidate results required for the basic branch. Step 5: Inverse Block Orthogonal Transform, Joint Decision, and Information Recovery. Perform an inverse DCT and inverse standardization once for each candidate latent variable to obtain continuous symbols. Calculate grid distance, latent variable prior bias, denoising consistency error, and starting point anchor cost. Determine candidates based on the scoring rules corresponding to each branch and the fixed starting point rule, then perform joint decision. Use the basic candidate when the guard backoff condition is met. The final candidate consecutive symbols are reused to complete legal grid quantization, inverse Gray decoding, concatenation in channel order, and key stream descrambling, outputting the recovered secret bit sequence.
[0084] like Figure 5 As shown, the sending end obtains the secret information m=[0,1,...,1,0] consisting of a binary sequence, and performs key stream scrambling in combination with the input key K and sequence identifier V to calculate... Where L is the length of the generated pseudo-random keystream; in the block and symbol conversion, the total capacity is used as the basis. And satisfy The allocation relationship is used to distribute the scrambled bits according to the bit width corresponding to each channel. Convert to a value in Integer sign; During the Gray encoding stage, each channel is processed separately. Calculations are performed to complete the Gray transformation; the statistical mean is used during the standardization phase. with standard deviation implement The symbols are standardized based on the theoretical statistics of the set of legal symbols according to the mean and standard deviation; tensors are constructed by sorting them by channel and spatial position during the matrix construction stage. Gaussian noise is used to fill the uncarried secret information channels; in the block-based orthogonal DCT stage, orthogonality is satisfied. The transformation matrix Q for each block Perform two-dimensional orthogonal computation The transformed blocks are then spliced together according to their original spatial positions to obtain the initial latent variable Z containing information. Finally, the initial latent variable Z containing information is fed into the deterministic EDM sampling process, under the parameter condition of turning off random disturbances. Evolution path from the lowest noise scale to the lowest noise scale Perform the integral solution and output the dense image.
[0085] like Figure 6 As shown, the receiver acquires the received image y=C(x) after passing through an unknown transmission channel C, extracts the spectral energy ratio, block boundary features, high-frequency energy and coefficient sparsity of the block DCT, noise residuals, and brightness statistical features, and standardizes them using offline determined reference statistics to obtain the blind channel feature vector z. Based on z, various degradation responses and related feature evidence are calculated to obtain the starting point anchor value, scoring prior, and branch routing basis required for candidate scoring. The candidate set, scoring, and decision parameters remain unchanged online. The receiver then performs a preset candidate inversion starting point set. Deterministic truncation inversion is performed. The received image transformed to the model input domain is considered as an approximate initial state at the corresponding noise scale, without adding additional random noise; non-zero candidate starting points skip inversion intervals below that starting point, and the nominal zero starting point is numerically processed using a preset minimum positive scale. The inversion endpoint state of each candidate is divided by the endpoint noise scale to obtain the candidate latent variable set. For each candidate latent variable, an inverse orthogonal discrete cosine transform is performed block by block, and inverse standardization is performed based on the theoretical mean and standard deviation of the corresponding channel to obtain candidate continuous symbols. The basic branch calculates a comprehensive score based on grid distance, latent variable prior bias, denoising consistency error, and starting point anchor cost; the strong JPEG branch uses an independent score that does not include the grid distance term; the weak JPEG branch uses candidates corresponding to a fixed safe starting point. The indicators required for candidate scoring are normalized according to preset rules, and the optimal candidate of the basic branch is always retained as the backoff benchmark. Initial candidates are determined based on branch routes. Then, the original grid distance difference between the initial compressed candidates and the basic candidates, JPEG confidence, coefficient sparsity evidence, and corresponding route scores are combined to make a decision based on the grid distance threshold and joint retention conditions. If the guard backoff condition is met, the basic candidate is adopted. After determining the final candidate, its obtained continuous symbols are reused to complete legal grid quantization, inverse Gray decoding, concatenation in channel order, and key stream descrambling, outputting the recovered secret bit sequence.
[0086] like Figure 7 As shown, in the data processing flow at the sending end, the standardized information symbol matrix S is divided into multiple non-overlapping matrix blocks according to the spatial grid. After being transformed block by block, the input is placed into a two-dimensional orthogonal DCT-II calculation unit, and then processed according to the formula. Perform orthogonal baseline linear transformation to obtain each transformation matrix block. Then, through block splicing and recombination, a dense initial latent variable Z is formed, arranged in its original spatial position; in the receiving end inversion recovery process, the candidate latent variables obtained by inversion are... Local latent variable blocks corresponding to spatial locations were extracted by block decomposition. The data is fed into the two-dimensional orthogonal DCT inverse transform calculation unit, where the orthogonal transform matrix satisfies... = Execute formula under the constraint of =I The calculations perform block-by-block inverse transformation and block-by-block restoration operations, thereby reconstructing the normalized information symbol matrix recovered from the output. and its constituent matrix blocks .
[0087] Example 5: Before deploying the electronic digital data processing system in an unknown channel, the receiving end processing unit retrieves 1000 channel-distortion-free generated images from non-volatile memory to form an offline calibration sample set. The feature extraction module extracts the blind channel features of each sample. Specifically, a two-dimensional Fourier transform is performed on the mean-removed luminance component to calculate the ratio of the average power in the preset high-frequency region to the average power in the low-frequency region, which is used as the spectral energy ratio. A very small positive number is added to the denominator to avoid division by zero. The first-order difference of the sampling points at the edges of adjacent data blocks is traversed to obtain a measure of the discontinuity of the block boundaries. Laplace filtering residuals are used to process the data, and the filtering is performed according to the filter... The residuals before and after the wave are used to estimate the noise residuals. At the same time, the mean and standard deviation of the image brightness components are statistically analyzed. After summarizing the blind channel features corresponding to each calibration image, the arithmetic mean and sample standard deviation are calculated respectively. The resulting distortion-free reference statistics are stored in memory for online reading and remain unchanged during online extraction. This forms a feature standardization model for online inversion. When receiving data after transmission through an unknown channel, the system calls this set of reference statistics to standardize the blind channel features extracted from the currently received image. The standardization deviation is calculated based on the reference mean and standard deviation and used for subsequent channel degradation response calculation.
[0088] In the channel degradation response calculation and adaptive inversion process, the processing unit calculates the response values for steady state, brightness change, noise, and JPEG compression according to the standardized characteristics and preset weights calibrated offline. These values are then transformed by a normalized exponential transformation to obtain various degradation responses. Based on the channel degradation response and blind channel characteristics, strong JPEG compression route scores and weak JPEG compression route scores are calculated respectively. When the strong JPEG compression route score reaches 0.38, and both the block boundary evidence and high-frequency energy loss evidence reach 0.28, a strong JPEG compression branch is initially selected, and target candidate starting points with initial noise levels between 0.08 and 0.30 are selected from the subset of lossy compression candidate starting points. If the strong JPEG compression branch condition is not met, but the weak JPEG compression route score reaches 0.62, and the coefficient sparsity evidence reaches 0.80 and the spectral offset evidence reaches 0.45, then a weak JPEG compression branch is initially selected, using a preset fixed safe starting point. In other cases, a basic branch is initially selected, and target candidate starting points with initial noise levels between 0.002 and 0.08 are selected from the subset of basic candidate starting points.
[0089] When determining the target continuous symbols, the system retains the candidate with the smallest comprehensive score of the basic branch as the baseline candidate. For the strong JPEG compression branch, the candidate with the smallest comprehensive compression score is used, and for the weak JPEG compression branch, the candidate corresponding to the fixed security starting point is used. When initially selected as a compression branch, the original grid distances of continuous symbols in the initial compression candidate and the baseline candidate relative to the legal integer symbol grid points are calculated separately. The grid distance difference is obtained by subtracting the latter from the former. A soft grid threshold and a hard grid threshold not less than the soft grid threshold are set. When the grid distance difference reaches or exceeds the hard grid threshold, the system reverts to the baseline candidate. When the grid distance difference reaches or exceeds the soft grid threshold but is lower than the hard grid threshold, the initial compression candidate is retained only if the JPEG compression confidence calculated from blind channel characteristics, the coefficient sparsity evidence, and the routing score corresponding to the initial branch all reach their respective retention thresholds; otherwise, the system reverts to the baseline candidate. When the grid distance difference is lower than the soft grid threshold, the initial compression candidate is retained. The JPEG compression confidence score is the JPEG degradation response probability obtained from the received image after blind channel feature analysis and normalized exponential transformation. The soft grid threshold is set to 0.08, while the hard grid threshold and reserved threshold are calibrated offline and frozen before testing. When initially selecting the basic branch, the baseline candidate is directly used. The continuous symbols obtained from the final candidate are used as the target continuous symbols, without repeated inverse orthogonal transformation and inverse normalization. Subsequently, the target continuous symbols are quantized to the nearest integer symbol grid within the legal range of the corresponding channel to obtain Gray symbols. Inverse Gray transformation is then used to recover the integer symbols, which are then expanded into binary bit strings according to the bit width of each channel and concatenated into a scrambled bit sequence according to the agreed channel order. The receiver generates a deterministic pseudo-random keystream consistent with the transmitter, performs descrambling through bit-by-bit XOR, and outputs the recovered secret bit sequence.
[0090] The above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the protection scope of the present invention.
Claims
1. A method for hiding image data using block orthogonal mapping and adaptive inversion, characterized in that, Includes the following steps: Step S1: The sending end obtains the secret bit sequence, scrambles the secret bit sequence using the shared key stream, distributes the scrambled bit sequence to multiple channels and converts it into integer symbols, transforms the integer symbols into Gray symbols, and then standardizes them according to the theoretical mean and standard deviation of the set of equally probable legal symbols to construct a standardized symbol matrix. Step S2: Divide the standardized symbol matrix into non-overlapping matrix blocks, apply a two-dimensional orthogonal discrete cosine transform to each symbol matrix block using the orthogonal discrete cosine transform matrix, and reorganize the transformed matrix blocks into dense initial latent variables according to their original spatial positions. Step S3: Input the initial latent variables containing density into the diffusion model, and generate the dense image by solving the problem through a deterministic numerical algorithm based on the set noise scheduling parameters; Step S4: The receiving end acquires the received image after passing through the transmission channel, converts the received image into luminance components, calculates the spectral energy ratio through Fourier transform, compares the pixel differences between the block boundary and non-boundary positions to measure the discontinuity of the block boundary, calculates the high-frequency energy ratio and high-frequency coefficient sparsity through block discrete cosine transform, estimates the noise level through Laplace filter residuals, and statistically analyzes the luminance mean and luminance standard deviation to obtain blind channel characteristics reflecting channel degradation. The channel degradation response is calculated using predetermined reference statistics to obtain the starting prior and routing basis for the inversion branch required for candidate scoring. The candidate inversion starting point set is preset by the receiving end and remains unchanged during the online phase; Step S5: The receiving end performs deterministic inversion for the preset candidate starting point and uses the normalized received image as the approximate initial state under the corresponding noise scale. Non-zero candidate starting points skip the inversion interval below that starting point; Divide the inverted endpoint state by the endpoint noise scale to obtain candidate latent variables. Then, obtain continuous symbols by performing an inverse block orthogonal discrete cosine transform and inverse standardization. Select candidates based on candidate scores, branch routes, and guard backoff. Use the basic candidate when the guard backoff condition is met. The selected continuous symbols are subjected to legal grid quantization, inverse Gray decoding, bit rearrangement, and key stream descrambling to obtain the recovered secret bit sequence.
2. The image data hiding method based on block orthogonal mapping and adaptive inversion according to claim 1, characterized in that, Step S1 specifically includes the following sub-steps: Step S11, allocate the total hidden capacity to each channel to determine the corresponding bit width of each channel; Step S12, extract the bit segments of each channel in channel order, group them according to the bit width of the corresponding channel, and convert the extracted bit segments into integer symbols; Step S13, convert each integer symbol into a Gray symbol, and standardize each Gray symbol according to the theoretical mean and standard deviation of the set of equally probable legal symbols to form a standardized symbol matrix.
3. The image data hiding method using block orthogonal mapping and adaptive inversion according to claim 1, characterized in that, Step S2 specifically includes the following sub-steps: Step S21, dividing the normalized symbol matrix corresponding to each channel into a matrix of size... And non-overlapping symbol matrix blocks, using order of orthogonal discrete cosine transform matrix For the The first in the channel A symbol matrix block Perform orthogonal transformation calculations to obtain the transformed matrix block. : ,in, For the first The first channel A transformed matrix block, To meet The orthogonal discrete cosine transform matrix, It is the identity matrix. The orthogonal discrete cosine transform matrix The transpose of the matrix, For the first The first channel Step S22: Reassemble the transformed matrix blocks according to their original spatial positions, fill the channels with random noise following a standard normal distribution in the unallocated hidden capacity, and synthesize a dense initial latent variable.
4. The image data hiding method based on block orthogonal mapping and adaptive inversion according to claim 1, characterized in that, Step S3 specifically includes the following sub-steps: Step S31, multiply the initial latent variable containing density by the maximum noise scale as the initial sampling state of the pre-trained diffusion model, and turn off the additional random perturbation in the sampling process; Step S32, according to the preset noise schedule, perform deterministic numerical integration from the high noise scale to the low noise scale, using Euler prediction and Heun correction in non-final integration steps, and Euler update in the final integration step; perform inverse normalization and pixel truncation on the sampling output under the terminating noise scale to obtain the dense image.
5. The image data hiding method based on block orthogonal mapping and adaptive inversion according to claim 1, characterized in that, Step S4 specifically includes the following sub-steps: Step S41, using the mean and standard deviation of the corresponding features predetermined by the independent channel-distortion-free reference image, the blind channel features or their preset logarithmic transformation values are standardized; based on the standardized features, various channel degradation responses are calculated, and based on the deviation of the high-frequency energy correlation features from the reference statistics, evidence of high-frequency energy loss is determined.
6. The image data hiding method based on block orthogonal mapping and adaptive inversion according to claim 5, characterized in that, In step S4, the inversion branch and the corresponding candidate starting point are determined from the set of candidate starting points based on the channel degradation response. Specifically, the following sub-steps are included: Step S42, calculate the strong JPEG compression route score and the weak JPEG compression route score respectively based on the channel degradation response and blind channel characteristics. When the strong JPEG compression route score, block boundary evidence, and high-frequency energy loss evidence all reach the corresponding thresholds, the strong JPEG compression branch is initially selected, and a preset compression candidate starting point subset is adopted; otherwise, when the weak JPEG compression route score, coefficient sparsity evidence, and spectrum offset evidence all reach the corresponding thresholds, the weak JPEG compression branch is initially selected, and a preset fixed safety starting point is adopted. In other cases, a basic branch is initially selected; each candidate starting point is determined before online extraction, and the basic branch and the strong JPEG compression branch are selected through subsequent comprehensive scoring, and the basic candidate is retained as a backoff benchmark.
7. The image data hiding method using block orthogonal mapping and adaptive inversion according to claim 1, characterized in that, In step S5, the candidate latent variables are solved by deterministic inverse numerical integration, which specifically includes the following sub-steps: Step S51, the received image is directly mapped to the non-zero noise scale initial state corresponding to the candidate starting point, and the integration interval between the zero noise starting point and the candidate starting point is truncated and skipped. Step S52: Starting from the initial state, the denoising network of the diffusion model is invoked. Based on the inverse noise scheduling sequence, the system integrates from the candidate starting point to the endpoint of the maximum noise scale through Euler prediction and Heun correction algorithm in the non-final integration step. The resulting endpoint state is divided by the endpoint noise scale to obtain the candidate latent variables.
8. The image data hiding method based on block orthogonal mapping and adaptive inversion according to claim 6, characterized in that, In step S5, the target continuous symbol is determined, which specifically includes the following sub-steps: Step S53, in the subset of basic candidate starting points, the basic comprehensive score is calculated by weighting the distance between the candidate continuous symbol and the legal grid point, the deviation of the mean of the candidate latent variable from 0 and the standard deviation from 1, the denoising consistency error, and the distance of the starting point anchor point. The candidate with the smallest score is selected as the basic candidate and retained. In the subset of JPEG compression candidate starting points, without considering the grid distance term, the comprehensive compression score is calculated based on the latent variable prior bias, denoising consistency error and compression starting point anchor point distance, and the candidate with the smallest score is selected as the strong JPEG compression candidate. The weak JPEG compression candidate uses the results corresponding to a preset fixed security starting point; Candidates are initially selected based on branch routes for subsequent joint decision-making; among them, the denoising consistency error is the mean square error between the received image and the corresponding effective noise scale denoising prediction, and the starting anchor value is determined based on the blind channel characteristics and offline calibration relationship.
9. The image data hiding method using block orthogonal mapping and adaptive inversion according to claim 8, characterized in that, Step S5 also includes step S54: when the initial candidate comes from the weak JPEG compression branch or the strong JPEG compression branch, calculate the average absolute distance of the continuous symbols of the initial candidate and the basic candidate from the nearest legal integer grid point at the carrying position, and subtract the latter from the former to obtain the original grid point distance difference. Set a soft grid threshold and a hard grid threshold that is not less than the soft grid threshold; When the difference reaches or exceeds the hard grid threshold, it falls back to the basic candidate; when the difference reaches or exceeds the soft grid threshold but is lower than the hard grid threshold, the initial candidate is retained only when the JPEG compression confidence, coefficient sparsity evidence, and route score corresponding to the initial branch all reach their respective retention thresholds, otherwise it falls back to the basic candidate; when the difference is lower than the soft grid threshold, the initial candidate is retained; wherein, the JPEG compression confidence is the JPEG component corresponding to various degradation responses calculated based on the standardized degradation features of the received image and normalized by Softmax. When initially selecting the basic branch, the basic candidate is directly used, and the continuous symbols obtained by the finally selected candidate are used as the target continuous symbols.
10. The image data hiding method using block orthogonal mapping and adaptive inversion according to claim 1, characterized in that, Step S5 involves quantization decoding to recover the original secret information, specifically including the following sub-steps: Step S55: Map the acquired target continuous symbols to the nearest legal integer symbol lattice point in Euclidean distance to obtain Gray symbols, and restrict the quantization result to the legal symbol range of the corresponding channel; Step S56: Perform an inverse Gray transform on the recovered Gray symbols to obtain the integer symbols corresponding to each channel; Step S57: Expand each integer symbol into a discrete binary bit string according to the bit width set for each channel, and concatenate them according to the agreed channel arrangement order to recover the complete scrambled bit sequence; At the receiving end, generate a deterministic pseudo-random key stream that is completely consistent with the sending end, and descramble the scrambled bit sequence and the deterministic pseudo-random key stream by performing bit-by-bit XOR logic descrambling to output the recovered secret bit sequence.
Citation Information
Patent Citations
Large-capacity generative image steganography method based on diffusion model
CN118827875A
