Protecting Intellectual Property of EEG-based Neural Networks with Watermarking

Ahmed Abdelaziz, Ahmed Fathi, Ahmed Fares
2/9/2025
cs.LGcs.AIcs.CR

No official code found. Best implementation: Prog-Jacob/watermarking-eeg-models (3 stars, GPL-3.0, last commit 2025-05-14).

Abstract

EEG-based neural networks, pivotal in medical diagnosis and brain-computer interfaces, face significant intellectual property (IP) risks due to their reliance on sensitive neurophysiological data and resource-intensive development. Current watermarking methods, particularly those using abstract trigger sets, lack robust authentication and fail to address the unique challenges of EEG models. This paper introduces a cryptographic wonder filter-based watermarking framework tailored for EEG-based neural networks. Leveraging collision-resistant hashing and public-key encryption, the wonder filter embeds the watermark during training, ensuring minimal distortion ($\leq 5\%$ drop in EEG task accuracy) and high reliability (100\% watermark detection). The framework is rigorously evaluated against adversarial attacks, including fine-tuning, transfer learning, and neuron pruning. Results demonstrate persistent watermark retention, with classification accuracy for watermarked states remaining above 90\% even after aggressive pruning, while primary task performance degrades faster, deterring removal attempts. Piracy resistance is validated by the inability to embed secondary watermarks without severe accuracy loss ( $>10\%$ in EEGNet and CCNN models). Cryptographic hashing ensures authentication, reducing brute-force attack success probabilities. Evaluated on the DEAP dataset across models (CCNN, EEGNet, TSception), the method achieves $>99.4\%$ null-embedding accuracy, effectively eliminating false positives. By integrating wonder filters with EEG-specific adaptations, this work bridges a critical gap in IP protection for neurophysiological models, offering a secure, tamper-proof solution for healthcare and biometric applications. The framework's robustness against adversarial modifications underscores its potential to safeguard sensitive EEG models while maintaining diagnostic utility.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

The code used for training and evaluating CCNN, TSCeption, and EEGNet models on the DEAP dataset for the Protecting Intellectual Property of EEG-based Neural Networks with Watermarking research paper.

31PythonFeb 13, 20251 years agoGPL-3.0
eeg-signalsmachine-learningneural-networksresearch-paperwatermarking

Similar Papers

Cite this paper

@article{abdelaziz2025protecting,
  title  = {Protecting Intellectual Property of EEG-based Neural Networks with Watermarking},
  author = {Ahmed Abdelaziz and Ahmed Fathi and Ahmed Fares},
  year   = {2025},
  eprint = {2502.05931},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.05931v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.05931.svg)](https://codeofpaper.com/paper/2502.05931)

Discussion