Abstract
Muscle electrophysiology has emerged as a powerful tool to drive human machine interfaces, with many new recent applications outside the traditional clinical domains, such as robotics and virtual reality. However, more sophisticated, functional, and robust decoding algorithms are required to meet the fine control requirements of these applications. Deep learning has shown high potential in meeting these demands, but requires a large amount of high-quality annotated data, which is expensive and time-consuming to acquire. Data augmentation using simulations, a strategy applied in other deep learning applications, has never been attempted in electromyography due to the absence of computationally efficient models. We introduce a concept of Myoelectric Digital Twin - highly realistic and fast computational model tailored for the training of deep learning algorithms. It enables simulation of arbitrary large and perfectly annotated datasets of realistic electromyography signals, allowing new approaches to muscular signal decoding, accelerating the development of human-machine interfaces.
Introduction
Surface electromyography (sEMG)—the recording of muscle electrical activity from the skin—is the cornerstone of modern bionic limbs and human-machine interfaces (HMIs). While deep learning (DL) has the potential to make these interfaces seamless and intuitive, it faces a significant "data wall." DL models require vast amounts of high-quality, annotated data, which is notoriously difficult to acquire in this field. Recording from humans is time-consuming, and obtaining "ground truth" labels (knowing exactly which motor neurons fired at what microsecond) is physically impossible from surface sensors.
Existing simulators offered a potential solution, but they were caught in a trade-off: simple analytical models were too unrealistic for DL training, while realistic numerical models were so computationally heavy that generating a large dataset would take months. This paper introduces a "Myoelectric Digital Twin" that bridges this gap by simulating realistic signals in seconds.
The Myoelectric Digital Twin Pipeline
The researchers developed a hierarchical simulation pipeline that decouples the physics of the body from the biology of muscle activation. This allows for rapid iteration and data generation without sacrificing physical accuracy.
The core innovation is the use of the adjoint method to solve the electrical forward problem. Instead of calculating the field for every muscle fiber, the system solves it from the perspective of the electrodes. Since there are far fewer electrodes than fibers, this reduces computational complexity by several orders of magnitude. By pre-computing electrical "basis" solutions for a 3D anatomical mesh, changing muscle firing patterns becomes a fast matrix multiplication rather than a heavy physics simulation.
Training and Real-World Application
The most powerful aspect of the Digital Twin is that it provides "perfectly annotated" data. Because the computer knows exactly when it "fired" a simulated neuron, the DL model has an infallible teacher. The study demonstrated a successful "synthetic-to-real" transfer, where a model trained on simulated physics generalizes effectively to real human biology.
Researchers used this simulator to generate a library of Motor Unit Action Potential (MUAP) templates to pre-train a Gated Recurrent Unit (GRU) network. The simulated signals were realistic enough that the features learned during pre-training were directly applicable to real-world sEMG signals recorded from human subjects.
Key Results
- Massive Speedup: The simulator produces complex EMG signals for tens of thousands of fibers in seconds or minutes, compared to hours for previous numerical models.
- Accuracy Boost: When decoding real human muscle activity, the DL model pre-trained on the Digital Twin achieved a median Rate of Agreement (RoA) of 93.8%, significantly outperforming the 82.4% achieved by a model starting with random initialization.
- Validation: Numerical solutions matched classical analytical models with less than 5% error, confirming physical accuracy.
Limitations and Future Work
The current model does not yet account for real-world artifacts like electrode displacement, sweat, or electromagnetic interference. Furthermore, the study focused on isometric contractions (static muscle firing). Future work aims to integrate the twin with biomechanical models to simulate sEMG during dynamic movements. Eventually, subject-specific "twins" generated from ultrasound or MRI could lead to highly personalized and intuitive prosthetic control.
Summary updated