From Muscle to Text with MyoText: sEMG to Text via Finger Classification and Transformer-Based Decoding
Meghna Roy Chowdhury, Shreyas Sen, Yi Ding
TL;DR
MyoText tackles the challenge of keyboard-free text entry from sEMG by modeling typing as a motor–linguistic hierarchy. It first classifies active fingers from multichannel sEMG using a CNN–BiLSTM–Attention network, then applies ergonomic letter pooling to constrain candidate words, and finally uses a fine-tuned T5 transformer with constrained beam search to generate coherent sentences. On emg2qwerty with 30 participants, the system achieves 85.4% finger accuracy and 5.4% CER (6.5% WER), demonstrating robust cross-user generalization and the viability of on-device finger classification with edge-language decoding. The modular, physiologically grounded design reduces the decoding search space and leverages language models for long-range coherence, enabling practical, keyboard-free typing for AR/VR and ubiquitous computing. This work provides a scalable blueprint for wearable neural input that couples motor intent with linguistic reasoning under realistic hardware constraints.
Abstract
Surface electromyography (sEMG) provides a direct neural interface for decoding muscle activity and offers a promising foundation for keyboard-free text input in wearable and mixed-reality systems. Previous sEMG-to-text studies mainly focused on recognizing letters directly from sEMG signals, forming an important first step toward translating muscle activity into text. Building on this foundation, we present MyoText, a hierarchical framework that decodes sEMG signals to text through physiologically grounded intermediate stages. MyoText first classifies finger activations from multichannel sEMG using a CNN-BiLSTM-Attention model, applies ergonomic typing priors to infer letters, and reconstructs full sentences with a fine-tuned T5 transformer. This modular design mirrors the natural hierarchy of typing, linking muscle intent to language output and reducing the search space for decoding. Evaluated on 30 users from the emg2qwerty dataset, MyoText outperforms baselines by achieving 85.4% finger-classification accuracy, 5.4% character error rate (CER), and 6.5% word error rate (WER). Beyond accuracy gains, this methodology establishes a principled pathway from neuromuscular signals to text, providing a blueprint for virtual and augmented-reality typing interfaces that operate entirely without physical keyboards. By integrating ergonomic structure with transformer-based linguistic reasoning, MyoText advances the feasibility of seamless, wearable neural input for future ubiquitous computing environments.
