Depression recognition and analysis system based on electroencephalogram feature selection

Through the EEG feature selection system, combined with AntLion optimization-multi-agent reinforcement learning algorithm and machine learning model, the problem of subjectivity and feature dependency neglect in the diagnosis of depression in the existing technology is solved, and accurate identification of depression is achieved. and interpretability analysis, improving diagnostic accuracy and efficiency.

CN118614922APending Publication Date: 2024-09-10BEIJING INST OF TECH
View PDF 0 Cites 5 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing depression diagnosis methods rely on subjective assessment and are easily affected by environmental and individual differences. Moreover, EEG feature selection methods have problems with the black box effect and neglect of feature dependencies, making it difficult to achieve effective feature screening and prediction accuracy.

Method used

A depression recognition analysis system based on EEG feature selection is adopted, including data collection, feature extraction and feature fusion recognition modules. The EEG signal is processed through wavelet transform and Kalman filtering, linear and nonlinear features are extracted, and Ant Lion Optimization-Multiple The agent reinforcement learning algorithm performs feature fusion analysis, and is combined with the machine learning model to identify and evaluate depressive disorders to enhance the interpretability of the model.

Benefits of technology

It achieves accurate recognition of depressive symptoms, improves recognition accuracy and feature selection efficiency, balances global and local searches, provides an interpretable tool for depression diagnosis, and reveals the regulation of audio stimulation on internal state transitions in the brain. effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118614922A
    Figure CN118614922A
Patent Text Reader

Abstract

The invention provides a depression recognition analysis system based on electroencephalogram feature selection, which can realize accurate recognition of depression and comprises a data acquisition module, a feature extraction module and a feature fusion recognition module, the data acquisition module is used for acquiring electroencephalogram data and performing data preprocessing; the feature extraction module is used for extracting electroencephalogram linear and nonlinear features from the electroencephalogram data; and the feature fusion recognition module is used for carrying out fusion analysis on the extracted electroencephalogram features and carrying out recognition evaluation on depressive disorder by adopting a model based on machine learning according to the fused features.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of depression disorder identification, and in particular is a depression identification and analysis system based on electroencephalogram feature selection. Background Art

[0002] With the progress and development of society, depression has become a relatively common mental illness. The World Health Organization predicts that by 2030, depression will become the second leading cause of disability and death. In addition, the outbreak and spread of COVID-19 in recent years has led to a rapid increase in the prevalence of depression. Patients with mild depression may experience symptoms such as bad mood, lack of sleep, and mental depression, and patients with severe depression may even have suicidal behavior. For patients with depression, the traditional diagnostic method is usually assessed through a standard scale, that is, the condition is diagnosed through a subjective interview, which is easily affected by environmental and individual differences. With the development of affective computing, EEG, as a non-invasive measurement method of electrophysiological signals with millisecond time resolution, has become a potential tool for studying brain function and cognitive processes in healthy and diseased subjects. Several studies have demonstrated the relationship between depression and EEG signals, indicating its effectiveness as a physiological marker in disease diagnosis. In addition, in the field of EEG signal processing, the selection of EEG features has become a key step, and it is necessary to find important features in subsequent predictive analysis. Effective feature selection helps to reduce feature dimensionality, improve prediction accuracy, and enhance the interpretability of results. However, seeking the best feature subset in a vast feature subset space poses considerable challenges. At the same time, existing methods show obvious shortcomings in elucidating the correlation between models and features, resulting in a significant black-box effect.

[0003] Existing research divides feature selection methods into three main types: (i) filtering methods, such as univariate feature selection and correlation-based feature selection, which prioritize features according to specific scores; (ii) wrapping methods, such as evolutionary algorithms and branch-and-bound algorithms, which identify the optimal feature subset through a search strategy combined with a prediction model; (iii) embedding methods, including LASSO and decision trees, which integrate feature selection into the optimization objective of the prediction task. However, each method exhibits certain advantages and limitations. For example, filtering methods may ignore the dependencies between features and the interactions between feature selection and predictors, while wrapping methods are effective in exploring a wide feature space of N features in 2 NHowever, it is challenging to select a subset of potential features. Embedding methods heavily rely on the structural assumptions inherent in the prediction model. Therefore, effective feature selection requires a comprehensive approach that includes: (i) strategic evaluation of feature importance, (ii) efficient exploration of optimal feature subsets, and (iii) seamless integration with the prediction model. Current research on EEG feature fusion covers a variety of methods, including linear combination methods and methods that combine it with general machine learning. Summary of the invention

[0004] In view of the above-mentioned deficiencies in the prior art, the present invention provides a depression recognition and analysis system based on EEG feature selection.

[0005] In order to achieve the above-mentioned object of the invention, the technical solution adopted by the present invention is:

[0006] A depression recognition and analysis system based on electroencephalogram feature selection, comprising a data acquisition module, a feature extraction module and a feature fusion recognition module;

[0007] A data acquisition module, used for collecting EEG data and performing data preprocessing;

[0008] A feature extraction module, used to extract EEG linear and nonlinear features from the EEG data;

[0009] The feature fusion recognition module is used to perform fusion analysis on the extracted EEG features, and a machine learning-based model is used to identify and evaluate depressive disorders based on the fused features.

[0010] Furthermore, the data acquisition module of the present invention acquires electroencephalographic data of the brain under audio stimulation, and the acquisition electrodes are located on the frontal lobe to acquire EEG signals of the frontal lobe.

[0011] Furthermore, the data acquisition module of the present invention processes EEG signals using wavelet transform and Kalman filtering to remove electrooculographic artifacts.

[0012] Furthermore, the linear features extracted by the feature extraction module of the present invention include the mean, maximum and minimum values ​​of the power spectral density, the extracted nonlinear features include Lempel-Ziv complexity, sample entropy and Rayleigh entropy, and the extracted nonlinear features also include a frontal lobe alpha wave asymmetry index.

[0013] Furthermore, the feature fusion recognition module described in the present invention performs fusion analysis on the extracted EEG features based on the ant lion optimization-multi-agent reinforcement learning algorithm, and uses a machine learning-based model to identify and evaluate depressive disorders based on the fused features.

[0014] Furthermore, the specific process of fusing the extracted EEG features based on the antlion optimization-multi-agent reinforcement learning algorithm described in the present invention is: first, the feature subset is preliminarily screened using the antlion optimization algorithm to obtain an initialized feature subset; secondly, the feature subset is modeled using the multi-agent reinforcement learning algorithm to perform feature fusion analysis.

[0015] Furthermore, the data acquisition module of the present invention is a three-lead EEG sensor, and the fused features include: the mean of the power spectral density in the three leads, the maximum value of the power spectral density in the second lead, the minimum value of the power spectral density in the first and third leads, the sample entropy in the three leads, and the Rayleigh entropy in the first and second leads.

[0016] Furthermore, the machine learning-based model described in the present invention is obtained by feature training using the mean of the power spectral density in the three leads, the maximum of the power spectral density in the second lead, the minimum of the power spectral density in the first and third leads, the sample entropy in the three leads, and the Rayleigh entropy in the first and second leads.

[0017] Furthermore, the present invention also includes an interpretability analysis module, which uses an interpretable artificial intelligence method to enhance the interpretability of model features, and uses a time-delay embedded hidden Markov model to infer the internal state transition of the brain during depression caused by audio stimulation.

[0018] Furthermore, the three-lead EEG sensor described in the present invention is composed of a main board, a non-invasive flexible EEG electrode, an additional electrode and a silicone headband. The non-invasive flexible EEG electrode is located on the silicone headband and is aimed at the frontal lobe to collect EEG signals. The two additional electrodes are placed on the two mastoids respectively as reference electrodes and bias electrodes. The headband and the electrodes are connected magnetically.

[0019] Beneficial effects:

[0020] First, the present invention extracts linear and nonlinear features of EEG, and performs fusion analysis on the extracted EEG features. Based on the fused features, a machine learning-based model is used to identify and evaluate depressive disorders, thereby accurately identifying depression.

[0021] Second, through the applicant's research and analysis, by collecting linear features including the mean, maximum and minimum values ​​of the power spectral density, the extracted nonlinear features include Lempel-Ziv complexity, sample entropy and Rayleigh entropy. The extracted nonlinear features also include the frontal alpha wave asymmetry index. At the same time, the fused features obtained after fusion analysis of the features include: the mean of the power spectral density in the three leads, the maximum value of the power spectral density in the second lead, the minimum value of the power spectral density in the first and third leads, the sample entropy in the three leads and the Rayleigh entropy in the first and second leads. The features obtained by the above fusion analysis are strongly correlated with depressive symptoms, and the identification and evaluation of depressive disorders using the above-mentioned related signals and a machine learning-based model has higher accuracy.

[0022] Third, the present invention adopts the Ant Lion Optimization-Multi-agent Reinforcement Learning joint algorithm for EEG feature fusion. This algorithm balances global and local searches to extract the most representative feature set, that is, it can achieve satisfactory recognition results on a relatively small feature subset.

[0023] Fourth, in order to explain the results of the model, the present invention uses an interpretable artificial intelligence technology based on a post hoc method to directly explain the model's recognition results for depression features. The classification model is post-interpreted to clarify which features have a stronger impact on the classification task and reveal the important factors affecting depression recognition. Through interpretable artificial intelligence technology, the present invention further clarifies the key impact of some EEG features, such as power spectral density, sample entropy, and Rayleigh entropy, on depression recognition, which provides an ideal tool for auxiliary diagnosis of depression.

[0024] Fifth, further research was conducted on the internal state transitions of the brains of depressed patients stimulated by audio to reveal the regulatory effects of external stimulation and further explain the results of depression identification. The results obtained can provide in-depth understanding of how audio stimulation improves brain cognition by regulating the internal state transitions of the brain, and explain the results of depression identification, further revealing the depression activation mechanism, and providing important insights for the clinical application of artificial intelligence algorithms in depression identification. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0026] Figure 1 A schematic diagram of a depression recognition system based on electroencephalogram feature selection according to an embodiment of the present invention;

[0027] Figure 2 A schematic diagram of a portable three-lead EEG sensor device provided in an embodiment of the present invention;

[0028] Figure 3 It is an algorithm flow chart of feature fusion analysis based on the ant lion optimization-multi-agent reinforcement learning joint algorithm in an embodiment of the present invention;

[0029] Figure 4 A box plot of the contribution of the explainable artificial intelligence method provided by the embodiment of the present invention to the EEG feature explanation;

[0030] Figure 5 An average probability sequence diagram of the modeling results of the hidden state of the brain by the time-delay embedded hidden Markov model provided by the embodiment of the present invention;

[0031] Figure 6 A probability matrix of the internal state transition of the brain of a depressed patient under audio stimulation provided by an embodiment of the present invention;

[0032] Figure 7 A topological diagram of the internal state transition of the brain of a depressed patient under audio stimulation provided by an embodiment of the present invention. Specific implementation plan

[0033] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0034] It should be noted that the following embodiments and features in the embodiments may be combined with each other in the absence of conflict; and, based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making any creative work are within the scope of protection of the present disclosure.

[0035] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein may be implemented independently of any other aspect, and two or more of these aspects may be combined in various ways. For example, any number of aspects described herein may be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein may be used to implement this device and / or practice this method.

[0036] like Figure 1 As shown, an embodiment of the present invention provides a depression recognition and analysis system based on electroencephalogram feature selection, comprising:

[0037] A data acquisition module, used for collecting EEG data and performing data preprocessing;

[0038] A feature extraction module, used to extract EEG linear and nonlinear features from the EEG data;

[0039] The feature fusion recognition module is used to perform fusion analysis on the extracted EEG features and use a machine learning-based model to identify and evaluate depressive disorders based on the fused features.

[0040] The interpretability analysis module is used for interpretability analysis of the model. It uses interpretable artificial intelligence methods to enhance the interpretability of model features and uses a time-delay embedded hidden Markov model to infer the internal state transitions of the brain during depression induced by audio stimulation.

[0041] In the embodiment of the present application, the data acquisition module can be implemented by using a portable three-lead EEG sensor currently available on the market. In the embodiment of the present application, the data acquisition module can also be implemented by using a portable three-lead EEG sensor device developed by the Key Laboratory of Brain Health Intelligent Assessment and Intervention of the Ministry of Education of Beijing Institute of Technology, such as Figure 2 As shown. The three-lead EEG sensor consists of a main board, disposable non-invasive flexible EEG electrodes, and a medical-grade silicone headband. The electrodes are located on the frontal lobe (Fp1, Fpz, Fp2) to collect EEG signals. In addition, two additional electrodes are placed on the two mastoids (A1 and A2) to serve as reference and bias electrodes. The headband and electrodes are magnetically connected for easy installation.

[0042] Specifically, 72 seconds of audio stimulation EEG data were collected at the frontal electrode position with a sampling rate of 250 SPS. In order to eliminate baseline drift and high-frequency interference in the original EEG signal, a 500-order finite impulse response (FIR) filter with a passband of 0.1 to 45 Hz was used. At the same time, since the electrodes (Fp1, Fpz, and Fp2) are located close to the eyes, electrooculographic artifacts will inevitably be collected. Therefore, a model combining discrete wavelet transform and Kalman filtering was used to remove electrooculographic artifacts.

[0043] In the embodiment of the present application, the feature extraction module performs feature extraction on the preprocessed EEG data. Due to the non-stationary and random characteristics of EEG signals, a single feature is not enough to fully describe the EEG information. Therefore, the present invention extracts a total of 7 different types of features, including linear and nonlinear features. The extracted linear features include the mean, maximum and minimum values ​​of the power spectral density (PSD), and the extracted nonlinear features include frontal lobe alpha wave asymmetry, Lempel-Ziv complexity (LZC), sample entropy (SampEn) and Rayleigh entropy (RenEn).

[0044] Specifically, 3×6 dimensional EEG features were obtained from the Fp1, Fpz and Fp2 electrode positions, including the mean, maximum and minimum values ​​of the power spectral density, as well as Lempel-Ziv complexity (LZC), sample entropy and Rayleigh entropy. In addition, with the frontal alpha wave asymmetry index, a total of 19 features were extracted, which allows for a more detailed and comprehensive analysis of the EEG.

[0045] In the embodiment of the present application, the feature fusion recognition module uses the ant lion optimization algorithm and the multi-agent reinforcement learning joint algorithm to perform fusion analysis on the extracted EEG features. Subsequently, a machine learning-based model is used to identify and evaluate depressive disorders based on the fused features to assess the subject's depressive mental state. The embodiment of the present application adopts a feature selection method based on the packaging method, integrates the feature selection step into the model evaluation process, and regards feature selection as a means to find the optimal solution for the model.

[0046] Specifically, Figure 3 As shown in the figure, a novel algorithm called Ant Lion Optimization-Multi-agent Reinforcement Learning Algorithm is introduced. First, the feature subset is preliminarily screened using the Ant Lion Optimization Algorithm to obtain an initialized feature subset; secondly, the feature subset is modeled using the Multi-agent Reinforcement Learning Algorithm for feature fusion analysis; finally, the hyperparameters of the machine learning classifier are optimized through a grid search strategy to finally complete the depression identification task. The specific process is:

[0047] By mathematically simulating the behavior of antlions capturing prey to find the optimal solution to a given problem, this study aims to find the optimal feature subset for subsequent feature modeling of multi-agent reinforcement learning. The hunting simulation of antlions (AL) is described by moving ants (AN) to a search space where antlions can trap them and become better fit. To simulate this idea, ants need to randomly wander where antlions are so that they can be captured and eaten by antlions.

[0048] Initially, the position of the antlion is randomly chosen within the search space of the problem. Then, the ant (AN l ) is a random walk around the ant lion (AL j ) is performed, which is defined as follows:

[0049]

[0050] Where t represents the current iteration, T is the maximum number of iterations, and r is a random variable, which is given as follows:

[0051]

[0052] Here, rand represents a real value generated uniformly randomly in the range [0,1]. Therefore, the random walk of the ants represents the cumulative sum of random variables up to t iterations. In addition, min-max normalization is used to restrict the random walks of these ants to the search boundary of the problem, as shown below:

[0053]

[0054] Among them, a i and b i denote the lower and upper limits of the random walk’s i-th dimension, respectively. and are the lower and upper bounds of the i-th dimension at the t-th iteration.

[0055] In each iteration, the lower and upper bounds are updated to simulate the situation where an ant is trapped in an antlion pit. For an ant (AN l ), defined as follows:

[0056]

[0057] in, represents the position of the jth antlion selected at the tth iteration to trap ants around it, and denote the lower and upper bounds of the i-th dimension of the l-th ant at the t-th iteration, respectively. Ant lions hunt by digging traps and then the prey slides into the pit. This behavior is represented by adaptively reducing the radius of the ant's walk, as shown below:

[0058]

[0059] Among them, g i is the lower bound of the i-th dimension of the given problem, h i is the upper limit of the i-th dimension of a given problem, and I is the ratio, defined as:

[0060]

[0061] where w is a parameter that helps adjust the degree of exploitation. The new positions of the ants are updated through elitism, a technique used in optimization algorithms to keep the best solution in each iteration. It involves an elite antlion colony (AL) with the most suitable solution, that is, the best fitness. ET ) and an antlion colony selected by a roulette strategy (AL RW). The elite antlion affects the movement of all ants, while the antlion group selected by the roulette strategy only affects the movement of nearby ants. The new position of the ant is determined by calculating the average of random walks around the elite and the selected antlion. However, the averaging operation is not encouraged, and instead a mixed crossover operation (BLX) is used to determine the new position of the ant. This crossover operation has been implemented in many evolutionary algorithms to achieve good results in the global exploration of solutions. The BLX operation is superior to the averaging operation because the updated solution is randomly generated within the uniformly expanded search range of random walks around the elite and the selected antlion. In contrast, the averaging operation gives a deterministic updated solution that represents the midpoint of the ant's bypass of the elite and the selected antlion. Let represents the normalized random walk of the lth ant around the jth antlion in the tth iteration. Then, the BLX operation is given as follows:

[0062]

[0063]

[0064] Where m is η is a constant that controls the exploration and exploitation of the search space. 1 and x 2 A uniform random number is chosen to determine the new position of the ant as follows:

[0065] Sn=rand(x 1 ,x 2 )

[0066] For the feature weighting method of the continuous search problem, let For feature subset selection, a sigmoid transfer function is used to convert real values ​​into binary values ​​to select or reject features. The output of the function is compared with a random number generated in the interval [0,1] to achieve the conversion, and the result is given as follows:

[0067]

[0068] If you want to get a better solution, you need to determine the adaptability of the current solution to update the global optimal solution. This is equivalent to the ant lion eating the prey and setting a new trap for the next prey, which is defined as follows:

[0069]

[0070] Among them, f represents the fitness function, which is determined by the classification indicators measured by the classifier, such as accuracy, recall, precision and F1 value, given as follows:

[0071]

[0072] Multi-Agent Reinforcement Learning (MARL) is a machine learning method that simulates multiple agents learning and interacting in a common environment. It is a branch of reinforcement learning. In MARL, agents receive feedback by performing actions or interacting with the environment. The feedback can be rewards or penalties. Agents use these feedback signals to adjust their behavior in order to obtain higher rewards in the future.

[0073] In this process, each agent can not only observe its own behavior and environment, but also observe the behavior of other agents, and choose and execute its own actions based on this information. These actions will change the environment, thereby affecting the decisions of other agents. In MARL, each agent has its own goals, which can be to maximize its own rewards, minimize losses, or improve overall fitness.

[0074] This learning method can be applied to a variety of problem areas, such as multi-objective optimization, distributed control, and multi-task scheduling. Through the collaboration and competition of multiple agents, MARL can solve many complex practical problems.

[0075] CLEAN Rewards is defined as the difference between the global reward obtained when the agent performs exploratory behavior and all agents perform greedy behavior and the global reward obtained when each agent performs greedy behavior. The formula is expressed as:

[0076] C i =G(aa i +c i )-G(a)

[0077] Here G(a) is the global feature of all agents when they make greedy choices. i +c i ) is a counter or offline reward. If the agent takes the reverse action c i Rather than a i , the other agents make greedy behavior choices, then each agent updates the q value using the following method:

[0078] Q(c i )←Q(c i )+α(C i -Q(c i ))

[0079] This application abstracts the feature selection problem into a multi-agent optimization problem. The core idea is to assign an agent to each feature so that the number of features is the same as the number of agents. Each agent can perform two operations: "0" and "1". Operation "0" means that the feature is "disabled", that is, it is not included in the feature subset; operation "1" means that the feature is "enabled", that is, it is included in the feature subset. Therefore, all features that have performed the "1" operation will constitute a feature subset.

[0080] Feature selection is a multi-objective problem, which is to improve classification performance (such as accuracy or F1 score) while reducing the size of feature subsets. It should be noted that these two goals may conflict with each other, because reducing the number of features may lead to the loss of valuable information.

[0081] Assuming the size of the feature subset is s, the upper limit of the subset size is k, and the corresponding classification performance is P, the reward function is proposed:

[0082]

[0083] Where k represents the maximum number of features allowed and s represents the subset size. Here, if the number of features in the subset is greater than the specified number of features, i.e., k, a penalty is imposed.

[0084] The main advantage of the multi-agent principle is that it can realize distributed computing and parallel processing, so as to better cope with large-scale and complex problems. In addition, the multi-agent principle can also promote the diversity and robustness of learning algorithms. When using the multi-agent idea for feature selection, each feature is assigned to an agent, whose task is to decide whether the feature should be included in the final feature subset.

[0085] In a multi-agent reinforcement learning algorithm, each agent observes the environment, i.e., the decisions of other agents and the effects of the current feature subset, and chooses its own actions accordingly. Each agent has two choices: "0" and "1". Choosing "0" means that the agent decides not to include the current feature in the feature subset, and choosing "1" means that the agent decides to include the current feature in the feature subset.

[0086] Then, based on the decisions of all agents, the size of the feature subset and the corresponding classification performance are calculated. If the size of the feature subset exceeds the preset maximum value, all agents that choose "1" will be punished; otherwise, they will be rewarded. The reward function is designed to guide the agents to reduce the size of the feature subset as much as possible while improving the classification performance.

[0087] In this antlion optimization-multi-agent reinforcement learning algorithm, the reinforcement learning method is used, the parameters α=0.2, ε=0.5, α_(decay_rate)=0.995 and ε_(decay_rate)=0.995 are fixed, and the number of training models is set to 100 times. In addition, the number of independent executions is set to 10 times. At the same time, the model training is performed with a training-test set ratio of 8:2.

[0088] In each independent execution, the parameter setting details of the Antlion Optimization algorithm remain the same to obtain the results. In addition, the population size (i.e., the number of independent executions) and the maximum number of iterations are set to 20 and 100, respectively. In addition, the performance of the model is evaluated using the 10-fold cross validation method. This method involves splitting the training dataset into 10 subsets, retaining one for model validation, and using the remaining nine for training. This process is performed ten times, resulting in ten different models. The overall model performance is determined by averaging the results obtained from these ten iterations.

[0089] The feature fusion analysis is performed through the Ant Lion Optimization-Multi-agent Reinforcement Learning Algorithm. The process mainly uses the Ant Lion Optimization Algorithm to perform preliminary feature subset screening, and the obtained subset is used as the initial state of the subsequent multi-agent reinforcement learning. The subsequent feature selection problem is modeled as a reinforcement learning problem, in which each feature corresponds to an agent and the action is binary (0 or 1). Here, 0 means excluding the feature and 1 means selecting the feature. Subsequently, through the interaction between the agent and the environment, an optimized feature subset is obtained to achieve better classification performance. At the same time, the algorithm can achieve satisfactory recognition results with a relatively small feature subset.

[0090] In the case of feature selection using the algorithm and using a machine learning classifier for depression identification, after 10 independent executions, 8 features were excluded from the model and 11 features were retained. These features included the mean of the power spectral density in all 3 leads, the maximum value of the power spectral density in the second lead, the minimum value of the power spectral density in the first and third leads, the sample entropy in all 3 leads, and the Rayleigh entropy in the first and second leads, which were used to improve the classification results of the model. Subsequently, these features were used to improve the classification effect of the model and perform post-model interpretation.

[0091] The machine learning classifiers used include k-Nearest Neighbour (k-NN), Support Vector Machine (SVM), Naive Bayes (NB), Decision Tree (DT), Random Forest (RF) and eXtreme Gradient Boosting (XGBoost).

[0092] In recent years, Explainable Artificial Intelligence (XAI) has become one of the hot topics to overcome the uninterpretability of machine learning, especially deep learning methods, and to propose strategies to understand the results of machine learning algorithms. Generally, interpretable methods are divided into two types: ex ante methods and ex post methods. For ex ante methods, it is usually directly incorporated into the model structure, such as linear regression; for ex post methods, it explains the results predicted by the model based on easy-to-interpret content. Among them, classic sorting-based algorithms are often used in combination with machine learning, such as the permutation feature importance method (PFI). In addition, there are some advanced local surrogate methods that aim to replace the decision function with a directly interpretable local surrogate model (such as SHapley Additive explanation, SHAP).

[0093] In the embodiment of the present application, the present invention also includes an interpretability analysis module, which uses two interpretable artificial intelligence methods, Permutation Feature Importance (PFI) and SHapley Additive exPlanation (SHAP), for post-model interpretation. These two different methods are applied to explain model classification and quantify feature importance. Subsequently, the time-delay embedded hidden Markov model was used to infer the internal brain state transitions of depressed patients under audio stimulation, and brain activity was modeled as a transition between a set of states.

[0094] from Figure 4 It can be seen that three features contribute the most to the model compared to other features, among which the PSD minimum value in the third lead is the highest, followed by SampEn in the second lead. This indicates that these features are important for identifying depression.

[0095] The number of states of the time-delay embedded hidden Markov model is a hyperparameter that needs to be determined before model training. After multiple experiments, the present invention found that 7 hidden states can fully describe the brain activity process under different audio stimuli. Next, the model was used to analyze the internal state transition under various audio stimuli.

[0096] Figure 5 The average probability sequence of the 7 HMM states over 12 time periods is shown (the 12 time periods alternated between a 6-second rest state and a 6-second audio stimulation state).

[0097] At the beginning, states 4, 5, and 6 had the highest probability of occurrence, while states 1, 2, 3, and 7 had the lowest probability. As the audio stimulation progressed, the probabilities of states 4, 5, and 6 decreased, while the probabilities of states 2, 3, and 7 increased as the resting state turned into the stimulated state. During stages 1-4 (neutral audio stimulation), state 3 had the highest probability of occurrence, while states 2, 5, 6, and 7 had similar probabilities. During stages 5-8 (negative audio stimulation), state 3 continued to increase, and in the last stage, state 2 was equal to state 3, while states 7 and 5 fluctuated. During stages 9-12 (positive audio stimulation), state 2 had surpassed state 3 to become the most common state, while states 7 and 5 tended to converge, state 6 continued to decrease, and state 1 tended to increase, indicating its enhanced regulatory effect, accelerating internal state transitions, while state 4 appeared the least frequently.

[0098] The present application embodiment provides an interpretable analysis method for depression identification based on electroencephalogram feature selection, and the specific process is as follows:

[0099] S1: Collect EEG data through a portable three-lead EEG sensor and perform data preprocessing;

[0100] S2: Perform feature extraction on the preprocessed EEG data to extract the linear and nonlinear features of EEG;

[0101] S3: The ant lion optimization algorithm and the multi-agent reinforcement learning algorithm are used to fuse and analyze the extracted EEG features. Then, a machine learning-based model is used to identify and evaluate depressive disorders based on the fused features to assess the depressive mental state of the subjects;

[0102] S4: We used explainable AI methods to enhance the interpretability of model features and used a time-delay embedded hidden Markov model to infer the internal brain state transitions during audio stimulation-induced depression.

[0103] The present invention uses a feature selection method based on the packaging method to integrate the feature selection step into the model evaluation process, and regards feature selection as a means to find the optimal solution of the model. The present invention introduces a novel algorithm called the Ant Lion Optimization-Multi-Agent Reinforcement Learning Algorithm. The algorithm combines the Ant Lion Optimization Algorithm and the Multi-Agent Reinforcement Learning Algorithm, obtains brain activity information through prefrontal EEG, uses innovative algorithms for feature extraction and feature selection, conducts an objective mental state assessment of depressed patients, and finally performs an interpretability analysis on the depression recognition results, providing an interpretability basis for disease diagnosis.

[0104] also, Figure 6 The state transition probability matrix presented in shows that there are considerable transition probabilities between states in different stimulation phases and resting state phases. State 1 can be used as a regulating factor to smooth the transition to different audio stimulation phases. These results are consistent with the above analysis. Based on the state transition probability matrix, the topological diagram is obtained, as shown in Figure 7 shown.

[0105] The six classification models based on machine learning algorithms adopted in this application, including k-Nearest Neighbour classification algorithm (k-NN), support vector machine (SVM), naive Bayes classifier (Naive Bayes, NB), decision tree classification algorithm (Decision Tree, DT), random forest classification algorithm (RandomForest, RF) and extreme gradient boosting tree (eXtreme Gradient Boosting, XGBoost), have shown significant improvement in depression recognition performance.

[0106] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A depression recognition and analysis system based on electroencephalogram feature selection, characterized in that: It includes data acquisition module, feature extraction module and feature fusion recognition module; A data acquisition module, used for collecting EEG data and performing data preprocessing; A feature extraction module, used to extract EEG linear and nonlinear features from the EEG data; The feature fusion recognition module is used to perform fusion analysis on the extracted EEG features, and a machine learning-based model is used to identify and evaluate depressive disorders based on the fused features.

2. The depression recognition and analysis system based on EEG feature selection according to claim 1, characterized in that: The data acquisition module acquires the brain electrical data under audio stimulation, and the acquisition electrode is located on the frontal lobe to acquire the EEG signal of the frontal lobe.

3. The depression recognition and analysis system based on EEG feature selection according to claim 2 is characterized in that: The data acquisition module processes the EEG signal using wavelet transform and Kalman filtering to remove electrooculographic artifacts.

4. The depression recognition and analysis system based on EEG feature selection according to claim 2 or 3, characterized in that: The linear features extracted by the feature extraction module include the mean, maximum and minimum of the power spectrum density, the nonlinear features extracted include Lempel-Ziv complexity, sample entropy and Rayleigh entropy, and the extracted nonlinear features also include the frontal lobe alpha wave asymmetry index.

5. The depression recognition and analysis system based on EEG feature selection according to claim 1, characterized in that: The feature fusion recognition module performs fusion analysis on the extracted EEG features based on the Ant Lion Optimization-Multi-Agent Reinforcement Learning algorithm, and uses a machine learning-based model to identify and evaluate depressive disorders based on the fused features.

6. The depression identification and analysis system based on EEG feature selection according to claim 5, characterized in that: The specific process of fusing the extracted EEG features based on the antlion optimization-multi-agent reinforcement learning algorithm is as follows: first, the feature subset is preliminarily screened using the antlion optimization algorithm to obtain an initialized feature subset; second, the feature subset is modeled using the multi-agent reinforcement learning algorithm to perform feature fusion analysis.

7. The depression identification and analysis system based on EEG feature selection according to claim 1, characterized in that: The data acquisition module is a three-lead EEG sensor, and the fused features include: the mean of the power spectral density in the three leads, the maximum value of the power spectral density in the second lead, the minimum value of the power spectral density in the first and third leads, the sample entropy in the three leads, and the Rayleigh entropy in the first and second leads.

8. The depression identification and analysis system based on EEG feature selection according to claim 7, characterized in that: The machine learning-based model is obtained by feature training using the mean of the power spectral density in the three leads, the maximum of the power spectral density in the second lead, the minimum of the power spectral density in the first and third leads, the sample entropy in the three leads, and the Rayleigh entropy in the first and second leads.

9. The depression recognition and analysis system based on EEG feature selection according to claim 1, characterized in that: It also includes an interpretable analysis module, which uses explainable artificial intelligence methods to enhance the interpretability of model features and uses a time-delay embedded hidden Markov model to infer the internal brain state transitions during depression induced by audio stimulation.

10. The depression recognition and analysis system based on EEG feature selection according to claim 7, characterized in that: The three-lead EEG sensor consists of a main board, non-invasive flexible EEG electrodes, additional electrodes and a silicone headband. The non-invasive flexible EEG electrodes are located on the silicone headband and are aimed at the frontal lobe to collect EEG signals. The two additional electrodes are placed on the two mastoids respectively as reference electrodes and bias electrodes. The headband and the electrodes are connected magnetically.

Citation Information

Cited By

  • Neurocognitive function evaluation method and device based on artificial intelligence

    CN119385509A

  • A neurocognitive function assessment method and device based on artificial intelligence

    CN119385509B

  • Differential evolution feature selection-based depression identification method and system

    CN120770812A

  • Electroencephalogram signal-based dysmnesia assessment system

    CN121101605A

  • A memory disorder assessment system based on electroencephalogram signals

    CN121101605B