CN107918487A - A kind of method that Chinese emotion word is identified based on skin electrical signal - Google Patents
A kind of method that Chinese emotion word is identified based on skin electrical signal Download PDFInfo
- Publication number
- CN107918487A CN107918487A CN201710998545.XA CN201710998545A CN107918487A CN 107918487 A CN107918487 A CN 107918487A CN 201710998545 A CN201710998545 A CN 201710998545A CN 107918487 A CN107918487 A CN 107918487A
- Authority
- CN
- China
- Prior art keywords
- value
- electrodermal
- emotional
- chinese
- algorithm
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 230000008451 emotion Effects 0.000 title claims abstract description 21
- 230000002996 emotional effect Effects 0.000 claims abstract description 38
- 238000013528 artificial neural network Methods 0.000 claims abstract description 21
- 238000012545 processing Methods 0.000 claims abstract description 13
- 238000002922 simulated annealing Methods 0.000 claims abstract description 11
- 238000010606 normalization Methods 0.000 claims abstract description 9
- 238000002474 experimental method Methods 0.000 claims abstract description 8
- 238000000605 extraction Methods 0.000 claims abstract description 8
- 238000007781 pre-processing Methods 0.000 claims abstract description 5
- 238000012549 training Methods 0.000 claims description 15
- 230000006870 function Effects 0.000 claims description 11
- 230000008569 process Effects 0.000 claims description 11
- 230000008909 emotion recognition Effects 0.000 claims description 7
- 238000000137 annealing Methods 0.000 claims description 6
- 238000012360 testing method Methods 0.000 claims description 6
- 230000000694 effects Effects 0.000 claims description 3
- 238000007689 inspection Methods 0.000 claims description 3
- 210000002569 neuron Anatomy 0.000 claims description 3
- 238000011160 research Methods 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 claims description 2
- 238000004458 analytical method Methods 0.000 abstract description 8
- 238000005516 engineering process Methods 0.000 description 5
- 230000007547 defect Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000036449 good health Effects 0.000 description 1
- 208000019622 heart disease Diseases 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 208000020016 psychiatric disease Diseases 0.000 description 1
- 229940001470 psychoactive drug Drugs 0.000 description 1
- 239000004089 psychotropic agent Substances 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
- G06F3/015—Input arrangements based on nervous system activity detection, e.g. brain waves [EEG] detection, electromyograms [EMG] detection, electrodermal response detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/35—Clustering; Classification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/02—Preprocessing
- G06F2218/04—Denoising
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/08—Feature extraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/12—Classification; Matching
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Data Mining & Analysis (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Neurosurgery (AREA)
- Biophysics (AREA)
- Neurology (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- Dermatology (AREA)
- Computational Linguistics (AREA)
- Evolutionary Computation (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
Abstract
本发明公开了一种基于皮肤电信号识别中文情感词的方法。该方法将生理参数识别情感的优势用于识别中文情感词。具体包含皮肤电采集、对采集之后的数据进行预处理、特征提取、归一化处理、特征选择、利用改进的模拟退火人工神经网络算法得到分类结果,最后在分类结果中加入情感词比对,进行识别。作为实施例,本发明基于从《现代汉语词典》、《现代汉语分类词典》、《新世纪汉语新词词典》中筛选出的50个情感强度最高的情感词进行了识别。实验证明本发明能够完成对中文情感词的识别且准确度很高,充分表明利用生理参数对文本情感词的提取是可行的,为后期文本分析提供了新的思路,而且本发明系统架构清晰、简单,易于实现。
The invention discloses a method for recognizing Chinese emotional words based on electrodermal signals. This method uses the advantage of physiological parameters to identify emotions to identify Chinese emotional words. It specifically includes electrodermal collection, preprocessing of the collected data, feature extraction, normalization processing, feature selection, using the improved simulated annealing artificial neural network algorithm to obtain classification results, and finally adding emotional word comparison to the classification results, to identify. As an embodiment, the present invention recognizes 50 emotional words with the highest emotional intensity selected from "Modern Chinese Dictionary", "Modern Chinese Classified Dictionary", and "New Century Chinese New Words Dictionary". Experiments have proved that the present invention can complete the recognition of Chinese emotional words with high accuracy, which fully shows that it is feasible to use physiological parameters to extract text emotional words, and provides new ideas for later text analysis, and the system structure of the present invention is clear, Simple and easy to implement.
Description
技术领域technical field
本发明属于电数字数据处理技术的处理自然语言数据领域,具体涉及基于皮肤电信号情感识别技术用于识别中文情感词的方法。The invention belongs to the field of processing natural language data of electric digital data processing technology, and in particular relates to a method for recognizing Chinese emotional words based on skin electro-signal emotion recognition technology.
背景技术Background technique
利用皮肤电信号识别情感有其独特的优势,比如它是生理参数所以更加客观,比如它相比于其他生理参数更易于采集、对于神经情绪变化最有效最敏感。对于利用皮肤电信号研究情感,目前技术相对成熟,所以适时的想利用该技术引入文本的分析。目前文本的分析因为其主观性强,语法语义拆分困难,情感词库的不完善等缺陷阻碍了文本情感分析的步伐。Using electrodermal signals to identify emotions has its unique advantages. For example, it is a physiological parameter, so it is more objective. For example, it is easier to collect than other physiological parameters, and it is the most effective and sensitive to neuroemotional changes. For the study of emotions using electrodermal signals, the current technology is relatively mature, so it is timely to use this technology to introduce text analysis. At present, text analysis is hindered by its strong subjectivity, difficulty in grammatical and semantic separation, and imperfect emotional lexicon.
但是随着互联网的蓬勃发展,文字信息更是烟波浩渺,其中包含着大量的有用实用信息让人们又不愿意放弃文字信息的提取。客观上需要用更加客观的生理参数来识别中文情感词,这必将为单纯文本分析提供一个崭新的思路。However, with the vigorous development of the Internet, the text information is even more vast, which contains a large amount of useful and practical information, so that people are unwilling to give up the extraction of text information. Objectively, it is necessary to use more objective physiological parameters to identify Chinese emotional words, which will provide a new way of thinking for pure text analysis.
发明内容Contents of the invention
本发明的目的在于提出利用皮肤电信号识别出中文情感词,为单纯的文本情感分析提供崭新的思路,使文本情感分析更加准确。The purpose of the present invention is to propose the use of electrodermal signals to identify Chinese emotional words, to provide a new idea for simple text emotional analysis, and to make text emotional analysis more accurate.
为实现上述目的,本发明采用的技术方案为一种基于皮肤电信号识别中文情感词的方法,具体包含以下步骤:In order to achieve the above object, the technical solution adopted in the present invention is a method for identifying Chinese emotional words based on electrodermal signals, which specifically includes the following steps:
S1:皮肤电采集;S1: Electrodermal collection;
S2:对采集之后的数据进行预处理;S2: Preprocessing the collected data;
S3:特征提取;S3: feature extraction;
S4:归一化处理;S4: Normalization processing;
S5:特征选择;S5: feature selection;
S6:利用改进的模拟退火人工神经网络算法得到分类结果;S6: Using the improved simulated annealing artificial neural network algorithm to obtain the classification result;
S7:在分类结果中加入情感词比对,进行识别。S7: Add emotion word comparison to the classification result for recognition.
作为优选,上述步骤2中的预处理采用小波变换进行去噪处理。Preferably, the preprocessing in step 2 above adopts wavelet transform for denoising processing.
进一步,步骤3中的特征提取是提取了信号的时域和频域中能代表皮肤电信号变化的统计值作为情感识别研究的原始特征。Further, the feature extraction in step 3 is to extract the statistical value that can represent the change of the electrodermal signal in the time domain and frequency domain of the signal as the original feature of the emotion recognition research.
进一步,上述时域原始特征包括皮肤电信号的均值、中值、最大值、最小值、标准差、最小值比率、最大值比率、最大最小差值,以及将上述信号特征分别进行一阶差分、二阶差分计算后再提取以上统计特征后生成的24个时域特征。Further, the above-mentioned time-domain original features include the mean value, median value, maximum value, minimum value, standard deviation, minimum value ratio, maximum value ratio, maximum and minimum difference of the electrodermal signal, and the above-mentioned signal features are first-order difference, The 24 time-domain features generated after the second-order difference calculation and the extraction of the above statistical features.
进一步,在提取所述频域特征前先对皮肤电信号进行离散傅里叶变换,然后计算频率均值、中值、标准差、最大值、最小值、最大最小差值,得到6个频域特征。Further, before extracting the frequency domain features, discrete Fourier transform is performed on the electrodermal signal, and then the frequency mean, median, standard deviation, maximum value, minimum value, and maximum and minimum difference are calculated to obtain 6 frequency domain features .
进一步,上述步骤4中的所述归一化处理使得各特征值的取值范围限定在0到1之间,去除个体差异性的方法如下式:Further, the normalization process in the above-mentioned step 4 makes the value range of each feature value limited between 0 and 1, and the method for removing individual differences is as follows:
其中XG为原始信号,为每个被试者平静下的均值,归一化之后得到:where X G is the original signal, is the average value of each subject at rest, after normalization, we get:
X=(XG-Xmean)/(Xmax-Xmin) (2)。X=(X G -X mean )/(X max -X min ) (2).
进一步,为了以最少的特征个数和最高的识别率来识别情感,步骤5所述特征选择时在标准化后的数据中随机选取若干组,并将其分成三份:第一部分为分类器训练集,第二部分测试集测试分类效果,最后部分数据用来验证特征集在情感识别中的有效性。Further, in order to recognize emotion with the minimum number of features and the highest recognition rate, some groups are randomly selected in the standardized data during feature selection in step 5, and are divided into three parts: the first part is the classifier training set , the second part of the test set tests the classification effect, and the last part of the data is used to verify the effectiveness of the feature set in emotion recognition.
进一步,上述改进的模拟退火人工神经网络算法包含如下步骤:Further, the above-mentioned improved simulated annealing artificial neural network algorithm includes the following steps:
步骤一:根据样本的输入和输出确定神经网络结构;Step 1: Determine the neural network structure according to the input and output of the sample;
步骤二:运用有记忆的模拟退火算法,具体如下:Step 2: Use the simulated annealing algorithm with memory, as follows:
1)初始化参数,这样就产生了初始的权值S0,此时设置初始温度T0>0,迭代次数i=0,检验精度ε,令fout=f(S0),f*=f(S0),Sp=S0;1) Initialize the parameters, so that the initial weight S 0 is generated. At this time, set the initial temperature T 0 >0, the number of iterations i=0, and the inspection accuracy ε, let f out =f(S 0 ), f * =f (S 0 ),S p =S 0 ;
2)将网络权值Sp作为初始出发点S0,按Powell算法进行优化,快速搜索到某一个局部极小值点;2) Take the network weight S p as the initial starting point S 0 , optimize according to the Powell algorithm, and quickly search for a certain local minimum point;
3)设置记忆变量x′和f(x′),分别用于记忆当前遇到的最优解和最优目标函数值,算法刚开始时令x′和f(x′)分别初始化等于初始解x0和其目标函数值f(x0),迭代开始后,每当接受一个新的搜索解时,将其目标函数值f(xk)与f(x′)进行比较,如果f(xk)优于f(x′),则分别用xk和f(xk)代替原来的x′和f(x′),最后算法结束时得到的就是全局最优解;3) Set the memory variables x' and f(x'), which are used to memorize the current optimal solution and the optimal objective function value respectively. At the beginning of the algorithm, x' and f(x') are initialized to be equal to the initial solution x 0 and its objective function value f(x 0 ), after the iteration starts, whenever a new search solution is accepted, compare its objective function value f(x k ) with f(x′), if f(x k ) is better than f(x′), then replace the original x′ and f(x′) with x k and f(x k ) respectively, and finally the global optimal solution is obtained at the end of the algorithm;
4)得到的新的一组网络权值Sp,令Si=Sp,fout=f(Si),f*=f(Si),将网络权值Si作为迭代值x,设当前解Si=x,令T=Ti,进行退火操作,得到一组新的网络权值Si+1,按照Ti=T0/(1+ln(i))退火,i=i+1;4) A new set of network weights S p is obtained, let S i =S p , f out =f(S i ), f * =f(S i ), and use the network weight S i as the iteration value x, Assume the current solution S i =x, set T=T i , and perform annealing operation to obtain a new set of network weights S i+1 , anneal according to T i =T 0 /(1+ln(i)), i= i+1;
5)退火后如果满足要求或迭代次数,则算法结束,如果f(Si)<fout,令Sp=Si+1,回到步骤4;5) After annealing, if the requirements or the number of iterations are met, the algorithm ends, if f(S i )<f out , set S p =S i+1 , and return to step 4;
步骤三:神经网络训练及预测,训练是通过设置固定的输入和输出,确定网络结构,在训练过程中,神经网络不断调整各个神经元之间的连接权值,以减小训练输出与指定输出之间的误差,预测是训练好的网络对输入数据进行处理,得到输出的过程;Step 3: Neural network training and prediction. The training is to determine the network structure by setting fixed input and output. During the training process, the neural network continuously adjusts the connection weights between each neuron to reduce the training output and the specified output. The error between the prediction is the process of the trained network processing the input data and obtaining the output;
步骤四:最后将输出的结果与在实验过程中被试者输入的表格信息进行对比,完成对情感词识别比对。Step 4: Finally, compare the output results with the table information entered by the subjects during the experiment, and complete the comparison of emotion word recognition.
与现有技术相比,本发明的有益效果:Compared with prior art, the beneficial effect of the present invention:
1,本发明能够完成对中文情感词的识别且准确度很高,基本达到了预期结果。1. The present invention can complete the recognition of Chinese emotional words with high accuracy, basically achieving the expected results.
2,本发明充分表明利用生理参数对文本情感词的提取是可行的,为后期文本分析提供了新的思路。2. The present invention fully demonstrates that it is feasible to use physiological parameters to extract text emotion words, and provides a new idea for later text analysis.
3,本发明系统架构清晰、简单,易于实现。3. The system architecture of the present invention is clear, simple and easy to implement.
附图说明Description of drawings
图1表示整个方案的流程示意图。Figure 1 shows a schematic flow chart of the entire scheme.
图2表示部分情感词调查表。Figure 2 shows part of the emotional word questionnaire.
图3表示实验情感词识别表。Figure 3 shows the experimental emotion word recognition table.
图4表示两者识别比对图。Figure 4 shows the comparison chart of the two identifications.
具体实施方式Detailed ways
现结合附图和实施例对本发明做进一步详细的说明。The present invention will be further described in detail in conjunction with the accompanying drawings and embodiments.
作为实施例,本发明首先从《现代汉语词典》、《现代汉语分类词典》、《新世纪汉语新词词典》中筛选出2000多个情感词,再从这2000个里筛选出最常用的100个。最后在这100个词中再进行一次筛选,得出情感强度最高的情感词50个。As an embodiment, the present invention first screens out more than 2000 emotional words from "Modern Chinese Dictionary", "Modern Chinese Classified Dictionary", "New Century Chinese New Words Dictionary", and then screens out the most frequently used 100 words from these 2000 indivual. Finally, another screening is carried out among these 100 words, and 50 emotional words with the highest emotional intensity are obtained.
利用实验室皮肤电采集工具,对某实验室20人进行了采集。该实验室20人均身体健康,无心脏病精神病史,一年之内未服过任何精神性药物,且从20岁到50岁各年龄段均有。实验素材即是挑选出的50个具有强烈情感的情感词,要求被试者坐在电脑屏幕前,此时每隔40秒电脑屏幕出现一个情感词,情感词出现时要求被试者联想与该情感词相关的场景。前30秒用于联想后10秒用于填写是否有感觉并且填写情感强度(0很强,1较强,2一般,3较弱,4很弱)。然后依次播放,直到完成50个情感词的播放。Using laboratory electrodermal collection tools, 20 people in a laboratory were collected. All 20 people in the laboratory are in good health, have no history of heart disease or mental illness, have not taken any psychotropic drugs within a year, and have all age groups from 20 to 50 years old. The experimental material is 50 selected emotional words with strong emotions. The subjects are required to sit in front of the computer screen. At this time, an emotional word appears on the computer screen every 40 seconds. When the emotional word appears, the subjects are asked to associate with the emotional word. Scenes related to emotional words. The first 30 seconds are used for association and the next 10 seconds are used to fill in whether there is feeling and fill in the emotional intensity (0 is very strong, 1 is strong, 2 is average, 3 is weak, and 4 is very weak). Then play in sequence until the 50 emotional words are played.
对采集之后的数据进行预处理,由于皮肤电信号比较微弱,易受到机器干扰,肌电干扰,电磁干扰等的影响,所以要对采集的皮肤电信号去噪处理。本发明采用小波变换进行去噪处理。小波变换具有在低频部分具有较高的频率分辨率和较低的时间分辨率,在高频部分具有较高的时间分辨率和较低的频率分辨率,因此具有对信号的自适应性,非常适用于生理信号的分析。Preprocess the collected data. Since the electrodermal signal is relatively weak and is easily affected by machine interference, electromyographic interference, and electromagnetic interference, it is necessary to denoise the collected electrodermal signal. The present invention adopts wavelet transform for denoising processing. Wavelet transform has high frequency resolution and low time resolution in the low frequency part, and high time resolution and low frequency resolution in the high frequency part, so it is adaptive to the signal, very It is suitable for the analysis of physiological signals.
在实验开始之前,向被试者详细说明了本次实验的流程和目的。首先每个被试者要求坐在离电脑显示屏正前方80cm处。实验开始。要求被试者先闭眼一分钟,然后睁眼看屏幕,这时屏幕上会每隔40秒出现一个情感词,其中30秒显示该情感词,10秒填写情感词情感强度表。当情感词出现时,被试者受情感词的刺激联想相应的场景,屏幕空白时填写调查表并让情绪归于平静。依次播放选定好的50个情感词,直到结束。Before the experiment started, the procedure and purpose of the experiment were explained to the subjects in detail. First, each subject was asked to sit 80cm away from the computer screen. The experiment begins. The subjects were asked to close their eyes for one minute, and then open their eyes to look at the screen. At this time, an emotional word would appear on the screen every 40 seconds, of which the emotional word would be displayed for 30 seconds, and the emotional intensity scale of the emotional word would be filled in for 10 seconds. When the emotional words appeared, the subjects were stimulated by the emotional words to associate the corresponding scenes, and when the screen was blank, they filled out the questionnaire and let their emotions return to calm. Play the selected 50 emotional words in turn until the end.
删去无效数据后,筛选出270组有效数据。参照德国Augsburg大学特征提取的方法,提取了信号的时域和频域中最能代表皮肤电信号变化的统计值作为情感识别研究的原始特征。在时域中,提取了皮肤电信号的最大值、最小值、标准差、一阶差分标准差、一阶差分最小值比率、二阶差分标准差、二阶差分最小值比率等22个时域特征。为了提取皮肤电信号的频域特征,先对皮肤电信号进行离散傅里叶变换,然后计算频率均值、中值、标准差、最大值、最小值、最大最小差值,得到6个频域特征。After deleting invalid data, 270 sets of valid data were screened out. Referring to the feature extraction method of the University of Augsburg in Germany, the statistical value that best represents the change of the electrodermal signal in the time domain and frequency domain of the signal is extracted as the original feature of the emotion recognition research. In the time domain, 22 time domains such as the maximum value, minimum value, standard deviation, first-order difference standard deviation, first-order difference minimum value ratio, second-order difference standard deviation, and second-order difference minimum value ratio of the electrodermal signal are extracted. feature. In order to extract the frequency domain features of the electrodermal signal, the discrete Fourier transform is first performed on the electrodermal signal, and then the frequency mean, median, standard deviation, maximum value, minimum value, and maximum and minimum difference are calculated to obtain 6 frequency domain features .
由于皮肤电信号个体差异很大,且根据公式提取的各个统计特征的特征值的取值范围处在不同的数量级,为了方便统一比较,规范数据的统计分布,便于后续处理,做归一化处理各个特征,使各特征值的取值范围限定在0到1之间。公式入下:Due to the great individual differences of the electrodermal signals, and the value ranges of the eigenvalues of each statistical feature extracted according to the formula are in different orders of magnitude, in order to facilitate unified comparison, standardize the statistical distribution of data, facilitate subsequent processing, and perform normalization processing For each feature, the value range of each feature value is limited between 0 and 1. Enter the formula below:
去除个体差异性方法:Methods for removing individual differences:
其中XG为原始信号,为每个被试者平静下的均值。where X G is the original signal, is the mean value for each subject at rest.
归一化后得到:After normalization, we get:
X=(XG-Xmean)/(Xmax-Xmin) (2)X=(X G -X mean )/(X max -X min ) (2)
将处理好的数据进行特征选择。特征选择是为了以最少的特征个数和最高的识别率来识别情感。在以上270组标准化后的数据中随机选取180组,并将其分成三份:前80组数据组成分类器训练集;中间60组数据组成测试集测试分类效果;最后的40组数据用来验证特征集在情感识别中的有效性。Feature selection is performed on the processed data. Feature selection is to recognize emotion with the least number of features and the highest recognition rate. Randomly select 180 groups from the above 270 groups of standardized data and divide them into three parts: the first 80 groups of data form the classifier training set; the middle 60 groups of data form the test set to test the classification effect; the last 40 groups of data are used for verification Effectiveness of feature sets in emotion recognition.
神经网络算法是分布式存储信息,它的信息存储在整个网络上,网络上某一处所存储的不是一个外部信息,而是多个信息的部分内容。这样神经网络算法的优点就显而易见,由于信息存储在网络上,它信息的存储和处理是合二为一的,这样它就可以大规模并行处理数据,而且这种方式使它具有较强的容错能力和鲁棒性。还有它的自学性和自适应性。但是神经网络算法也有重大缺陷,它容易陷入局部最小值,收敛过程缓慢,这样就需要对其提出改进。The neural network algorithm is a distributed storage of information, and its information is stored on the entire network. What is stored in a certain place on the network is not an external information, but part of multiple information. In this way, the advantages of the neural network algorithm are obvious. Because the information is stored on the network, its information storage and processing are combined into one, so that it can process data in a large scale in parallel, and this method makes it have strong fault tolerance. capability and robustness. And its self-learning and adaptability. But the neural network algorithm also has major defects, it is easy to fall into the local minimum, and the convergence process is slow, so it needs to be improved.
由于神经网络算法出现的缺陷,而加入模拟退火技术大大改进了算法的机能,很大程度上解决了这些缺陷。本发明先用Powell算法快速收敛到局部最小值,找到局部最小值时利用模拟退火搜索策略立即在局部最小值附近再搜索还是否具有谷底,多次进行,此时加入记忆性,记录下搜索到的最优值和最优函数值,这样能很快找到全局最优值。将此方法应用与神经网络算法,就很好的解决了神经网络跳不出局部最小值的缺陷。Due to the defects of the neural network algorithm, the addition of simulated annealing technology greatly improves the function of the algorithm and largely solves these defects. The present invention first uses the Powell algorithm to quickly converge to the local minimum value. When the local minimum value is found, the simulated annealing search strategy is used to immediately search for whether there is a valley near the local minimum value, and it is carried out multiple times. At this time, memory is added to record the search results. The optimal value and the optimal function value of , so that the global optimal value can be found quickly. Applying this method to the neural network algorithm can solve the defect that the neural network cannot jump out of the local minimum.
改进的模拟退火人工神经网络算法步骤归结如下:The steps of the improved simulated annealing artificial neural network algorithm are summarized as follows:
步骤一:根据样本的输入和输出确定神经网络结构。Step 1: Determine the neural network structure according to the input and output of the sample.
步骤二:运用有记忆的模拟退火算法:Step 2: Use the simulated annealing algorithm with memory:
1)初始化参数。这样就产生了初始的权值S0,此时设置初始温度T0>0,迭代次数i=0,检验精度ε。令fout=f(S0),f*=f(S0),Sp=S0。1) Initialize parameters. In this way, the initial weight S 0 is generated. At this time, the initial temperature T 0 >0 is set, the iteration number i=0, and the inspection accuracy ε. Let f out =f(S 0 ), f * =f(S 0 ), S p =S 0 .
2)将网络权值Sp作为初始出发点S0,按Powell算法进行优化,快速搜索到某一个局部极小值点。2) Take the network weight S p as the initial starting point S 0 , optimize according to the Powell algorithm, and quickly search for a certain local minimum point.
3)设置记忆变量x′和f(x′),分别用于记忆当前遇到的最优解和最优目标函数值。算法刚开始时令x′和f(x′)分别初始化等于初始解x0和其目标函数值f(x0),迭代开始后,每当接受一个新的搜索解时,将其目标函数值f(xk)与f(x′)进行比较,如果f(xk)优于f(x′),则分别用xk和f(xk)代替原来的x′和f(x′)。最后算法结束时得到的就是全局最优解。3) Set memory variables x' and f(x'), which are used to memorize the currently encountered optimal solution and optimal objective function value respectively. At the beginning of the algorithm, x′ and f(x′) are initialized to be equal to the initial solution x 0 and its objective function value f(x 0 ), respectively. After the iteration starts, whenever a new search solution is accepted, its objective function value f (x k ) is compared with f(x′), if f(x k ) is better than f(x′), replace the original x′ and f(x′) with x k and f(x k ) respectively. At the end of the algorithm, the global optimal solution is obtained.
4)得到的新的一组网络权值Sp,令Si=Sp,fout=f(Si),f*=f(Si)。将网络权值Si作为迭代值x,设当前解Si=x,令T=Ti,进行退火操作。得到一组新的网络权值Si+1。按照Ti=T0/(1+ln(i))退火。i=i+1。4) To obtain a new set of network weights S p , let S i =S p , f out =f(S i ), f * =f(S i ). Take the network weight S i as the iteration value x, set the current solution S i =x, set T = T i , and perform annealing operation. Get a new set of network weights S i+1 . Anneal according to T i =T 0 /(1+ln(i)). i=i+1.
5)退火后如果满足要求或迭代次数,则算法结束。如果f(Si)<fout,令Sp=Si+1,转回(4)。5) After annealing, if the requirements or the number of iterations are met, the algorithm ends. If f(S i )<f out , set S p =S i+1 , turn back to (4).
步骤三:神经网络训练及预测。训练是通过设置固定的输入和输出,确定网络结构。在训练过程中,神经网络不断调整各个神经元之间的连接权值,以减小训练输出与指定输出之间的误差。预测是训练好的网络对输入数据进行处理,得到输出的过程。Step 3: neural network training and prediction. Training is to determine the network structure by setting fixed input and output. During the training process, the neural network continuously adjusts the connection weights between each neuron to reduce the error between the training output and the specified output. Prediction is a process in which a trained network processes input data and obtains an output.
最后将输出的结果与在实验过程中让被试者填的表进行对比,完成对情感词识别比对。其中,部分情感词调查表如图2所示,实验中情感词识别图如图3所示,两者比对识别图如图4所示。实验结果表明利用皮肤电信号的变化基本可以完成对中文情感词的识别。Finally, compare the output results with the form that the subjects filled in during the experiment to complete the comparison of emotion word recognition. Among them, some emotional word questionnaires are shown in Figure 2, the emotional word recognition diagram in the experiment is shown in Figure 3, and the comparison and recognition diagram of the two is shown in Figure 4. The experimental results show that the recognition of Chinese emotional words can be basically completed by using the changes of electrodermal signals.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710998545.XA CN107918487A (en) | 2017-10-20 | 2017-10-20 | A kind of method that Chinese emotion word is identified based on skin electrical signal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710998545.XA CN107918487A (en) | 2017-10-20 | 2017-10-20 | A kind of method that Chinese emotion word is identified based on skin electrical signal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107918487A true CN107918487A (en) | 2018-04-17 |
Family
ID=61895714
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710998545.XA Pending CN107918487A (en) | 2017-10-20 | 2017-10-20 | A kind of method that Chinese emotion word is identified based on skin electrical signal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107918487A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108523906A (en) * | 2018-04-27 | 2018-09-14 | 合肥工业大学 | Personality analysis method and system, storage medium based on pulse characteristics |
CN108630299A (en) * | 2018-04-27 | 2018-10-09 | 合肥工业大学 | Personality analysis method and system, storage medium based on skin resistance feature |
CN109344331A (en) * | 2018-10-26 | 2019-02-15 | 南京邮电大学 | A User Sentiment Analysis Method Based on Online Social Network |
CN109685149A (en) * | 2018-12-28 | 2019-04-26 | 杭州翼兔网络科技有限公司 | Mood finely incorporates model construction and the automatic method for carrying out mood and finely obtaining into |
CN109933913A (en) * | 2019-03-15 | 2019-06-25 | 湖南理工学院 | An optimization design method of high temperature protective clothing based on BP neural network |
CN114780693A (en) * | 2022-03-25 | 2022-07-22 | 昆明理工大学 | A deep transfer question classification method based on adversarial learning |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102809718A (en) * | 2012-07-25 | 2012-12-05 | 华南理工大学 | Ultra-high-frequency partial discharge signal identification method for gas insulated switchgear (GIS) |
CN103892792A (en) * | 2012-12-24 | 2014-07-02 | 中国科学院深圳先进技术研究院 | Emotion recognition model generation device and method |
CN104887198A (en) * | 2014-03-06 | 2015-09-09 | 中国科学院沈阳自动化研究所 | Pain quantitative analysis system and method based on human body physiological signal multi-parameter fusion |
CN104965822A (en) * | 2015-07-29 | 2015-10-07 | 中南大学 | Emotion analysis method for Chinese texts based on computer information processing technology |
CN105930864A (en) * | 2016-04-15 | 2016-09-07 | 杭州电子科技大学 | EEG (electroencephalogram) signal feature classification method based on ABC-SVM |
-
2017
- 2017-10-20 CN CN201710998545.XA patent/CN107918487A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102809718A (en) * | 2012-07-25 | 2012-12-05 | 华南理工大学 | Ultra-high-frequency partial discharge signal identification method for gas insulated switchgear (GIS) |
CN103892792A (en) * | 2012-12-24 | 2014-07-02 | 中国科学院深圳先进技术研究院 | Emotion recognition model generation device and method |
CN104887198A (en) * | 2014-03-06 | 2015-09-09 | 中国科学院沈阳自动化研究所 | Pain quantitative analysis system and method based on human body physiological signal multi-parameter fusion |
CN104965822A (en) * | 2015-07-29 | 2015-10-07 | 中南大学 | Emotion analysis method for Chinese texts based on computer information processing technology |
CN105930864A (en) * | 2016-04-15 | 2016-09-07 | 杭州电子科技大学 | EEG (electroencephalogram) signal feature classification method based on ABC-SVM |
Non-Patent Citations (2)
Title |
---|
周钰婷等: "模拟退火免疫粒子群算法在皮肤电信号情感识别中的应用", 《计算机应用》 * |
魏先民: "几种改进的人工神经网络算法比较", 《福建电脑》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108523906A (en) * | 2018-04-27 | 2018-09-14 | 合肥工业大学 | Personality analysis method and system, storage medium based on pulse characteristics |
CN108630299A (en) * | 2018-04-27 | 2018-10-09 | 合肥工业大学 | Personality analysis method and system, storage medium based on skin resistance feature |
CN109344331A (en) * | 2018-10-26 | 2019-02-15 | 南京邮电大学 | A User Sentiment Analysis Method Based on Online Social Network |
CN109685149A (en) * | 2018-12-28 | 2019-04-26 | 杭州翼兔网络科技有限公司 | Mood finely incorporates model construction and the automatic method for carrying out mood and finely obtaining into |
CN109685149B (en) * | 2018-12-28 | 2021-04-27 | 江苏智慧工场技术研究院有限公司 | Method for constructing emotion fine scoring model and automatically acquiring emotion fine |
CN109933913A (en) * | 2019-03-15 | 2019-06-25 | 湖南理工学院 | An optimization design method of high temperature protective clothing based on BP neural network |
CN114780693A (en) * | 2022-03-25 | 2022-07-22 | 昆明理工大学 | A deep transfer question classification method based on adversarial learning |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107918487A (en) | A kind of method that Chinese emotion word is identified based on skin electrical signal | |
Vásquez-Correa et al. | Multimodal assessment of Parkinson's disease: a deep learning approach | |
Rubin et al. | Classifying heart sound recordings using deep convolutional neural networks and mel-frequency cepstral coefficients | |
CN111832416B (en) | Motor imagery electroencephalogram signal identification method based on enhanced convolutional neural network | |
CN102499677B (en) | Emotional state identification method based on electroencephalogram nonlinear features | |
CN113158964B (en) | Sleep stage method based on residual error learning and multi-granularity feature fusion | |
CN110826527A (en) | Electroencephalogram negative emotion recognition method and system based on aggressive behavior prediction | |
CN109820525A (en) | A driving fatigue recognition method based on CNN-LSTM deep learning model | |
CN110472649B (en) | Electroencephalogram emotion classification method and system based on multi-scale analysis and integrated tree model | |
WO2024098649A1 (en) | Street greening quality testing method based on physiological arousal recognition | |
CN114041795B (en) | Emotion recognition method and system based on multi-mode physiological information and deep learning | |
Deng et al. | Speech-based diagnosis of autism spectrum condition by generative adversarial network representations | |
CN113128552A (en) | Electroencephalogram emotion recognition method based on depth separable causal graph convolution network | |
CN109602417A (en) | Sleep stage method and system based on random forest | |
CN113205074B (en) | A gesture recognition method based on multimodal signals of EMG and micro-inertial measurement unit | |
CN111898526B (en) | Myoelectric gesture recognition method based on multi-stream convolution neural network | |
CN113012720A (en) | Depression detection method by multi-voice characteristic fusion under spectral subtraction noise reduction | |
CN108959895A (en) | A kind of EEG signals EEG personal identification method based on convolutional neural networks | |
CN113705398B (en) | Music electroencephalogram space-time characteristic classification method based on convolution-long and short term memory network | |
CN111000556A (en) | An emotion recognition method based on deep fuzzy forest | |
CN105868532B (en) | A kind of method and system of intelligent evaluation heart aging degree | |
CN106419911A (en) | Emotional detection method based on brain electric wave analysis | |
Lu et al. | Speech depression recognition based on attentional residual network | |
CN117371494A (en) | Cognitive load analysis method based on multi-objective optimization and group convolution network fusion | |
CN117193537A (en) | A dual-branch convolutional neural network motor imagery intention decoding method based on adaptive transfer learning |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180417 |