TL;DR
Brainwaves are as unique as fingerprints—and deeply private. PFedHASNet lets multiple people collaboratively train a brain–computer interface (BCI) without ever sharing their raw EEG data, blending biological-style spiking neurons, standard continuous networks, and raw signal statistics with lightweight, local personalization so the model adapts to each individual’s neural quirks.
What Problem Does This Paper Address?
Noninvasive brain–computer interfaces often rely on Motor Imagery EEG (MI-EEG)—decoding changes in sensorimotor rhythms when a person imagines moving a limb (like a left or right hand) to infer control intentions.
Training deep networks to read these signals runs into a classic triple bind:
- Data scarcity: Collecting and annotating EEG is exhausting and expensive, so training on just one person’s data leaves valuable cross-subject patterns on the table.
- Privacy: Centralizing raw brainwave recordings across clinics or users raises serious data-governance and privacy concerns.
- Brain heterogeneity: Signal amplitudes, noise, and spatial patterns vary wildly from person to person. Standard Federated Learning (FL) solves the privacy problem by keeping data local and averaging model weights on a central server, but a single "averaged" global model washes out subject-specific decision boundaries.
The authors ask: How can we build a compact, privacy-preserving federated model that captures rich temporal and statistical EEG patterns globally while tailoring its final interpretations locally to each individual?
Methods
PFedHASNet splits the neural architecture into a server-aggregated shared encoder and client-private personalization modules (treating each participating subject as one federated client).
- Standard Foundation: A shared multi-scale spatiotemporal backbone uses parallel temporal convolutions, spatial convolutions, and a residual dilated Temporal Convolutional Network (TCN) to extract sequence features. During local training, a standard proximal regularization term (similar to FedProx) prevents local shared weights from drifting too far from the global state.
- What’s New — Hybrid Analog–Spike Representation (HASR): Instead of relying solely on standard continuous ("analog") activations, the shared encoder branches into three parallel pathways fused via learnable scalar gates:
- Analog Branch: Temporally averages the continuous backbone features.
- Spiking Branch: Passes features through Leaky Integrate-and-Fire (LIF) spiking dynamics—accumulating "membrane potential" over time, firing binary spikes when crossing a threshold, and resetting—to capture temporal firing rates while adding just 130 trainable parameters.
- Statistical-Residual Bypass: Directly computes channel-wise log-variance (LogVar) from the raw preprocessed EEG, preserving raw amplitude/energy statistics that convolutional layers might otherwise smooth away.
- Client-Private Personalization: Before classification, each client passes the shared representation through a private, lightweight bottleneck residual adapter (for subject-specific feature correction) and a private classifier that never leave the user's device.
Datasets
No new datasets are introduced; the authors evaluate on four established public MI-EEG benchmarks (resampled to 250 Hz, 4-second trials, band-pass filtered at 8–30 Hz), treating each subject as a distinct client:
- BCI Competition IV Dataset 2b (M1): 9 clients, 3 channels, 2 classes.
- BCI Competition IV Dataset 1 (M2): 7 clients, 59 channels, 2 classes.
- BCI Competition IV Dataset 2a (M3): 9 clients, 22 channels, 4 classes.
- Weibo2014 (M4): 10 clients, 60 channels, 6 classes.
Key Insights and Ideas
- Don't throw away raw signal energy: Ablating the simple channel-wise LogVar bypass dropped performance by an average of 3.32 percentage points (pp) across datasets (and up to 6.83 pp on the 6-class Weibo2014 dataset). Raw channel amplitude variance provides vital, complementary context to learned deep features.
- Global averaging actively hurts multi-class EEG without personalization: Tracking performance immediately before and after server aggregation showed that standard FedAvg caused a negative performance shock in 99.3% to 100% of rounds on complex multi-class datasets (M3 and M4). Keeping roughly 3.7% of parameters private (adapter + classifier) cushioned this shock and turned cross-subject collaboration into a net benefit.
- Efficiency vs. Heavyweight PFL: Compared to Ditto (a personalized FL method that keeps a full second model copy per client), PFedHASNet uses ~49% fewer client-held parameters and half the local training epochs while staying within 0.44 pp in macro-F1.
Key Results
- Cross-Model Dominance: Across 18 architectures—including CNNs (EEGNet, ShallowConvNet), Transformers (EEG-Conformer), and SNNs—PFedHASNet achieved the highest mean-client macro-F1 on all four datasets, averaging 54.34% (Mean Rank 1.00), beating the runner-up (ShallowConvNet at 51.55%) by 2.79 pp.
- Multi-Class Gains: Improvements were sharpest on harder multi-class tasks, beating the next-best models by +2.86 pp on 4-class M3 (47.40%) and +1.89 pp on 6-class M4 (27.65%).
- Compact Footprint: Each client holds just 0.234–0.241 million parameters (only ~8,800 private) and exchanges ~1.75 MiB per round.
Limitations and Future Work
- Mixed Component Gains: Neither the LIF spiking branch nor the residual adapter helped universally; for instance, the private adapter boosted M1 and M2 (+0.85 and +2.12 pp) but slightly hurt M3 (−1.33 pp), and seed-to-seed variance on M2 was high (±7.85%). Furthermore, while 24 of 35 total clients saw net gains over non-personalized FedAvg, some individual subjects still experienced negative transfer.
- Participating Clients & Pre-partitioned Splits: Evaluation relied on predefined array splits (without independent session-separation authentication) and only tested participating clients. Future work aims to tackle cross-session drift and rapid personalization for unseen subjects using minimal calibration data, as well as neuromorphic edge deployment.
Summary updated