arXiv:2610.36411cs.CVOct 2026

Manuscript Offprint

arXiv:2610.36411

ORBITAL: Optimization of Robust Brain--Computer Inference Through Architecture-Aware Low-Precision Compression

Saim Rehman, Muhammad Shafique

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Saim Rehman and Muhammad Shafique

eBRAIN Lab, New York University Abu Dhabi, Abu Dhabi, UAE

sr7849@nyu.edu, muhammad.shafique@nyu.edu

Abstract—Compact electroencephalography (EEG) decoders enable embedded brain–computer interfaces (BCIs), but compression can alter adversarial robustness without proportional hardware savings. We present ORBITAL, a robustness-constrained framework combining hardware-realizable structured compression, recovery-aware operating-point selection, multi-attack evaluation, and native edge validation. Across nine subjects and three seeds on BCI Competition IV-2a, S25-TRADES achieves the highest observed mean true-union robustness among compressed EEGNet models (23.06% vs 21.27% for standard Full), with 26.27% fewer parameters and 25.10% fewer MACs. Matched controls identify TRADES as the main source of robustness recovery, improving S25 union accuracy by 6.74 percentage points over clean recovery (p=0.0039), while per-example analysis reveals boundary redistribution rather than uniform margin expansion. On Jetson Orin Nano, FP16 compression reduces board energy by up to 16.20% and latency by 8.00%. Despite 99.3% prediction agreement, native INT8 Q/DQ incurs about twice the FP16 latency and energy, demonstrating the need for joint robustness and hardware-aware optimization.

Index Terms—EEG, Brain–Computer Interface, Adversarial Robustness, Structured Pruning, Quantization-Aware Training, Edge AI, TensorRT.

I. INTRODUCTION

EEG-based BCIs increasingly rely on compact convolutional neural networks such as EEGNet [1] and ShallowConvNet [2]. Their embedded use creates three coupled objectives: (i) preserve task accuracy, (ii) resist small adversarial perturbations, and (iii) reduce real latency/energy. Conventional compression work largely optimizes storage or arithmetic cost [3]–[6], whereas adversarial training and evaluation are usually studied independently [7]–[9]. In EEG, this separation is particularly problematic because compact decoders operate on low-amplitude, non-image signals for which perturbation geometry and hardware overheads differ from standard vision workloads.

Fig. 1 illustrates how structured compression changes clean accuracy, adversarial robustness, and model complexity non-monotonically. Mathematical compression does not automatically guarantee actual hardware efficiency; thus, relying on a fixed compression ratio is insufficient for dependable edge deployment. Recent BCI studies established that EEG decoders are vulnerable to adversarial manipulation [10] and benchmarked multiple defenses [11]. More recent alignment-based defense benchmarks demonstrate the benefits of combining

Figure

Fig. 1. Motivation for robustness-constrained EEG compression. ORBITAL's accuracy–robustness–hardware trade-off under structured EEG compression. S10 satisfies predefined screening constraints, S25 achieves the highest observed mean true-union robustness among compressed candidates, and S50 offers greater structural and measured hardware savings.

preprocessing and adversarial training for EEG decoding [12], but leave compression-aware operating-point selection and native hardware costs unexplored. Prior work, including AERIAL [13], has demonstrated that accuracy-preserving compression does not necessarily preserve adversarial robustness, and that robustness and hardware efficiency may evolve independently. Nonetheless, characterization alone does not establish how to select a physically realizable compressed decoder that satisfies specified accuracy and robustness requirements. Furthermore, the interaction between compression severity and robust recovery remains insufficiently understood, complicating the choice of an efficient deployment configuration. ORBITAL addresses these limitations through robustness-constrained architecture search, recovery-aware evaluation, and native hardware validation.

Our main contributions are:

• Robustness-constrained structured compression. We introduce a hardware-realizable EEG decoder compression workflow that enumerates physically valid channel widths, screens clean and adversarial performance, and selects constraint-feasible and Pareto operating points rather than prescribing a fixed compression ratio.

• Compression–recovery interaction. Through matched full-width TRADES controls and compression-level recovery ablations, we show that robust training is the principal source of adversarial recovery, while its benefit depends significantly on compression severity. At S25, TRADES improves true-union robustness by 6.74 percentage points

Figure

Fig. 2. Overview of the ORBITAL methodology. EEGNet serves as the primary deployment architecture, while ShallowConvNet evaluates cross-architecture generalization.

over clean-only recovery across all nine subjects.

• Adversarial boundary characterization. Using per-example robustness transitions, post-attack margins, gradient geometry, and random-channel controls, we show that compression redistributes adversarial robustness rather than uniformly increasing classification margins. The S25 operating point achieves the highest observed mean union robustness among the compressed EEGNet candidates.

• Native edge-hardware validation. We quantify actual latency, board power, and energy on Jetson Orin Nano using repeated FP16 inference measurements. We additionally show that learned-scale INT8 Q/DQ can preserve model predictions while increasing deployment cost because of conversion and kernel overhead.