EEG2MCU: Sensing-to-Execution Co-Design for Wearable EEG Inference
Organizations: Case Western Reserve University, Cleveland, OH · Purdue University, West Lafayette, IN · The University of Texas, Austin, TX
Abstract
Wearable EEG inference is constrained not only by model size, but also by the channel-dependent sensing front end that must process high-dimensional inputs before compact downstream computation. We present EEG2MCU, a sensing-to-execution co-design framework that treats electrode count as a hardware design variable through task-aware montage selection. EEG2MCU retains a compact time-frequency representation and generates only the INT8 regions required by each first-layer tile, avoiding full input materialization. Halo reuse and access-aware placement across Flash, SRAM, and tightly coupled memory further reduce redundant generation and data movement. On a Cortex-M7 MCU, EEG2MCU reduces peak SRAM by 11.38x relative to the baseline, including a 1.71x reduction from the 62-to-19 electrode montage, while reducing latency by 2.57x and energy by 2.48x. It retains 94-96% of full-montage accuracy, demonstrating practical high-dimensional EEG inference under tight embedded-resource constraints.
Figures & tables
| Ch | Tiles | **Hierarchy-Aware Execution | Streamed | Layer 0 | Latency (ms) | Energy (mJ) | Peak | ||||||||
| Weight Res. | DTCM | Halo | Gen. (ms) | (ms) | RN 8 | SE | Eff. * | Mamba * | RN 8 | SE | Eff. * | Mamba * | (KiB) | ||
| 62 | 1 | ✗ | ✗ | ✗ | — | — | — | — | — | — | — | — | — | — | 1,374.4 |
| 62 | 2 | ✗ | ✗ | ✗ | 30.2 | 4913.6 | 5492.7 | 5554.8 | 5492.0 | 5629.4 | 791.9 | 801.6 | 788.5 | 806.1 | 850.0 |
| 62 | 2 | ✓ | ✗ | ✗ | — | — | — | — | — | — | — | — | — | — | 1,077.4 |
| 62 | 4 | ✗ | ✗ | ✗ | 30.2 | 4924.3 | 5503.4 | 5565.5 | 5502.7 | 5640.1 | 795.3 | 804.9 | 791.8 | 809.5 | 617.5 |
| 62 | 4 | ✓ | ✗ | ✗ | 30.2 | 4622.3 | 5201.4 | 5263.5 | 5200.7 | 5338.1 | 700.2 | 709.9 | 696.8 | 714.5 | 826.7 |
| SE-ResNet8 | EfficientFormer [ 32 ] | Mamba [ 33 ] | |||||||
|---|---|---|---|---|---|---|---|---|---|
| No. Electrodes | Acc. | F1 | Params | Acc. | F1 | Params | Acc. | F1 | Params |
| 62 | 0.781 | 0.782 | 1.5M | 0.769 | 0.767 | 3M | 0.785 | 0.772 | 2.5M |
| 19 (Std 10–20) | 0.619 | 0.618 | 1.5M | 0.625 | 0.614 | 3M | 0.685 | 0.668 | 2.5M |
| 19 (Saliency-guided) | 0.734 | 0.730 | 1.5M | 0.736 | 0.736 | 3M | 0.737 | 0.735 | 2.5M |
| Framework | Target | No ext. mem. | On-demand input gen. | Sensing in scope [a] | Arb. kern. geometry [b] | Cache/TCM placement [c] |
|---|---|---|---|---|---|---|
| DORY [ 24 ] | GAP-8 + ext. L3 | ✗ | ✗ | ✗ | ✓ | ✗ |
| TinyOps [ 25 ] | M4/M7 + SDRAM | ✗ | ✗ | ✗ | ✓ | ✗ |
| TinyEngine [ 12 ] | Cortex-M | ✓ | ✗ | ✗ | ✗ | ✗ |
| MLonMCU [ 26 ] | Retargetable | ✓ | ✗ | ✗ | ✓ | ✗ |
| EEG2MCU (ours) | Cortex-M7 | ✓ | ✓ | ✓ | ✓ | ✓ |
Hardware-Software Co-Design
Hardware-software co-design jointly shapes algorithms, software, and computing hardware to meet performance, energy, cost, and deployment constraints.
See all 77 papers