AERIAL: Adversarial Evaluation of Robustness in Accuracy-Preserving Low-Precision EEG Decoders
Organizations: eBRAIN Lab, Division of Engineering, New York University Abu Dhabi (NYUAD), Abu Dhabi, UAE
Abstract
Deployment-oriented compression is attractive for resource-constrained brain--computer interfaces (BCIs), but whether it changes adversarial vulnerability remains unclear. On BCI Competition IV-2a, we compare 32-bit floating-point (FP32) EEGNet and ShallowConvNet models with global magnitude pruning and simulated INT8 post training quantization (PTQ) and quantization-aware training (QAT) across nine subjects and three seeds. Simulation provides differentiable quantize--dequantize models for white-box attacks and gradient analysis, while native TensorRT deployment is used for validation. Accuracy-preserving compression does not improve direct robustness: at , EEGNet PGD accuracy remains 22--24% across FP32, 50% pruning (P50), PTQ, and QAT. However, P50 reduces bidirectional transfer efficiency to 0.963/0.928 (FP32P50/P50FP32), versus 0.994/0.997 for PTQ; the same trend holds for ShallowConvNet. Gradient alignment shows a corresponding separation, while native PTQ agrees with simulated clean/adversarial predictions in 95--98% of cases. These results show that direct robustness, adversarial transfer, and deployment efficiency are distinct properties of compressed EEG decoders.
Figures & tables
| Arch. | Variant | Clean | PGD |
|---|---|---|---|
| EEGNet | FP32 | 57.39 | 22.83 |
| P30 | 57.47 | 23.06 | |
| P50 | 58.38 | 23.60 | |
| P70 | 25.96 | 24.01 | |
| PTQ8 | 57.42 | 22.57 | |
| QAT8 | 57.45 | 22.52 |
| Arch. | Direction | pp | ||||
|---|---|---|---|---|---|---|
| EEGNet | FP32 P50 | .921 | .963 | .980 | 1.22 | .0156 |
| P50 FP32 | .897 | .928 | .964 | 2.47 | .0156 | |
| FP32 PTQ | .981 | .994 | .999 | 0.21 | .0313 | |
| PTQ FP32 | 1.004 | .997 | 1.000 | 0.09 | .0938 | |
| Shallow | FP32 P50 | .914 | .897 | .918 | 1.57 | .0156 |
| P50 FP32 | .882 | .904 | .912 | 1.48 | .0156 |
| Metric | EEGNet | Shallow |
|---|---|---|
| Clean acc., sim./native (%) | 59.22 / 58.99 | 58.37 / 57.45 |
| PGD acc., sim./native (%) | 27.58 / 27.78 | 42.36 / 42.90 |
| Clean agreement (%) | 97.42 | 94.91 |
| PGD agreement (%) | 97.84 | 94.98 |