← Lab /Security & privacy

MeMark embeds multi-bit watermarks in SNN membrane states that survive head replacement and pruning

MeMark provides robust ownership evidence for SNN checkpoints that remains effective after fine-tuning, pruning, quantization, and output-head replacement

Security & privacy arXiv 26 Aug 2026 Defense Prototype evidence

Published as “MeMark: Membrane-Space Watermarking for Spiking Neural Networks”

Why it matters

MeMark provides a practical way to prove ownership of large SNN checkpoints even after the model’s output head is replaced, enabling IP protection for energy-efficient neuromorphic models.

Summary

MeMark embeds a multi-bit identifier in the membrane potentials of selected LIF neurons and uses the neuron’s own firing threshold for decoding, so no learned decoder is needed. All 20 independent 64-bit keys pass a 51/64 matching rule on a 215.4M-parameter SpikeGPT checkpoint, while none of 30 000 random keys pass (false-positive 0.000%). The watermark survives fine-tuning, 90% pruning, int8 quantization and complete output-head replacement, but adaptive attacks can raise the bit error rate to 0.0625, and a white-box attacker can fabricate a fitting key, requiring a timestamped commitment to prevent false-ownership claims.

What they found 3

  1. All 20 genuine 64-bit keys pass verification while no random key does

    “All 20 independent 64-bit keys pass the fixed 51/64 verification rule, while none of the 30 000 fresh random keys pass when tested against all 20 protected checkpoints and the clean model.”

  2. Watermark survives common model modifications

    “All 20 genuine keys also remain above the threshold after fine-tuning, 90% pruning, int8 quantization, and output-head replacement.”

  3. Embedding does not noticeably degrade task performance

    “At 2 000 steps, the mean validation loss of the 20 watermarked checkpoints is 5.0506, compared with 5.0551 for the equal-budget anchored controls. The difference is only -0.0046, showing that the additional embedding steps do not introduce a measurable loss from the watermark itself.”

Caveats 7

  • Adaptive attacks can weaken the watermark, raising membrane BER to 0.0625 after 250 steps (still passes joint rule but shows degradation).
  • A white-box attacker can inspect the model and craft a fitted key that achieves 32/32 bits, necessitating a timestamped commitment to prevent false-ownership claims.
  • If the exact pre-watermark checkpoint is available, a rollback attack can increase membrane BER to 0.250 and output BER to 0.275 with little impact on task loss.
  • Adaptive attacks can weaken the watermark but do not remove the ownership evidence in the settings we test.
  • A claimant who inspects the model before choosing the coordinates and bit values, the same checkpoint immediately reaches 32/32 bits, as it can select already occurring states under observed inputs.
  • The exact pre-embedding checkpoint increases BER to 0.250/0.275 with almost no change in task loss, showing that private pre-watermark checkpoints must remain secret.
  • Embedding settings need to be adjusted per model; QKFormer required more steps and still had a BER of 0.0625.

What’s new here 4

  • Stores the watermark in internal membrane states rather than the output head, preserving ownership evidence after head replacement.
  • Uses the neuron’s firing threshold as a built-in decoder, eliminating the need for a learned projection.
  • Supports both a hard threshold read and a continuous membrane-distance score for verification.
  • Demonstrates robustness across recurrent, convolutional, residual, and transformer SNNs, including a 215 M-parameter language model.