The Neurons That Hide Secrets: How Spiking Neural Networks Are Quietly Rewriting Data Security

A surgeon in a remote clinic uploads a patient’s cardiac monitor data. The transmission crosses public infrastructure, passes through relay points, and arrives at a specialist’s terminal half a world away. Somewhere in that journey, the data is exposed. Yet encryption helps, but it announces itself. Any observer can see that something secret is being sent. What if the sensitive data were simply invisible, folded so quietly into an ordinary image that no algorithm, no analyst, and no automated scanner would know to look twice?
That question sits at the center of a discipline called steganography, and a group of researchers at the Indian Institute of Technology Bhubaneswar and Nottingham Trent University have recently taken it somewhere it has never been before. Their system, SteganoSNN, uses the firing behavior of simulated biological neurons to hide audio inside images, introducing a neuromorphic layer that makes hidden data not just hard to read, but harder to even recognize as data.
The work appeared recently in Discover Computing and it represents the first known application of spiking neural networks to steganographic data hiding.
This work sits at the intersection of three converging trends which are the push toward edge computing, the search for low-power AI architectures, and a growing recognition that visibility itself is a vulnerability in modern data systems. In that context, steganography is no longer niche. It is becoming a complementary strategy to encryption in environments where attracting attention can be as risky as being decrypted.
In the next phase of secure systems, the safest data may not be encrypted. It may be unnoticed.
What Steganography Actually Is, and Why It Matters
Cryptography and steganography are cousins in the world of information security, but they pursue different goals. Cryptography scrambles a message so that nobody can read it without a key. Still, the scrambled message remains visible, still obviously present. Steganography takes a different route entirely. It conceals the very existence of the message. By contrast, a steganographic system hides data inside something innocuous, an image, an audio file, a video stream, so that an outside observer sees nothing unusual at all.
The legitimate uses are substantial. Military communications, medical data privacy, copyright authentication, and confidential document exchange all benefit from steganography. A pacemaker’s telemetry could fold inside a routine status image, passing through a hospital network without attracting the attention of adversarial software scanning for sensitive payloads. When the stakes are high enough, the absence of suspicion is itself a form of security.
How Least-Significant-Bit Embedding Works
The most common approach to image steganography targets the least significant bits of a digital image. Every pixel in a colour image carries numerical values across each colour channel. The least significant bits, those contributing the smallest amount to the final colour value, can be altered without producing any visible change to the image. Embedding algorithms push payload into those bits, and the resulting image looks identical to the original to any human viewer and most automated systems. Densities can run high enough to carry meaningful data, not just fragments.
The method works, yet it carries well documented weaknesses. Straightforward least-significant-bit substitution leaves statistical fingerprints that steganalysis tools actively seek. The pattern of changes in the bit planes of an image can betray embedded data, even when the image itself looks normal. Researchers have spent decades trying to shrink that statistical footprint and make it harder to find.
Neurons That Fire in Time
Spiking neural networks are a category of artificial neural networks modelled on the electrical behaviour of biological neurons. Most machine learning architectures pass continuous numerical values between processing nodes. Spiking networks instead communicate through discrete events, brief pulses called spikes, that occur at specific moments in time. Consequently, the timing of those spikes carries information, much as the timing of electrical impulses in biological tissue carries signals through the nervous system.
Spiking networks are event-driven rather than continuously active. As a result, they consume far less energy than conventional deep learning systems. In practice, a spiking network does computational work only when a spike occurs. Between spikes, it sits idle. That property makes spiking networks particularly attractive for hardware deployments where power budgets are tight.
Within the family of spiking neuron models, the Leaky Integrate-and-Fire model occupies a practical middle ground. It accumulates incoming electrical current until its membrane potential crosses a threshold, at which point it fires a spike and resets. Between firings, the accumulated potential gradually decays, the leak that gives the model its name. The model is not the most biologically faithful available, but it is stable and reproducible under controlled conditions. Those properties are exactly what the SteganoSNN researchers needed.
The Architecture of Concealment
The SteganoSNN framework proceeds through four sequential stages. Understanding those stages is key to appreciating both the cleverness of the approach and the engineering work that made it function on real hardware.
Stage One: Breaking Audio Into Digits
Every audio sample in a standard 16-bit recording falls somewhere between negative 32,768 and positive 32,767. The researchers begin by decomposing each sample into its sign and its individual decimal digits. A sample of positive 12,345 becomes the sequence 0, 1, 2, 3, 4, 5, where the leading zero represents the positive sign. Each digit then moves independently through the rest of the pipeline.
Stage Two: Converting Digits to Spike Patterns
A single Leaky Integrate-and-Fire neuron, simulated in the NEST environment, receives a steadily increasing input current. At each current level, the neuron fires a certain number of spikes within a 60-millisecond simulation window. The researchers characterised the relationship between current and spike count until they had ten distinct firing regimes, one for each decimal digit from zero through nine.
The spike pattern for digit one consists of a single spike at 59 milliseconds. The pattern for digit nine spreads spikes across the simulation window. Each digit maps to a unique pattern of spike timestamps.
Stage Three: Modulo Mapping and the Spike Index
Raw spike timestamps span from zero to 60 milliseconds in integer steps. Direct representation would require six bits. Instead, the researchers apply a modulo-16 operation to selected spike timestamps, constraining the result to a four-bit value between zero and 15. This keeps the embedded representation compact and hardware-friendly.
Multiple timestamps can share the same modulo-16 remainder. A small additional piece of information called the Spike Index resolves any ambiguity during decoding. The Spike Index records which spike within a digit’s pattern the engineers selected. The system defines it once during configuration and shares it between encoder and decoder as part of the fixed digit-to-spike mapping. Storing Spike Index information across all nine encodable digits costs just 36 bits total, a fixed overhead entirely independent of how much audio data the system conceals.
The resulting four-bit value for each digit forms the ciphertext that enters the image. Consider digit six, whose spike pattern contains timestamps at 20, 28, 36, 44, 52, and 59 milliseconds. The researchers selected timestamp 44. Applying modulo 16 gives a remainder of 12. Since 44 is the fourth spike in the pattern (counting from zero), the Spike Index is 3. The cipher and index pair for digit six is therefore 12 and 3.
Stage Four: Embedding Into the Image
The carrier image must use RGBA format, meaning it has four colour channels: red, green, blue, and alpha. Each channel is an eight-bit value. Replacing the two least significant bits of each channel in each pixel opens up eight bits per pixel for payload.
Before that replacement happens, however, a lightweight dithering process injects a small amount of bounded pseudo-random noise into the pixel values. This noise softens the quantisation artefacts that direct bit substitution would otherwise create. It preserves smooth gradients and suppresses visible block-edge effects. The result is a stego-image visually indistinguishable from the original and statistically close enough to natural image distributions to resist most automated steganalysis tools.
Each audio sample, encoded as one sign digit and five magnitude digits, produces six four-bit ciphertext values. Since each pixel stores eight hidden bits, three pixels carry one complete audio sample. At full HD resolution of 1920 by 1080 pixels, a single image holds approximately 2.07 megabytes of hidden data, corresponding to around 7.2 seconds of stereo audio at 48 kilohertz.
Why the Spike Layer Matters Beyond Image Quality
A fair question arises here. If the perceptual quality of a steganographic image depends on how many bits change in the pixel data rather than on what those bits represent, why generate spike patterns at all? The researchers handle this directly and with some nuance.
The spike encoding layer does not improve PSNR or SSIM scores. Those metrics measure pixel-level distortion, and that distortion comes from the two-LSB substitution, not from what the system writes into those bits. Nevertheless, what the spike layer provides is a structural decoupling between the original audio data and the embedded bit patterns. In practical terms, the system behaves less like a lock and more like a disguise layer.
Where the Security Comes From
In a direct encoding scheme, decimal digits map to fixed four-bit binary representations. An analyst who knew the encoding scheme could work backwards from extracted LSB values to the original payload. In contrast, the spike-based encoding inserts an additional layer of indirection. The mapping from digit to embedded symbol depends on the firing dynamics of a specific neuron model under specific parameter settings. Without knowledge of the spike patterns and Spike Index configuration, recovering the original digits requires reconstructing the neuron-derived mapping rather than simply inverting a lookup table.
The authors are careful about the security claims they make. The modulo-16 transformation is not a cryptographic primitive on the order of AES. Under a known-plaintext attack, where an adversary has access to both original audio and corresponding stego-images, the mapping could eventually be inferred. The contribution of the spike layer is representational and architectural rather than cryptographic in the strongest sense. It raises the cost of reverse engineering the payload and separates the semantic content of the audio from the spatial structure of the embedded data.
Testing Against Steganalysis
The researchers evaluated SteganoSNN using the Aletheia toolchain, applying three established steganalysis methods to images from the DIV2K 2017 dataset. Sample Pair Analysis looks for pairwise statistical inconsistencies that embedding introduces. Triples Analysis examines higher-order correlations among groups of pixels. Weighted Steganalysis measures structural irregularities in noise-like components of the image.
Across all tested subsets of the dataset, the steganalysis results stayed within ranges that do not indicate definitive detection. The Triples Analysis score held notably stable at 0.7368 across every subset. The researchers interpret that consistency as evidence of uniform, low-bias embedding. Sample Pair Analysis scores ranged from 0.34 to 0.76, and the Weighted Steganalysis metric stayed between 1.12 and 2.05. None of these values constitute clear detection signals. An analyst reviewing these images would find no obvious statistical anomaly to trigger deeper inspection, no reason to suspect the image is carrying anything other than itself.
The results hold even at the system’s full embedding capacity of eight bits per pixel. Notably, most steganographic systems face a direct trade-off between payload size and detectability. More hidden data means more statistical disturbance and a higher chance of detection. The dithering mechanism in SteganoSNN suppresses that disturbance by distributing the quantisation effects more naturally across the image.
The researchers openly acknowledge a key structural asymmetry worth noting. Digit zero, which produces no spikes in the LIF neuron model, always maps to a modulo-16 remainder of zero. This creates a theoretically observable pattern. Even so, the authors note that the framework does not require this fixed mapping. Any digit could receive any spike regime during system configuration. The current assignment suits clarity during this initial investigation, and future configurations can eliminate the asymmetry.
The Hardware Reality: Running on a PYNQ-Z2
Proving a neuromorphic steganographic framework in software is one thing. Running it on a compact, low-power hardware platform is quite another, and this is where the SteganoSNN paper distinguishes itself from purely theoretical contributions. The important point is not just that the system works, but that it operates within the power and resource constraints of real edge devices, where conventional deep learning would be impractical.
Processor and Logic Working Together
The researchers deployed the full system on a PYNQ-Z2 FPGA board. This device integrates a dual-core ARM Cortex-A9 processor with Xilinx Artix-7 programmable logic. The processor handles the higher-level tasks: running NEST to generate spike patterns, parsing image and audio data, and coordinating data flow. The programmable logic implements hardware accelerators for the encryption and decryption operations, connected via high-speed AXI-Stream interfaces.
The system is not fully neuromorphic in the sense that spike generation happens on the processor rather than in dedicated event-driven silicon. Even so, the researchers made this choice deliberately, as it allows deterministic debugging and reproducible parameter control while still showing that the spike-based encoding concept integrates naturally into an FPGA pipeline. The neuromorphic character of the system lies in the encoding paradigm and the temporal information representation, not in the hardware medium used to compute the spikes.
Power and Latency Numbers
Total on-chip power consumption sits at approximately 1.41 watts, with the custom programmable logic components contributing only a small fraction of that total. The ARM processor accounts for the dominant share. End-to-end encryption of a full HD image takes about 14 seconds on this platform. Decryption completes in just under 10 seconds. The programmable logic finishes its portion of the encryption work in under one second and handles decryption in around 1.2 seconds. The bottleneck lies in software preprocessing on the processor, not in the hardware acceleration.
The Encryptor IP core uses less than 10 percent of the available look-up tables on the device. By comparison, the Decryptor uses a larger share, around 65 percent, primarily because of nested loops in the Verilog implementation, but it requires very little block RAM or flip-flop resources. The whole system runs without any connection to an external computer, with NEST executing directly on the ARM subsystem of the board.
Comparing the Numbers to Existing Methods
SteganoGAN, a deep learning-based steganographic system that uses adversarial training to learn adaptive embedding strategies, serves as the primary comparison point in the paper. By that measure, SteganoGAN tops out at five bits per pixel. SteganoSNN achieves eight bits per pixel across every tested configuration.
On perceptual quality, the comparison carries nuance. SteganoGAN at its lowest payload density of roughly one bit per pixel achieves a PSNR of 41.60 decibels with an SSIM of 0.95. As its payload increases, both metrics deteriorate, reaching 36.52 dB PSNR and 0.85 SSIM at around 2.6 bits per pixel. SteganoSNN holds between 41.01 and 41.35 dB PSNR across all subsets at the full eight-bit-per-pixel payload, with SSIM consistently above 0.97. In steganographic evaluation, PSNR values above 40 dB are generally considered perceptually imperceptible.
The researchers are transparent about the methodological differences. SteganoGAN targets RGB images and relies on learned embedding. SteganoSNN uses RGBA images and a hardware-oriented encoding approach. SteganoGAN emphasises adaptability. SteganoSNN emphasises interpretability, structured encoding, and deployability on constrained hardware. The comparison offers contextual insight rather than a like-for-like evaluation, and the engineers present it in exactly those terms.
Where the Errors Go
One of the more technically reassuring aspects of the SteganoSNN design is its error propagation behaviour. Each digit encodes independently using its own four-bit ciphertext value, so a corrupted bit affects only the digit to which it belongs. Consequently, no chaining, no feedback dependency, no block-level coupling between adjacent symbols exists. A single corrupted pixel during transmission produces, at worst, an incorrect reading for one digit within one 16-bit audio sample.
Each audio sample spans three pixels in the embedded image. If one of those pixels is lost or corrupted, the remaining two pixels still carry independently decodable digits. This locality property compares favourably to block-based encryption schemes, where a single corrupted bit can cascade across an entire decrypted block.
The framework does not currently include explicit error correction codes. However, the researchers note that standard mechanisms such as Hamming codes or Reed-Solomon coding could layer in before the spike encoding stage without altering the core neuromorphic architecture. Such additions are left for future iterations of the system.
What Comes Next
The researchers outline several directions for future development. Expanding the framework to handle video streams and sensor data would extend its applicability well beyond static images. Integrating on-chip learning through local plasticity mechanisms, particularly spike-timing-dependent plasticity, could allow the system to adapt its encoding behaviour in response to adversarial steganalysis attacks rather than relying on a fixed configuration.
More formal security analysis is also planned. The current modulo-based encryption layer suits hardware compatibility and representational decoupling rather than cryptographic strength in a formal sense. Specifically, future work will evaluate the Spike Index space, analyse resistance to known-plaintext and chosen-plaintext attacks, and explore more sophisticated encoding configurations that would substantially raise the bar for reverse engineering the payload.
These constraints are not incidental. They point directly to the next phase of research, where neuromorphic encoding pairs with transform-domain embedding and adaptive, compression-aware strategies. JPEG compression in particular poses a structural concern because it transforms image data into the frequency domain and quantises the coefficients in ways that disrupt least-significant-bit patterns. Pairing the neuromorphic encoding layer with transform-domain embedding strategies or adaptive channel-aware methods would tackle this without altering the core spike-based architecture. That work sits ahead, clearly mapped.
A New Use for an Old Idea About the Brain
The Leaky Integrate-and-Fire model first took mathematical form in the early twentieth century as an abstraction of biological neuron behaviour. Throughout most of that time, it served researchers studying neural dynamics, sensory processing, and the computational properties of biological circuits. The idea that it might also serve as a tool for hiding audio inside photographs would have seemed far-fetched even a decade ago.
What the SteganoSNN researchers have shown is that the structured firing behaviour of a single simulated neuron can act as a reliable encoder, transforming decimal digits into temporal patterns that carry extra obfuscation naturally. Together, the spike-based layer adds representational entropy, separates the source data from the embedded bit patterns, and does so in a way that a small, low-power FPGA can execute in under a minute per frame.
The system is not a finished product. The latency remains too high for real-time video embedding without further optimisation, and the security guarantees of the modulo layer are honest but modest. What it is, instead, is a credible proof of concept for a direction in data hiding that no one had previously explored by using the temporal dynamics of neuron models as a cryptographic abstraction layer inside a steganographic pipeline.
Engineers working on edge computing, medical telemetry, and secure communications in resource-constrained environments will find the result worth watching closely. The neurons, it turns out, have more to offer than cognition. They may redefine how information hides in plain sight.
Source: Sahoo, B.K., Machado, P., Oikonomou, A., Ihianle, I.K., and Boppu, S. (2026). Neuromorphic audio in image steganography using spiking neural networks for secure and energy efficient data hiding. Discover Computing, 29, 248. https://doi.org/10.1007/s10791-026-10122-z

Responses