The electric experimental evaluation system and method for brain based on eye movement data
Technical field
The present invention relates to a kind of technology of field of information processing, specifically a kind of brain electricity experiment based on eye movement data
Assessment system and method.
Background technology
Machine learning is the science of an artificial intelligence, and the main study subject in the field is artificial intelligence, particularly such as
Where the performance of specific algorithm is improved in empirical learning.Machine learning is segmented into from mode of learning:1. supervised learning;2.
Unsupervised learning;3. semi-supervised learning;4. enhancing study.Current supervised learning has relatively ripe utilization in each field,
But, dependence of the supervised learning to sample label limits it and further developed:Label is inaccurate, sample radix it is excessive cause to
Calibration label cost is excessive etc. may to influence the supervised learning degree of accuracy.On the contrary, semi-supervised learning, unsupervised learning and enhancing
Study is closer to the mode of learning of the mankind, learns to make action how by observing, and each action can be to environment
It has been influenceed that, the feedback of the surrounding environment that learning object is arrived according to the observation is judged.Therefore, semi-supervised learning, non-supervisory
Study and enhancing study occupy a critically important part in machine learning field.Feedback is to realize semi-supervised, non-supervisory learn
Practise, enhancing learns a highly important ring.Therefore, the proposition of the method is also important one for realizing more preferable unsupervised learning
Step.
Most experiments are required to participate in experiment gathered data by object now, and therefore, object degree of participation is directly affected
The good and bad degree of data.For example in Emotion identification experiment, object stimulates material by watching, and is induced corresponding mood simultaneously
Eeg data is gathered, predicts that object is watching mood when each stimulates material according to eeg data.If object is pierced in viewing
Hormone material is, stupefied, absent-minded or deliberately half-hearted viewing material behavior occurs, will cause the quality of data lowly, model prediction
Accuracy is reduced.Before the method proposition, generally by the way of feedback of filling in a form, object is terminating the viewing of a fragment
Afterwards, the evaluation to oneself mood is filled in feedback form.It is this feedback subjective factor it is excessive, there is also object active concealment,
The possibility of deception, therefore, one objectively very important to assess the mode of object degree of participation based on True Data.
Dynamic time warping algorithm (DTW) was once a kind of main stream approach of speech recognition.It is by Time alignment and distance
It is regular estimate combine, using dynamic programming techniques, compare two patterns of different sizes, solve word speed in speech recognition many
The problem of change.It is based on Dynamic Programming, can effectively reduce search time, but for great amount of samples data, O (n2) time complexity
Still a large amount of operation times can be consumed.Therefore, DTW rapid technology is employed in this method, by document Stan Salvador&
Philip Chan,FastDTW:Toward Accurate Dynamic Time Warping in Linear Time and
The FastDTW algorithms that Space.KDD Workshop on Mining Temporal and Sequential Data are proposed.By
Differ in the length of eye movement data, this method matches the technology for being originally intended to speech recognition used in eye movement data, as we
An important part of method.
Eye tracker is in recent years new sci-tech product, after wearing, can be with precise acquisition wearer on eye motion
Information, including:Blink, blinkpunkt, watch duration, pupil size attentively.And can count:Number of winks, fixation times are swept, put down
Equal pupil size, averagely blink duration, frequency of wink, gaze frequency etc..In document Yifei Lu, Wei-Long Zheng,
Binbin Li,and Bao-Liang Lu,Combining Eye Movements and EEG to Enhance Emotion
Recognition,in Proc.of the International Joint Conference on Artificial
In Intelligence (IJCAI'15), by extracting feature from eye tracker statistics, Emotion identification can be used alone as
Or construct multi-modal.
The content of the invention
The present invention is directed to deficiencies of the prior art, proposes a kind of electric experimental evaluation system of brain based on eye movement data
System and method, objective quantification evaluation object participate in the conscientious degree of experiment, are that experiment and model form feedback, to ensure data matter
Amount and raising classification accuracy.The assessment quantified to the degree that object participates in experiment, constructs Emotion identification
The quantization feedback of experiment.
The present invention is achieved by the following technical solutions:
The present invention relates to a kind of electric experimental evaluation system of brain based on eye movement data, including:Eye tracker, distance matrix generation
Module, participation detection module and Emotion identification module, wherein:Eye tracker is connected with distance matrix generation module and transmits eye
Dynamic data message, distance matrix generation module is connected and transmission range information, participation detection module with participation detection module
It is connected with Emotion identification module and transmits participation testing result information and Emotion identification object information.
Described eye movement data includes:Watch coordinate attentively, watch duration attentively, watch state pause judgments time, pan origin coordinates attentively, sweep
Apparent path, pan duration, pan state pause judgments time, pan angle.
The present invention relates to a kind of electric experimental evaluation method of the brain based on eye movement data based on said system, pass through eye tracker
Acquisition target eye movement data, blinkpunkt setup time-spatial model in eye movement data;Then dynamic time warping is used
Similarity degree and build distance matrix between the algorithm rapid technology sequence of calculation, then by density-based algorithms carry out from
The detection of group's point and quantization sequence, obtain the participation of object.
Described distance matrix, is obtained in the following manner:
I) order extracting object viewing stimulates all blinkpunkts during material fragment, i.e.,:{(x1,y1,t1),(x2,y2,
t2),…,(xn,yn,tn), wherein:xi,yiIt is to watch point coordinates, t attentively i-thiIt is i-th of blinkpunkt duration, n watches attentively for fragment
Point number;
Ii the blinkpunkt that duration is less than certain predetermined threshold δ) is considered as invalid blinkpunkt, invalid note is deleted from sequence
Viewpoint.Effective blinkpunkt is deployed successively, i.e. repeatedly coordinate t/ δ times, wherein:T is the duration of the blinkpunkt;
Iii) by step ii) in blinkpunkt according to region to sequential coding;
Iv dynamic time warping algorithm comparative sequences similarity two-by-two) is used, a concrete numerical value is obtained and represents two sequences
Similarity degree, smaller expression similarity is higher;
Described dynamic time warping algorithm refers to:FastDTW[Stan Salvador&Philip Chan,FastDTW:
Toward Accurate Dynamic Time Warping in Linear Time and Space.KDD Workshop on
Mining Temporal and Sequential Data,pp.70-80,2004]。
V) using each two sequence similarity numerical value as distance, distance matrix is constructedWherein:Dij
=Dji, DijIt is the distance between i-th of sequence and j-th sequence, m is single stimulation material total sample number, i.e. object number;
Described outlier detection and quantization sorts, and specifically includes following steps:
I) range data based on previous module, using density-based algorithms, detects outlier and non-peels off
Point.
Ii) extract each sequence distance of non-outlier into cluster result and be used as characteristic vector<v1,v2,…,vp>, its
Middle viFor ith feature value, p is characterized sum, i.e., non-outlier number;
Iii) for each stimulation material fragment, the sample for the experiment fed back to needs is according to Emotion identification result precision
Sequence, is used as training label;
Iv) choosing one successively stimulates material fragment as test set, and instruction is used as using all stimulation material fragments of residue
Practice collection, use SVM Rank training patterns, prediction test sample sequence.
Described outlier detection, two classes are divide into by object:Eye movement data is detected as the participation of the object of outlier
Experiment degree is not high, brain electricity, eye movement data poor quality, therefore can with science avoid use this partial data;The dynamic number of eye
According to the object for being detected as non-outlier, illustrate that it take part in experiment in earnest, mood ought to be induced well, data matter
Amount is outstanding, therefore can effectively improve classification accuracy using only this partial data.
Described quantization sequence, prediction test sample sequence, quantifies the degree of participation of each object.The result of quantization, is used
In improving experiment, during object many experiments, object feedback information is given, object degree of participation is improved.And can be by result
Incorporate into former experiment, for example, give in the Emotion identification of brain electricity, forecast model, improve model accuracy.
Technique effect
Compared with prior art, the present invention is detected by participation, is selected and using high-quality data, is effectively improved mood
The identification prediction degree of accuracy, secondly the present invention is detected by participation, in subject experimentation, is given subject feedback information, is carried
High subject degree of participation;Experimental evaluation is carried out using the inventive method, than realizing difficulty using HMM (HMM)
It is upper simpler, effectively.
Brief description of the drawings
Fig. 1 is the electric experimental evaluation system schematic of the brain based on eye movement data;
Fig. 2 is the dynamic sequence diagram of embodiment eye;
Fig. 3 is embodiment configuration diagram.
Embodiment
Embodiment 1
As shown in figure 1, the present embodiment uses BeGaze by SMI iView ETG eye tracker acquisition target eye movement datas
Software extracts eye movement data, and the blinkpunkt in eye movement data generates distance matrix by distance matrix module;Then pass through
Participation detection module is obtained a result with Emotion identification module.
As shown in figure 3, the present embodiment is carried out in the experimental situation strictly controlled.Test a tangible independence and every
Carried out in the room of sound, room lighting is by illuminator control, it is ensured that intensity of illumination is moderate and invariable, and room temperature is by air-conditioning system
System maintains the temperature of comfortable.
By being detected to 10 objects in the present embodiment, test it and participate in Emotion identification and test and wear eye tracker to adopt
Collect eye movement data, wherein 5 are required conscientiously to watch stimulation material, 5 are required that half-hearted viewing stimulates material.Use this hair
Bright method, the classification results degree of accuracy is up to 90%.
Table 1.Eye movement data cluster result with label
Note:" 1 " represents that conscientiously viewing stimulates material, and " -1 " represents that half-hearted viewing stimulates material.
Embodiment 2
The present embodiment is using environment same as Example 1 and identical eye movement data collection equipment.In addition, the present embodiment
ESI NeuroScan systems have been used to carry out the collection of brain electricity.Brain electricity cap possesses 64 electrodes, and distribution of electrodes meets international uniform
10-20 system standards, wherein two lead and do not utilize, therefore eeg data is led in collection 62 altogether.Brain electricity cap sample frequency be
1000Hz。
The present embodiment is tested with 26 objects, is detected that its participation Emotion identification is tested and wears eye tracker collection eye and is moved
In data, experimentation, the conscientious degree of object is unknown.Using the inventive method, object data is divided into conscientious, half-hearted two
Class.Using the Emotion identification method based on brain electricity, everyone the Emotion identification degree of accuracy is calculated.Wherein, the average feelings of all objects
Thread recognition accuracy is 68.52%, and it is 81.70% to be divided into the average Emotion identification degree of accuracy of conscientious object, is divided into not recognizing again
Genuine object bat is 57.26%.Based on cluster result, after being quantified, prediction sequence and true sequence correlation
Up to 0.77.
Table 2.The not eye movement data cluster result of tape label
Table 3.Quantitative evaluation ranking results
The method of the above embodiment of the present invention illustrates effectiveness of the invention and remarkable result.Predicted by notice
The Emotion identification degree of accuracy has larger coefficient correlation with true emotional recognition accuracy.
Above-mentioned specific implementation can by those skilled in the art on the premise of without departing substantially from the principle of the invention and objective with difference
Mode local directed complete set is carried out to it, protection scope of the present invention is defined by claims and not by above-mentioned specific implementation institute
Limit, each implementation in the range of it is by the constraint of the present invention.