Hybrid containment control strategy improved DBS system based on PPO model

By adopting a hybrid containment strategy of reinforcement learning in the DBS system, combined with the PPO and Leader Rank algorithms, the selection of containment nodes and electrical stimulation parameters are optimized to solve the problems of poor treatment effect and high invasiveness of the existing DBS system, and achieve more accurate and safe neurological disease treatments.

CN118675704APending Publication Date: 2024-09-20FUDAN UNIVERSITY
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410545537.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-06
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

The existing deep brain stimulation (DBS) system lacks personalized and precise control strategies when treating neurological diseases such as Parkinson's disease, resulting in poor treatment effects and high invasiveness to the brain nervous system, and the design of the closed-loop control system is complex. And the response speed is insufficient.

Method used

Adopting a hybrid containment strategy based on reinforcement learning, combined with PPO and Leader Rank algorithms, by establishing a reinforcement learning environment for neural activity data in specific brain areas of patients, optimizing the selection of containment nodes and electrical stimulation parameters, achieving personalized control and dynamic adjustment of the DBS system , precisely controlling specific populations of neurons or nodes to inhibit system synchrony.

Benefits of technology

It improves the accuracy and response speed of treatment, reduces the invasiveness to the brain nervous system, significantly improves synchronization suppression efficiency, and reduces unnecessary energy consumption, providing a safer and more effective treatment plan.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118675704A
    Figure CN118675704A
Patent Text Reader

Abstract

Based on PPO and a Leader Rank algorithm, the invention provides a hybrid containment strategy based on reinforcement learning for improving a DBS system, and the strategy aims to inhibit the overall synchronism of the system and reduce the invasiveness to a cranial nerve system by accurately applying pulse stimulation to a specific node, so that the reliability of the DBS system is improved, and the reliability of the DBS system is improved. Therefore, the effect and precision of treating Parkinson's disease and other nervous system diseases are improved. The selection of the containment nodes is optimized through the Leader Rank algorithm, and the real-time feedback and dynamic adjustment of the DBS treatment process are realized through the PPO algorithm, so that a more personalized and accurate treatment scheme is provided. The method comprises the following steps: S1, establishing a reinforcement learning environment containing neural activity data of a specific brain region of a patient; s2, setting the state and action of the PPO model; s3, designing a reward function and training a PPO model to realize synchronous suppression; step S4, performing calculation by using a Leader Rank algorithm to realize selection and optimization of the contained nodes; s5, implementing a hybrid containment control strategy; step S6, calculating whether the suppression coefficient, the synchronization error and the total output energy conform to the expectation, if so, performing step S7, and otherwise, returning to the step S1; and step S7, integrating the trained PPO model and the hybrid containment control strategy into a DBS system with feedback.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the application of machine learning technology, especially reinforcement learning, to optimize the application of control strategies in medical equipment. Specifically, it involves the PPO (Proximal Policy Optimization) of reinforcement learning and the Leader Rank algorithm of node importance sorting; the Hybrid Pinning Strategy (HPS) proposed in the present invention combines reinforcement learning and pinning control theory, aiming to improve the response sensitivity and treatment accuracy of the DBS system, so as to achieve a more effective treatment method for neurological diseases. Background Art

[0002] Parkinson's disease is the second most common neurodegenerative disease after Alzheimer's disease, affecting about seven million people. The disease is highly prevalent, affecting about 1 to 2 people in every 1,000. Scientists have found that excessive synchronization in brain neural networks is the direct cause of neurological diseases such as epilepsy and Parkinson's disease. In the field of neuroscience, the application of deep brain stimulation (DBS) technology has demonstrated the important medical value of synchronization inhibition theory. DBS applies electrical stimulation to specific areas of the brain to regulate the activity frequency of neurons, thereby inhibiting excessive synchronization phenomena, such as tremors in Parkinson's patients. Currently, DBS systems do not integrate feedback algorithms into their circuit design, and doctors usually adjust the electrode current based on the observation of symptoms. Although the new generation of DBS systems promises to provide feedback functions, the difficulty of experimental research on living human brains still makes it a major challenge to find the best stimulation algorithm through experimental methods. In addition, the large network of interacting neurons is a complex nonlinear system, which requires additional modeling work considering the limitations of hardware and the unknown biological pathways of the disease itself.

[0003] Recent breakthroughs in the exploration of reinforcement learning (RL) have led to an innovative data-driven methodology that can effectively operate on the physical world or complex neural network models without prior knowledge. This achievement has been proven to have unique advantages in analyzing and predicting the behavior of highly complex systems, and related research results have been empirically verified in many fields. Therefore, research on designing feedback algorithms for DBS systems with the support of reinforcement learning is particularly urgent. This interdisciplinary approach can provide new insights into the complexity of neurodegenerative diseases and their manifestations in the human brain, and bring changes to the treatment of diseases and the design of related medical devices.

[0004] Currently, in the exploration of DBS technology, the technologies used for synchronous inhibition include open-loop control and closed-loop control. Open-loop control usually involves a preset stimulation program without feedback, which has a fast dynamic response, but its performance may be affected by noise in actual applications. Continue to write about the shortcomings of closed-loop control. Although closed-loop control can adjust stimulation parameters based on real-time feedback in order to achieve a more stable and precise treatment effect, this control strategy also has certain limitations. The design and implementation of closed-loop control systems are relatively complex, requiring highly accurate sensors to continuously monitor physiological responses, and extremely high requirements for signal processing and feedback mechanisms. In addition, closed-loop systems may affect the treatment effect due to feedback delays, especially when dealing with highly dynamic neural activity, the system's response speed may not keep up with the rate of physiological changes.

[0005] More importantly, whether it is open-loop or closed-loop control, existing DBS systems usually adopt a global stimulation strategy, that is, the control signal is uniformly applied to all electrode nodes without specifically distinguishing the specific needs of different neuronal groups. Although this method simplifies the operation of the system to a certain extent, it also leads to inaccurate control and sometimes even causes unnecessary side effects. In addition, this non-selective global stimulation method may also increase the invasiveness to the human brain because it usually requires higher currents or wider electrode coverage to achieve the desired therapeutic effect. This not only increases the risk of treatment, but may also have long-term negative effects on the patient's brain health. Summary of the invention

[0006] To solve the above problems, the present invention proposes a hybrid control strategy based on reinforcement learning for improving the DBS system based on the PPO and Leader Rank algorithms. The strategy aims to suppress the overall synchronization of the system and reduce the invasiveness to the brain and nervous system by accurately applying pulse stimulation to specific nodes, so as to improve the effect and accuracy of treating Parkinson's disease and other nervous system diseases. By optimizing the selection of control nodes using the Leader Rank algorithm, the present invention can achieve real-time feedback and dynamic adjustment of the DBS treatment process through the PPO algorithm, thereby providing a more personalized and accurate treatment plan. The present invention adopts the following technical solutions:

[0007] The present invention comprises the following steps: step S1, establishing a reinforcement learning environment including neural activity data of a patient's specific brain region; step S2, setting the state and action of a PPO model; step S3, designing a reward function and training the PPO model to achieve synchronous inhibition; step S4, using the Leader Rank algorithm to calculate and achieve the selection and optimization of the containment nodes; step S5, implementing the hybrid containment control strategy; step S6, calculating whether the inhibition coefficient, the synchronization error, and the total output energy meet expectations, and if so, proceeding to step S7, otherwise returning to step S1; step S7, integrating the trained PPO model and the hybrid containment control strategy into a DBS system with feedback.

[0008] The present invention proposes a hybrid containment strategy based on reinforcement learning for improving the DBS system based on PPO and Leader Rank algorithms, and also includes the following technical features. Among them, the step S1 of establishing a reinforcement learning environment containing neural activity data of a patient's specific brain region includes the following technical details: Considering the complex structure of the brain, we regard it as a cluster network composed of interacting sub-networks, where each cluster represents a sub-network, and neurons inside and outside the cluster can establish mutual connections. In order to accurately simulate this complex structure, we introduced a network model (network of networks) containing two-level networks. At the first level, each sub-network is composed of a cluster of neurons connected by electrical synapses and chemical synapses; and at the second level, these sub-networks serve as nodes of another high-level network, where the connections between nodes are based on anatomical or functional criteria. Specifically, at the first level of the model, each sub-network is composed of a cluster of neurons connected by electrical synapses and chemical synapses. Here we chose the BA scale-free network model to construct each sub-network. For the second level of the model, we used a human brain connection matrix based on actual data to express the connections between sub-networks. For each specific neuron model, we use the Bonhoeffer-van der Pol (BVP) model to describe the transmission of electrical stimulation on nerve cells. The neural activity data of a patient's specific brain region can be represented by the following equation:

[0009]

[0010] Where i=1,...,N represents the index of neurons in each sub-network, p=1,...,M represents the index of the sub-network, and x (i,p) and (i,p) Represent the membrane potential and recovery variable of the ith node on the pth subnetwork, respectively. (i,p) is a matrix with variance δ 2 and a Gaussian distribution N(μ,δ 2 ), where μ = 0.6, δ = 0.1, representing the heterogeneity of neurons. is the connection matrix of our secondary network, where i, j represent neurons, and p, d represent cerebral cortical areas.

[0011] Based on the PPO and Leader Rank algorithms, the present invention proposes a hybrid containment strategy based on reinforcement learning for improving the DBS system, and also includes the following technical features. In which, the action A(t) and the state X in step S2 state The action A(t) of the PPO model is designed as a 6-shaped pulse action, whose amplitude is controlled by A max Therefore, for any t = nΔ, n = 1, 2, ...., there is -A max ≤A(t)≤A max The action A(t) is adjusted in each time step, and A(t) should be minimized to minimize the intrusiveness to the system and energy consumption. Define state X state is the set of the most recent M values ​​of X(t), where M is set to 250, and X(t) is the mean of the membrane potential of all neurons, which is used to represent the synchronization of the brain nervous system. This method takes into account the time dependence of the system's oscillatory behavior and provides the agent with a comprehensive view of the system's behavior over a period of time.

[0012] Based on the PPO and Leader Rank algorithms, the present invention proposes a hybrid containment strategy based on reinforcement learning for improving the DBS system, and also includes the following technical features. The reward function of step S3 is designed as:

[0013] R(t)=-(X(t)-X state ) 2 -β|A(t)|,

[0014] The first term of the equation (X(t)-X state ) 2 Quantify the current mean field X(t) of the network and the state X state The square of the difference between state When , it means that the synchronization of the system is weakened, and the square value of this difference will decrease, thus giving the agent a positive reward; the second term of the equation |A(t)| represents the absolute value of the action taken by the agent at time t. Since each action consumes energy and causes a certain degree of intrusion to the system, we use this term to punish excessive actions, and β is the trade-off coefficient between the two. The coefficient β allows us to make a trade-off between synchronization inhibition and energy consumption.

[0015] The present invention proposes a hybrid containment strategy based on reinforcement learning for improving the DBS system based on PPO and Leader Rank algorithms, and also includes the following technical features: wherein, the step S4 uses the Leader Rank algorithm to sort the nodes in the second level of the double-layer network constructed in step S1, which is composed of the human brain connection matrix, and assigns the same rank value to all nodes in the BA subnetwork corresponding to each node.

[0016] The present invention proposes a hybrid containment strategy based on reinforcement learning for improving the DBS system based on PPO and Leader Rank algorithms, and also includes the following technical features. Among them, the containment control strategy of step S5 refers to influencing the behavior of the entire network by precisely controlling specific nodes or node groups in the network, rather than extensively intervening in the entire system. Specifically, 60% of the containment nodes selected by our hybrid containment control strategy are based on some nodes with the highest rank values ​​after sorting in step S4, and the remaining 40% of the nodes are randomly selected from the unselected node set.

[0017] Based on the PPO and Leader Rank algorithms, the present invention proposes a hybrid containment strategy based on reinforcement learning for improving the DBS system, and also includes the following technical features. The suppression coefficient in step S6 is: where std[X before ] is the system state set X before the control is applied before The standard deviation of after ] is the standard deviation of the system state set after the control is applied. Therefore, if the value of S is greater than 1, it means that the synchronization of the system is effectively suppressed after the control is applied. The synchronization error in step S6 is: Here T is a time window for averaging synchronization errors. The total output energy in step S6 is: A total =∑t n |A(t n )|.

[0018] Function and Effect of the Invention

[0019] The present invention provides a novel method for improving the deep brain stimulation (DBS) system by introducing a hybrid control strategy based on the PPO model and the Leader Rank algorithm. The invention not only optimizes the deficiencies in the existing DBS technology, but also proposes a technical solution with the following functions and effects:

[0020] 1. The present invention uses the optimization capability of the PPO model to achieve personalized regulation of the DBS system. By reinforcing the patient's specific neural activity data in the learning environment, a personalized treatment plan is designed for the patient to improve the accuracy and effect of the treatment.

[0021] 2. The Leader Rank algorithm is used to optimize the selection of restraining nodes. Combined with the PPO algorithm, real-time feedback and dynamic adjustment of electrical stimulation parameters during DBS treatment are achieved, effectively improving the flexibility and response speed of treatment.

[0022] 3. The present invention suppresses the synchronization of the entire system by precisely controlling specific neurons or node groups rather than global stimulation, thereby reducing the invasiveness to the brain nervous system while improving the efficiency of synchronous inhibition.

[0023] 4. Since the hybrid containment control strategy precisely targets specific nodes, the present invention significantly reduces the invasiveness to the patient's brain compared to traditional methods. At the same time, the intelligent control strategy also reduces unnecessary energy consumption and is safer for patients. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 This is a flowchart of the PPO model to achieve synchronous inhibition treatment of the brain nervous system

[0025] Figure 2 The figure is a comparison of the three indicators of the hybrid containment strategy (HPS) and the random containment strategy (RPS) of Example 1 of the present invention: (a) the comparison of the suppression coefficient; (b) the comparison of the synchronization error; and (c) the comparison of the total input energy. DETAILED DESCRIPTION

[0026] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, the following is a specific description of the hybrid containment strategy based on reinforcement learning proposed by the present invention based on the PPO and LeaderRank algorithms for improving the DBS system in combination with the embodiments and drawings.

[0027] <Example>

[0028] In this example, our reinforcement learning model is based on the open source Stable Baselines 3. The neural networks of the Critic and Actor parts are based on the Pytorch framework, and the activation function is tanh. In terms of hyperparameter adjustment, the training hyperparameters we set are as follows:

[0029] gamma = 0.99

[0030] ent coef = 0.01

[0031] vf_coef = 0.5

[0032] lam = 0.95

[0033] Noptepoch s = 4

[0034] n_steps = 128

[0035] learning_rate = 0.00025

[0036] max_grad_norm = 0.5

[0037] Minibatch es = 4

[0038] cliprange = 0.2

[0039] The main steps are as follows:

[0040] Step S1, establish a reinforcement learning environment containing the neural activity data of the patient's specific brain region; use the complex network generation framework networkx to generate 90 BA scale-free networks with 50 nodes and an average degree of 4 as sub-networks, and use the OSF open source human brain connection matrix dataset to connect the 90 sub-networks to generate a two-layer network as the reinforcement learning environment;

[0041] Step S2, setting the state and action of the PPO model;

[0042] Step S3, designing a reward function and training a PPO model to achieve synchronous suppression;

[0043] Step S4, using the Leader Rank algorithm to calculate the rank values ​​of the secondary network nodes and sort them;

[0044] Step S5, the hybrid pinning control strategy is implemented, 60% of the pinning nodes are selected from the nodes with the largest rank, and the remaining pinning nodes are randomly selected from the unselected nodes;

[0045] Step S6, calculating whether the suppression coefficient, synchronization error, and total output energy meet expectations, if yes, proceed to step S7, otherwise return to step S1;

[0046] Step S7: Integrate the trained PPO model and the hybrid containment control strategy into the DBS system with feedback.

[0047] In this embodiment, the same proportion of pinning nodes are tested, and the effects on the three indicators of suppression coefficient, synchronization error, and total input energy are tested using a random pinning strategy (RPS) of randomly selecting pinning nodes and a hybrid pinning control strategy (HPS).

[0048] Example Function and Effect

[0049] like Figure 2 As shown, the hybrid containment strategy HPS has significant advantages over RPS in many key performance indicators, including but not limited to a significant reduction in synchronization errors, an enhancement in the system's synchronization suppression capability, and a reduction in the energy consumption required to apply control signals. It is particularly noteworthy that the benefits of the HPS strategy are more prominent when the number of control nodes is small, that is, when the network control density is low. This finding means that under limited intervention resources, the suppression efficiency of the system can be significantly improved through appropriate strategy selection and optimization, which has direct guiding significance for practical application scenarios with limited resources. By accurately balancing the selection of important nodes and random nodes, the hybrid strategy not only optimizes the relationship between control input and effect, but also reduces the need for global intervention in the system, which is particularly important for maintaining the normal operation of other functional areas of the network.

[0050] The above embodiments are only used to illustrate specific implementation modes of the present invention, and the present invention is not limited to the description scope of the above embodiments.

Claims

1. A hybrid control strategy based on PPO and Leader Rank algorithm is used to improve the DBS system. The strategy is characterized by: Step S1, establishing a reinforcement learning environment containing neural activity data of specific brain regions of the patient; Step S2, setting the state and action of the PPO model; Step S3, designing a reward function and training a PPO model to achieve synchronous suppression; Step S4, using Leader Rank algorithm to calculate and implement pinning node selection and optimization; Step S5, implementation of hybrid containment control strategy; Step S6, calculating whether the suppression coefficient, synchronization error, and total output energy meet expectations, if yes, proceed to step S7, otherwise return to step S1; Step S7: Integrate the trained PPO model and the hybrid containment control strategy into the DBS system with feedback.

2. According to claim 1, a hybrid control strategy based on PPO and Leader Rank algorithm is used to improve the DBS system, characterized in that: The human brain network is set as a cluster network composed of interacting subnetworks, where each cluster represents a subnetwork, and neurons inside and outside the cluster can establish mutual connections. A network model (network of networks) containing two levels of networks is introduced; at the first level, each subnetwork is composed of clusters of neurons connected by electrical and chemical synapses; and at the second level, these subnetworks serve as nodes of another high-level network, where the connections between nodes are based on anatomical or functional criteria. Specifically, at the first level of the model, each subnetwork is constructed based on the BA scale-free network model. For the second level of the model, the human brain connection matrix based on actual data is used to express the connections between subnetworks. Each neuron model in the network uses the Bonhoeffer-van der Pol (BVP) model to describe the transmission of electrical stimulation on nerve cells. The neural activity data of a specific brain region of a patient can be represented by the following equation: Where i=1,...,N represents the index of neurons in each sub-network, p=1,...,M represents the index of the sub-network, and x (i,p) and (i,p) Represent the membrane potential and recovery variable of the ith node on the pth subnetwork respectively. (i,p) is a matrix with variance δ 2 and a Gaussian distribution N(μ,δ 2 ), where μ = 0.6, δ = 0.1, representing the heterogeneity of neurons. is the connection matrix of the secondary network, where i, j represent neurons, and p, d represent cerebral cortical areas.

3. The hybrid control strategy based on PPO and Leader Rank algorithm according to claim 1 is used to improve the DBS system, characterized in that: A(t) and state X state The action A(t) of the PPO model is designed as a delta-shaped pulse action, whose amplitude is controlled by A max Therefore, for any t=nΔ,n=1,2,...., there is -A max ≤A(t)≤A max . Define state X state is the set of the most recent M values ​​of X(t), where M is set to 250, and X(t) is the mean of the membrane potential of all neurons, which is used to represent the synchronization of the brain nervous system.

4. The hybrid control strategy based on PPO and Leader Rank algorithm according to claim 1 is used to improve the DBS system, characterized in that: in, The reward function of step S3 is designed as: R(t)=-(X(t)-X state ) 2 -β|A(t)|, The first term of the equation (X(t)-X state ) 2 Quantify the current mean field X(t) of the network and the state X state The second term of the equation |A(t)| represents the absolute value of the action taken by the agent at time t, while β is the trade-off coefficient between the two. The coefficient β allows us to make a trade-off between synchronization inhibition and energy consumption.

5. The hybrid control strategy based on PPO and Leader Rank algorithm according to claim 1 is used to improve the DBS system, characterized in that: in, The step S4 uses the Leader Rank algorithm to sort the nodes in the second level of the double-layer network constructed in step S1, which is composed of the human brain connection matrix, and assigns the same rank value to all nodes in the BA subnetwork corresponding to each node.

6. The hybrid control strategy based on PPO and Leader Rank algorithm according to claim 1 is used to improve the DBS system, characterized in that: in, The control strategy of step S5 refers to influencing the behavior of the entire network by precisely controlling specific nodes or groups of nodes in the network, rather than extensively intervening in the entire system. Specifically, 60% of the nodes selected by the hybrid control strategy are based on the nodes with the highest rank values ​​after sorting in step S4, and the remaining 40% of the nodes are randomly selected from the unselected node set.

7. The hybrid control strategy based on PPO and Leader Rank algorithm according to claim 1 is used to improve the DBS system, characterized in that: in, The suppression coefficient in step S6 is: where std[X before ] is the system state set X before the control is applied before The standard deviation of after ] is the standard deviation of the system state set after the control is applied. Therefore, if the value of S is greater than 1, it means that the synchronization of the system is effectively suppressed after the control is applied. The synchronization error in step S6 is: Here T is a time window for averaging synchronization errors. The total output energy in step S6 is: A total =∑t n |A(t n )|.

Citation Information

Cited By

  • Deep brain stimulation operation curative effect prediction system, medium and equipment

    CN120032892A