New Attack Method Exploits Public EEG Encoders

Linhua Cong, Dingkun Liu, Dongrui Wu· August 19, 2026 View original

Key takeaways

  • Public EEG foundation encoders create new adversarial attack vulnerabilities.
  • SW-ProxyCE enables query-free adversarial transfer to private downstream models.
  • The attack exploits task-level decision geometry from limited reference data.
  • Strong transferability in foundation models does not imply adversarial robustness.

Who benefits

HealthcareCybersecurityAI/ML DevelopmentMedical Devices

Summary

SW-ProxyCE is a novel query-free adversarial transfer attack framework that exploits publicly released EEG foundation encoders to generate adversarial examples. These examples can effectively transfer to private, inaccessible downstream EEG models, revealing a significant security vulnerability in EEG foundation model deployments.

The emergence of EEG foundation models, which learn reusable representations from large-scale neural recordings, has greatly advanced EEG decoding. However, the public release of these foundation encoders introduces a new security risk: private downstream models built upon them might become vulnerable to adversarial attacks. This research investigates such adversarial transfer attacks in a scenario where attackers have white-box access to a public encoder and a small labeled reference set, but no access to the victim's private model parameters or outputs. The paper proposes Shrinkage-Whitened Proxy Cross-Entropy (SW-ProxyCE), a query-free, task-aware attack framework. SW-ProxyCE reconstructs the task-level decision geometry from a limited labeled reference set using shrinkage-whitened class prototypes. This enables the generation of transferable adversarial examples without needing to train an additional surrogate classifier, making the attack highly efficient and stealthy. Evaluations across three EEG tasks, using various foundation encoders and both linear-probing and full-fine-tuning downstream models, demonstrated SW-ProxyCE's effectiveness. Adversarial examples generated from the public encoder successfully transferred to inaccessible downstream models. The findings highlight that the strong transferability of EEG foundation models does not inherently guarantee adversarial robustness, exposing a critical security flaw.

Why it matters

Professionals developing or deploying AI models based on public foundation models, especially in sensitive domains like healthcare (EEG), must be aware of and mitigate these new adversarial attack vectors to protect private models and data integrity.

How to implement this in your domain

  1. 1Assess the security posture of AI systems that utilize publicly available foundation models or encoders, particularly in sensitive applications.
  2. 2Implement robust adversarial training and detection mechanisms for downstream models, even if the foundation encoder is public.
  3. 3Develop strategies to monitor for and defend against query-free adversarial transfer attacks.
  4. 4Educate AI development teams on the risks associated with deploying models built on public components and the importance of adversarial robustness.
  5. 5Consider alternative deployment strategies or proprietary foundation models if the security risks of public encoders are deemed too high for critical applications.

Original post by Linhua Cong, Dingkun Liu, Dongrui Wu

"arXiv:2608.16931v1 Announce Type: new Abstract: Electroencephalography (EEG) foundation models have recently emerged as a promising paradigm for EEG decoding by learning reusable representations from large-scale heterogeneous neural recordings. However, the open release of EEG fo…"

View on X

Originally posted by Linhua Cong, Dingkun Liu, Dongrui Wu on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses

More in AI Engineering & DevTools