User behavior classification method and device based on eye movement data, equipment and medium

Through the user behavior classification method based on eye movement data, the eye movement classification network is used to automatically classify user behavior, which solves the problem of low accuracy of user behavior classification in the existing technology and achieves higher accuracy and objectivity.

CN118690249APending Publication Date: 2024-09-24GUANGDONG INST OF ARTIFICIAL INTELLIGENCE & ADVANCED COMPUTING
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410935799.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing user behavior classification methods rely on manual judgment, which suffers from high subjectivity and low accuracy.

Method used

A user behavior classification method based on eye movement data is adopted. By obtaining the eye movement data generated by users performing human-computer interaction tasks in eye movement scenes, combined with the eye movement classification network, the picture feature encoding module, the temporal feature extraction module and the feature fusion prediction are used. module to train classification models to achieve automatic classification of user behaviors.

Benefits of technology

It improves the accuracy of user behavior classification, avoids subjectivity in manual judgment, and achieves more objective and accurate user behavior identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690249A
    Figure CN118690249A
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and provides a user behavior classification method and device based on eye movement data, equipment and a medium, and the method comprises the steps: obtaining eye movement data generated when a user executes a man-machine interaction task in an eye movement scene; inputting the eye movement data into a classification model to obtain a classification result of the user behavior output by the classification model; the classification model is obtained by training on the basis of original eye movement coordinate data, eye movement task scene pictures and eye movement feature data for classification on the basis of an eye movement classification network. According to the method, the user behaviors are classified based on the eye movement data by combining the eye movement tracking technology and the machine learning algorithm, so that the problems of high subjectivity and low accuracy existing in manual classification are avoided, and the accuracy of user behavior classification is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method, device, equipment and medium for classifying user behavior based on eye movement data. Background Art

[0002] Traditional user behavior (such as autism) classification methods mainly rely on artificial humans, which has the problems of strong subjectivity and low accuracy. Therefore, how to improve the classification accuracy of user behavior has become an urgent problem to be solved. Summary of the invention

[0003] The present invention provides a user behavior classification method, device, equipment and medium based on eye movement data, which are used to solve the problem of low accuracy of user behavior classification in the prior art, realize user behavior classification based on eye movement data, and thus improve the accuracy of user behavior classification.

[0004] The present invention provides a user behavior classification method based on eye movement data, comprising: Acquire the eye movement data generated by the user performing human-computer interaction tasks in the eye movement scene; The eye movement data is input into a classification model to obtain a classification result of the user behavior output by the classification model; the classification model is trained on the basis of an eye movement classification network, based on original eye movement coordinate data, eye movement task scene pictures and eye movement feature data used for classification.

[0005] According to a user behavior classification method based on eye movement data provided by the present invention, the classification model is trained based on the following method: Collecting the original eye movement coordinate data and the eye movement task scene picture generated by the subject performing the human-computer interaction task in the eye movement scene; Determining the eye movement feature data according to the original eye movement coordinate data and the eye movement task scene picture; Using the original eye movement coordinate data, the eye movement task scene picture and the eye movement feature data, the eye movement classification network is trained to obtain the classification model; Among them, the eye movement scene is a virtual scene including a virtual host, virtual objects and a virtual background; the human-computer interaction task includes multiple levels, and each level corresponds to a different interaction task.

[0006] According to a user behavior classification method based on eye movement data provided by the present invention, the original eye movement coordinate data includes binocular coordinate data, gaze direction data, gaze point two-dimensional coordinate data and eye closure degree data; the eye movement feature data includes total gaze duration, first gaze time, first gaze duration, average gaze time, gaze frequency and gaze percentage; The step of determining the eye movement feature data according to the original eye movement coordinate data and the eye movement task scene picture includes: According to the eye movement task scene picture, dividing the eye movement scene into multiple areas; According to the original eye movement coordinate data, the sum of the durations of the two-dimensional coordinate data of the gaze point in each level falling in each area is taken as the total gaze duration of each area; According to the original eye movement coordinate data, the time difference between the first gaze time point when the two-dimensional coordinate data of the gaze point falls in each of the areas and the start time point of each of the levels is used as the first gaze time of each of the areas; According to the original eye movement coordinate data, taking the duration of the first time the two-dimensional coordinate data of the gaze point falls on each of the regions as the first gaze duration of each of the regions; The time period in which the two-dimensional coordinate data of the fixation point continuously falls in a single area is regarded as a fixation count; Determine the total number of fixations in each level duration according to the original eye movement coordinate data, and take the ratio of the total fixation duration of each area to the total number of fixations of each area as the average fixation time of each area; The ratio of the total number of fixations of each area to the level duration is used as the fixation frequency of each area; According to the original eye movement coordinate data, the duration of the subject's gaze at each of the areas in the experiment and the proportion of the duration of the entire experiment are used as the gaze percentage of each of the areas.

[0007] According to a user behavior classification method based on eye movement data provided by the present invention, the eye movement classification network includes a picture feature encoding module, a temporal feature extraction module and a feature fusion prediction module; The image feature encoding module is used to generate eye movement heat map data, input the eye movement heat map data into a convolutional neural network, and obtain an eye movement image feature vector of the eye movement heat map data; The temporal feature extraction module is used to extract the eye movement temporal feature vector of all the original eye movement coordinate data within a fixed time length through a temporal neural network; The feature fusion prediction module is used to splice the eye movement image feature vector, the eye movement time series feature vector and the eye movement feature data to obtain spliced ​​data; and process the spliced ​​data through a multi-layer perceptron network to obtain the classification result.

[0008] According to a user behavior classification method based on eye movement data provided by the present invention, the eye movement heat map data is generated based on the following method: Converting the original eye movement coordinate data from the global coordinate system to the image coordinate system to obtain coordinate information of the original eye movement coordinate data on the eye movement task scene image; According to the coordinate information, coloring is performed on the eye movement task scene picture to obtain the eye movement heat map data.

[0009] According to a user behavior classification method based on eye movement data provided by the present invention, the convolutional neural network includes a first input layer, an encoding layer, an expansion layer and a decoding layer; The first input layer is used to perform pooling processing on the eye movement heat map data to obtain a pooled image; The encoding layer is used to perform convolution processing on the pooled image to obtain convolution image features; The expansion layer is used to expand the convolution image feature into a one-dimensional latent vector feature; the one-dimensional latent vector feature is the eye movement image feature vector; The decoding layer is used to restore the eye movement image feature vector into the eye movement heat map data.

[0010] According to a user behavior classification method based on eye movement data provided by the present invention, the temporal neural network includes a second input layer, a hidden layer and an output layer; The second input layer is used to process the local eye movement heat map obtained by visualizing multiple frames of continuous original eye movement coordinate data to obtain an intermediate feature vector; The hidden layer is used to pass the intermediate feature vector through two time series neural network units to obtain an output sequence; The output layer is used to pass the output sequence through a timing neural network unit to obtain the eye movement timing feature vector.

[0011] The present invention provides a user behavior classification device based on eye movement data, comprising: An acquisition module, used to acquire eye movement data generated by a user performing a human-computer interaction task in an eye movement scene; A classification module is used to input the eye movement data into a classification model to obtain a classification result of the user behavior output by the classification model; the classification model is trained on the basis of an eye movement classification network, based on original eye movement coordinate data, eye movement task scene pictures and eye movement feature data used for classification.

[0012] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-mentioned user behavior classification methods based on eye movement data is implemented.

[0013] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described methods for classifying user behavior based on eye movement data.

[0014] The user behavior classification method, device, equipment and medium based on eye movement data provided by the present invention obtain eye movement data generated by a user performing a human-computer interaction task in an eye movement scene; input the eye movement data into a classification model to obtain a classification result of the user behavior output by the classification model; the classification model is trained based on the original eye movement coordinate data, the eye movement task scene picture and the eye movement feature data used for classification on the basis of an eye movement classification network. The present invention realizes classification of user behavior based on eye movement data by combining eye movement tracking technology and machine learning algorithms, thereby avoiding the problems of strong subjectivity and low accuracy in manual classification and improving the accuracy of user behavior classification. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0016] Figure 1 It is a flow chart of the user behavior classification method based on eye movement data provided by the present invention.

[0017] Figure 2 It is a structural schematic diagram of a user behavior classification device based on eye movement data provided by the present invention.

[0018] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] As an objective and quantitative research method, eye tracking technology has been widely used in psychology, neuroscience and other fields. Eye movement data can reflect an individual's cognitive, emotional and attentional mechanisms in the process of visual information processing, providing new possibilities for the diagnosis of autism. Autistic patients have obvious abnormalities in visual attention, face recognition, eye contact, etc. These abnormalities can be objectively measured and analyzed through eye movement data.

[0021] At present, although some studies have attempted to use eye movement data for the diagnosis of autism, these diagnostic methods are limited to specific experimental tasks or scenarios and lack systematicity and versatility. Therefore, the present invention aims to combine eye movement tracking technology and machine learning algorithms to propose a user behavior classification method based on eye movement data, which can achieve rapid and accurate identification of autistic patients.

[0022] It should be noted that the user behavior classification method based on eye movement data proposed in the present invention is implemented in all steps by a computer or other device.

[0023] Combine the following Figure 1-Figure 3 The present invention describes a user behavior classification method, apparatus, device and medium based on eye movement data.

[0024] Figure 1 is a flow chart of the user behavior classification method based on eye movement data provided by the present invention, such as Figure 1 As shown, the method includes the following steps 101 and 102.

[0025] Step 101: Acquire eye movement data generated when a user performs a human-computer interaction task in an eye movement scene.

[0026] The eye movement scene is a virtual scene that includes three elements: a virtual host, virtual objects, and a virtual background. The virtual hosts include two types: anthropomorphic animal models and human models; the virtual objects include realistic animal models and daily necessities models; and the virtual backgrounds include everyday spaces such as kindergartens, grasslands, and rooms.

[0027] The human-computer interaction task includes multiple levels, each corresponding to a different interactive task. For example, in a virtual environment formed by an eye movement scene, the human-computer interaction task includes 5 levels in which the subject interacts with objects in the scene. At each level, the virtual host introduces the task content, and the participant then performs the interactive task. Finally, the virtual host verbally encourages the participant. The total training time is 10 minutes.

[0028] By designing eye movement scenarios and human-computer interaction tasks, the system can provide diverse visual stimulation and interactive experiences, thereby collecting richer and more accurate eye movement data.

[0029] By using Unreal Engine (UE) to build an eye movement scene, users can track eye movements in real time through head-mounted devices or cameras to collect eye movement data generated by users performing human-computer interaction tasks in eye movement scenes. The eye movement data includes eye coordinate data, gaze direction data, gaze point two-dimensional coordinate data, eye closure degree data, blink frequency data, eye movement images or video data, etc.

[0030] Step 102: input the eye movement data into a classification model to obtain a classification result of the user behavior output by the classification model.

[0031] The collected eye movement data is input into the pre-trained classification model to obtain the classification results of user behavior output by the classification model. It can be understood that user behavior refers to the abnormal behavior exhibited by autism, among which Autistic Spectrum Disorder (ASD) is a complex neurodevelopmental disease, and its abnormal behavior patterns include abnormal language ability, abnormal communication ability, narrow interests, and stubbornness. The classification results output by the classification model can be used to determine the type of autism, such as mild autism, moderate autism, severe autism, and no risk.

[0032] The classification model is trained on the basis of the eye movement classification network, based on the original eye movement coordinate data, eye movement task scene pictures and eye movement feature data used for classification. Among them, the original eye movement coordinate data includes the subject's binocular coordinate data, gaze direction data, gaze point two-dimensional coordinate data, eye closure degree data, etc.; the eye movement task scene picture refers to the two-dimensional picture rendered by mathematical calculation of the eye movement scene in the task during the execution of the human-computer interaction task.

[0033] The present invention provides a user behavior classification method based on eye movement data, which obtains eye movement data generated by a user performing a human-computer interaction task in an eye movement scene; inputs the eye movement data into a classification model to obtain a classification result of the user behavior output by the classification model; the classification model is trained based on the original eye movement coordinate data, the eye movement task scene picture and the eye movement feature data used for classification on the basis of an eye movement classification network. The present invention realizes classification of user behavior based on eye movement data by combining eye movement tracking technology and machine learning algorithms, thereby avoiding the problems of strong subjectivity and low accuracy in manual classification and improving the accuracy of user behavior classification.

[0034] Based on the above embodiment, training the classification model includes the following steps 121 and 123.

[0035] Step 121, collecting the original eye movement coordinate data and the eye movement task scene picture generated by the subject performing the human-computer interaction task in the eye movement scene; Step 122, determining the eye movement feature data according to the original eye movement coordinate data and the eye movement task scene picture; Step 123, using the original eye movement coordinate data, the eye movement task scene image and the eye movement feature data, the eye movement classification network is trained to obtain the classification model.

[0036] The original eye movement coordinate data and eye movement task scene pictures generated by the subjects performing human-computer interaction tasks in the eye movement scene are collected, and the original eye movement coordinate data and eye movement task scene pictures are preprocessed to obtain eye movement feature data for classification. Among them, the eye movement feature data include total fixation duration, first fixation time, first fixation duration, average fixation time, fixation frequency and fixation percentage. The determination method of each eye movement feature data is as follows: According to the eye movement task scene picture, the eye movement scene is divided into multiple areas. For example, the object recognition network is used to identify the bounding box position of the object in the eye movement task scene picture, and the area surrounded by the bounding box is taken as an area. According to the original eye movement coordinate data, the duration of the two-dimensional coordinate data of the fixation point in each level falling in each area is calculated, and then the sum of the duration of each area is taken as the total fixation duration of each area. According to the original eye movement coordinate data, the time difference between the first fixation time point when the two-dimensional coordinate data of the fixation point falls in each area and the start time point of each level is calculated, and the time difference is taken as the first fixation time of each area. According to the original eye movement coordinate data, the duration of the first fall of the two-dimensional coordinate data of the fixation point in each area is calculated, and the duration is taken as the first fixation duration of each area. The time period in which the two-dimensional coordinate data of the gaze point continuously falls on a single area is taken as the number of fixations. Then, the total number of fixations within each level is calculated based on the original eye movement coordinate data. The ratio of the total fixation duration of each area to the total number of fixations in each area is taken as the average fixation time of each area. The ratio of the total number of fixations in each area to the level duration is taken as the fixation frequency of each area. Based on the original eye movement coordinate data, the proportion of the time the subject fixates on each area in the experiment to the entire experiment is calculated, and this time proportion is taken as the fixation percentage of each area.

[0037] The original eye movement coordinate data, eye movement task scene pictures and eye movement feature data are used to train the eye movement classification network to obtain a classification model. Among them, the eye movement classification network includes a picture feature encoding module, a temporal feature extraction module and a feature fusion prediction module; the picture feature encoding module is used to generate eye movement heat map data, input the eye movement heat map data into the convolutional neural network, and obtain the eye movement image feature vector of the eye movement heat map data; the temporal feature extraction module is used to extract the eye movement time series feature vector of all original eye movement coordinate data within a fixed time length through the temporal neural network; the feature fusion prediction module is used to splice the eye movement image feature vector, the eye movement time series feature vector and the eye movement feature data to obtain the spliced ​​data; the spliced ​​data is processed by the multi-layer perceptron network to obtain the classification result.

[0038] The eye movement heat map data is generated in the following way: the original eye movement coordinate data is converted from the global coordinate system to the image coordinate system to obtain the coordinate information of the original eye movement coordinate data on the eye movement task scene picture; according to the coordinate information, the eye movement task scene picture is colored to obtain the eye movement heat map data. For example, the original eye movement coordinate data is converted from the global coordinate system to the image coordinate system through the coordinate axis transformation to obtain the xy coordinate point of the original eye movement coordinate data on the eye movement task scene picture, and then the xy coordinate point on the eye movement task scene picture is colored. The more times it falls on the coordinate point, the darker the color. After traversing and processing all the original eye movement coordinate data, the final eye movement heat map data is obtained.

[0039] The image feature encoding module outputs the eye movement image feature vector by inputting the eye movement heat map data. ,in, The feature vector length parameter preset for the convolutional neural network. The convolutional neural network includes the first input layer, the encoding layer, the expansion layer and the decoding layer.

[0040] The input data of the first input layer is a two-dimensional RGB image of any size, that is, an eye movement heat map. The eye movement heat map data can be pooled through the first input layer to output a pooled image of a fixed size.

[0041] The encoding layer consists of several 2D convolutional layers, using ReLU as the activation function, the convolution kernel size is 2×2, and the step size is 2, which is used to convolve the pooled image to obtain the convolution image features.

[0042] The expansion layer is used to expand the convolution image features into a one-dimensional latent vector feature, namely the eye movement image feature vector.

[0043] The decoding layer is used to restore the eye movement image feature vector to the eye movement heat map data. The decoding layer consists of several 2D convolutional layers, which restore the eye movement image feature vector to a two-dimensional grayscale image of the same size as the original input, namely the eye movement restoration image, and use the pixel-level MSE loss function for error back propagation. The MSE loss function is: ; in, The eye movement heat map Line The grayscale value of a single pixel in the column, The first Line The grayscale value of a single pixel in the column, is the height value of the eye movement heat map and the eye movement restoration map, It is the width of the eye movement heat map and eye movement restoration map.

[0044] The temporal feature extraction module generates the eye movement temporal feature vector by inputting the original eye movement coordinate data. ,in, The feature vector length parameter preset for the time series neural network is the same as the feature vector length parameter preset for the convolutional neural network. The time series neural network includes a second input layer, a hidden layer, and an output layer.

[0045] The input data of the second input layer is the local eye movement heat map obtained by visualizing k frames of continuous original eye movement coordinate data. , the output is the intermediate feature vector; The hidden layer is used to pass multiple one-dimensional time series vectors through two time series neural network units to obtain an output sequence. Among them, the hidden layer is processed using a two-layer network structure to train the time series neural network structure layer by layer, and the output of the previous hidden layer is passed to the next hidden layer for calculation. After all calculations are completed, the output sequence of the last hidden layer is taken as the input of the output layer.

[0046] The output layer is used to pass the output sequence through the timing neural network unit to obtain the eye movement timing feature vector.

[0047] The feature fusion prediction module is used to splice the eye movement image feature vector, the eye movement timing feature vector and the eye movement feature data used for classification, and then process it through a multi-layer perceptron network to output the probability that the feature data belongs to the autism child classification. Among them, feature splicing and prediction refers to splicing the eye movement image feature vector, the eye movement timing feature vector and the eye movement feature data used for classification to form a high-dimensional feature vector , which is mapped into a probability vector after a fully connected layer and a softmax function , used to evaluate the probability that the sample belongs to the autism classification. Among them,

[0048] ; in, is the probability vector output by the feature fusion prediction module. values, is the number of classifications for the prediction task. Probability vector Include elements, each element represents the probability of a classification. The classifications in this embodiment include no risk, mild autism, moderate autism and severe autism. The probability vector The classification with the highest median value is the predicted evaluation sample classification. The cross entropy loss is calculated for the actual evaluation sample classification and the predicted evaluation sample classification, and the training is optimized using the gradient optimization algorithm. The cross entropy loss calculation formula is: ; in, is the number of samples participating in training at a time, For a single training session The prediction evaluation sample classification of samples, For a single training session The actual evaluation sample classification of samples.

[0049] The embodiment of the present invention classifies autism by training a classification model, and classifies user behavior based on eye movement data, thereby avoiding the problems of strong subjectivity and low accuracy in manual classification and improving the accuracy of user behavior classification.

[0050] In order to further analyze and explain the user behavior classification method based on eye movement data proposed in the present invention, an embodiment of the present invention specifically proposes an autism classification diagnosis system based on eye movement data, which includes a data acquisition module, a feature value acquisition module and a classification model training module.

[0051] First, the UE engine is used to build a virtual scene, namely the eye movement scene, and then the original eye movement coordinate data and eye movement task scene pictures generated by the subjects performing human-computer interaction tasks in the eye movement scene are collected. Among them, the collection of the original eye movement coordinate data in the data collection module is obtained through the Pico 4 Enterprise VR device, and its sampling frequency is 60Hz.

[0052] In one embodiment, the subject wears the Pico 4 Enterprise VR device, performs five-point eye movement calibration, starts the eye movement scene and sequentially executes five levels in which the subject interacts with objects in the scene; each level is introduced by a virtual host, and the participant then performs the interactive task, and finally the virtual host verbally encourages the participant, the duration of a single level is 2 minutes, and the total duration of the scene process is 10 minutes. During the scene process, the Pico 4 Enterprise VR device collects the subject's original eye movement coordinate data and eye movement task scene pictures, and saves them to a storage device.

[0053] The feature value acquisition module pre-processes the collected original eye movement coordinate data and eye movement task scene image data, and uses the processed data as eye movement feature data for classification. In one embodiment, the human-computer interaction task is a virtual host waving and saying hello to the subject. The virtual host is located directly opposite the subject, 120 cm away from the subject, and attracts the subject's attention through modal information such as voice, gestures, and facial expressions, and issues voice instructions, requesting the subject to say his name. After the virtual host's voice instruction is completed, wait for 10 seconds before proceeding to the next human-computer interaction task. The duration of the human-computer interaction task is 1 minute. The feature value acquisition module obtains the original eye movement coordinate data within 1 minute. In order to quantify the gaze data of the participants in the process and extract effective features that can be used for autism classification, the original eye movement coordinate data and eye movement task scene image data are processed to generate eye movement feature data for classification.

[0054] The data processing process is as follows: the eye movement scene is divided into three areas, namely the virtual host face area, the virtual host body area and the background area; according to the original eye movement coordinate data, the sum of the duration of the two-dimensional coordinate data of the subject's gaze point falling in each area is calculated as the total gaze duration; the time difference between the first gaze time point of the subject's gaze point two-dimensional coordinate data falling in each area and the start time point of this level is calculated as the first gaze time; the duration of the first gaze point of the subject's gaze point two-dimensional coordinate data falling in each area is calculated as the first gaze duration; the time period in which the subject's gaze point two-dimensional coordinate data continuously falls in a single area is one gaze number, and the total gaze number within the level duration is calculated; the total gaze duration of each area is calculated divided by the total gaze number as the average gaze time; the total gaze number of each area is calculated divided by the level duration as the gaze frequency; the proportion of the time the subject gazes at the area in the experiment in the entire experiment, that is, the total gaze duration divided by the level duration, is calculated as the gaze percentage; the two-dimensional coordinate data of the subject's gaze point is projected on the eye movement task scene image data and colored to form eye movement heat map data.

[0055] Using the eye movement classification network structure, the eye movement image feature vector, eye movement time series feature vector and eye movement feature data for classification are spliced ​​and used for network parameter training, and the trained network parameters are used to establish a classification model. Based on the established classification model, the system can automatically classify and identify autism in unknown children.

[0056] Among them, the eye movement classification network structure includes: picture feature encoding module, time series feature extraction module, and feature fusion prediction module. The picture feature encoding module is used to generate eye movement heat map, and input the eye movement heat map data into the convolutional neural network for processing to obtain the eye movement image feature vector of the eye movement heat map data; the time series feature extraction module is used to extract features from the original eye movement coordinate data, and extract the eye movement time series feature vector of all the original eye movement coordinate data within a fixed time length through the time series neural network; the feature fusion prediction module is used to splice the eye movement image feature vector, the eye movement time series feature vector and the eye movement feature data used for classification, and then process them through the multi-layer perceptron network to output the probability that the feature data belongs to the classification of autistic children.

[0057] First, the eye movement heat map data required by the image feature encoding module is generated. The calculation method is as follows: the original eye movement coordinate data is converted from the global coordinate system to the image coordinate system through the coordinate axis transformation, and the xy coordinate points of the eye movement data on the eye movement task scene picture are obtained. Then, the xy coordinate points on the eye movement task scene picture are colored. The more times the coordinate point falls, the darker the color. After traversing and processing all the original eye movement coordinate data, the final eye movement heat map data is obtained.

[0058] In one embodiment, the image feature encoding module includes a single Auto Encoder convolutional neural network, which outputs an eye movement image feature vector by inputting eye movement heat map data. The Auto Encoder convolutional neural network structure includes an input layer, an encoding layer, an expansion layer, and a decoding layer. The input data of the input layer is a two-dimensional RGB image of any size, and a pooled image of a fixed size is output through the pooling layer. The encoding layer is composed of several 2D convolutional layers, using ReLU as the activation function, the convolution kernel size is 2×2, and the step size is 2, and the pooled image is processed into a convolution image feature. The expansion layer expands the convolution image feature output by the encoding layer into a one-dimensional latent vector feature, that is, the eye movement image feature vector, which is subsequently used as one of the inputs of the feature fusion prediction module. The decoding layer is composed of several 2D convolutional layers, which restores the eye movement image feature vector to the original input two-dimensional RGB image, and uses the pixel-granular MSE loss function for error back propagation.

[0059] In one embodiment, the temporal feature extraction module includes a single LSTM network structure, and generates an eye movement temporal feature vector by inputting eye movement feature data and original eye movement coordinate data for classification. The eye movement feature data and original eye movement coordinate data for classification, the LSTM network structure includes an input layer, a hidden layer and an output layer. The input data of the input layer is a one-dimensional temporal vector formed by splicing the original eye movement coordinate data, and then the data within the time period of this level is sampled to obtain n one-dimensional temporal vectors to meet the input requirements of the LSTM network. For the hidden layer, a two-layer network structure is used for processing to train the LSTM layer by layer. The output of the upper LSTM hidden layer is passed to the LSTM neuron corresponding to the next LSTM hidden layer for calculation. After all calculations are completed, the value of the output sequence of the last hidden layer is taken as the input of the output layer. The output layer includes a single temporal neural network unit, and the eye movement temporal feature vector is finally output.

[0060] The feature fusion prediction module is used to splice the eye movement image feature vector, the eye movement timing feature vector and the eye movement feature data used for classification, and then process it through a multi-layer perceptron network to output the probability that the feature data belongs to the autism child classification. Among them, feature splicing and prediction refers to splicing the eye movement image feature vector, the eye movement timing feature vector and the eye movement feature data used for classification to form a high-dimensional feature vector , which is mapped into a probability vector after a fully connected layer and a softmax function , used to evaluate the probability that the sample belongs to the autism classification. Among them,

[0061] ; in, is the probability vector output by the feature fusion prediction module. values, is the number of classifications for the prediction task. Probability vector Include elements, each element represents the probability of a classification. The classifications in this embodiment include no risk, mild autism, moderate autism and severe autism. The probability vector The classification with the highest median value is the predicted evaluation sample classification. The cross entropy loss is calculated for the actual evaluation sample classification and the predicted evaluation sample classification, and the training is optimized using the gradient optimization algorithm. The cross entropy loss calculation formula is: ; in, is the number of samples participating in training at a time, For a single training session The prediction evaluation sample classification of samples, For a single training session The actual evaluation sample classification of samples.

[0062] The time series feature extraction module and the feature fusion prediction module use methods such as 5-fold cross validation to evaluate the classification accuracy of the model under different parameter combinations. Specifically, 1 / 5 of the data in the data set is used as the training set, and the rest of the data is used as the test set. The network parameters are initialized and training begins. This cycle is repeated 5 times until each evaluation sample is used as a test object. At the same time, the grid search method is used to find the optimal hyperparameter combination within the preset parameter range, such as the learning rate and the number of iterations.

[0063] The embodiment of the present invention collects and analyzes eye movement data of autistic patients and healthy controls, extracts key indicators that can reflect the characteristics of autism, and then constructs a classification model to achieve automatic identification and classification of autistic patients, which helps to improve the accuracy and objectivity of autism diagnosis.

[0064] The user behavior classification device based on eye movement data provided by the present invention is described below. The user behavior classification device based on eye movement data described below and the user behavior classification method based on eye movement data described above can correspond to each other.

[0065] refer to Figure 2 The user behavior classification device based on eye movement data includes an acquisition module 201 and a classification module 202.

[0066] An acquisition module 201 is used to acquire eye movement data generated by a user performing a human-computer interaction task in an eye movement scene; The classification module 202 is used to input the eye movement data into a classification model to obtain a classification result of the user behavior output by the classification model; the classification model is trained on the basis of an eye movement classification network, based on original eye movement coordinate data, eye movement task scene pictures and eye movement feature data used for classification.

[0067] The present invention provides a user behavior classification device based on eye movement data, which obtains eye movement data generated by a user performing a human-computer interaction task in an eye movement scene; inputs the eye movement data into a classification model to obtain a classification result of the user behavior output by the classification model; the classification model is trained based on the original eye movement coordinate data, the eye movement task scene picture and the eye movement feature data used for classification on the basis of an eye movement classification network. The present invention realizes classification of user behavior based on eye movement data by combining eye movement tracking technology and machine learning algorithms, thereby avoiding the problems of strong subjectivity and low accuracy in manual classification and improving the accuracy of user behavior classification.

[0068] In one embodiment, the user behavior classification device based on eye movement data further includes a training module for: Collecting the original eye movement coordinate data and the eye movement task scene picture generated by the subject performing the human-computer interaction task in the eye movement scene; Determining the eye movement feature data according to the original eye movement coordinate data and the eye movement task scene picture; Using the original eye movement coordinate data, the eye movement task scene picture and the eye movement feature data, the eye movement classification network is trained to obtain the classification model; Among them, the eye movement scene is a virtual scene including a virtual host, virtual objects and a virtual background; the human-computer interaction task includes multiple levels, and each level corresponds to a different interaction task.

[0069] In one embodiment, the training module is further used to: According to the eye movement task scene picture, dividing the eye movement scene into multiple areas; According to the original eye movement coordinate data, the sum of the durations of the two-dimensional coordinate data of the gaze point in each level falling in each area is taken as the total gaze duration of each area; According to the original eye movement coordinate data, the time difference between the first fixation time point of each area where the two-dimensional coordinate data of the fixation point falls and the start time point of each level is used as the first fixation time of each area; According to the original eye movement coordinate data, taking the duration of the first time the two-dimensional coordinate data of the gaze point falls on each of the regions as the first gaze duration of each of the regions; The time period in which the two-dimensional coordinate data of the fixation point continuously falls in a single area is regarded as a fixation count; Determine the total number of fixations in each level duration according to the original eye movement coordinate data, and take the ratio of the total fixation duration of each area to the total number of fixations of each area as the average fixation time of each area; The ratio of the total number of fixations of each area to the level duration is used as the fixation frequency of each area; According to the original eye movement coordinate data, the duration of the subject's gaze at each of the areas in the experiment and the proportion of the duration of the entire experiment are used as the gaze percentage of each of the areas.

[0070] In one embodiment, the eye movement classification network includes an image feature encoding module, a temporal feature extraction module, and a feature fusion prediction module; The image feature encoding module is used to generate eye movement heat map data, input the eye movement heat map data into a convolutional neural network, and obtain an eye movement image feature vector of the eye movement heat map data; The temporal feature extraction module is used to extract the eye movement temporal feature vector of all the original eye movement coordinate data within a fixed time length through a temporal neural network; The feature fusion prediction module is used to splice the eye movement image feature vector, the eye movement time series feature vector and the eye movement feature data to obtain spliced ​​data; and process the spliced ​​data through a multi-layer perceptron network to obtain the classification result.

[0071] In one embodiment, the training module is further configured to: Converting the original eye movement coordinate data from the global coordinate system to the image coordinate system to obtain coordinate information of the original eye movement coordinate data on the eye movement task scene image; According to the coordinate information, coloring is performed on the eye movement task scene picture to obtain the eye movement heat map data.

[0072] In one embodiment, the convolutional neural network includes a first input layer, an encoding layer, an expansion layer, and a decoding layer; The first input layer is used to perform pooling processing on the eye movement heat map data to obtain a pooled image; The encoding layer is used to perform convolution processing on the pooled image to obtain convolution image features; The expansion layer is used to expand the convolution image feature into a one-dimensional latent vector feature; the one-dimensional latent vector feature is the eye movement image feature vector; The decoding layer is used to restore the eye movement image feature vector into the eye movement heat map data.

[0073] In one embodiment, the temporal neural network includes a second input layer, a hidden layer, and an output layer; The second input layer is used to process the local eye movement heat map obtained by visualizing multiple frames of continuous original eye movement coordinate data to obtain an intermediate feature vector; The hidden layer is used to pass the intermediate feature vector through two time series neural network units to obtain an output sequence; The output layer is used to pass the output sequence through a timing neural network unit to obtain the eye movement timing feature vector.

[0074] Figure 3 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 3As shown, the electronic device may include: a processor 310, a communication interface 320, a memory 330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 communicate with each other through the communication bus 340. The processor 310 may call the logic instructions in the memory 330 to execute a user behavior classification method based on eye movement data, the method comprising: obtaining eye movement data generated by a user performing a human-computer interaction task in an eye movement scene; inputting the eye movement data into a classification model to obtain a classification result of the user behavior output by the classification model; the classification model is obtained by training based on an eye movement classification network, original eye movement coordinate data, an eye movement task scene picture and eye movement feature data for classification.

[0075] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0076] On the other hand, the present invention also provides a computer program product, which includes a computer program, and the computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the user behavior classification method based on eye movement data provided by the above methods, and the method includes: obtaining eye movement data generated by a user performing a human-computer interaction task in an eye movement scene; inputting the eye movement data into a classification model to obtain a classification result of the user behavior output by the classification model; the classification model is trained on the basis of an eye movement classification network, based on original eye movement coordinate data, eye movement task scene pictures and eye movement feature data used for classification.

[0077] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the user behavior classification method based on eye movement data provided by the above-mentioned methods, the method comprising: obtaining eye movement data generated by a user performing a human-computer interaction task in an eye movement scene; inputting the eye movement data into a classification model to obtain a classification result of the user behavior output by the classification model; the classification model is trained on the basis of an eye movement classification network, based on original eye movement coordinate data, eye movement task scene images and eye movement feature data used for classification.

[0078] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0079] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0080] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A user behavior classification method based on eye movement data, characterized in that: include: Acquire the eye movement data generated by the user performing human-computer interaction tasks in the eye movement scene; Inputting the eye movement data into a classification model to obtain a classification result of the user behavior output by the classification model; The classification model is obtained by training on the basis of an eye movement classification network, based on original eye movement coordinate data, eye movement task scene pictures and eye movement feature data for classification.

2. The user behavior classification method based on eye movement data according to claim 1 is characterized in that: The classification model is trained based on the following method: Collecting the original eye movement coordinate data and the eye movement task scene picture generated by the subject performing the human-computer interaction task in the eye movement scene; Determining the eye movement feature data according to the original eye movement coordinate data and the eye movement task scene picture; Using the original eye movement coordinate data, the eye movement task scene picture and the eye movement feature data, the eye movement classification network is trained to obtain the classification model; Among them, the eye movement scene is a virtual scene including a virtual host, virtual objects and a virtual background; the human-computer interaction task includes multiple levels, and each level corresponds to a different interaction task.

3. The user behavior classification method based on eye movement data according to claim 2 is characterized in that: The original eye movement coordinate data includes binocular coordinate data, gaze direction data, gaze point two-dimensional coordinate data and eye closure degree data; the eye movement feature data includes total gaze duration, first gaze time, first gaze duration, average gaze time, gaze frequency and gaze percentage; The step of determining the eye movement feature data according to the original eye movement coordinate data and the eye movement task scene picture includes: According to the eye movement task scene picture, dividing the eye movement scene into multiple areas; According to the original eye movement coordinate data, the sum of the durations of the two-dimensional coordinate data of the gaze point in each level falling in each area is taken as the total gaze duration of each area; According to the original eye movement coordinate data, the time difference between the first fixation time point of each area where the two-dimensional coordinate data of the fixation point falls and the start time point of each level is used as the first fixation time of each area; According to the original eye movement coordinate data, taking the duration of the first time the two-dimensional coordinate data of the gaze point falls on each of the regions as the first gaze duration of each of the regions; The time period in which the two-dimensional coordinate data of the fixation point continuously falls in a single area is regarded as a fixation count; Determine the total number of fixations in each level duration according to the original eye movement coordinate data, and take the ratio of the total fixation duration of each area to the total number of fixations of each area as the average fixation time of each area; The ratio of the total number of fixations of each area to the level duration is used as the fixation frequency of each area; According to the original eye movement coordinate data, the duration of the subject's gaze at each of the areas in the experiment and the proportion of the duration of the entire experiment are used as the gaze percentage of each of the areas.

4. The user behavior classification method based on eye movement data according to claim 2 is characterized in that: The eye movement classification network includes a picture feature encoding module, a temporal feature extraction module and a feature fusion prediction module; The image feature encoding module is used to generate eye movement heat map data, input the eye movement heat map data into a convolutional neural network, and obtain an eye movement image feature vector of the eye movement heat map data; The temporal feature extraction module is used to extract the eye movement temporal feature vector of all the original eye movement coordinate data within a fixed time length through a temporal neural network; The feature fusion prediction module is used to splice the eye movement image feature vector, the eye movement time series feature vector and the eye movement feature data to obtain spliced ​​data; and process the spliced ​​data through a multi-layer perceptron network to obtain the classification result.

5. The user behavior classification method based on eye movement data according to claim 4 is characterized in that: The eye movement heat map data is generated based on the following method: Converting the original eye movement coordinate data from the global coordinate system to the image coordinate system to obtain coordinate information of the original eye movement coordinate data on the eye movement task scene image; According to the coordinate information, coloring is performed on the eye movement task scene picture to obtain the eye movement heat map data.

6. The user behavior classification method based on eye movement data according to claim 4 is characterized in that: The convolutional neural network includes a first input layer, an encoding layer, an expansion layer and a decoding layer; The first input layer is used to perform pooling processing on the eye movement heat map data to obtain a pooled image; The encoding layer is used to perform convolution processing on the pooled image to obtain convolution image features; The expansion layer is used to expand the convolution image feature into a one-dimensional latent vector feature; the one-dimensional latent vector feature is the eye movement image feature vector; The decoding layer is used to restore the eye movement image feature vector into the eye movement heat map data.

7. The user behavior classification method based on eye movement data according to claim 4 is characterized in that: The temporal neural network comprises a second input layer, a hidden layer and an output layer; The second input layer is used to process the local eye movement heat map obtained by visualizing multiple frames of continuous original eye movement coordinate data to obtain an intermediate feature vector; The hidden layer is used to pass the intermediate feature vector through two time series neural network units to obtain an output sequence; The output layer is used to pass the output sequence through a timing neural network unit to obtain the eye movement timing feature vector.

8. A user behavior classification device based on eye movement data, characterized in that: include: An acquisition module, used to acquire eye movement data generated by a user performing a human-computer interaction task in an eye movement scene; A classification module, used for inputting the eye movement data into a classification model to obtain a classification result of the user behavior output by the classification model; The classification model is obtained by training on the basis of an eye movement classification network, based on original eye movement coordinate data, eye movement task scene pictures and eye movement feature data for classification.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the user behavior classification method based on eye movement data as described in any one of claims 1 to 7 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the user behavior classification method based on eye movement data as described in any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Eye movement sight tracking method, device, equipment and medium

    CN119882991A

  • An eye-tracking method, device, equipment, and medium

    CN119882991B

  • Cognitive disorder assessment method and system

    CN121890951A