University of Waikato Research
Permanent URI for this communityhttps://researchcommons.waikato.ac.nz/handle/10289/10288
Browse
6 results
Search Results
Item type:Publication, Leveraging large language models for automated feature extraction and model training in EMG-based motion decoding2025, IEEEFeature extraction and model training are critical steps in developing machine learning models for electromyography (EMG) based motion decoding. Traditionally, these processes require domain expertise and programming knowledge to implement signal processing algorithms with optimized model training pipelines. In this work, we investigate the feasibility of using Large Language Models (LLMs) to automate both the extraction of features from EMG data and the development of machine learning models for decoding human motion with minimal human intervention. More specifically, we compare LLM extracted features and their corresponding motion decoding models against those developed using manually developed code. Our results indicate that LLM extracted features and their corresponding trained models achieve performance comparable to traditional methods, demonstrating the potential of accelerating research and scientific investigations with AI-driven biosignal processing. This study highlights LLMs’ capabilities and limitations in replacing manual coding for developing muscle-machine interfaces and provides insights into their integration into biomedical signal analysis workflows.Item type:Publication, On the impact of different light wavelengths in decoding human intention in lightmyography controlled prosthetic hands2025, IEEELightmyography is a method of human interfacing proposed for the control of prosthetic systems in which light is reflected on the skin and captured using photosensors. While sharing conceptual similarities with forcemyography, lightmyography differentiates itself in the way it interacts with the skin due to skin optics. Different wavelengths of light interact with the skin in different depths and degrees, a principle utilized in photoplethysmography to estimate heart rate and blood oxygen levels. Therefore, lightmyography was previously designed with two wavelengths of light, green and near-infrared. This study seeks to examine the impact of using different wavelengths of light in the decoding of hand postures using different machine learning methods. Four light configurations were tested: using only green light, using only infrared light, using both green and infrared light blinking alternately each 250 ms, and finally using both lights blinking at 125 ms. Data was decoded using four machine learning algorithms, namely linear discriminant analysis, random forest, convolutional neural networks, and a transformer-based model. Statistical testing showed no significant effect from light configuration in the machine learning decoding of hand posture performance. The dataset collected in this study has been made available for further investigation.Item type:Publication, A video dataset of everyday life grasps for the training of shared control operation models for myoelectric prosthetic hands2024, IEEEThe control of high degree of freedom prosthetic hands requires high cognitive effort and has proven difficult to navigate particularly as prosthetic hands become more advanced. To reduce control complexity, vision-based shared control methods have been proposed. Such methods rely on image processing and/or machine learning to identify object features and classes and introduce a level of autonomy to the grasping process. However, currently available image datasets lack focus in the area of prosthetic grasping. Thus, in this paper, we present a new dataset capturing user interactions with a wide variety of everyday life objects using a fully actuated, human-like robot hand and an onboard camera. The dataset includes videos of over 100 grasps of 50 objects from 35 classes. A video analysis has been conducted, using established grasp taxonomies to compile a list of grasp types based on interactions of the user with the objects. The resulting dataset can be used to develop more efficient prosthetic hand operation systems based on shared control frameworks.Item type:Publication, Multi-grasp classification for the control of robot hands employing transformers and lightmyography signals2023, IEEEThe increasing use of smart technical devices in our everyday lives has necessitated the use of muscle-machine interfaces (MuMI) that are intuitive and that can facilitate immersive interactions with these devices. The most common method to develop MuMIs is using Electromyography (EMG) based signals. However, due to several drawbacks of EMG-based interfaces, alternative methods to develop MuMI are being explored. In our previous work, we presented a new MuMI called Lightmyography (LMG), which achieved outstanding results compared to a classic EMG-based interface in a five-gesture classification task. In this study, we extend our previous work experimentally validating the efficiency of the LMG armband in classifying thirty-two different gestures from six participants using a deep learning technique called Temporal Multi-Channel Vision Transformers (TMC-ViT). The efficiency of the proposed model was assessed using accuracy. Moreover, two different undersampling techniques are compared. The proposed thirty-two-gesture classifiers achieve accuracies as high as 92%. Finally, we employ the LMG interface in the real-time control of a robotic hand using ten different gestures, successfully reproducing several grasp types from taxonomy grasps presented in the literature.Item type:Publication, Offline versus real-time grasp prediction employing a wearable high-density lightmyography armband: On the control of prosthetic hands2025-04-01, IEEESeveral studies over the last decades have investigated the use of myoelectric upper-arm prostheses to restore lost functionality and perform complex activities of daily life. Muscle-machine interfacing methods employing electromyography, sonomyography, forcemyography, and mechanomyography, have been developed offering users intuitive control of prostheses. However, these methods suffer their own drawbacks and the practical, robust, real-time control of prostheses in the execution of complex everyday life tasks remains difficult to accomplish. In this study, a wearable high-density lightmyography armband is proposed, and the offline and real-time grasp prediction schemes are compared in an attempt to deepen our understanding in real-time decoding employing lightmyography signals. Thus bringing lightmyography closer to advanced real-time prosthetic control scenarios. Offline experiments were conducted where models decoding 10 classes were trained and tested, achieving accuracies exceeding 91% with a mean of 94.11% when a Random Forest model was employed and a mean of 95.87% when a Convolutional Neural Networks model was employed. However, as models were deployed in real-time, a decline in performance was notable, reducing the accuracies to 60-70%. Other limitations were observed in this transition. Although average accuracies were high, the precision and recall for a small fraction of grasps were often low, hindering overall real-time performance. Moreover, prolonged usage led to decreased decoding accuracy, with accuracies dropping to below 35%, indicating that fatigue, sweat, or sensor shift may have affected the signals over time. Thus for the real-time application of lightmyography, it is recommended to discriminate between a smaller number of classes for which accuracies are higher (around 80% for 6 classes without prolonged use).Item type:Publication, Electromyography based gesture decoding employing few-shot learning, transfer learning, and training from scratch2023-09-27, Institute of Electrical and Electronics EngineersOver the last decade several machine learning (ML) based data-driven approaches have been used for Electromyography (EMG) based control of prosthetic hands. However, the performance of EMG-based frameworks can be affected by: i) the onset of fatigue due to long data collection sessions, ii) musculoskeletal differences between individuals, and iii) sensor position drifting between different sessions with the same user. To evaluate these aspects, in this work, we compare the performance of EMG-based hand gesture decoding models developed using three approaches. This comparison allows for future works in EMG-based Human-Machine Interfaces development to make more informed ML decisions. First, we trained from scratch a Transformer-based architecture, called Temporal Multi-Channel Vision Transformer (TMC-ViT). For our second approach, we utilized a pre-trained and fine-tuned TMC-ViT model (a transfer learning approach). Finally, for our third approach, we developed a Prototypical Network (a few-shot learning approach). The models are trained in a subject-specific and subject-generic manner for eight subjects and validated employing the 10-fold cross-validation procedure. This study shows that training a deep learning decoding model from scratch in a subject-specific manner leads to higher decoding accuracies when a larger dataset is available. For smaller datasets, subject-generic models, or inter-session models, the few-shot learning approach produces more robust results with better performance, and is more suited to applications where long data collection scenarios are not possible, or where multiple users are intended for the interface. Our findings show that the few-shot learning approach can outperform training a model from scratch in different scenarios.