A method and system for simulating deep brain region stimulation effect
Through dynamic models of neural circuits based on real-time EEG or functional magnetic resonance imaging data, dynamic adjustment of stimulation parameters and data dimensionality reduction, analysis of activation patterns and functional correlations, solve the problem of insufficient accuracy in stimulation parameter adjustment and effect evaluation in traditional methods. This enables more efficient and personalized treatment strategy development, reducing uncertainty in the treatment process.
Patent Information
- Application Number
- CN202410434093.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-11
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-04-11
AI Technical Summary
Traditional deep brain region stimulation simulation methods do not make full use of real-time data and dynamic models, resulting in stimulation parameter adjustment and effect evaluation that are not agile or accurate enough, lack efficient data processing mechanisms, affect the personalization and prediction accuracy of treatment plans, and increase the time required during treatment. uncertainties and risks.
Using a neural circuit dynamic model based on real-time EEG or functional magnetic resonance imaging data, the stimulation parameters are dynamically adjusted by monitoring changes in neuronal activity, data dimensionality reduction and feature extraction are performed, activation patterns and functional correlations are analyzed, and the optimal stimulation strategy is iteratively screened. Generating predictive models for neurological recovery.
It improves simulation accuracy and real-time performance, optimizes data processing procedures, enhances understanding of the relationship between neural activation patterns and cognitive behavior, promotes the formulation of more personalized and precise treatment strategies, and reduces uncertainty in the treatment process.
Smart Images

Figure CN118335343B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of neural stimulation simulation, and in particular to a method and system for simulating stimulation effects in deep brain regions. Background Art
[0002] The field of neural stimulation simulation technology is an interdisciplinary field that combines knowledge and technology from multiple disciplines such as neuroscience, electronic engineering, computer science and artificial intelligence. Research in this field focuses on understanding and simulating the functions of the brain's nervous system, especially the technology of intervening in specific brain areas through electrical stimulation to observe, predict and improve their functional performance. This simulation method can not only help scientists better understand how the brain works, but also provide an important theoretical basis and technical support for the treatment of various neurological diseases.
[0003] The simulation method of deep brain stimulation effect is a method that uses computational models and simulation technology to predict and analyze the effects of deep brain stimulation on specific brain regions and their neural network functions. Its main purpose is to predict the effects of stimulating specific brain regions through simulation without directly intervening in the human brain. This is of great significance for understanding the mechanism of neurological diseases, evaluating the effectiveness of treatment plans, and optimizing stimulation parameters. In addition, through this simulation method, researchers can safely and efficiently explore and verify new treatment ideas in a virtual environment, providing possible solutions for the treatment of intractable neurological diseases such as Parkinson's disease and depression.
[0004] Traditional methods often fail to fully utilize real-time data and dynamic models, resulting in insufficient agility or precision in adjusting stimulation parameters and evaluating stimulation effects. The lack of efficient data processing mechanisms, especially in dimensionality reduction and feature extraction, ignores key biomarkers and reduces the accuracy of analysis. In addition, the limitations of traditional methods in analyzing the association between activation patterns and functions may lead to a lack of personalization of treatment plans, affecting the prediction and optimization of treatment effects. These deficiencies will lead to reduced adaptability and effectiveness of treatment strategies in actual applications, and increase uncertainty and risk in the treatment process. Summary of the invention
[0005] The purpose of the present invention is to solve the shortcomings of the prior art and to propose a method and system for simulating the effect of deep brain area stimulation.
[0006] In order to achieve the above object, the present invention adopts the following technical scheme: a method for simulating the effect of deep brain area stimulation, comprising the following steps:
[0007] S1: Based on real-time EEG or fMRI data, brain activity signals are collected, converted into numerical information, neurons and neural connections are mapped to nodes and edges of the graph, and a dynamic model of the neural circuit is generated;
[0008] S2: Based on the neural circuit dynamic model, monitor changes in neuronal activity, evaluate stimulation effects, dynamically adjust stimulation parameters, and feed back to the neural circuit dynamic model to obtain optimized stimulation parameters;
[0009] S3: Based on the optimized stimulation parameters, collect the neural activity data after stimulation, perform data dimensionality reduction, map the data to a low-dimensional space, extract the neuron activation pattern features, and obtain a low-dimensional representation of the neuron activation pattern;
[0010] S4: Based on the low-dimensional representation of the neuron activation pattern, analyze and classify the characteristic pattern, compare the cognitive behavior data, identify the association between the pattern and the target cognitive behavior, and generate the activation pattern and function association analysis results;
[0011] S5: Based on the activation pattern and function association analysis results, screen the stimulation parameters that affect neuronal activation, adjust the strategy to optimize the neural stimulation effect, iteratively screen the optimal parameters, and generate the optimal DBS stimulation strategy;
[0012] S6: Based on the optimal DBS stimulation strategy, the simulation strategy is applied to the neural circuit model to evaluate the effect of stimulation on the recovery of neural function, predict the treatment outcome, and obtain a neural function recovery prediction model.
[0013] As a further scheme of the present invention, the neural circuit dynamic model includes a neuron configuration diagram, a connection strength matrix and a directional index, the optimized stimulation parameters include a current regulation scheme, a frequency adjustment strategy and a pulse width selection set, the low-dimensional representation of the neuron activation pattern includes active area coordinates, a frequency range array and time series characteristics, the activation pattern and function association analysis results include a network association diagram, an intensity comparison index and a behavioral association pattern, the optimal DBS stimulation strategy includes a current range scheme, a frequency selection strategy and a pulse width setting set, and the neural function recovery prediction model includes a function improvement probability map, a recovery timeline prediction and a side effect risk assessment.
[0014] As a further solution of the present invention, based on the neural circuit dynamic model, the steps of monitoring changes in neuronal activity, evaluating stimulation effects, dynamically adjusting stimulation parameters, and feeding back to the neural circuit dynamic model to obtain optimized stimulation parameters are specifically as follows:
[0015] S201: Based on the neural circuit dynamic model, monitor changes in neuronal activity, record potential fluctuations and nerve conduction velocity using a microelectrode array, collect activity data, and store the activity data in a time series format to generate a neuronal activity data set;
[0016] S202: Based on the neuron activity data set, using statistical analysis to identify the activity peak, analyzing the change amplitude before and after stimulation, adjusting the intensity and frequency of electrical stimulation according to the change amplitude, and generating an optimized stimulation parameter scheme;
[0017] S203: Based on the stimulation parameter optimization scheme, the output parameters of the electrical stimulation device are adjusted, the response changes of the neural circuit are monitored, and the model parameters are adjusted cyclically, and the activity evaluation and parameter fine-tuning are re-performed to obtain the optimized stimulation parameters.
[0018] As a further solution of the present invention, based on the optimized stimulation parameters, the steps of collecting the neural activity data after stimulation, performing data dimensionality reduction, mapping to a low-dimensional space, extracting the neuron activation pattern features, and obtaining a low-dimensional representation of the neuron activation pattern are specifically as follows:
[0019] S301: applying preset stimulation to the experimental subject based on the optimized stimulation parameters, recording the stimulation response using an electrophysiological sensor, collecting neural activity data, and screening data points based on the response intensity through time series analysis to generate a neural activity data set;
[0020] S302: Using the neural activity data set, performing time series analysis to identify data fluctuations in the active time period, using the FFT method to analyze and identify frequency components, and eliminating data based on activity through fluctuation pattern matching to obtain active neural activity data;
[0021] S303: Applying spatial distribution analysis to the active neural activity data, clustering the spatial locations of neuron activations, analyzing activation patterns of differentiated neurons based on spatial relationships and activity intensities, and obtaining a low-dimensional representation of the neuron activation pattern.
[0022] As a further solution of the present invention, the FFT method adopts the formula
[0023]
[0024] Among them, X′ k is the weighted complex amplitude of the kth frequency component, x n is the nth sample of the time series, S n is the smoothing value of sample n, α is the smoothing factor, V k is the coefficient of variation of frequency k, β is the weight of the coefficient of variation, and N is the total number of samples.
[0025] As a further solution of the present invention, based on the activation pattern and function association analysis results, the stimulation parameters that affect neuronal activation are screened, the strategy is adjusted to optimize the neuronal stimulation effect, the optimal parameters are iteratively screened, and the steps of generating the optimal DBS stimulation strategy are specifically as follows:
[0026] S501: Based on the activation pattern and function association analysis results, data screening is performed, stimulation parameters are selected based on the correlation with neuron activation intensity, and the parameter range is subdivided, and the screened parameters are standardized and integrated into a parameter set in a unified format to obtain a screening parameter set;
[0027] S502: Based on the screening parameter set, an iterative testing framework is used to gradually adjust the parameters of the stimulation intensity and frequency, and the neural response after each adjustment is recorded, and multiple experimental results are compared, and a variance analysis method is used to select an optimized parameter combination based on the neural response;
[0028] S503: Based on the optimized parameter combination, deep brain stimulation is performed, activity changes in the target neural area are monitored, physiological feedback data after the operation is collected, physiological responses in the stimulated area are acquired, neural electrical activity is recorded, patterns of neural function changes are analyzed, data differences before and after stimulation are compared, and the optimal DBS stimulation strategy is iteratively selected.
[0029] As a further embodiment of the present invention, the variance analysis method adopts the formula
[0030]
[0031] Among them, F′ is the improved variance analysis statistic, MS between is the mean square error between groups, MS within is the mean square error within the group, α is the adjustment coefficient of the maximum stimulation intensity, S max is the maximum stimulus intensity recorded in the experiment, β is the adjustment coefficient of the minimum stimulus intensity, S min is the minimum stimulation intensity recorded in the experiment, γ is the influence coefficient of sample size, N is the total number of samples in the experiment, δ is the adjustment coefficient of the experimental days, and D is the number of days required to complete the experiment.
[0032] As a further embodiment of the present invention,
[0033] A deep brain region stimulation effect simulation system, the deep brain region stimulation effect simulation system is used to execute the above-mentioned deep brain region stimulation effect simulation method, the system comprises:
[0034] The signal acquisition and conversion module analyzes the time series based on real-time EEG or fMRI data, extracts the activity area and intensity, converts them into numerical information, screens key features, removes inactive area data, and generates a key feature data set;
[0035] The neural circuit dynamic simulation module maps the active area to the three-dimensional space based on the key feature data set, assigns identifiers to the elements, simulates the neuron response, adjusts the activation frequency and connection strength, and generates a neural circuit dynamic model;
[0036] The stimulation parameter optimization module records the potential fluctuation and conduction velocity based on the dynamic model of the neural circuit to form a data set, identifies the activity peak through time series analysis, adjusts the stimulation intensity and frequency, and generates an optimized stimulation parameter scheme;
[0037] The neuron activation pattern extraction module records the stimulus response, collects the neural activity data, identifies the fluctuation pattern through time series analysis, screens and clusters the data, analyzes the activation pattern, and generates a low-dimensional representation of the neuron activation pattern based on the optimized stimulation parameter scheme;
[0038] The functional association analysis and strategy generation module collects multi-task activation data based on the low-dimensional representation of the neuron activation pattern, analyzes key nodes, extracts representative features, compares cognitive behavior data, identifies behavior mapping relationships and differentiated feature pattern relationships, and generates activation pattern and functional association analysis results.
[0039] Compared with the prior art, the advantages and positive effects of the present invention are:
[0040] In the present invention, the dynamic model construction and parameter adjustment mechanism based on real-time data improve the simulation accuracy and real-time performance. By combining the dynamic model of the neural circuit with real-time electroencephalogram or functional magnetic resonance imaging data, more accurate neural activity monitoring and stimulation effect evaluation are achieved. In addition, by using data dimensionality reduction and feature extraction technology, key information of neural activity can be effectively refined, the data processing process is optimized, and the efficiency and interpretability of the simulation are improved. Through in-depth analysis of the association between activation patterns and functions, the understanding of the relationship between neural activation patterns and cognitive behaviors is enhanced, which promotes the formulation of more personalized and accurate treatment strategies. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 It is a schematic diagram of the workflow of the present invention;
[0042] Figure 2 This is a detailed flow chart of S1 of the present invention;
[0043] Figure 3 This is a detailed flow chart of S2 of the present invention;
[0044] Figure 4 This is a detailed flow chart of S3 of the present invention;
[0045] Figure 5 This is a detailed flow chart of S4 of the present invention;
[0046] Figure 6 This is a detailed flow chart of S5 of the present invention;
[0047] Figure 7 This is a detailed flow chart of S6 of the present invention;
[0048] Figure 8 It is a system flow chart of the present invention. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0050] In the description of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, in the description of the present invention, "multiple" means two or more, unless otherwise clearly and specifically defined.
[0051] Embodiment 1
[0052] See also Figure 1 The present invention provides a technical solution: a method for simulating the effect of deep brain area stimulation, comprising the following steps:
[0053] S1: Based on real-time EEG or fMRI data, brain activity signals are collected, converted into numerical information, neurons and neural connections are mapped to nodes and edges of the graph, and a dynamic model of the neural circuit is generated;
[0054] S2: Based on the dynamic model of neural circuits, monitor changes in neuronal activity, evaluate stimulation effects, dynamically adjust stimulation parameters, and feed back to the dynamic model of neural circuits to obtain optimized stimulation parameters;
[0055] S3: Based on the optimized stimulation parameters, collect the neural activity data after stimulation, perform data dimensionality reduction, map it to a low-dimensional space, extract the characteristics of the neuron activation pattern, and obtain a low-dimensional representation of the neuron activation pattern;
[0056] S4: Based on the low-dimensional representation of neuronal activation patterns, analyze and classify characteristic patterns, compare cognitive behavior data, identify the association between patterns and target cognitive behaviors, and generate activation pattern and function association analysis results;
[0057] S5: Based on the results of the activation pattern and functional association analysis, screen the stimulation parameters that affect neuronal activation, adjust the strategy to optimize the neuronal stimulation effect, iteratively screen the optimal parameters, and generate the optimal DBS stimulation strategy;
[0058] S6: Based on the optimal DBS stimulation strategy, the simulation strategy is applied to the neural circuit model to evaluate the effect of stimulation on neurological function recovery, predict the treatment outcome, and obtain a neurological function recovery prediction model.
[0059] The dynamic model of the neural circuit includes a neuron configuration diagram, a connection strength matrix and a directional index. The optimized stimulation parameters include a current regulation scheme, a frequency adjustment strategy and a pulse width selection set. The low-dimensional representation of the neuron activation pattern includes the active area coordinates, a frequency range array and time series characteristics. The results of the activation pattern and functional association analysis include a network association diagram, an intensity comparison index and a behavioral association pattern. The optimal DBS stimulation strategy includes a current range scheme, a frequency selection strategy and a pulse width setting set. The neural function recovery prediction model includes a functional improvement probability diagram, a recovery timeline prediction and a side effect risk assessment.
[0060] See also Figure 2 , based on real-time EEG or fMRI data, collect brain activity signals, convert them into numerical information, map neurons and neural connections to nodes and edges of the graph, and generate a neural circuit dynamic model in the following steps:
[0061] S101: Based on real-time EEG or fMRI data, by analyzing the time series of each data point, the activity intensity and regional distribution at key moments are extracted and converted into numerical information, and the key characteristic brain activity numerical information is obtained by screening key numerical features and eliminating inactive area data;
[0062] Based on real-time EEG or functional magnetic resonance imaging data, long short-term memory network (LSTM) was used for time series analysis. The LSTM model was built using the TensorFlow library. The input layer dimension was set to dynamically adjust according to the number of data points. The hidden layer used 128 units to capture complex time series features. The output layer dimension was set to the target number of active areas to match the classification task of brain activity. The learning rate was set to 0.001, and Adam was used as the optimizer to adapt to the characteristics of time series data. The loss function used mean_squared_error. The time series analysis of each data point was performed, and the activity intensity and regional distribution at key moments were extracted and converted into numerical information. By screening key numerical features and eliminating inactive area data, the key feature brain activity numerical information was obtained.
[0063] S102: Based on the key characteristic brain activity numerical information, three-dimensional spatial modeling technology is used to locate and map each activity area and neural pathway in the data according to its actual position and direction in the brain, and a unique identifier is assigned to obtain a spatial mapping neural network model;
[0064] Based on the numerical information of key feature brain activity, three-dimensional spatial modeling technology was adopted, and Unity3D software was used to locate and map each active area and neural pathway in the data according to its actual position and direction in the brain by writing C# scripts. A unique identifier was assigned to each active area, including the area number and coordinate position. The script was used to automatically process data input, convert the numerical information into the corresponding position and size in the three-dimensional model, set the rendering parameters to ensure that the visualization effect of the active area was consistent with the actual brain structure, and obtain the spatial mapping neural network model.
[0065] S103: Based on the spatial mapping neural network model, by simulating the responses of multiple neurons and connections under differentiated environmental stimuli, the node activation frequency and connection strength in the model are adjusted to reflect the network dynamics under differentiated neural states, and a neural circuit dynamic model is obtained.
[0066] Based on the spatial mapping neural network model, the neural dynamic simulation technology was used, and the NEURON software package was used to adjust the node activation frequency and connection strength in the model. The initial neuron potential was set to -65mV, and the Hodgkin-Huxley model was used to simulate neuronal electrical activity. The conductivity parameters of various ion channels were adjusted, such as the maximum conductivity of sodium channels and potassium channels were set to 120mS / cm 2 and 36mS / cm 2 , and the conductivity of the leakage current is set to 0.3mS / cm 2 , reflecting the network dynamics under differentiated neural states, and obtaining a neural circuit dynamic model.
[0067] See also Figure 3 Based on the dynamic model of neural circuits, the steps of monitoring changes in neuronal activity, evaluating stimulation effects, dynamically adjusting stimulation parameters, and feeding back to the dynamic model of neural circuits to obtain optimized stimulation parameters are as follows:
[0068] S201: Based on the dynamic model of neural circuits, monitor changes in neuronal activity, use microelectrode arrays to record potential fluctuations and nerve conduction velocity, collect activity data, and store the activity data in a time series format to generate a neuronal activity data set;
[0069] Based on the dynamic model of neural circuits, changes in neuronal activity were monitored. Microelectrode array technology was used, and LabVIEW software was used to record potential fluctuations and nerve conduction velocity. The sampling rate was set to 10 kHz to ensure high temporal resolution, and the electrode spacing was configured to 200 μm to match the neuronal distribution density. A digital filter was used to process the signal, and the filter cutoff frequency was set to 500 Hz to eliminate high-frequency noise. Activity data were collected and stored in a time series format. The HDF5 format was used to generate neuronal activity datasets due to its ability to efficiently process large-scale datasets.
[0070] S202: Based on the neuron activity data set, statistical analysis is used to identify the activity peak, analyze the change amplitude before and after the stimulation, adjust the intensity and frequency of the electrical stimulation according to the change amplitude, and generate an optimized stimulation parameter plan;
[0071] Based on the neuronal activity dataset, statistical analysis was performed using Python's SciPy library to identify activity peaks. The signal threshold was set to twice the average value of the activity data to identify significant activity peaks. The magnitude of change before and after stimulation was analyzed, and the t-test was used to determine the statistical significance of the activity change. The P value was set to 0.05 to determine the significance level. The intensity and frequency of electrical stimulation were adjusted according to the magnitude of change. The intensity adjustment range was set to 0.1 to 5 mA, and the frequency adjustment range was set to 10 to 50 Hz. An optimized stimulation parameter plan was generated.
[0072] S203: Based on the optimized stimulation parameter scheme, the output parameters of the electrical stimulation device are adjusted, the response changes of the neural circuit are monitored, and the model parameters are adjusted cyclically at the same time, and the activity evaluation and parameter fine-tuning are re-performed to obtain the optimized stimulation parameters.
[0073] Based on the optimization stimulation parameter scheme, the output parameters of the electrical stimulation device were adjusted. The Arduino microcontroller was used to adjust the electrical stimulation parameters. C++ code was written to control the current output. The current output range was set to 0.1 to 5 mA, and the frequency range was set to 10 to 50 Hz. Real-time feedback was monitored through serial communication. A real-time operating system RTOS was used to ensure the real-time and accuracy of the task. The response changes of the neural circuits were monitored, and the model parameters were adjusted cyclically. MATLAB was used for activity evaluation and parameter fine-tuning. The cyclic detection interval was set to 1 second to achieve rapid response, and the optimized stimulation parameters were obtained.
[0074] See also Figure 4 Based on the optimized stimulation parameters, the neural activity data after stimulation are collected, the data are reduced in dimension, mapped to a low-dimensional space, and the neuron activation pattern features are extracted. The specific steps for obtaining the low-dimensional representation of the neuron activation pattern are as follows:
[0075] S301: applying preset stimulation to the experimental subject based on the optimized stimulation parameters, recording the stimulation response using an electrophysiological sensor, collecting neural activity data, and filtering data points based on the response intensity through time series analysis to generate a neural activity data set;
[0076] Based on the optimized stimulation parameters, preset stimulation was applied to the experimental subjects, and the stimulation response was recorded using electrophysiological sensors. The Biopac system was used for recording, and the sampling frequency was set to 5 kHz to capture subtle potential changes. A signal amplifier was used to enhance the signal quality and ensure the accuracy of the data. Through time series analysis, the autocorrelation function in the MATLAB software package was used to identify periodic activities. Data points were filtered based on the response intensity, and data points with a maximum response intensity of less than 20% were removed using the threshold filtering method. Neural activity data were collected, and through time series analysis, data points were filtered based on the response intensity to generate a neural activity data set.
[0077] S302: Using the neural activity data set, performing time series analysis, identifying data fluctuations in the active time period, using the FFT method to analyze and identify frequency components, and eliminating data based on activity through fluctuation pattern matching to obtain active neural activity data;
[0078] A neural activity dataset was used to perform time series analysis. The dataset was processed using Python's NumPy and Pandas libraries for data organization and preprocessing. The FFT method was used to analyze and identify frequency components. Waveform matching was performed based on the frequency components. The signal.correlate function in the SciPy library was used for fluctuation pattern matching. The matching threshold was set to 0.8 to filter out highly similar waveforms. Data was eliminated based on activity. The standard deviation method was used to identify and eliminate static or low-activity data segments to obtain active neural activity data.
[0079] The FFT method uses the formula
[0080]
[0081] Among them, X′ k The weighted k The complex amplitude of the frequency component, x n For the time series n samples, S n For sample n The smoothing value, α is the smoothing factor, V k For frequency k The coefficient of variation is β, and β is the weight of the coefficient of variation. N is the total number of samples.
[0082] First, calculate for each sample x n The smoothing value S n, obtained by moving average or other smoothing techniques, and then using the smoothing factor α to adjust the impact of the smoothed value of each sample on the original sample, and then calculating the coefficient of variation V for each frequency component k , which is used to identify the variability in the frequency components and adjust its influence in the final frequency components through the weight β. Finally, the influence of the adjusted samples and the coefficient of variation are combined into the FFT formula to obtain the weighted frequency component X′ k .
[0083] S303: Apply spatial distribution analysis through active neural activity data, cluster according to the spatial location of neuron activation, analyze the activation patterns of differentiated neurons based on spatial relationships and activity intensity, and obtain a low-dimensional representation of the neuron activation pattern.
[0084] Through the active neural activity data, spatial distribution analysis is applied, and the K-means clustering algorithm is executed using Python's sklearn library. The number of clusters is set to be automatically determined according to the data distribution. The Elbow method is used to determine the optimal number of clusters. The Euclidean distance is used as the similarity measure. Clustering is based on the spatial position of neuronal activation. The t-SNE technology is used to reduce the data dimension. The initial dimension is set to the three-dimensional spatial coordinates of the neuron, and the target dimension is set to 2 for easy visualization. Based on the spatial relationship and activity intensity, the activation pattern of differentiated neurons is analyzed to obtain a low-dimensional representation of the neuronal activation pattern.
[0085] See also Figure 5 , based on the low-dimensional representation of neuronal activation patterns, the characteristic patterns are analyzed and classified, cognitive behavior data are compared, the association between identification patterns and target cognitive behaviors is identified, and the steps for generating activation pattern and function association analysis results are as follows:
[0086] S401: Based on the low-dimensional representation of neuron activation patterns, collect activation data of the neural network under multiple tasks, perform data dimensionality reduction by screening key activation nodes, extract representative features, and generate feature extraction maps;
[0087] Based on the low-dimensional representation of neuronal activation patterns, the activation data of the neural network under multiple tasks were collected. Multi-channel electrophysiological recording technology was used, and MATLAB was used for data preprocessing, including denoising and normalization. The cutoff frequency of the low-pass filter for denoising was set to 300 Hz. The normalization process used Z-score standardization to reduce the variability between data. The key activation nodes were screened, and the principal component analysis (PCA) method was used for data dimensionality reduction. The number of principal components retained was set to 90% of the total variance, representative features were extracted, and feature extraction maps were generated.
[0088] S402: Based on the feature extraction graph, key feature patterns are screened and classified, compared with the current cognitive behavior data, the mapping relationship between the pattern and the behavior is captured, and a pattern cognitive association table is obtained;
[0089] Based on the feature extraction graph, key feature patterns were screened and classified. A machine learning classification algorithm was used. The support vector machine (SVM) algorithm was executed using Python's scikit-learn library for pattern classification. The kernel function was set to radial basis function (RBF). The grid search method was used to optimize the parameters C and gamma. The search range of C was set to [0.1, 10] and the search range of gamma was set to [0.001, 0.1] respectively. Compared with the current cognitive behavior data, the Pearson correlation coefficient was used to evaluate the correlation between the pattern and behavior. The significance level P value was set to 0.05 to capture the mapping relationship between the pattern and behavior and obtain the pattern cognitive association table.
[0090] S403: Based on the pattern cognition association table, the connection between multiple characteristic patterns and target cognitive behaviors is analyzed, and by comparing the behavioral differences corresponding to multiple patterns, the connection between the activation pattern and the cognitive function is drawn to generate the activation pattern and function association analysis results.
[0091] Based on the pattern cognition association table, the relationship between multiple characteristic patterns and target cognitive behaviors was analyzed. The multidimensional scaling (MDS) method was used. The MASS package in the R language was used to perform MDS. The target dimension was set to 2 for visual analysis. The behavioral differences corresponding to multiple patterns were compared. The ANOVA test was used to evaluate whether the behavioral differences between different patterns were significant. The significance level was set to a P value less than 0.05. The relationship between the activation pattern and cognitive function was drawn to generate the activation pattern and function association analysis results.
[0092] See also Figure 6 Based on the results of the activation pattern and functional association analysis, the stimulation parameters that affect neuronal activation are screened, the strategy is adjusted to optimize the neuronal stimulation effect, the optimal parameters are iteratively screened, and the steps to generate the optimal DBS stimulation strategy are as follows:
[0093] S501: Based on the results of the activation pattern and function association analysis, data is screened, stimulation parameters are selected based on the correlation with the neuron activation intensity, and the parameter range is subdivided, and the screened parameters are standardized and integrated into a parameter set in a unified format to obtain a screened parameter set;
[0094] Based on the results of the activation pattern and functional association analysis, data screening was performed. Based on the correlation with the intensity of neuronal activation, statistical analysis methods were used. The Pearson correlation coefficient was calculated using Python's SciPy library to screen out stimulation parameters with a correlation with neuronal activation intensity higher than 0.5. The parameter range was subdivided and the quantile method was used to subdivide the parameter range. The parameter range was divided into four equal parts to ensure that the subdivided parameters covered the needs of different activation intensities. The screened parameters were standardized using the Z-score method to ensure that the data were on the same scale and integrated into a parameter set in a unified format. The JSON format was used for storage due to its flexibility and cross-platform compatibility to obtain the screened parameter set.
[0095] S502: Based on the screening parameter set, an iterative testing framework is used to gradually adjust the parameters of the stimulation intensity and frequency, and the neural response after each adjustment is recorded. The results of multiple experiments are compared, and the variance analysis method is used to select the optimal parameter combination based on the neural response;
[0096] Based on the screening parameter set, an iterative testing framework was used to gradually adjust the parameters of stimulation intensity and frequency. LabVIEW software was used to control the stimulation device to adjust the parameters, and the neural response after each adjustment was recorded. Multi-channel electrophysiological recording technology was used to collect data, and the results of multiple experiments were compared. MATLAB was used for data analysis. The variance analysis method was used to compare the response differences under different stimulation conditions. The significance level P value was set to less than 0.05. The optimized parameter combination was selected based on the neural response to ensure that the selected parameter combination could induce a more significant neural response and generate the optimized parameter combination.
[0097] The variance analysis method uses the formula
[0098]
[0099] Among them, F′ is the improved variance analysis statistic, MS between is the mean square error between groups, MS within is the mean square error within the group, α is the adjustment coefficient of the maximum stimulation intensity, S max is the maximum stimulus intensity recorded in the experiment, β is the adjustment coefficient of the minimum stimulus intensity, S min is the minimum stimulation intensity recorded in the experiment, γ is the influence coefficient of sample size, N is the total number of samples in the experiment, δ is the adjustment coefficient of the experimental days, and D is the number of days required to complete the experiment.
[0100] First, the maximum stimulation intensity S_{max} and the minimum stimulation intensity S_{min}, as well as the total number of samples N and the number of days D required to complete all experiments, were determined through experimental records. Then, the mean square error S between groups was calculated. between and the within-group mean square error S withinThen, determine the specific values of the four coefficients α, β, γ, and δ, where α and β can be adjusted according to the range of data variation in the pre-experiment to ensure that changes in stimulus intensity have a reasonable impact on statistics, and γ and δ can be determined based on the impact of sample size and experimental days on data stability. Finally, substitute these parameters and coefficients into the improved formula to calculate the improved F' value, which is used to evaluate the significance of response differences under different stimulation conditions and ensure that the improved parameter combination can more effectively reflect the true results of the experiment.
[0101] S503: Based on the optimized parameter combination, deep brain stimulation is performed to monitor the activity changes in the target neural area, collect physiological feedback data after the operation, collect the physiological response of the stimulated area, record neural electrical activity, analyze the pattern of neural function changes, compare the data differences before and after stimulation, and iteratively select the optimal DBS stimulation strategy.
[0102] Based on the optimized parameter combination, deep brain stimulation was implemented to monitor the activity changes in the target neural area. Microelectrode array technology was used to collect physiological feedback data after the operation, the physiological response of the stimulated area was collected, and the neural electrical activity was recorded. The collected data were preprocessed using NILabVIEW software, including filtering and denoising. A bandpass filter was used with a cutoff frequency set to 1Hz to 100Hz to remove unnecessary high-frequency and low-frequency noise, and the pattern of changes in neural function was analyzed. Time series analysis methods were used to analyze the changes in data before and after stimulation through Python's Pandas and NumPy libraries. The t-test was used to compare the differences before and after stimulation, and the significance level was set to a P value less than 0.05. The optimal DBS stimulation strategy was iteratively selected to ensure that the strategy could most effectively improve the target neural function and generate the optimal DBS stimulation strategy.
[0103] See also Figure 7 Based on the optimal DBS stimulation strategy, the simulation strategy is applied to the neural circuit model to evaluate the effect of stimulation on neural function recovery and predict the treatment outcome. The specific steps to obtain the neural function recovery prediction model are as follows:
[0104] S601: Based on the optimal DBS stimulation strategy, collect data on neuron types, connection modes, and signal propagation characteristics and establish a neural circuit model, simulate signal transmission between neurons, record the initial state of neuronal activity in the model, and obtain a basic neural circuit model;
[0105] Based on the optimal DBS stimulation strategy, data on neuron types, connection patterns, and signal propagation characteristics were collected and a neural circuit model was established. The Hodgkin-Huxley model was used to describe the electrical activity of neurons using NEURON simulation software, and neuron parameters were set, including membrane capacitance of 1 μF / cm 2 , the maximum conductivity of sodium ion channels is 120mS / cm2 The maximum conductivity of potassium ion channels is 36mS / cm 2 , leakage current conductivity is 0.3mS / cm 2 , simulate the signal transmission between neurons, use Python script to control the operation of NEURON software, record the initial state of neuronal activity in the model, and obtain the basic model of neural circuit.
[0106] S602: Using the neural circuit basic model, setting the input parameters of electrical stimulation, including the target frequency and intensity, simulating the response of neurons during DBS stimulation, recording the change data of neuronal activity before and after stimulation, and generating stimulation response data;
[0107] The neural circuit basic model was used to set the input parameters of electrical stimulation, including the target frequency and intensity. MATLAB software was used to simulate the response of neurons during DBS stimulation. The stimulation parameters were set to include a frequency range of 130-180 Hz and an intensity of 0.5-3 mA. MATLAB built-in functions were used to simulate electrical stimulation, and the change data of neuronal activity before and after stimulation were recorded to generate stimulation response data.
[0108] S603: by analyzing the stimulus response data, identifying the change pattern of neuronal activity, recording the stimulus effect, comparing the activity difference before and after the stimulus, evaluating the impact of the stimulus based on the difference, and generating a neurological function recovery effect evaluation;
[0109] By analyzing the stimulus response data, the changing pattern of neuronal activity was identified, and the time series analysis method was used to analyze the stimulation effect using Python's NumPy and Pandas libraries. The activity differences before and after stimulation were compared, and the t-test was used to evaluate the significance of the differences before and after stimulation. The significance level P value was set to less than 0.05, and the impact of the stimulation was evaluated based on the differences to generate an evaluation of the neurological function recovery effect.
[0110] S604: Using the neurological function recovery effect evaluation, a prediction model is constructed, long-term DBS stimulation parameters are input, the effect of stimulation on neurological function recovery is simulated, and the model is adjusted by comparing the model prediction results with the actual data to obtain a neurological function recovery prediction model.
[0111] The prediction model was constructed by using the evaluation of the neurological function recovery effect, and the long-term DBS stimulation parameters were input. The machine learning method was used to establish a linear regression model using Python's scikit-learn library to simulate the effect of stimulation on neurological function recovery. By comparing the model prediction results with the actual data, the cross-validation method was used to adjust the model to ensure the accuracy of the prediction, and a neurological function recovery prediction model was obtained.
[0112] See also Figure 8A deep brain region stimulation effect simulation system, the deep brain region stimulation effect simulation system is used to execute the above-mentioned deep brain region stimulation effect simulation method, the system comprises:
[0113] The signal acquisition and conversion module analyzes the time series based on real-time EEG or fMRI data, extracts the activity area and intensity, converts them into numerical information, screens key features, removes inactive area data, and generates a key feature data set;
[0114] The neural circuit dynamic simulation module maps the active area to three-dimensional space based on the key feature data set, assigns identifiers to elements, simulates neuronal responses, adjusts activation frequency and connection strength, and generates a neural circuit dynamic model;
[0115] The stimulation parameter optimization module is based on the dynamic model of the neural circuit, records the potential fluctuation and conduction velocity, forms a data set, identifies the activity peak through time series analysis, adjusts the stimulation intensity and frequency, and generates an optimized stimulation parameter plan;
[0116] The neuron activation pattern extraction module is based on optimizing the stimulation parameter scheme, recording the stimulation response, collecting neural activity data, identifying the fluctuation pattern through time series analysis, filtering and clustering the data, analyzing the activation pattern, and generating a low-dimensional representation of the neuron activation pattern;
[0117] The functional association analysis and strategy generation module collects multi-task activation data based on the low-dimensional representation of neuron activation patterns, analyzes key nodes, extracts representative features, compares cognitive behavioral data, identifies behavioral mapping relationships and differentiated feature pattern relationships, and generates activation pattern and functional association analysis results.
[0118] The above are only preferred embodiments of the present invention and are not intended to limit the present invention in other forms. Any technician familiar with the profession may use the technical contents disclosed above to change or modify them into equivalent embodiments with equivalent changes and apply them to other fields. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.
Claims
1. A method for simulating deep brain region stimulation effects, characterized in that: The following steps are involved: Based on real-time EEG or fMRI data, brain activity signals are collected, converted into numerical information, neurons and neural connections are mapped to nodes and edges of the graph, and a dynamic model of the neural circuit is generated; The neural circuit dynamic model includes a neuron configuration map, a connection strength matrix, and a directionality index; Based on real-time EEG or fMRI data, the activity intensity and regional distribution at key moments are extracted and converted into numerical information by analyzing the time series of each data point. By screening key numerical features and eliminating inactive area data, the numerical information of key feature brain activity is obtained. Based on the key characteristic brain activity numerical information, three-dimensional spatial modeling technology is used to locate and map each activity area and neural pathway in the data according to its actual position and direction in the brain, and a unique identifier is assigned to obtain a spatial mapping neural network model; Based on the spatial mapping neural network model, by simulating the responses of multiple neurons and connections under differentiated environmental stimuli, the node activation frequency and connection strength in the model are adjusted to reflect the network dynamics under differentiated neural states, thereby obtaining a neural circuit dynamic model; Based on the neural circuit dynamic model, monitor changes in neuronal activity, evaluate stimulation effects, dynamically adjust stimulation parameters, and feed back to the neural circuit dynamic model to obtain optimized stimulation parameters; Based on the optimized stimulation parameters, collecting neural activity data after stimulation, performing data dimensionality reduction, mapping to a low-dimensional space, extracting neuron activation pattern features, and obtaining a low-dimensional representation of the neuron activation pattern; The low-dimensional representation of the neuron activation pattern includes active area coordinates, frequency range arrays, and time series features; Applying preset stimulation to the experimental subject based on the optimized stimulation parameters, recording the stimulation response with an electrophysiological sensor, collecting neural activity data, and screening data points based on the response intensity through time series analysis to generate a neural activity data set; Using the neural activity data set, performing time series analysis to identify data fluctuations within the active time period, using the FFT method to analyze and identify frequency components, and eliminating data based on activity through fluctuation pattern matching to obtain active neural activity data; By applying spatial distribution analysis to the active neural activity data, clustering the spatial locations of neuron activations, analyzing activation patterns of differentiated neurons based on spatial relationships and activity intensities, and obtaining a low-dimensional representation of the neuron activation patterns; Based on the low-dimensional representation of the neuron activation pattern, the characteristic pattern is analyzed and classified, the cognitive behavior data is compared, the association between the recognition pattern and the target cognitive behavior is identified, and the activation pattern and function association analysis results are generated; The activation pattern and function association analysis results include network association diagrams, intensity comparison indicators and behavioral association patterns; Based on the low-dimensional representation of neuron activation patterns, we collect activation data of neural networks under multiple tasks, select key activation nodes, perform data dimensionality reduction, extract representative features, and generate feature extraction maps; Based on the feature extraction map, key feature patterns are screened and classified, compared with current cognitive behavior data, the mapping relationship between patterns and behaviors is captured, and a pattern cognitive association table is obtained; Based on the pattern cognition association table, analyzing the relationship between multiple characteristic patterns and target cognitive behaviors, drawing the relationship between activation patterns and cognitive functions by comparing the behavioral differences corresponding to multiple patterns, and generating activation pattern and function association analysis results; Based on the activation pattern and function association analysis results, the stimulation parameters that affect neuronal activation are screened, the strategy is adjusted to optimize the neuronal stimulation effect, the optimal parameters are screened iteratively, and the optimal DBS stimulation strategy is generated; Based on the optimal DBS stimulation strategy, the simulation strategy is applied to the neural circuit model to evaluate the effect of stimulation on neural function recovery, predict the treatment outcome, and obtain a neural function recovery prediction model.
2. The method for simulating deep brain region stimulation effect according to claim 1, characterized in that: The optimized stimulation parameters include a current regulation scheme, a frequency adjustment strategy and a pulse width selection set, the optimal DBS stimulation strategy includes a current range scheme, a frequency selection strategy and a pulse width setting set, and the neural function recovery prediction model includes a function improvement probability map, a recovery timeline prediction and a side effect risk assessment.
3. The method for simulating deep brain region stimulation effect according to claim 1, characterized in that: Based on the neural circuit dynamic model, the steps of monitoring changes in neuronal activity, evaluating stimulation effects, dynamically adjusting stimulation parameters, and feeding back to the neural circuit dynamic model to obtain optimized stimulation parameters are specifically as follows: Based on the neural circuit dynamic model, monitor changes in neuronal activity, use a microelectrode array to record potential fluctuations and nerve conduction velocity, collect activity data, and store the activity data in a time series format to generate a neuronal activity data set; Based on the neuron activity data set, statistical analysis is used to identify the activity peak, analyze the change amplitude before and after stimulation, adjust the intensity and frequency of electrical stimulation according to the change amplitude, and generate an optimized stimulation parameter scheme; Based on the stimulation parameter optimization scheme, the output parameters of the electrical stimulation device are adjusted, the response changes of the neural circuit are monitored, and the model parameters are adjusted cyclically, and the activity evaluation and parameter fine-tuning are re-performed to obtain the optimized stimulation parameters.
4. The method for simulating deep brain region stimulation effect according to claim 1, characterized in that: The FFT method uses the formula Among them, X k ′ is the weighted complex amplitude of the kth frequency component, x n For the time series n samples, S n For sample n The smoothing value, α is the smoothing factor, V k is the coefficient of variation of frequency k, β is the weight of the coefficient of variation, and N is the total number of samples.
5. The method for simulating deep brain region stimulation effect according to claim 1, characterized in that: Based on the activation pattern and function association analysis results, the steps of screening stimulation parameters that affect neuronal activation, adjusting the strategy to optimize the neuronal stimulation effect, iteratively screening the optimal parameters, and generating the optimal DBS stimulation strategy are as follows: Based on the activation pattern and function association analysis results, data screening is performed, stimulation parameters are selected based on the correlation with neuron activation intensity, and the parameter range is subdivided, and the screened parameters are standardized and integrated into a parameter set in a unified format to obtain a screening parameter set; Based on the screening parameter set, an iterative testing framework is used to gradually adjust the parameters of stimulation intensity and frequency, and the neural response after each adjustment is recorded. The results of multiple experiments are compared, and the variance analysis method is used to select the optimal parameter combination based on the neural response; Based on the optimized parameter combination, deep brain stimulation is performed, activity changes in the target neural area are monitored, physiological feedback data after the operation is collected, physiological responses in the stimulated area are acquired, neural electrical activity is recorded, patterns of neural function changes are analyzed, data differences before and after stimulation are compared, and the optimal DBS stimulation strategy is iteratively selected.
6. The method for simulating deep brain region stimulation effect according to claim 5, characterized in that: The variance analysis method uses the formula Among them, F′ is the improved variance analysis statistic, MS between is the mean square error between groups, MS within is the mean square error within the group, α is the adjustment coefficient of the maximum stimulation intensity, S max is the maximum stimulus intensity recorded in the experiment, β is the adjustment coefficient of the minimum stimulus intensity, S min is the minimum stimulation intensity recorded in the experiment, γ is the influence coefficient of sample size, N is the total number of samples in the experiment, δ is the adjustment coefficient of the experimental days, and D is the number of days required to complete the experiment.
7. A system for simulating deep brain region stimulation effects, characterized in that: According to any one of claims 1 to 6, the method for simulating deep brain area stimulation effects, the system comprising: The signal acquisition and conversion module analyzes the time series based on real-time EEG or fMRI data, extracts the activity area and intensity, converts them into numerical information, screens key features, removes inactive area data, and generates a key feature data set; The neural circuit dynamic simulation module maps the active area to the three-dimensional space based on the key feature data set, assigns identifiers to the elements, simulates the neuron response, adjusts the activation frequency and connection strength, and generates a neural circuit dynamic model; The stimulation parameter optimization module records the potential fluctuation and conduction velocity based on the dynamic model of the neural circuit to form a data set, identifies the activity peak through time series analysis, adjusts the stimulation intensity and frequency, and generates an optimized stimulation parameter scheme; The neuron activation pattern extraction module records the stimulus response, collects the neural activity data, identifies the fluctuation pattern through time series analysis, screens and clusters the data, analyzes the activation pattern, and generates a low-dimensional representation of the neuron activation pattern based on the optimized stimulation parameter scheme; The functional association analysis and strategy generation module collects multi-task activation data based on the low-dimensional representation of the neuron activation pattern, analyzes key nodes, extracts representative features, compares cognitive behavior data, identifies behavior mapping relationships and differentiated feature pattern relationships, and generates activation pattern and functional association analysis results.
