SSSomayeh B. Shafiei

Somayeh B. Shafiei

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Somayeh B. Shafiei has a total of 49 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Multimodal deep learning for objective skill assessment in robot-assisted vesico-urethral anastomosis

    by Somayeh B. Shafiei, Saeed Shadpour, Anthony Dakwar, Zhaomin Xu, James L. Mohler

    This study aimed to classify robot-assisted surgery (RAS) skill levels (inexperienced, competent, and experienced) during performance of vesico-urethral anastomosis (VUA) using multimodal physiological signals. We trained Convolutional Neural Networks (CNNs) and Long Short-Term Memory (LSTM) models on data collected from 23 RAS (RAS trainees and experienced surgeons) performing two VUAs on animal tissue. The dataset included 116-channel electroencephalogram (EEG) and 20 eye-tracking signals recorded during two VUA subtasks: (1) needle grasping, positioning, and entry; and (2) needle driving with wrist rotation and suture pull-out. Skill levels were rated by three raters using the Robotic Anastomosis Competency Evaluation (RACE) tool. Hyperparameters of the models were tuned using grid search with group 4-fold cross-validation on 16 participants and final model performance was evaluated on data from 7 unseen (held-out test) participants, repeated over 10 iterations. Weighted F-scores for classifying skill level using EEG and eye-tracking data were 0.84 for subtask 1 and 0.89 for subtask 2. Using paired t-tests, high-density EEG (116 channels) significantly outperformed low-density EEG (32 channels) for subtask 1 ( p = 0.001), with no difference for subtask 2 ( p = 0.15). Adding eye-tracking data significantly improved classification for subtask 2 ( p = 0.001), but not for subtask 1 ( p = 0.5). Multimodal deep learning using EEG and eye-tracking data enabled objective classification of surgical skills during VUA. The benefits of high-density EEG and multimodal integration were task-dependent, underscoring the need to tailor assessment tools to the cognitive and sensorimotor demands of specific surgical subtasks.


  • Open Access

    Pain classification using functional near infrared spectroscopy and assessment of virtual reality effects in cancer pain management

    by Somayeh B. Shafiei, Saeed Shadpour, Barbara Pangburn, Martha Bentley-McLachlan, Oscar de Leon-Casasola

    Objective measurements of pain and safe methods to alleviate it could revolutionize medicine. This study used functional near-infrared spectroscopy (fNIRS) and virtual reality (VR) to improve pain assessment and explore non-pharmacological pain relief in cancer patients. Using resting-state fNIRS (rs-fNIRS) data and multinomial logistic regression (MLR), we identified brain-based pain biomarkers and classified pain severity in cancer patients. Participants included healthy individuals who underwent rs-fNIRS recording without VR (Group A), cancer patients who underwent rs-fNIRS recording both before and after engaging in the Oceania relaxation program VR intervention (Group B), and cancer patients who underwent rs-fNIRS recording without VR (Group C). All participants wore a wireless fNIRS headcap for brain activity recording. Pain severity was self-reported by patients using the FACES Pain Scale-Revised (FPS-R). fNIRS data were analyzed with MLR, categorizing pain into no/mild (0–4/10), moderate (5–7/10), and severe (8–10/10) levels. The MLR model classified pain severity in an unseen test group, selected using the leave-one-participant-out technique and repeated across all participants, achieving an accuracy of 74%. VR significantly reduced pain intensity (Wilcoxon signed-rank test, P < 0.001), with significant changes in brain functional connectivity patterns (P < 0.05). Additionally, 75.61% of patients experienced pain reductions exceeding the clinically relevant threshold of 30%. These findings underscore the potential of fNIRS for pain assessment and VR as a useful non-pharmacological intervention for cancer-related pain management, with broader implications for clinical pain management.


  • An Integrated Electroencephalography and Eye-Tracking Analysis Using eXtreme Gradient Boosting for Mental Workload Evaluation in Surgery

    by Somayeh B. Shafiei, Saeed Shadpour, James L. Mohler

    Objective: We aimed to develop advanced machine learning models using electroencephalogram (EEG) and eye-tracking data to predict the mental workload associated with engaging in various surgical tasks. Background: Traditional methods of evaluating mental workload often involve self-report scales, which are subject to individual biases. Due to the multidimensional nature of mental workload, there is a pressing need to identify factors that contribute to mental workload across different surgical tasks. Method: EEG and eye-tracking data from 26 participants performing Matchboard and Ring Walk tasks from the da Vinci simulator and the pattern cut and suturing tasks from the Fundamentals of Laparoscopic Surgery (FLS) program were used to develop an eXtreme Gradient Boosting (XGBoost) model for mental workload evaluation. Results: The developed XGBoost models demonstrated strong predictive performance with R 2 values of 0.82, 0.81, 0.82, and 0.83 for the Matchboard, Ring Walk, pattern cut, and suturing tasks, respectively. Key features for predicting mental workload included task average pupil diameter, complexity level, average functional connectivity strength at the temporal lobe, and the total trajectory length of the nondominant eye’s pupil. Integrating features from both EEG and eye-tracking data significantly enhanced the performance of mental workload evaluation models, as evidenced by repeated-measures t-tests yielding p -values less than 0.05. However, this enhancement was not observed in the Pattern Cut task (repeated-measures t-tests; p > 0.05). Conclusion: The findings underscore the potential for machine learning and multidimensional feature integration to predict mental workload and thereby improve task design and surgical training. Application: The advanced mental workload prediction models could serve as instrumental tools to enhance our understanding of surgeons’ cognitive demands and significantly improve the effectiveness of surgical training programs.


  • Open Access

    Classification of subtask types and skill levels in robot-assisted surgery using EEG, eye-tracking, and machine learning

    by Somayeh B. Shafiei, Saeed Shadpour, James L. Mohler, Eric C. Kauffman, Matthew Holden, Camille Gutierrez

    Background: Objective and standardized evaluation of surgical skills in robot-assisted surgery (RAS) holds critical importance for both surgical education and patient safety. This study introduces machine learning (ML) techniques using features derived from electroencephalogram (EEG) and eye-tracking data to identify surgical subtasks and classify skill levels. Method: The efficacy of this approach was assessed using a comprehensive dataset encompassing nine distinct classes, each representing a unique combination of three surgical subtasks executed by surgeons while performing operations on pigs. Four ML models, logistic regression, random forest, gradient boosting, and extreme gradient boosting (XGB) were used for multi-class classification. To develop the models, 20% of data samples were randomly allocated to a test set, with the remaining 80% used for training and validation. Hyperparameters were optimized through grid search, using fivefold stratified cross-validation repeated five times. Model reliability was ensured by performing train-test split over 30 iterations, with average measurements reported. Results: The findings revealed that the proposed approach outperformed existing methods for classifying RAS subtasks and skills; the XGB and random forest models yielded high accuracy rates (88.49% and 88.56%, respectively) that were not significantly different (two-sample t-test; P-value = 0.9). Conclusion: These results underscore the potential of ML models to augment the objectivity and precision of RAS subtask and skill evaluation. Future research should consider exploring ways to optimize these models, particularly focusing on the classes identified as challenging in this study. Ultimately, this study marks a significant step towards a more refined, objective, and standardized approach to RAS training and competency assessment.


  • Open Access

    Prediction of Robotic Anastomosis Competency Evaluation (RACE) metrics during vesico-urethral anastomosis using electroencephalography, eye-tracking, and machine learning

    by Somayeh B. Shafiei, Saeed Shadpour, James L. Mohler, Parisa Rashidi, Mehdi Seilanian Toussi, Qian Liu, Ambreen Shafqat, Camille Gutierrez

    Residents learn the vesico-urethral anastomosis (VUA), a key step in robot-assisted radical prostatectomy (RARP), early in their training. VUA assessment and training significantly impact patient outcomes and have high educational value. This study aimed to develop objective prediction models for the Robotic Anastomosis Competency Evaluation (RACE) metrics using electroencephalogram (EEG) and eye-tracking data. Data were recorded from 23 participants performing robot-assisted VUA (henceforth ‘anastomosis’) on plastic models and animal tissue using the da Vinci surgical robot. EEG and eye-tracking features were extracted, and participants’ anastomosis subtask performance was assessed by three raters using the RACE tool and operative videos. Random forest regression (RFR) and gradient boosting regression (GBR) models were developed to predict RACE scores using extracted features, while linear mixed models (LMM) identified associations between features and RACE scores. Overall performance scores significantly differed among inexperienced, competent, and experienced skill levels (P value < 0.0001). For plastic anastomoses, R2 values for predicting unseen test scores were: needle positioning (0.79), needle entry (0.74), needle driving and tissue trauma (0.80), suture placement (0.75), and tissue approximation (0.70). For tissue anastomoses, the values were 0.62, 0.76, 0.65, 0.68, and 0.62, respectively. The models could enhance RARP anastomosis training by offering objective performance feedback to trainees.


  • Open Access

    Development of performance and learning rate evaluation models in robot-assisted surgery using electroencephalography and eye-tracking

    by Somayeh B. Shafiei, Saeed Shadpour, Farzan Sasangohar, James L. Mohler, Kristopher Attwood, Zhe Jing

    The existing performance evaluation methods in robot-assisted surgery (RAS) are mainly subjective, costly, and affected by shortcomings such as the inconsistency of results and dependency on the raters’ opinions. The aim of this study was to develop models for an objective evaluation of performance and rate of learning RAS skills while practicing surgical simulator tasks. The electroencephalogram (EEG) and eye-tracking data were recorded from 26 subjects while performing Tubes, Suture Sponge, and Dots and Needles tasks. Performance scores were generated by the simulator program. The functional brain networks were extracted using EEG data and coherence analysis. Then these networks, along with community detection analysis, facilitated the extraction of average search information and average temporal flexibility features at 21 Brodmann areas (BA) and four band frequencies. Twelve eye-tracking features were extracted and used to develop linear random intercept models for performance evaluation and multivariate linear regression models for the evaluation of the learning rate. Results showed that subject-wise standardization of features improved the R2 of the models. Average pupil diameter and rate of saccade were associated with performance in the Tubes task (multivariate analysis; p-value = 0.01 and p-value = 0.04, respectively). Entropy of pupil diameter was associated with performance in Dots and Needles task (multivariate analysis; p-value = 0.01). Average temporal flexibility and search information in several BAs and band frequencies were associated with performance and rate of learning. The models may be used to objectify performance and learning rate evaluation in RAS once validated with a broader sample size and tasks.


  • Open Access

    Neurocognitive Correlates of Clinical Decision Making: A Pilot Study Using Electroencephalography

    by Serkan Toy, Somayeh B. Shafiei, Sahin Ozsoy, James Abernathy, Eda Bozdemir, Kristofer K. Rau, Deborah A. Schwengel

    The development of sound clinical reasoning, while essential for optimal patient care, can be quite an elusive process. Researchers typically rely on a self-report or observational measures to study decision making, but clinicians’ reasoning processes may not be apparent to themselves or outside observers. This study explored electroencephalography (EEG) to examine neurocognitive correlates of clinical decision making during a simulated American Board of Anesthesiology-style standardized oral exam. Eight novice anesthesiology residents and eight fellows who had recently passed their board exams were included in the study. Measures included EEG recordings from each participant, demographic information, self-reported cognitive load, and observed performance. To examine neurocognitive correlates of clinical decision making, power spectral density (PSD) and functional connectivity between pairs of EEG channels were analyzed. Although both groups reported similar cognitive load (p = 0.840), fellows outperformed novices based on performance scores (p < 0.001). PSD showed no significant differences between the groups. Several coherence features showed significant differences between fellows and residents, mostly related to the channels within the frontal, between the frontal and parietal, and between the frontal and temporal areas. The functional connectivity patterns found in this study could provide some clues for future hypothesis-driven studies in examining the underlying cognitive processes that lead to better clinical reasoning.


  • Open Access

    Surgical skill level classification model development using EEG and eye-gaze data and machine learning algorithms

    by Somayeh B. Shafiei, Saeed Shadpour, James L. Mohler, Farzan Sasangohar, Camille Gutierrez, Mehdi Seilanian Toussi, Ambreen Shafqat

    The aim of this study was to develop machine learning classification models using electroencephalogram (EEG) and eye-gaze features to predict the level of surgical expertise in robot-assisted surgery (RAS). EEG and eye-gaze data were recorded from 11 participants who performed cystectomy, hysterectomy, and nephrectomy using the da Vinci robot. Skill level was evaluated by an expert RAS surgeon using the modified Global Evaluative Assessment of Robotic Skills (GEARS) tool, and data from three subtasks were extracted to classify skill levels using three classification models—multinomial logistic regression (MLR), random forest (RF), and gradient boosting (GB). The GB algorithm was used with a combination of EEG and eye-gaze data to classify skill levels, and differences between the models were tested using two-sample t tests. The GB model using EEG features showed the best performance for blunt dissection (83% accuracy), retraction (85% accuracy), and burn dissection (81% accuracy). The combination of EEG and eye-gaze features using the GB algorithm improved the accuracy of skill level classification to 88% for blunt dissection, 93% for retraction, and 86% for burn dissection. The implementation of objective skill classification models in clinical settings may enhance the RAS surgical training process by providing objective feedback about performance to surgeons and their teachers.