← Latest papers
🤖 machine learning

MeMark: Membrane-Space Watermarking for Spiking Neural Networks

MeMark introduces a robust watermarking technique for Spiking Neural Networks that embeds multi-bit identifiers directly into the internal membrane states of neurons, enabling reliable ownership verification even after output head replacement, fine-tuning, pruning, and quantization.

Original authors: Roberto Riaño, Gorka Abad, Stjepan Picek, Aitor Urbieta

Published 2026-08-27
📖 5 min read🧠 Deep dive

Original authors: Roberto Riaño, Gorka Abad, Stjepan Picek, Aitor Urbieta

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the rapidly evolving world of artificial intelligence, a significant shift is occurring toward a type of computer brain that mimics the human nervous system more closely than traditional models. These systems, known as spiking neural networks, do not process information in a constant stream of numbers. Instead, they communicate through brief, discrete bursts of activity, much like neurons firing in the brain. They remain silent until a specific signal triggers them, making them incredibly efficient at using energy. Because training these advanced systems requires vast amounts of data, powerful computers, and significant time, the final trained models are valuable assets. Companies and researchers often release these models as pre-trained starting points, allowing others to build upon them for new tasks. However, this practice creates a vulnerability: if someone takes a released model, tweaks it slightly, and replaces the part that produces the final answer, they can effectively erase any proof that the original creator built the core of the system.

To solve this problem, a team of researchers has developed a new method called MeMark, which acts as a hidden signature embedded deep within the internal workings of these spiking networks. Unlike previous attempts to protect artificial intelligence models, which relied on checking the final output or the visible results, MeMark hides its evidence inside the neurons themselves. The researchers focused on a specific type of neuron that maintains an internal electrical charge, known as a membrane potential. This charge builds up over time until it reaches a critical limit, causing the neuron to fire a signal and then reset. The team realized they could use this natural firing threshold as a secret lock. By carefully adjusting the training process, they can force specific neurons to hold their charge just above or just below this firing limit when a secret, hidden input is presented. This creates a pattern of "fired" and "not fired" states that corresponds to a secret code, effectively writing a multi-digit password into the electrical state of the network.

The brilliance of this approach lies in how it is read and how it survives changes. To verify the ownership of a model, the owner does not need to train a separate decoder or learn a new way to interpret the data. They simply present the secret input and check the internal charge of the selected neurons. If the charge is above the limit, it counts as a one; if it is below, it counts as a zero. Because the threshold is a built-in part of the neuron's design, the verification process is immediate and requires no extra learning. This method proved remarkably resilient. In tests involving a massive language model with over 200 million parameters, the researchers embedded twenty different secret keys. Even when the model was heavily modified—such as by removing ninety percent of its connections, compressing its data, or completely replacing the final layers that generate text—the hidden signature remained intact. The internal evidence survived these drastic changes, while the visible output markers used in older methods were easily erased.

The researchers also addressed a clever trick that a dishonest claimant might try: inspecting a model and then crafting a fake key that happens to match the model's existing internal states. To prevent this, the system requires a timestamped record created before the model is ever released. This record binds the secret key to the specific version of the model at that moment. If someone tries to claim ownership later by reverse-engineering a key, they cannot produce this prior record, proving their claim is false. The study showed that while an attacker could indeed create a key that matched the model if they were allowed to look inside first, they could not bypass the requirement for the original timestamped commitment. Furthermore, the system was tested against thousands of random keys, and none of them accidentally matched the protected models, ensuring that the evidence is specific and reliable.

This work demonstrates that ownership of complex artificial intelligence can be protected even when the model is repurposed or altered. By embedding the proof directly into the fundamental electrical behavior of the neurons, rather than in the final output, the researchers have created a signature that is difficult to remove without destroying the model's ability to function. The method works across different types of network architectures, from simple repeating structures to complex transformer-based systems used for language. While the system is robust, the researchers noted that if an attacker knows the exact secret input and the specific locations of the hidden neurons, they could potentially target and remove them. However, without that secret knowledge, the watermark remains a persistent and reliable form of evidence, ensuring that the original creators can prove their work even after the model has been passed through many hands and modified for new uses.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →