Bio


Dr. Xiwei She is a postdoctoral scholar in the Department of Neurology. He received his B.S. degree in Computer Science from Shanghai Jiao Tong University in 2013, and his M.S. degree in Biomedical Engineering from Zhejiang University in 2016. Worked as a research assistant at the USC Neural Modeling and Interface Laboratory, he received his Ph.D. degree in Biomedical Engineering from the University of Southern California in 2022. After graduation, he joined Stanford University as a postdoctoral scholar at the Pediatric Neurostimulation Laboratory (Baumer Lab) and Wu Tsai Neuroscience Institute.
His research interests are largely directed toward identifying the causal relationship of neurons/brain regions and understanding how information is encoded in neural signals by employing machine learning models. Specifically, his postdoc research focuses on applying machine learning modeling techniques on EEG and TMS-EEG data to better understand the impact of interictal epileptiform discharges (IEDs) on brain activity in children with childhood epilepsy with centrotemporal spikes (CECTS).

Honors & Awards


  • Postdoctoral Fellowship Award, Stanford Maternal and Child Health Research Institute (MCHRI) (2023/1/1)

Stanford Advisors


Lab Affiliations


All Publications


  • Stability of transcranial magnetic stimulation electroencephalogram evoked potentials in pediatric epilepsy. Scientific reports She, X., Nix, K. C., Cline, C. C., Qi, W., Tugin, S., He, Z., Baumer, F. M. 2024; 14 (1): 9045

    Abstract

    Transcranial magnetic stimulation paired with electroencephalography (TMS-EEG) can measure local excitability and functional connectivity. To address trial-to-trial variability, responses to multiple TMS pulses are recorded to obtain an average TMS evoked potential (TEP). Balancing adequate data acquisition to establish stable TEPs with feasible experimental duration is critical when applying TMS-EEG to clinical populations. Here we aim to investigate the minimum number of pulses (MNP) required to achieve stable TEPs in children with epilepsy. Eighteen children with Self-Limited Epilepsy with Centrotemporal Spikes, a common epilepsy arising from the motor cortices, underwent multiple 100-pulse blocks of TMS to both motor cortices over two days. TMS was applied at 120% of resting motor threshold (rMT) up to a maximum of 100% maximum stimulator output. The average of all 100 pulses was used as a "gold-standard" TEP to which we compared "candidate" TEPs obtained by averaging subsets of pulses. We defined TEP stability as the MNP needed to achieve a concordance correlation coefficient of 80% between the candidate and "gold-standard" TEP. We additionally assessed whether experimental or clinical factors affected TEP stability. Results show that stable TEPs can be derived from fewer than 100 pulses, a number typically used for designing TMS-EEG experiments. The early segment (15-80 ms) of the TEP was less stable than the later segment (80-350 ms). Global mean field amplitude derived from all channels was less stable than local TEP derived from channels overlying the stimulated site. TEP stability did not differ depending on stimulated hemisphere, block order, or antiseizure medication use, but was greater in older children. Stimulation administered with an intensity above the rMT yielded more stable local TEPs. Studies of TMS-EEG in pediatrics have been limited by the complexity of experimental set-up and time course. This study serves as a critical starting point, demonstrating the feasibility of designing efficient TMS-EEG studies that use a relatively small number of pulses to study pediatric epilepsy and potentially other pediatric groups.

    View details for DOI 10.1038/s41598-024-59468-8

    View details for PubMedID 38641629

    View details for PubMedCentralID PMC11031596

  • Accelerating input-output model estimation with parallel computing for testing hippocampal memory prostheses in human JOURNAL OF NEUROSCIENCE METHODS She, X., Robinson, B., Flynn, G., Berger, T. W., Song, D. 2022; 370: 109492

    Abstract

    Hippocampal memory prosthesis is defined as a closed-loop biomimetic system that can be used for restoration and enhancement of memory functions impaired in diseases or injuries. To build such a prosthesis, we have developed two types of input-output models, i.e., a multi-input multi-output (MIMO) model for predicting output spike trains based on input spikes, and a double-layer multi-resolution memory decoding (MD) model for classifying spatio-temporal patterns of spikes into memory categories. Both models can achieve high prediction accuracy using human hippocampal spikes data and can be used to derive electrical stimulation patterns to test the hippocampal memory prosthesis.However, testing hippocampal memory prostheses in human epilepsy patients with such models has to be performed within a much shorter time window (48-72 h) due to clinical limitations. To solve this problem, we have developed parallelization strategies to decompose the overall model estimation task into multiple independent sub-tasks involving different outputs and cross-validation folds. These sub-tasks are then accomplished in parallel on different computer nodes to reduce model estimation time.Implementing both parallel schemes with a high-performance computer cluster, we successfully reduced the computing time of model estimations from hundreds of hours to tens of hours.We have tested the two parallel computing schemes for both MIMO and MD models with data collected from 11 human subjects. The performances of the parallel schemes are compared with the performance of the non-parallel scheme.Such strategies allow us to complete the modeling procedure within the required time frame to further test input-output model-driven electrical stimulations for the hippocampal memory prosthesis. It has important implications to test the model-based DBS intraoperatively and developing clinically viable hippocampal memory prostheses.

    View details for DOI 10.1016/j.jneumeth.2022.109492

    View details for Web of Science ID 000788139600003

    View details for PubMedID 35104492

  • A Double-Layer Multi-Resolution Classification Model for Decoding Spatiotemporal Patterns of Spikes With Small Sample Size NEURAL COMPUTATION She, X., Berger, T. W., Song, D. 2021; 34 (1): 219-254

    Abstract

    We build a double-layer, multiple temporal-resolution classification model for decoding single-trial spatiotemporal patterns of spikes. The model takes spiking activities as input signals and binary behavioral or cognitive variables as output signals and represents the input-output mapping with a double-layer ensemble classifier. In the first layer, to solve the underdetermined problem caused by the small sample size and the very high dimensionality of input signals, B-spline functional expansion and L1-regularized logistic classifiers are used to reduce dimensionality and yield sparse model estimations. A wide range of temporal resolutions of neural features is included by using a large number of classifiers with different numbers of B-spline knots. Each classifier serves as a base learner to classify spatiotemporal patterns into the probability of the output label with a single temporal resolution. A bootstrap aggregating strategy is used to reduce the estimation variances of these classifiers. In the second layer, another L1-regularized logistic classifier takes outputs of first-layer classifiers as inputs to generate the final output predictions. This classifier serves as a meta-learner that fuses multiple temporal resolutions to classify spatiotemporal patterns of spikes into binary output labels. We test this decoding model with both synthetic and experimental data recorded from rats and human subjects performing memory-dependent behavioral tasks. Results show that this method can effectively avoid overfitting and yield accurate prediction of output labels with small sample size. The double-layer, multi-resolution classifier consistently outperforms the best single-layer, single-resolution classifier by extracting and utilizing multi-resolution spatiotemporal features of spike patterns in the classification.

    View details for DOI 10.1162/neco_a_01459

    View details for Web of Science ID 000730790000008

    View details for PubMedID 34758485

    View details for PubMedCentralID PMC9470026

  • Developing a hippocampal neural prosthetic to facilitate human memory encoding and recall of stimulus features and categories. Frontiers in computational neuroscience Roeder, B. M., She, X., Dakos, A. S., Moore, B., Wicks, R. T., Witcher, M. R., Couture, D. E., Laxton, A. W., Clary, H. M., Popli, G., Liu, C., Lee, B., Heck, C., Nune, G., Gong, H., Shaw, S., Marmarelis, V. Z., Berger, T. W., Deadwyler, S. A., Song, D., Hampson, R. E. 2024; 18: 1263311

    Abstract

    Here, we demonstrate the first successful use of static neural stimulation patterns for specific information content. These static patterns were derived by a model that was applied to a subject's own hippocampal spatiotemporal neural codes for memory.We constructed a new model of processes by which the hippocampus encodes specific memory items via spatiotemporal firing of neural ensembles that underlie the successful encoding of targeted content into short-term memory. A memory decoding model (MDM) of hippocampal CA3 and CA1 neural firing was computed which derives a stimulation pattern for CA1 and CA3 neurons to be applied during the encoding (sample) phase of a delayed match-to-sample (DMS) human short-term memory task.MDM electrical stimulation delivered to the CA1 and CA3 locations in the hippocampus during the sample phase of DMS trials facilitated memory of images from the DMS task during a delayed recognition (DR) task that also included control images that were not from the DMS task. Across all subjects, the stimulated trials exhibited significant changes in performance in 22.4% of patient and category combinations. Changes in performance were a combination of both increased memory performance and decreased memory performance, with increases in performance occurring at almost 2 to 1 relative to decreases in performance. Across patients with impaired memory that received bilateral stimulation, significant changes in over 37.9% of patient and category combinations was seen with the changes in memory performance show a ratio of increased to decreased performance of over 4 to 1. Modification of memory performance was dependent on whether memory function was intact or impaired, and if stimulation was applied bilaterally or unilaterally, with nearly all increase in performance seen in subjects with impaired memory receiving bilateral stimulation.These results demonstrate that memory encoding in patients with impaired memory function can be facilitated for specific memory content, which offers a stimulation method for a future implantable neural prosthetic to improve human memory.

    View details for DOI 10.3389/fncom.2024.1263311

    View details for PubMedID 38390007

    View details for PubMedCentralID PMC10881797

  • Repetitive Transcranial Magnetic Stimulation Modulates Brain Connectivity in Children with Self-Limited Epilepsy with Centrotemporal Spikes Baumer, F. M., She, X., Nix, K., Nix, K., Qi, W. WILEY. 2023: S136-S137
  • Patterned Hippocampal Stimulation Facilitates Memory in Patients With a History of Head Impact and/or Brain Injury FRONTIERS IN HUMAN NEUROSCIENCE Roeder, B. M., Riley, M. R., She, X., Dakos, A. S., Robinson, B. S., Moore, B. J., Couture, D. E., Laxton, A. W., Popli, G., Clary, H. M., Sam, M., Heck, C., Nune, G., Lee, B., Liu, C., Shaw, S., Gong, H., Marmarelis, V. Z., Berger, T. W., Deadwyler, S. A., Song, D., Hampson, R. E. 2022; 16: 933401

    Abstract

    Deep brain stimulation (DBS) of the hippocampus is proposed for enhancement of memory impaired by injury or disease. Many pre-clinical DBS paradigms can be addressed in epilepsy patients undergoing intracranial monitoring for seizure localization, since they already have electrodes implanted in brain areas of interest. Even though epilepsy is usually not a memory disorder targeted by DBS, the studies can nevertheless model other memory-impacting disorders, such as Traumatic Brain Injury (TBI).Human patients undergoing Phase II invasive monitoring for intractable epilepsy were implanted with depth electrodes capable of recording neurophysiological signals. Subjects performed a delayed-match-to-sample (DMS) memory task while hippocampal ensembles from CA1 and CA3 cell layers were recorded to estimate a multi-input, multi-output (MIMO) model of CA3-to-CA1 neural encoding and a memory decoding model (MDM) to decode memory information from CA3 and CA1 neuronal signals. After model estimation, subjects again performed the DMS task while either MIMO-based or MDM-based patterned stimulation was delivered to CA1 electrode sites during the encoding phase of the DMS trials. Each subject was sorted (post hoc) by prior experience of repeated and/or mild-to-moderate brain injury (RMBI), TBI, or no history (control) and scored for percentage successful delayed recognition (DR) recall on stimulated vs. non-stimulated DMS trials. The subject's medical history was unknown to the experimenters until after individual subject memory retention results were scored.When examined compared to control subjects, both TBI and RMBI subjects showed increased memory retention in response to both MIMO and MDM-based hippocampal stimulation. Furthermore, effects of stimulation were also greater in subjects who were evaluated as having pre-existing mild-to-moderate memory impairment.These results show that hippocampal stimulation for memory facilitation was more beneficial for subjects who had previously suffered a brain injury (other than epilepsy), compared to control (epilepsy) subjects who had not suffered a brain injury. This study demonstrates that the epilepsy/intracranial recording model can be extended to test the ability of DBS to restore memory function in subjects who previously suffered a brain injury other than epilepsy, and support further investigation into the beneficial effect of DBS in TBI patients.

    View details for DOI 10.3389/fnhum.2022.933401

    View details for Web of Science ID 000838093800001

    View details for PubMedID 35959242

    View details for PubMedCentralID PMC9358788

  • Accelerating Estimation of a Multi-Input Multi-Output Model of the Hippocampus with a Parallel Computing Strategy. Annual International Conference of the IEEE Engineering in Medicine and Biology Society. IEEE Engineering in Medicine and Biology Society. Annual International Conference She, X., Robinson, B. S., Berger, T. W., Song, D. 2020; 2020: 2479-2482

    Abstract

    To build hippocampal memory prosthesis for restoring memory functions, we previously developed and implemented a multi-input multi-output (MIMO) nonlinear dynamic model of the hippocampus. This model can successfully predict hippocampal output spike activities based on input spike activities, and thus be used to drive microstimulation to bypass the damaged hippocampal region. Building such a MIMO model involves estimations of a large number of model coefficients, which typically takes hundreds of hours using a single personal computer. In practice, however, due to the requirement of medical care and clinical trials, the modeling processes must be completed within 72 hours after the recording, so that models can be used to drive stimulations. To solve this problem, we utilized a parallelization strategy to divide the whole MIMO model computation involving iterative estimation and optimization into independent computing tasks that can be performed simultaneously in multiple computer nodes. Such a strategy was implemented on the high-performance computing cluster at the University of Southern California. It reduced the model estimation time to tens of hours and thus allowed us to complete the modeling process within the required time frame to further test model-driven electrical stimulation for the hippocampal memory prosthesis.

    View details for DOI 10.1109/EMBC44109.2020.9175490

    View details for PubMedID 33018509

  • Developing a hippocampal neural prosthetic to facilitate human memory encoding and recall. Journal of neural engineering Hampson, R. E., Song, D., Robinson, B. S., Fetterhoff, D., Dakos, A. S., Roeder, B. M., She, X., Wicks, R. T., Witcher, M. R., Couture, D. E., Laxton, A. W., Munger-Clary, H., Popli, G., Sollman, M. J., Whitlow, C. T., Marmarelis, V. Z., Berger, T. W., Deadwyler, S. A. 2018; 15 (3): 036014

    Abstract

    We demonstrate here the first successful implementation in humans of a proof-of-concept system for restoring and improving memory function via facilitation of memory encoding using the patient's own hippocampal spatiotemporal neural codes for memory. Memory in humans is subject to disruption by drugs, disease and brain injury, yet previous attempts to restore or rescue memory function in humans typically involved only nonspecific, modulation of brain areas and neural systems related to memory retrieval.We have constructed a model of processes by which the hippocampus encodes memory items via spatiotemporal firing of neural ensembles that underlie the successful encoding of short-term memory. A nonlinear multi-input, multi-output (MIMO) model of hippocampal CA3 and CA1 neural firing is computed that predicts activation patterns of CA1 neurons during the encoding (sample) phase of a delayed match-to-sample (DMS) human short-term memory task.MIMO model-derived electrical stimulation delivered to the same CA1 locations during the sample phase of DMS trials facilitated short-term/working memory by 37% during the task. Longer term memory retention was also tested in the same human subjects with a delayed recognition (DR) task that utilized images from the DMS task, along with images that were not from the task. Across the subjects, the stimulated trials exhibited significant improvement (35%) in both short-term and long-term retention of visual information.These results demonstrate the facilitation of memory encoding which is an important feature for the construction of an implantable neural prosthetic to improve human memory.

    View details for DOI 10.1088/1741-2552/aaaed7

    View details for PubMedID 29589592

    View details for PubMedCentralID PMC6576290

  • Multi-resolution multi-trial sparse classification model for decoding visual memories from hippocampal spikes in human. Annual International Conference of the IEEE Engineering in Medicine and Biology Society. IEEE Engineering in Medicine and Biology Society. Annual International Conference Hampson, R. E., Deadwyler, S. A., Berger, T. W. 2017; 2017: 1046-1049

    Abstract

    To understand how memories are encoded in the hippocampus, we build memory decoding models to classify visual memories based on hippocampal activities in human. Model inputs are spatio-temporal patterns of spikes recorded in the hippocampal CA3 and CA1 regions of epilepsy patients performing a delayed match-to-sample (DMS) task. Model outputs are binary labels indicating categories and features of sample images. To solve the super high-dimensional estimation problem with short data length, we develop a multi-trial, sparse model estimation method utilizing B-spline basis functions with a large range of temporal resolutions and a regularized logistic classifier. Results show that this model can effectively avoid overfitting and provide significant amount of prediction to memory categories and features using very limited number of data points. Stable estimation of sparse classification function matrices for each label can be obtained with this multi-resolution, multi-trial procedure. These classification models can be used not only to predict memory contents, but also to design optimal spatio-temporal patterns for eliciting specific memories in the hippocampus, and thus have important implications to the development of hippocampal memory prostheses.

    View details for DOI 10.1109/EMBC.2017.8037006

    View details for PubMedID 29060053

  • Tracking Neural Modulation Depth by Dual Sequential Monte Carlo Estimation on Point Processes for Brain-Machine Interfaces. IEEE transactions on bio-medical engineering Wang, Y., She, X., Liao, Y., Li, H., Zhang, Q., Zhang, S., Zheng, X., Principe, J. 2016; 63 (8): 1728-41

    Abstract

    Classic brain-machine interface (BMI) approaches decode neural signals from the brain responsible for achieving specific motor movements, which subsequently command prosthetic devices. Brain activities adaptively change during the control of the neuroprosthesis in BMIs, where the alteration of the preferred direction and the modulation of the gain depth are observed. The static neural tuning models have been limited by fixed codes, resulting in a decay of decoding performance over the course of the movement and subsequent instability in motor performance. To achieve stable performance, we propose a dual sequential Monte Carlo adaptive point process method, which models and decodes the gradually changing modulation depth of individual neuron over the course of a movement. We use multichannel neural spike trains from the primary motor cortex of a monkey trained to perform a target pursuit task using a joystick. Our results show that our computational approach successfully tracks the neural modulation depth over time with better goodness-of-fit than classic static neural tuning models, resulting in smaller errors between the true kinematics and the estimations in both simulated and real data. Our novel decoding approach suggests that the brain may employ such strategies to achieve stable motor output, i.e., plastic neural tuning is a feature of neural systems. BMI users may benefit from this adaptive algorithm to achieve more complex and controlled movement outcomes.

    View details for DOI 10.1109/TBME.2015.2500585

    View details for PubMedID 26584486

  • Monte Carlo point process estimation of electromyographic envelopes from motor cortical spikes for brain-machine interfaces. Journal of neural engineering Liao, Y., She, X., Wang, Y., Zhang, S., Zhang, Q., Zheng, X., Principe, J. C. 2015; 12 (6): 066014

    Abstract

    Representation of movement in the motor cortex (M1) has been widely studied in brain-machine interfaces (BMIs). The electromyogram (EMG) has greater bandwidth than the conventional kinematic variables (such as position, velocity), and is functionally related to the discharge of cortical neurons. As the stochastic information of EMG is derived from the explicit spike time structure, point process (PP) methods will be a good solution for decoding EMG directly from neural spike trains. Previous studies usually assume linear or exponential tuning curves between neural firing and EMG, which may not be true.In our analysis, we estimate the tuning curves in a data-driven way and find both the traditional functional-excitatory and functional-inhibitory neurons, which are widely found across a rat's motor cortex. To accurately decode EMG envelopes from M1 neural spike trains, the Monte Carlo point process (MCPP) method is implemented based on such nonlinear tuning properties.Better reconstruction of EMG signals is shown on baseline and extreme high peaks, as our method can better preserve the nonlinearity of the neural tuning during decoding. The MCPP improves the prediction accuracy (the normalized mean squared error) 57% and 66% on average compared with the adaptive point process filter using linear and exponential tuning curves respectively, for all 112 data segments across six rats. Compared to a Wiener filter using spike rates with an optimal window size of 50 ms, MCPP decoding EMG from a point process improves the normalized mean square error (NMSE) by 59% on average.These results suggest that neural tuning is constantly changing during task execution and therefore, the use of spike timing methodologies and estimation of appropriate tuning curves needs to be undertaken for better EMG decoding in motor BMIs.

    View details for DOI 10.1088/1741-2560/12/6/066014

    View details for PubMedID 26468607

  • Clustering and Observation on Neuron Tuning Property for Brain Machine Interfaces She, X., Liao, Y., Li, H., Zhang, Q., Wang, Y., Zheng, X., IEEE IEEE. 2014