A research team has designed a reversible data hiding framework for encrypted digital images that unites convolutional neural network prediction with threshold secret sharing, achieving substantial improvements in data capacity while guaranteeing exact visual reconstruction. As reported by Chao Jiang, Minqing Zhang, Juanli Sun, Shen Peng, and Siyuan Huang in the Journal of King Saud University Computer and Information Sciences, the system breaks through long-standing capacity bottlenecks that have constrained secure multimedia transmission across distributed networks. By segmenting unencrypted source images across a checkerboard pattern, predicting half of the pixels through a custom neural network, and distributing the remaining pixels across mathematical secret shares, the framework provides an adaptive pathway for embedding confidential records directly into encrypted files. Experimental evaluations across twenty thousand standard reference images confirm that the architecture yields an average effective embedding rate exceeding four bits per pixel while preserving perfect reversibility upon decryption.
The transmission and distributed storage of confidential image data across untrusted cloud environments, 5G networks, and Internet of Things architectures have exposed acute operational tensions between encryption and data management. Conventional cryptographic algorithms successfully transform plaintext photographs into noise-like ciphertexts to prevent unauthorized eavesdropping, yet standard encryption schemes often reveal communication activity and severely restrict subsequent file processing. Traditional steganography and information hiding techniques embed secret messages into cover images, but standard marking methods inject irreversible distortions that permanently degrade pixel fidelity. Reversible data hiding in the encrypted domain resolves these competing priorities by establishing a three-party protocol involving an image owner, an independent data hider, and an authorized recipient. Under this paradigm, the data hider can embed secondary records, diagnostic notes, or authentication tags into encrypted ciphertexts without accessing original image content or possessing decryption keys, ensuring that authorized receivers can later extract the payload and reconstruct the cover image without losing a single bit.
Despite widespread interest in reversible encrypted communication, existing systems have struggled with strict limits on payload capacity caused by simplistic spatial modeling. Early algorithms categorized under vacating room after encryption, vacating room before encryption, or vacating room in encryption primarily relied on linear predictors such as the median edge detector to estimate pixel redundancies. These handcrafted linear estimators operate under local uniformity assumptions that fail to capture intricate textures, sharp edges, and complex non-linear spatial dependencies across natural imagery. The resulting estimation errors produce dispersed residual histograms, which restrict available embedding room and impose severe capacity caps. While researchers have recently explored deep learning models to predict pixel values, existing neural architectures have often failed to integrate flexibly with distributed encryption standards or have modeled contextual neighborhoods using restricted pixel windows, yielding suboptimal prediction accuracy and modest payloads across complex datasets.
To overcome these computational limitations, the authors developed a specialized neural model designated as the spatially attentive asymmetric convolution predictor. The framework begins by decomposing an original input image into two complementary pixel sets, Set-0 and Set-1, using an alternating checkerboard pattern where even and odd column entries are systematically partitioned. Set-1 serves as the reference input fed directly into the neural network to forecast the pixel values comprising Set-0. The predictor architecture integrates three distinct computational phases: multi-scale shallow feature extraction, non-linear image prediction, and output reconstruction. In the feature extraction stage, three parallel branches apply asymmetric convolutional kernels with dimensions of one-by-three, one-by-five, and one-by-seven alongside rectangular counterpart filters. These asymmetric kernels enhance directional feature representation across varying receptive fields without inflating computational parameters, while reflection padding eliminates boundary artifacts and an integrated spatial attention module dynamically suppresses irrelevant background noise.
The intermediate representations generated by the asymmetric feature blocks are concatenated into a dense ninety-six-channel feature map and routed through dual residual cascade blocks. Within this prediction core, series of three-by-three convolutional layers and leaky rectified linear unit activation functions refine high-level spatial abstractions, using skip connections to preserve gradient stability throughout deep feature integration. The final reconstruction stage processes these refined features through successive convolution layers to synthesize an accurate estimate of Set-0. To establish optimal network weights, the authors trained the architecture on an Intel Xeon Gold server using four thousand randomly sampled grayscale images from the BOSSBase dataset, setting aside one thousand images for continuous validation monitoring. The optimization routine utilized the Adam optimizer with a weight decay coefficient of one ten-thousandth and an initial learning rate of five ten-thousandths, which decreased systematically over three hundred epochs to prevent overfitting on the development corpus.
The primary payload capacity of the system is governed by a pixel-wise comparison between the original Set-0 values and the neural estimates synthesized by the trained predictor. Each original pixel and its predicted counterpart are converted into eight-bit binary strings and compared from the most significant bit downward to the least significant bit. The number of consecutively matching leading bits, denoted by the integer parameter h ranging from zero to eight, establishes the precise embedding capacity available within that individual pixel location. Because the neural network accurately captures complex textures, many pixel pairs exhibit extended sequences of identical leading bits, enabling multi-bit substitutions without destabilizing recovery pathways. To manage the auxiliary overhead required for exact restoration, the sequence of matching lengths across the entire image is compressed into an optimized label map using variable-length Huffman coding, which assigns shorter code words to the most frequently occurring match lengths.
Simultaneously, the framework processes the alternating pixel subset, Set-1, using Shamir’s threshold secret sharing scheme formulated over the finite field Galois Field two to the eighth power with an irreducible primitive polynomial. In this distributed cryptographic scheme, designated as a (k, n) threshold system, the sender decomposes the eight-bit pixel values into a polynomial of degree k minus one, where the secret pixel serves as the baseline constant coefficient and higher-order terms are populated by random integers. The mathematical evaluation of this polynomial yields n distinct secret share values that are distributed into n separate shadow images. Because processing k pixels simultaneously reduces raw share dimensions to one over k of the original size, the authors expand each shadow image k-fold by placing the partitioned share bits into the highest bit positions and filling the remaining vacant bit slots with pseudo-random numbers, creating substantial supplementary embedding space.
The physical embedding procedure executes across two separate, coordinated stages managed independently by the data hider. After receiving the encrypted share files, the data hider separates the encrypted predicted Set-0 component from the expanded Set-1 shadow images without decrypting their underlying contents. For the Set-0 stream, the hider parses the embedded Huffman code table to determine the exact number of match bits available at each pixel site, substituting the encrypted secret message bits into the reserved positions. For the Set-1 shadow images, the hider identifies the pseudo-random padding bits introduced during share expansion and embeds additional encrypted payload directly into these redundant bit locations according to threshold guidelines. Because the primary predicted stream is secured via pixel-wise exclusive-or stream encryption governed by a cryptographically secure pseudo-random generator with a one-hundred-twenty-eight-bit key seed, third-party hiders can pack high-density payloads into the ciphertext while remaining completely blind to the underlying carrier image.
Data extraction and image restoration operate with complete mathematical separability at the receiving terminal. An authorized recipient possessing only the data hiding keys can parse the marked share files, locate the allocated bit positions across both subsets, and extract the complete secret payload without introducing bit errors. When the recipient also possesses cryptographic access permissions and seeks to view the original carrier photograph, lossless visual recovery is achieved as soon as at least k valid shadow shares are gathered. The receiver reconstructs the polynomial coefficients through Lagrange interpolation formulas to recover the exact pixel values of Set-1. Once Set-1 is fully restored, it is re-entered into the identical neural predictor to regenerate the original Set-0 estimates, which are then combined with the decompressed Huffman label map to reverse the bit substitutions and reconstruct every original pixel value bit-by-bit.
Comprehensive empirical evaluations conducted across the standard BOSSBase and BOWS-2 databases, alongside six benchmark images including Jetplane, Baboon, Peppers, and Airplane, confirm the operational advantages of the dual-space neural framework. Across ten thousand images in the BOSSBase library, the method achieved an average effective embedding rate of 4.0700 bits per pixel, reaching a maximum capacity of 5.4572 bits per pixel. Performance across the BOWS-2 dataset demonstrated equivalent stability, recording an average effective embedding rate of 4.0222 bits per pixel. Among individual test images, smooth compositions such as Jetplane yielded an effective payload of 4.3784 bits per pixel, whereas highly textured scenes like Baboon yielded 2.7874 bits per pixel due to lower local predictability. Auxiliary Huffman metadata consumed an average overhead ratio of approximately twenty-one percent across both datasets, which the authors explicitly subtracted when computing all reported effective payload figures.
Rigorous security and complexity analyses verified that the encrypted share representations exhibit high cryptographic entropy and effectively eliminate spatial statistical vulnerabilities. Shannon information entropy measurements across encrypted shares and marked share files consistently approached the theoretical limit of eight for eight-bit grayscale imagery, demonstrating near-perfect randomness. Furthermore, evaluation of adjacent pixel correlation coefficients across horizontal, vertical, and diagonal directions revealed that spatial correlations dropped from high native plaintext values near one down to values hovering tightly around zero in the ciphertext domain. Total computational runtime scaled linearly as big-O of image dimensions, ensuring practical feasibility on standard computing hardware. Image reconstruction tests yielded an infinite peak signal-to-noise ratio and a structural similarity index measure of exactly one, confirming that visual recovery is mathematically perfect and completely reversible under valid threshold conditions.
The study also delineated explicit operational boundaries regarding hardware fault tolerance and transmission integrity under a three-out-of-four threshold configuration. In share loss experiments, the framework achieved flawless payload extraction with a bit error rate of zero and lossless visual reconstruction when either three or four intact shares were provided, verifying that the system seamlessly withstands the complete loss of one storage node. However, when available shares dropped to two, falling below the required threshold, the bit error rate escalated to 0.4991 and reconstruction quality collapsed to 7.82 decibels, producing unrecognizable noise. Testing under simulated noise tampering revealed that erroneous pixel values propagate through Lagrange interpolation, progressively corrupting extracted data. Because the architecture lacks internal tamper detection, the authors emphasized that practical field implementations must incorporate external authentication checks, noting that future research will focus on expanding the architecture toward color imagery and multi-secret distribution frameworks.
Subject of Research: Reversible data hiding in the encrypted domain using neural network prediction and Shamir secret sharing
Article Title: Reversible data hiding in encrypted domain based on CNN prediction and secret sharing
Article References: Jiang, C., Zhang, M., Sun, J., Peng, S., & Huang, S. (2026). Reversible data hiding in encrypted domain based on CNN prediction and secret sharing. Journal of King Saud University Computer and Information Sciences, 38(10), Article 1059. https://doi.org/10.1007/s44443-026-01496-7
Image Credits: AI Generated
DOI: 10.1007/s44443-026-01496-7
Keywords: reversible data hiding, encrypted domain, convolutional neural networks, Shamir secret sharing, asymmetric convolution, spatial attention, image encryption, lossless image recovery, BOSSBase dataset, BOWS-2 dataset, most significant bit substitution, Huffman coding, disaster tolerance, information entropy, multimedia security, Galois field arithmetic
News Source: Cassandra Pierce. (November 25, 2026). Neural Predictor and Secret Sharing Enable High Capacity Reversible Data Hiding. Scienmag.



