TinyMyo: a Tiny Foundation Model for Flexible EMG Signal Processing at the Edge
Abstract
Objective: Surface electromyography (EMG) is widely used in biomechanics, rehabilitation, prosthetic control, and human-machine interfaces.
Generalization across subjects, recording systems, and acquisition protocols remains challenging.
Existing EMG foundation models (FMs) have limited support for multiple downstream tasks and deployment on low-power devices.
Methods: We introduce TinyMyo, a 3.6-million-parameter Transformer encoder pre-trained on public EMG datasets using self-supervised masked reconstruction.
TinyMyo supports multiple tasks with minimal changes to the task-specific prediction head.
Results: We evaluated TinyMyo on hand gesture classification, hand kinematic regression, speech production, and speech recognition.
For gesture classification, TinyMyo outperformed previously reported EMG FMs, achieving accuracies of 87.98% on NinaPro DB5, 97.1% on UCI-EMG, and 96.6% on EPN-612.
On the GAP9 ultra-low-power microcontroller, TinyMyo achieved an inference time of 0.785 s and consumed 44.91 mJ per inference at an average power of 57.18 mW.
A 1.9-million-parameter variant processed 5 s and 1 s input windows in 0.496 s and 0.089 s, respectively.
Conclusion: TinyMyo demonstrates that a compact, self-supervised EMG encoder can support multiple downstream tasks and run on a low-power microcontroller.
Significance: To our knowledge, this is the first deployment of an EMG FM on an ultra-low-power microcontroller, opening a path to on-device motor intent decoding, neuromuscular assessment, and human-machine interaction.