Time2Vec transformer for robust gesture recognition from low-density sEMG
Abstract
Abstract Objective. To determine whether temporal embeddings can recover the discriminative information lost when reducing surface electromyography (sEMG) sensing from dense electrode arrays to a sparse two-channel configuration, and under what conditions they can be integrated without degrading spatial features. Approach. Using a publicly available dataset of 8 subjects performing 10 dynamic finger gestures, we develop a hybrid Transformer optimized for two-channel sEMG. We identify a failure mode in standard additive integration, where the two branches differ in latent magnitude by a factor of four, so the spatial branch dominates the sum. We therefore integrate Time2Vec embeddings through a normalized additive fusion strategy that layer-normalizes both latent distributions before integration. A two-stage curriculum (augmentation-driven pre-training followed by clean-signal fine-tuning) supports robust feature extraction under data scarcity. Main results. Under leave-one-subject-out cross-validation the proposed model achieves a mean F 1-score of 95.9% ± 0.15%, outperforming standard additive, gated, and cross-attention fusion. A gain sweep and a parameter-free normalization variant identify scale alignment as the operative mechanism, as a learnable basis performs worse than fixed sinusoidal encodings under standard addition but exceeds them once normalized. Zero-shot transfer to unseen subjects yields 21.0% ± 2.98%, and classical hand-crafted-feature models collapse comparably, consistent with a sensing constraint rather than a representational one. Supervised calibration with two trials per gesture recovers performance to 96.9% ± 0.52%. Inference runs in 21.5 ms on a consumer CPU core. Significance. Temporal embeddings can compensate for reduced spatial sensing density provided their integration preserves the scale of both representations, enabling rapidly personalizable myoelectric interfaces.
Fields of Study & Subjects
Muscle activation and electromyography studies
Hand Gesture Recognition Systems
Emotion and Mood Recognition
Publication details
- Journal / source
- Biomedical Physics & Engineering Express
- Volume
- 12
- Issue
- 5
- Pages
- 055031–055031
- Publication date
- 18 September 2026
- Language
- EN