Adaptive driving cognitive distraction early warning method and device based on multi-modal physiological signals, edge computing device and medium
By collecting multimodal physiological data from simulator drivers, including EEG and eye-tracking signals, extracting feature vectors and concatenating them into a comprehensive feature vector, and using a classifier to identify cognitive distraction states, the problem of inaccurate driver cognitive distraction in existing technologies is solved, thus improving the accuracy and safety of detection.
Patent Information
- Application Number
- CN202511544917.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-27
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2045-10-27
AI Technical Summary
Existing technology cannot accurately determine a driver's state of cognitive distraction; it is difficult to identify whether a driver is truly concentrating based solely on visual or physical actions.
Multimodal physiological data of the driver in the simulator are collected, including EEG signals and eye movement signals. Feature vectors are extracted and concatenated into a comprehensive feature vector through a weight matrix. A classifier is used to identify cognitive distraction states, and prompt information is output when cognitive distraction is detected.
It improves the accuracy of detecting driver cognitive distraction by combining feature vectors and weight matrices from multimodal physiological data to identify the driver's internal attention state, reduce misjudgments, and improve safety.
Smart Images

Figure CN121667702B_ABST
Abstract
Description
Technical Field
[0001] This disclosure pertains to the field of human factors intelligence, and particularly relates to an adaptive driving cognitive distraction warning method, edge computing device, and medium based on multimodal physiological signals. Background Technology
[0002] A driving simulator is a device that simulates a real driving environment, allowing drivers to experience different road conditions and traffic scenarios.
[0003] During the use of driving simulators, it is necessary to monitor the driver's state. Related technologies typically use cameras to monitor the driver's gaze direction to determine if the driver is distracted. However, cognitive distraction is more complex; sometimes the driver's gaze may appear to be on the road, but their attention has already wandered, making it impossible to accurately determine cognitive distraction through visual or physical means alone. Summary of the Invention
[0004] One of the technical problems that this disclosure aims to solve is that it is impossible to accurately determine whether there is cognitive distraction based on visual or physical actions.
[0005] To address the aforementioned technical problems, this disclosure provides an adaptive driving cognitive distraction warning method, edge computing device, and medium based on multimodal physiological signals, in order to improve the accuracy of driver cognitive distraction detection.
[0006] In a first aspect, this disclosure provides an adaptive driving cognitive distraction warning method based on multimodal physiological data, including: Collect multimodal physiological data of the target driver in the driving simulator, wherein the multimodal physiological data includes at least electroencephalogram (EEG) signals and eye movement signals; Feature vectors of each modality of physiological data are extracted from the multimodal physiological data, and the feature vectors are concatenated based on the weight matrix corresponding to the feature vectors to obtain a comprehensive feature vector. The weight matrix is determined based on the correlation between the feature components in the feature vectors and the cognitive distraction state. The classifier identifies whether the target driver is in a state of cognitive distraction based on the comprehensive feature vector. If the target driver is in a state of cognitive distraction, a prompt message will be output.
[0007] According to the adaptive driving cognitive distraction warning method based on multimodal physiological data disclosed herein, multimodal physiological data of a target driver in a driving simulator is collected. This multimodal physiological data includes at least electroencephalogram (EEG) signals and eye-tracking signals. Feature vectors of each modality of the multimodal physiological data are extracted, and the feature vectors are concatenated based on the weight matrix corresponding to the feature vectors to obtain a comprehensive feature vector. The weight matrix is determined based on the correlation between the feature components in the feature vectors and the cognitive distraction state. A classifier identifies whether the target driver is in a cognitive distraction state based on the comprehensive feature vector. If the target driver is in a cognitive distraction state, a prompt message is output. This embodiment of the disclosure collects multimodal physiological data of the driver. Physiological data can directly reflect the driver's brain's attention activity state. When the driver's internal attention is distracted, the relevant physiological data will change accordingly. By extracting feature vectors from each modality of physiological data and combining them with a correlation weight matrix to obtain a comprehensive feature vector, the proportion of features more closely related to the cognitive distraction state is increased during the identification of cognitive distraction states, thereby improving the accuracy of driver cognitive distraction detection.
[0008] According to some embodiments of this disclosure, the extraction of feature vectors for each modality of physiological data in the multimodal physiological data includes: The preprocessing methods corresponding to each modality of the multimodal physiological data are used to preprocess each modality of the physiological data. The preprocessed modality of the physiological data is segmented into signals using a time window of the first target duration and a step size of the second target duration to obtain the overlapping time series corresponding to each modality of the physiological data. The feature extraction methods corresponding to each modality of the physiological data are used to extract multidimensional features from the overlapping time series to obtain the feature vector of each modality of the physiological data.
[0009] In this embodiment, physiological data of different modalities are processed separately using their respective preprocessing methods. This allows for processing based on the characteristics of each modality's physiological data, making the processed physiological data more suitable for analysis. By using time windows to segment the preprocessed physiological data into overlapping time series, the details of data changes over time can be captured, reducing the omission of features. Furthermore, through multi-dimensional feature extraction, information reflecting cognitive distraction states in physiological data can be extracted from different angles, resulting in extracted feature vectors containing more information related to cognitive distraction states and improving the accuracy of subsequent identification.
[0010] According to some embodiments of this disclosure, identifying whether the target driver is in a state of cognitive distraction using a classifier based on the comprehensive feature vector includes: Target feature set is selected from the comprehensive feature vector; classifier corresponding to the target driver is obtained; target feature set is input into classifier corresponding to the target driver to obtain cognitive distraction index; if cognitive distraction index is greater than target threshold, the target driver is determined to be in a state of cognitive distraction.
[0011] In this embodiment, by selecting the target feature set from the comprehensive feature vector, information in the comprehensive feature vector that is weakly related to the cognitive distraction state can be reduced. The selected target feature set is then input into a trained classifier. The trained classifier has learned the differences between features in the cognitive distraction and focus states and can accurately calculate and output the cognitive distraction index based on the input target feature set, thereby further improving the accuracy of identifying the driver's cognitive distraction state.
[0012] In this embodiment, by specifically acquiring the classifier corresponding to the target driver, and considering the differences in the physiological characteristics of different drivers, the corresponding classifier can output a cognitive distraction index that is more in line with the actual situation of the driver, thereby further improving the accuracy of identifying the driver's cognitive distraction state.
[0013] According to some embodiments of this disclosure, the method further includes: The changes in the target driver's multimodal physiological data are recorded after the prompt information is output; the classifier parameters are updated based on these changes. In this embodiment, by updating the classifier parameters based on changes in multimodal physiological data, the classifier can continuously learn the driver's cognitive distraction state and adjust accordingly to the driver's state feedback, thus improving the long-term usability of the classifier.
[0014] According to some embodiments of this disclosure, the classifier is trained in the following manner: The method involves collecting multimodal physiological data of the target driver under simulated driving scenarios in different scenarios, and obtaining time markers of cognitive distraction reported by the target driver during the simulated driving process. Labels are then established for the multimodal physiological data based on these time markers. Specifically, the labels for the multimodal physiological data within a preset time period before each time marker are cognitive distraction state labels, and the labels for the multimodal physiological data within a preset time period after each time marker are focus state labels. Feature vectors are extracted and concatenated from the multimodal physiological data to obtain a comprehensive feature vector. A training set is constructed based on the comprehensive feature vector and the labels, and the classifier is iteratively trained using the training set.
[0015] In this embodiment, by collecting multimodal physiological data of the target driver simulating driving in different driving scenarios, the classifier can learn the differences in the real physiological characteristics of the target driver in different states. Based on the time markers of the target driver's reported cognitive distraction, the automatic construction of data labels is realized, improving the efficiency and accuracy of label establishment.
[0016] According to some embodiments of this disclosure, constructing a training set based on the sample comprehensive feature vector includes: Calculate the F-statistic for each sample feature component in the comprehensive feature vector of the samples. A larger F-statistic indicates a stronger statistical significance in distinguishing whether a sample feature component is in a state of cognitive distraction. Add each sample feature component in the comprehensive feature vector to a first feature set in order of the F-statistic magnitude, and input the first feature set after adding any sample feature component to the classifier. Calculate a first difference statistical index between the prediction result of the classifier and the corresponding label of the first feature set. Determine whether the first difference statistical index meets the admission criteria. If yes, save the first feature set after adding the sample feature component and select the next sample feature component to be added. If not, remove any sample feature component from the first feature set, and denote the removed first feature set as the second feature set, inputting the second feature set to the classifier. Calculate a second difference statistical index between the prediction result of the classifier and the corresponding label of the second feature set. Determine whether the second difference statistical index meets the removal criteria. If yes, save the second feature set after removing the sample feature component and select the next sample feature component to be removed. If not, denote the second feature set as the training set.
[0017] In this embodiment, by calculating the statistical index of the difference between the classifier prediction results and the labels after the sample feature components are added or removed, features that are better at judging cognitive distraction can be selected, making the classifier more accurate in each iteration. Moreover, the iterative training process is simple and does not require a large amount of sample data, so that the corresponding classifier can be trained more efficiently for different drivers.
[0018] According to some embodiments of this disclosure, the step of extracting and concatenating the feature vectors of the multimodal physiological data of the sample to obtain the comprehensive feature vector of the sample includes: Extract the sample feature vector from the multimodal physiological data of the sample; calculate the mutual information value between each sample feature component in the sample feature vector and the label, wherein the mutual information value characterizes the correlation between the sample feature component and the cognitive distraction state; determine the sample weight matrix corresponding to the sample feature vector based on the mutual information value; and concatenate the sample feature vector according to the sample weight matrix to obtain the comprehensive sample feature vector.
[0019] In this embodiment, by calculating the mutual information value between each modality feature vector and the label, the correlation between each modality feature vector and cognitive distraction state can be quantified. The weight matrix corresponding to the feature vector of each modality physiological data is determined based on the mutual information value, making the weight allocation more accurate.
[0020] According to some embodiments of this disclosure, the weight matrix corresponding to the feature vector is determined in the following manner: Calculate the similarity between the feature vector and the feature vectors of each sample in the multimodal physiological data of the sample; determine the weight matrix of the feature vector corresponding to the feature vector with the highest similarity to the feature vector as the weight matrix of the feature vector.
[0021] In this embodiment, since the sample weight matrix corresponding to the sample feature vector is constructed based on the correlation between the sample feature components and the cognitive distraction state in the multimodal physiological data of the sample, applying the sample weight matrix corresponding to the sample feature vector with the highest similarity to the feature vector to be processed can make the weight matrix better fit the actual features of the multimodal physiological data represented by the feature vector to be processed, thereby improving the accuracy of feature splicing.
[0022] According to some embodiments of this disclosure, the first difference statistical index and the second difference statistical index are p-values corresponding to the F statistic; the admission condition includes p-values corresponding to the traversed features being less than dynamic admission thresholds; the removal condition includes p-values corresponding to the traversed features being greater than dynamic removal thresholds.
[0023] The method further includes: Calculate the signal quality of the sample multimodal physiological data; adjust the dynamic admission threshold and the dynamic removal threshold based on the signal quality.
[0024] In this embodiment, the p-value corresponding to the F-statistic is used as a difference statistic indicator. The F-statistic reflects the degree of influence of the feature on the classification result. The smaller the p-value, the more significant the effect of the feature on judging the cognitive distraction state. The admission condition is that the p-value corresponding to the traversed feature is less than the dynamic admission threshold, so that features that contribute highly to the prediction result can be added to the first feature set. The removal condition is that the p-value corresponding to the traversed feature is greater than the dynamic removal threshold, so that features that have insufficient influence on the prediction result can be removed from the second feature set, further optimizing the quality of the feature set, so that the classifier training can select key features and reduce redundant interference features.
[0025] In this embodiment, by adjusting the dynamic admission threshold and dynamic removal threshold according to the signal quality, if the signal quality is good, the dynamic admission threshold can be increased to relax feature admission and reduce feature rejection. If the signal quality is poor, the dynamic removal threshold can be decreased to strictly screen significant features and avoid erroneous deletion of key features, so that the selected feature set can accurately reflect the driver's cognitive distraction state.
[0026] According to some embodiments of this disclosure, when the target driver is in a state of cognitive distraction, outputting a prompt message includes: If the target driver is in a state of cognitive distraction, output a first-level prompt message; if the number of times the first-level prompt message is output within the target duration exceeds the target number, output a second-level prompt message.
[0027] In this embodiment, by outputting tiered prompts, when the target driver is detected to be in a state of cognitive distraction, a first-level prompt is output first. If the number of times the first-level prompt is output exceeds the target number within the target duration, it indicates that the driver may be cognitively distracted continuously or repeatedly. Outputting a second-level prompt can more effectively attract the driver's attention, thereby reducing driving risks.
[0028] Secondly, this disclosure provides an adaptive driving cognitive distraction warning device based on multimodal physiological data, comprising: The acquisition module is used to acquire multimodal physiological data of the target driver of the driving simulator, wherein the multimodal physiological data includes at least electroencephalogram (EEG) signals and eye movement signals; An extraction module is used to extract feature vectors of each modality of physiological data in the multimodal physiological data, and to concatenate the feature vectors based on the weight matrix corresponding to the feature vectors to obtain a comprehensive feature vector. The weight matrix is determined based on the correlation between the feature components in the feature vectors and the cognitive distraction state. The identification module is used to identify whether the target driver is in a state of cognitive distraction based on the comprehensive feature vector. The warning module is used to output a prompt message when the target driver is in a state of cognitive distraction.
[0029] According to the adaptive driving cognitive distraction warning device based on multimodal physiological data disclosed herein, the device collects multimodal physiological data of a target driver from a driving simulator. The multimodal physiological data includes at least electroencephalogram (EEG) signals and eye-tracking signals. Feature vectors of each modality of the multimodal physiological data are extracted, and the feature vectors are concatenated based on a weight matrix corresponding to the feature vectors to obtain a comprehensive feature vector. The weight matrix is determined based on the correlation between the feature components in the feature vectors and the cognitive distraction state. A classifier identifies whether the target driver is in a cognitive distraction state based on the comprehensive feature vector. If the target driver is in a cognitive distraction state, a prompt message is output. This embodiment of the disclosure collects multimodal physiological data of the driver. Physiological data can directly reflect the driver's brain's attention activity state. When the driver's internal attention is distracted, the relevant physiological data will change accordingly. By extracting feature vectors from each modality of physiological data and combining them with a correlation weight matrix to obtain a comprehensive feature vector, the proportion of features more closely related to the cognitive distraction state is increased during the identification of cognitive distraction states, thereby improving the accuracy of driver cognitive distraction detection.
[0030] Thirdly, this disclosure provides an edge computing device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the adaptive driving cognitive distraction warning method based on multimodal physiological data as described in the first aspect above.
[0031] Fourthly, this disclosure provides a computer-readable storage medium storing a program or instructions that, when executed by a processor, implement the adaptive driving cognitive distraction warning method based on multimodal physiological data as described in the first aspect above.
[0032] Fifthly, this disclosure provides a chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the adaptive driving cognitive distraction warning method based on multimodal physiological data as described in the first aspect above.
[0033] In a sixth aspect, this disclosure provides a computer program product, including a computer program that, when executed by a processor, implements the adaptive driving cognitive distraction warning method based on multimodal physiological data as described in the first aspect above.
[0034] The above-described one or more technical solutions in the embodiments of this disclosure have at least the following technical effects: According to the adaptive driving cognitive distraction warning method based on multimodal physiological data disclosed herein, multimodal physiological data of a target driver in a driving simulator is collected. This multimodal physiological data includes at least electroencephalogram (EEG) signals and eye-tracking signals. Feature vectors of each modality of the multimodal physiological data are extracted, and the feature vectors are concatenated based on the weight matrix corresponding to the feature vectors to obtain a comprehensive feature vector. The weight matrix is determined based on the correlation between the sample feature components in the feature vector and the cognitive distraction state. A classifier identifies whether the target driver is in a cognitive distraction state based on the comprehensive feature vector. If the target driver is in a cognitive distraction state, a prompt message is output. This embodiment of the disclosure collects multimodal physiological data of the driver. Physiological data can directly reflect the driver's brain's attention activity state. When the driver's internal attention is distracted, the relevant physiological data will change accordingly. By extracting feature vectors from each modality of physiological data and combining them with a correlation weight matrix to obtain a comprehensive feature vector, the proportion of features more closely related to the cognitive distraction state is increased during the identification of cognitive distraction states, thereby improving the accuracy of driver cognitive distraction detection.
[0035] Additional aspects and advantages of this disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this disclosure. Attached Figure Description
[0036] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of this disclosure and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0037] Figure 1 This is a flowchart illustrating the adaptive driving cognitive distraction warning method based on multimodal physiological data provided in this embodiment of the disclosure. Figure 2 This is a schematic diagram of the ROC curve provided in the embodiments of this disclosure; Figure 3 This is a schematic diagram of the structure of the adaptive driving cognitive distraction warning device based on multimodal physiological data provided in this embodiment of the disclosure; Figure 4 This is a schematic diagram of the structure of the edge computing device provided in the embodiments of this disclosure. Detailed Implementation
[0038] The technical solutions of the embodiments of this disclosure will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure are within the scope of protection of this disclosure.
[0039] The terms "first," "second," etc., used in this disclosure and in the claims are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this disclosure can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0040] It should be noted that, in the optional embodiments of this disclosure, the personnel information and other related data involved require the permission or consent of the personnel involved when the embodiments of this disclosure are applied to specific products or technologies. Furthermore, the collection, use, and processing of the relevant data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. In other words, if the embodiments of this disclosure involve personnel-related data, it must be obtained with the authorization and consent of the personnel, the authorization and consent of the relevant departments, and in accordance with the relevant laws, regulations, and standards of the country and region. If the embodiments involve personal information, the acquisition of all personal information requires the consent of the individual. If sensitive information is involved, the separate consent of the information subject is required, and the embodiments must also be implemented with the authorization and consent of the subject.
[0041] Driving simulators typically include components such as a driver's seat, steering wheel, pedals, display screen, and various sensors. Drivers can experience different road conditions and traffic scenarios in the simulator, thereby improving their driving skills and ability to handle emergencies. During driving, the driver's level of concentration is crucial for driving safety; therefore, monitoring the driver's state is necessary when using a driving simulator. Related technologies typically detect the driver's distraction state to determine whether the driver is focused. Considering that driving distraction occurs when a driver's attention is diverted from the driving task to other things, it usually manifests as visual distraction, such as the driver's gaze being off the road for an extended period to check a mobile phone or adjust in-car equipment; and physical distraction, such as the driver looking down, turning their head excessively, making a phone call, drinking water, or smoking. These manifestations of driving distraction are easily captured by cameras. Therefore, related technologies typically use cameras to monitor the driver's gaze direction or physical movements to determine whether the driver is distracted. For example, cameras can capture the driver's eye movements in real time and then analyze the direction of the driver's eyes through relevant algorithms to determine whether the driver's gaze is on the road. When the camera detects that the driver's gaze is off the road for a long time, it will determine that the driver may be distracted while driving. Alternatively, it can detect whether the driver's attention is focused on driving by detecting whether the driver is looking down or turning their head too much.
[0042] However, a driver's lack of concentration can also be a state of cognitive distraction. Cognitive distraction is more complex than driving distraction, and its manifestations differ. Cognitive distraction occurs when a driver's attention appears to be focused on the driving task, but their mind is actually occupied by other things. For example, the driver's gaze may seem to be on the road, but they are thinking about work, family matters, or other unrelated things, making it impossible to react promptly to unexpected situations in the driving environment. In this case, it is impossible to accurately determine whether cognitive distraction has occurred based solely on visual or physical actions, and therefore, it is difficult to determine whether the driver's attention is truly focused on driving.
[0043] To address at least one of the aforementioned technical problems, this disclosure provides an adaptive driving cognitive distraction warning method, edge computing device, and medium based on multimodal physiological signals. The following, in conjunction with the accompanying drawings, describes in detail the adaptive driving cognitive distraction warning method, edge computing device, and medium based on multimodal physiological signals provided by this disclosure through specific embodiments and application scenarios. The adaptive driving cognitive distraction warning method based on multimodal physiological data can be applied to a terminal, specifically executed by hardware or software within the terminal. This terminal includes, but is not limited to, portable communication devices such as mobile phones or tablets with touch-sensitive surfaces (e.g., touchscreen displays and / or touchpads). It should also be understood that in some embodiments, the terminal may not be a portable communication device, but rather a desktop computer with touch-sensitive surfaces (e.g., touchscreen displays and / or touchpads). The following embodiments describe terminals including displays and touch-sensitive surfaces. However, it should be understood that the terminal may include one or more other physical human interface devices such as physical keyboards, mice, and joysticks.
[0044] The adaptive driving cognitive distraction warning method based on multimodal physiological data provided in this disclosure can be executed by an electronic device or a functional module or entity within an electronic device capable of implementing the method. Electronic devices mentioned in this disclosure include, but are not limited to, mobile phones, tablets, computers, cameras, and wearable devices. The execution subject of the adaptive driving cognitive distraction warning method based on multimodal physiological data can also be an edge computing device or a functional module or entity within an edge computing device capable of implementing the method. Edge computing devices mentioned in this disclosure can be portable devices, wearable devices, eye trackers, AR (Augmented Reality) / VR (Virtual Reality) / XR (Extended Reality) / MR (Mixed Reality) devices, edge servers, edge gateways, cloud computing devices, etc. The following description uses an edge computing device as an example to illustrate the adaptive driving cognitive distraction warning method based on multimodal physiological data provided in this disclosure.
[0045] like Figure 1 As shown, the adaptive driving cognitive distraction warning method based on multimodal physiological data includes steps 110, 120, 130 and 140.
[0046] Step 110: Collect multimodal physiological data of the target driver in the driver simulator, wherein the multimodal physiological data includes at least electroencephalogram (EEG) signals and eye movement signals.
[0047] In this embodiment of the disclosure, multimodal physiological data refers to physiological data collected from different physiological dimensions. Physiological data are various measurable data signals in the human body. Multimodal physiological data may include electroencephalogram (EEG) signals and eye movement signals.
[0048] In this embodiment, multimodal physiological data may also include, but is not limited to, electrocardiogram (ECG) signals, skin temperature (SKT) signals, photoplethysmogram (PPG) signals, electrodermal activity (EDA) signals, heart rate (HR) signals, electromyogram (EMG) signals, and peripheral capillary oxygen saturation (SPO2) signals. The target driver is the person performing driving operations on the driving simulator and is also the subject of multimodal physiological data collection. Driving in the driving simulator is similar to driving on a real road, requiring the target driver to make various driving decisions, such as accelerating, braking, and turning.
[0049] In this embodiment, acquisition devices for different modalities of data can be prepared in advance. For example, acquiring EEG signals requires an EEG acquisition device, acquiring eye movement signals requires an eye-tracking device, and acquiring physiological vital signs data requires a heart rate wristband, a respiration sensor, and a skin conductance sensor. Before the target driver begins simulated driving, the acquisition devices worn by the target driver are set with specific driving scenarios on the simulator according to the acquisition requirements, such as selecting an urban commuting scenario. Then, the target driver begins normal simulated driving operations. During the simulated driving process, the simulator can record the driver's operation data, such as the steering wheel rotation angle, the pressure applied to the accelerator and brake pedals, and the acquisition devices will also start working to collect the target driver's multimodal physiological data.
[0050] Specifically, the EEG signal acquisition device may include an electrode cap with multiple electrodes that can be placed at different locations on the target driver's head. Once the target driver wears the electrode cap, the device records the electrical activity of different brain regions. For example, a dry EEG electrode cap can be used to acquire six channels of signals from the frontal lobe (Fpz, F3, F4) and parietal lobe (Pz, P3, P4), with a sampling frequency of 256Hz. Eye-tracking devices can record the target driver's eye movements. Eye-tracking devices may include a camera and an infrared light source, capable of tracking information such as the gaze point and blink frequency. For example, a camera-based eye-tracking system can be used to acquire eye movement signals at a sampling frequency of 300Hz.
[0051] By collecting the driver's electroencephalogram (EEG) and eye movement (EMT) signals, the driver's cognitive distraction state can be identified. Since EEG signals can reflect the driver's brain's attention activity and EMT signals can reflect the driver's visual focus, combining EEG and EMT signals, and by complementing the driver's internal attention activity and external eye movement activity during the identification process, the driver's cognitive distraction state can be identified more accurately.
[0052] Step 120: Extract the feature vectors of each modality of physiological data from the multimodal physiological data, and concatenate the feature vectors based on the weight matrix corresponding to the feature vectors to obtain a comprehensive feature vector. The weight matrix is determined based on the correlation between the feature components in the feature vector and the cognitive distraction state.
[0053] In this embodiment of the disclosure, a feature vector is a mathematical representation used to describe data features. For multimodal physiological data, each modality of physiological data has a corresponding feature vector. For example, the feature vector of an electroencephalogram (EEG) signal may include feature components corresponding to parameters such as the frequency and amplitude of the brain waves; the feature vector of an eye movement signal may include feature components corresponding to parameters such as the fixation time and blink frequency; the feature vector of physiological sign data may include feature components corresponding to the average heart rate, heart rate variability, and respiratory rate variation. Different feature components in the feature vector can reflect the driver's physiological state from different perspectives.
[0054] The process of extracting feature vectors involves converting raw physiological data into meaningful feature representations. For example, for electroencephalogram (EEG) signals, signal processing techniques, such as Fourier transform, can be used to analyze the frequency components of the EEG waves, calculate the power spectral density of different frequency bands, and obtain the feature vector of the EEG signal. For eye movement signals, eye tracking technology can be used to record the movement trajectory of the eyes, and by analyzing the eye movement trajectory, features such as fixation time and blink frequency can be calculated, thus obtaining the feature vector of the eye movement signal. For physiological sign data, by performing sliding window analysis on raw data such as heart rate and respiratory rate, the average value and range of variation within each window can be calculated, thereby forming the feature vector of the physiological sign.
[0055] In this embodiment, the weights in the weight matrix are numerical values used to measure the importance of different components in the feature vector when reflecting cognitive distraction. For example, in the feature vector of an electroencephalogram (EEG) signal, different feature components characterize the features of the EEG signal in different dimensions, such as energy in a specific frequency band, waveform complexity, etc. Among them, feature components more directly related to brain attention activity, such as features reflecting prefrontal cortex activity, are more sensitive in reflecting cognitive distraction and have higher weights; while other feature components in the feature vector that are relatively less related to attention changes, such as features related to certain background noise, have lower weights. The weight matrix can be preset based on experience, or it can be determined by collecting a large amount of multimodal feature data on whether a driver is cognitively distracted, and then calculating the correlation between each feature component in the feature vector of each modality and the cognitive distraction state through statistical analysis or machine learning methods.
[0056] After obtaining the feature vectors and corresponding weight matrices of each modality of physiological data, the feature vectors of each modality can be concatenated to obtain a comprehensive feature vector. The concatenation process can be as follows: the feature vectors of different modalities are weighted and summed according to their respective weight matrices, that is, each feature value of each feature vector is multiplied by its corresponding weight, and then all the weighted feature values are combined to form a new vector, namely the comprehensive feature vector.
[0057] For example, the feature vectors [f1, f2, f3] of the EEG signal correspond to the weight matrix [w11, w12, w13], and the feature vectors [g1, g2, g3] of the eye movement signal correspond to the weight matrix [w21, w22, w23]. After weighted summation, the resulting comprehensive feature vector can be obtained by directly concatenating the feature vectors along their dimensions, represented as [f1×w11, f2×w12, f3×w12, g1×w21, g2×w22, g3×w23]. Of course, other concatenation methods can also be used, such as weighted concatenation, and this embodiment does not limit this approach. It should be noted that this embodiment can also combine other physiological signals such as ECG, EDA, and EMG with EEG and eye movement signals to obtain the comprehensive feature vector, but this process will not be elaborated further.
[0058] Step 130: Using a classifier, identify whether the target driver is in a state of cognitive distraction based on the comprehensive feature vector.
[0059] Specifically, a classifier for recognizing cognitive distraction states can be pre-trained using machine learning algorithms. For example, a large number of comprehensive feature vector samples of known cognitive distraction and focus states can be collected. The classifier can be trained using these data and will gradually learn how to combine feature vectors to distinguish between cognitive distraction and focus states.
[0060] After the classifier is trained, the comprehensive feature vector of the target driver can be input into the classifier. The classifier analyzes various feature values in the comprehensive feature vector based on the knowledge learned during training. If these feature values are closer to samples of cognitive distraction during previous training, the classifier determines that the driver is cognitively distracted; if the feature values are closer to samples of focused states, the classifier determines that the driver is focused. After analyzing the comprehensive feature vector, the classifier can output a prediction result. The prediction result can be a classification label indicating whether the target driver is "cognitively distracted" or "focused." The prediction result can also be a score; for example, a score exceeding a threshold indicates that the target driver is "cognitively distracted," and a score below the threshold indicates that the target driver is "focused."
[0061] Step 140: When the target driver is in a state of cognitive distraction, output a prompt message.
[0062] Specifically, when it is determined that the target driver is in a state of cognitive distraction, a prompt message can be output to the target driver. The prompt message can be sound, light, or vibration. For example, a "beep" sound or a voice reminder such as "Please concentrate" can be issued.
[0063] According to the adaptive driving cognitive distraction warning method based on multimodal physiological data disclosed herein, multimodal physiological data of the target driver in a driving simulator is collected. This multimodal physiological data includes at least electroencephalogram (EEG) signals and eye-tracking signals. Feature vectors of each modality of the multimodal physiological data are extracted, and the feature vectors are concatenated based on the weight matrix corresponding to the feature vectors to obtain a comprehensive feature vector. The weight matrix is determined based on the correlation between the feature components in the feature vector and the cognitive distraction state. A classifier identifies whether the target driver is in a cognitive distraction state based on the comprehensive feature vector. If the target driver is in a cognitive distraction state, a prompt message is output. This embodiment of the disclosure collects multimodal physiological data of the driver, which directly reflects the driver's brain's attention activity state. When the driver's internal attention is distracted, the relevant physiological data will change accordingly. By extracting feature vectors from each modality of physiological data and combining them with a correlation weight matrix to obtain a comprehensive feature vector, the proportion of features more closely related to the cognitive distraction state is increased during the identification of cognitive distraction states, thereby improving the accuracy of driver cognitive distraction detection.
[0064] In some embodiments of this disclosure, the original multimodal physiological data often contains interference information. For example, electroencephalogram (EEG) signals may be mixed with electrical signals generated by blinking, and eye movement signals may show abnormal values due to brief malfunctions in the device. This interference information can affect the accuracy of subsequent feature extraction. Therefore, extracting the feature vectors of each modality of physiological data from the multimodal physiological data includes: The preprocessing methods corresponding to each modality of the multimodal physiological data are adopted to preprocess each modality of the physiological data separately. By using a time window of the first target duration and a step size of the second target duration, the preprocessed modality of the physiological data is segmented to obtain the overlapping time series corresponding to each modality of the physiological data. The feature extraction methods corresponding to each modality of the physiological data are adopted to extract multi-dimensional features from the overlapping time series to obtain the feature vector of each modality of the physiological data.
[0065] In this embodiment, different preprocessing methods can be selected based on the characteristics of each modality of physiological data. For example, preprocessing of EEG signals can include filtering and denoising, using bandpass filters to retain frequency bands related to attentional states (e.g., 1-30Hz) and filtering out interference signals below or above these frequency bands. Independent component analysis can also be used to separate oculomotor and electromyographic artifacts from the EEG signals. Preprocessing of eye-tracking signals can include data cleaning and calibration correction, using linear interpolation to downsample the eye-tracking signals to 256Hz, and using filters or median filters to remove minute jitters, etc.
[0066] After preprocessing, the preprocessed modal physiological data are still continuous long-term sequences, and direct feature extraction may not accurately reflect state changes at different time points. For example, a driver may experience a brief cognitive distraction within a 10-second period. If features are extracted directly from the entire data segment, the signal changes corresponding to this cognitive distraction may be masked by the overall data. Therefore, by using a time window of the first target duration and a step size of the second target duration, the preprocessed modal physiological data can be segmented to obtain the overlapping time series corresponding to each modality. Specifically, the values of the first and second target durations can be set according to actual needs, with the first target duration being longer than the second target duration. For example, the first target duration can be set to 2 seconds and the second target duration to 1 second, meaning the time window length is 2 seconds. The time is divided into segments, shifting by 1 second each time: the first segment extracts data from 0-2 seconds, the second segment extracts data from 1-3 seconds, the third segment extracts data from 2-4 seconds, and so on, resulting in a series of overlapping time series segments. Each segment reflects the physiological signal changes within a specific time period. After obtaining the overlapping time series, each sequence segment contains a large amount of raw signal information, which needs to be further extracted to extract values that represent the core features of the data. Since the signal characteristics of different modal physiological data are different, feature extraction methods corresponding to each modal physiological data can be used to perform multi-dimensional feature extraction on the overlapping time series. For example, for overlapping time series of EEG signals, feature extraction methods can include time-domain feature extraction and frequency-domain feature extraction. Time-domain feature extraction calculates the mean, variance, peak value, and other values for each sequence segment; frequency-domain feature extraction uses Fourier transform to convert the time-domain signal into a frequency-domain signal, calculates the energy proportion, sample entropy, approximate entropy, and complexity features of different frequency bands (such as alpha, beta, theta, and gamma waves), and integrates the calculation results to obtain the feature vector of the EEG signal. For overlapping time series of eye movement signals, fixation and blinking can be identified within each sequence segment, and eye movement features such as fixation duration, saccade amplitude, and saccade velocity can be extracted to obtain the feature vector of the eye movement signal.
[0067] In this embodiment, physiological data of different modalities are processed separately using their respective preprocessing methods. This allows for processing based on the characteristics of each modality's physiological data, making the processed physiological data more suitable for analysis. By using time windows to segment the preprocessed physiological data into overlapping time series, the details of data changes over time can be captured, reducing the omission of features. Furthermore, through multi-dimensional feature extraction, information reflecting cognitive distraction states in physiological data can be extracted from different angles, resulting in extracted feature vectors containing more information related to cognitive distraction states and improving the accuracy of subsequent identification.
[0068] In some embodiments of this disclosure, the comprehensive feature vector is concatenated from the feature vectors of various modal physiological data, and may contain some features with low correlation to cognitive distraction. For example, certain low-frequency energy values in EEG signal features show little difference between when the driver is cognitively distracted and not cognitively distracted; some subtle gaze fluctuation data in eye movement signal features are not very helpful in determining cognitive distraction. If the complete comprehensive feature vector is used for identification, these irrelevant features will increase the computational burden, interfere with the classifier's judgment, and reduce the accuracy of identification. Therefore, identifying whether the target driver is in a cognitively distracted state based on the comprehensive feature vector includes: The target feature set is selected from the comprehensive feature vector; the classifier corresponding to the target driver is obtained; the target feature set is input into the classifier corresponding to the target driver to obtain the cognitive distraction index; if the cognitive distraction index is greater than the target threshold, it is determined that the target driver is in a state of cognitive distraction.
[0069] In this embodiment, the target feature set is a collection of feature components selected from the comprehensive feature vector. For example, feature selection algorithms such as correlation analysis and analysis of variance can be used to select the target feature set from the comprehensive feature vector. Taking correlation analysis as an example, the correlation coefficient between each feature in the comprehensive feature vector and the "cognitive distraction state label" can be calculated. The closer the absolute value of the correlation coefficient is to 1, the stronger the association between the feature and the cognitive distraction state; the closer the correlation coefficient is to 0, the weaker the association. Feature components with correlation coefficients higher than a threshold can be selected to form the target feature set. For example, if the correlation coefficients of the β-wave energy feature in the EEG signal and the time percentage of gaze deviation from the key area in the eye movement signal are both higher than the threshold, they can be added to the target feature set.
[0070] After obtaining the target feature set, it can be input into a trained classifier to obtain the cognitive distraction index output by the classifier. The classifier is a model pre-trained using a large amount of labeled data, such as a logistic regression classifier, a random forest classifier, or a neural network classifier. During the training phase, a large number of driver target feature set samples can be collected, each sample corresponding to a label of "cognitive distraction state" or "focused state." These samples are input into the classifier, which continuously learns the mapping relationship between the target feature set and the cognitive distraction state. After training, the classifier has the ability to output a cognitive distraction index based on the new target feature set.
[0071] The output cognitive distraction index can be a value between 0 and 1, representing the probability that the driver is cognitively distracted. For example, a cognitive distraction index of 0.8 means the classifier judges the driver to be cognitively distracted with an 80% probability; a cognitive distraction index of 0.2 means there is a 20% probability. The target threshold is set according to the needs of the actual application scenario and the training effect of the classifier. For example, the target threshold can be 0.4, 0.5, 0.6, etc. For instance, if the target threshold is set to 0.5, a cognitive distraction index of 0.65 is sufficient to determine that the driver is cognitively distracted.
[0072] In this embodiment, by selecting the target feature set from the comprehensive feature vector, information in the comprehensive feature vector that is weakly related to the cognitive distraction state can be reduced. The selected target feature set is then input into a trained classifier. The trained classifier has learned the differences between features in the cognitive distraction and focus states and can accurately calculate and output the cognitive distraction index based on the input target feature set, thereby further improving the accuracy of identifying the driver's cognitive distraction state.
[0073] In some embodiments of this disclosure, there are significant individual differences in the physiological signals of different drivers. For example, some drivers blink more frequently, while others have lower baseline energy values for their EEG beta waves. If a universal classifier identical to that of all drivers is used directly, it may misclassify a driver's normal physiological signals as a state of cognitive distraction, or fail to classify a state of cognitive distraction as a normal state, leading to inaccurate calculation of the cognitive distraction index. Therefore, a classifier corresponding to the target driver can be obtained; the comprehensive feature vector is input into the classifier corresponding to the target driver to obtain the cognitive distraction index.
[0074] In this embodiment, the target driver can be pre-programmed to complete a driving task on a driving simulator. This task may include elements designed to induce distraction, and multimodal physiological data can be collected from the driver during the task. For example, the target driver can drive for 30 minutes after wearing the data collection device, self-reporting cognitive distraction or other emotions affecting driving concentration, such as anger or sadness. For instance, the target driver can use tapping on the steering wheel as a time marker; the EEG signal 10 seconds before the time marker is labeled "cognitive distraction state," and the EEG signal 10 seconds after is labeled "focused state." A comprehensive feature vector is generated based on the collected multimodal physiological data to form a training set for training a classifier. After training, this classifier becomes a classifier specific to the target driver, which can be stored and associated with the target driver's identity information.
[0075] In this embodiment, by specifically acquiring the classifier corresponding to the target driver, and considering the differences in the physiological characteristics of different drivers, the corresponding classifier can output a cognitive distraction index that is more in line with the actual situation of the driver, thereby further improving the accuracy of identifying the driver's cognitive distraction state.
[0076] In some embodiments of this disclosure, the driver's attention state may be affected by various factors. A driver's physical condition may change due to factors such as fatigue or altered attention thresholds. The physiological characteristics of a driver experiencing cognitive distraction may differ from the initial training data. If the classifier parameters remain unchanged, subsequent recognition of cognitive distraction will become increasingly inaccurate. Therefore, the method further includes: The system records changes in the target driver's multimodal physiological data after the output of the prompt message; the classifier parameters are updated based on these changes. In this embodiment, after the prompt message is output, multimodal physiological data such as EEG signals and eye movement signals of the target driver can be continuously collected. The collected data can be combined with the original training data and input into the classifier for incremental training, thereby updating the classifier parameters.
[0077] In this embodiment, by updating the classifier's parameters based on changes in multimodal physiological data, the classifier can continuously learn the driver's cognitive distraction state and adjust itself as the driver's state feedback is received, thereby improving the long-term availability of the classifier.
[0078] In some embodiments of this disclosure, drivers' physiological states and driving habits vary, so different classifiers need to be trained for different drivers. In related technologies, classifier training requires collecting a large amount of data as a training set. However, the physiological data collected for each driver is limited. Therefore, a training method that can accurately identify cognitive distraction states can be achieved with a small number of samples is needed. Therefore, the classifier is trained as follows: Multimodal physiological data of target drivers under different driving scenarios were collected, and time markers of cognitive distraction reported by the target drivers during the simulated driving process were obtained. Labels were established for the multimodal physiological data based on the time markers. Specifically, the labels for multimodal physiological data within a preset time period before the time marker were cognitive distraction state labels, and the labels for multimodal physiological data within a preset time period after the time marker were focus state labels. Feature vectors of the multimodal physiological data were extracted and concatenated to obtain a comprehensive feature vector. A training set was constructed based on the comprehensive feature vector and labels, and the classifier was iteratively trained using the training set.
[0079] In this embodiment, the target driver can complete multiple rounds of driving tasks in different driving scenarios on a driving simulator. For example, in some tasks, the driver's cognitive distraction is guided by playing distracting audio or displaying irrelevant images; in other tasks, the driver is required to focus on driving and maintain a normal state. Multimodal data such as EEG signals and eye movement signals can be collected throughout the process using a data acquisition device as sample multimodal physiological data. For example, the target driver can drive for 30 minutes after wearing the data acquisition device, and self-report cognitive distraction or other emotions affecting driving concentration, such as anger or sadness. For instance, the target driver can use tapping the steering wheel as a time marker; the EEG signal 10 seconds before the time marker is labeled "cognitive distraction state," and the EEG signal 10 seconds after the time marker is labeled "focused state."
[0080] The classifier is iteratively trained by generating a comprehensive feature vector from the collected multimodal physiological data to form a training set. Specifically, a classifier based on a linear discriminant function can be initialized first. The classifier uses a linear function to judge cognitive distraction states. The essence of the training process is to continuously fit the input data, thereby updating the weights of the linear function, making the linear function more accurate in identifying whether a cognitive distraction state exists.
[0081] In one example, after each training iteration, 10-fold cross-validation can be performed on the current classifier to calculate the AUC (Area Under the Curve) value. 10-fold cross-validation involves dividing the training data into 10 roughly equal subsets. Each time, 9 subsets are used as the training set to train the classifier, and the remaining subset is used as the test set to evaluate the classifier's performance. This process is repeated 10 times, with each subset serving as a test set. The AUC value is a metric for evaluating classifier performance, reflecting its ability to distinguish between positive and negative samples. It ranges from 0 to 1; the closer the AUC value is to 1, the better the classifier's classification performance.
[0082] The AUC value obtained in each iteration can be compared with the historical best AUC, and the historical best AUC value can be recorded. If the AUC improvement is less than 0.5% for three consecutive iterations, it indicates that the performance improvement of the classifier is very limited, and the current iteration number can be set to Iteractionmax (maximum number of iterations) to stop the iteration immediately.
[0083] In this example, the ROC (Receiver Operating Characteristic Curve) method is used to determine the target threshold of the classifier. The ROC curve method illustrates the classifier's performance by plotting the relationship between the True Positive Rate (TPR) and the False Positive Rate (FPR). During training, such as... Figure 2 As shown, 10-fold cross-validation is performed on the calibration data to generate classification scores y. train Then, the ROC curve is plotted, and the TPR and FPR are calculated. Using the minimum distance method, the point closest to the origin (0,1) is selected as the target threshold. For example, with a target threshold of 0.48, when the cognitive distraction index is greater than or equal to the target threshold, the sample is classified as positive (i.e., a state of cognitive distraction); otherwise, it is classified as negative (i.e., a state of focus). This method allows for finding a relatively reasonable threshold, improving classification accuracy.
[0084] After training, the classifier can be applied to identify the cognitive distraction state of the target driver. In one example, the target driver's EEG and eye movement signals can be acquired in real time, and a comprehensive feature vector can be generated. The target feature set f can then be extracted from this comprehensive feature vector. test (t), calculate the classification score using the following linear function: y test (t)=∑w i *f test (t)+b Among them, w i y represents the weights of each feature in the target feature set after the classifier has been trained, b is the bias term used to adjust the overall calculation result, and y test (t) represents the categorical score.
[0085] To reduce the impact of short-term noise, y can be adjusted. test (t) A 30-second moving average is applied to generate the cognitive distraction index WEEG. The "30-second moving average" is calculated by taking the ytest(t) scores of the current time point and the time window preceding it within the previous 30 seconds, and averaging them as the current cognitive distraction index WEEG. This averaging process eliminates short-term signal fluctuations, allowing the cognitive distraction index WEEG to more stably reflect the target driver's true state over a period of time. Based on the current cognitive distraction index WEEG, the identification result of the cognitive distraction state can be obtained. Specifically, if the cognitive distraction index WEEG is greater than the target threshold, the target driver is determined to be in a cognitive distraction state; if WEEG is less than or equal to the target threshold, the driver is determined not to be in a cognitive distraction state.
[0086] In this embodiment, by collecting multimodal physiological data of the target driver simulating driving in different driving scenarios, the classifier can learn the differences in the real physiological characteristics of the target driver in different states. Based on the time markers of the target driver's reported cognitive distraction, the automatic construction of data labels is realized, improving the efficiency and accuracy of label establishment.
[0087] In some embodiments of this disclosure, the comprehensive feature vector is concatenated from the feature vectors of various modal physiological data, and may contain some feature components with low correlation to cognitive distraction states. For example, certain low-frequency energy values in EEG signals show little difference between when the driver is cognitively distracted and not cognitively distracted; some subtle gaze fluctuations in eye-tracking signals are also not very helpful in determining cognitive distraction states. If the complete comprehensive feature vector is used as the training set, these irrelevant feature components will increase the computational burden, interfere with the classifier's judgment, and reduce the accuracy of recognition. Therefore, constructing a training set based on the sample comprehensive feature vector includes: Calculate the F-statistic for each sample feature component in the comprehensive feature vector of the samples. The larger the F-statistic of a sample feature component, the stronger its statistical significance in distinguishing whether a person is in a state of cognitive distraction. Add each sample feature component in the comprehensive feature vector to the first feature set in order of the F-statistic magnitude, and input the first feature set after adding any sample feature component into the classifier. Calculate the first difference statistic between the classifier's prediction result and the corresponding label of the first feature set. Determine if the first difference statistic meets the admission criteria. If yes, save the first feature set after adding the sample feature component and select the next sample feature component to be added. If not, remove any sample feature component from the first feature set, and denote the removed first feature set as the second feature set, inputting the second feature set into the classifier. Calculate the second difference statistic between the classifier's prediction result and the corresponding label of the second feature set. Determine if the second difference statistic meets the removal criteria. If yes, save the second feature set after removing the sample feature component and select the next sample feature component to be removed. If not, denote the second feature set as the training set.
[0088] In this embodiment, the construction of the training set may include the steps of "adding features" and "removing features" to improve the quality of the training set.
[0089] In the "Adding Features" step, the F-statistic of each sample feature component in the sample composite feature vector can be calculated first. The F-statistic reflects the ratio of the degree of difference between different categories to the degree of difference within a category. Therefore, the larger the F-statistic of a sample feature component, the stronger the statistical significance of the sample feature component in distinguishing whether it is in a state of cognitive distraction.
[0090] Specifically, the comprehensive feature vectors of the samples can be grouped according to the labels of the multimodal physiological data of the samples. The comprehensive feature vectors of the samples labeled as cognitive distraction state are grouped into one group, and the comprehensive feature vectors of the samples labeled as focused state are grouped into another group. The within-group variance and between-group variance of each sample feature component in the comprehensive feature vector are calculated respectively, and then the F-statistic of each sample feature component is calculated based on the within-group variance and between-group variance.
[0091] The following example illustrates the calculation process of the F-statistic for each sample feature component. In this example, the sample composite feature vector is represented as [a1, a2, ..., a...]. m ], where a i (i=1,2,……,m) represent the feature components of each sample. The comprehensive feature vectors of samples labeled as cognitive distraction state can be grouped into one group, namely the cognitive distraction group, and the comprehensive feature vectors of samples labeled as focused state can be grouped into another group, namely the focused group.
[0092] For sample feature component a i Calculate the sample feature component a in the cognitive distraction group respectively. i mean X 认知分心,ai Focus on the feature component a of the sample in the group i mean X 专注,ai And to calculate the sample feature components a in the cognitive distraction group and the focused group. i Total mean X 总,ai Then, based on the mean X... 认知分心,ai and X 专注,ai Calculate the sample feature component a i The within-group variance, i.e., the sample feature component a i The variance S in the cognitive distraction group 认知分心,ai and the variance S in the focus group 专注,ai And further calculate the sample feature components a i within-group sum of squares SSW ai =(n 认知分心 -1)×S 认知分心,ai +(n 专注 -1)×S 专注,ai Where, n 认知分心 n represents the number of samples in the cognitive distraction group. 专注 This indicates the number of samples in the focus group.
[0093] Based on the mean X 认知分心,ai and X 专注,ai Calculate the sample feature component a i Between-group variance SSB ai That is, reflecting the characteristic component a of the sample iThe variance of the difference between the means in the cognitive distraction group and the focused group, SSB ai =n 认知分心 (X 认知分心,ai -X 总,ai ) 2 +n 专注 (X 专注,ai -X 总,ai ) 2 .
[0094] Sample feature component a i The F-statistic is calculated as follows: F ai =[SSB ai / (k-1)] / [SSW ai / Nk] Among them, F ai Represents the sample feature component a i The F-statistic is given by k, where k represents the number of groups (k=2 in this example) and N represents the total number of samples.
[0095] After calculating the F-statistic for each sample feature component, the sample feature components in the comprehensive feature vector can be added to the first feature set sequentially according to the magnitude of the F-statistic. Specifically, after each sample feature component is added to the first feature set, the first feature set is input into the classifier, allowing the classifier to make predictions based on the sample feature components in the current first feature set, and obtain the prediction results. Then, the first difference statistic, such as accuracy or error value, is calculated between the classifier's prediction results and the corresponding labels in the first feature set. If the first difference statistic meets the admission criteria, it means that this sample feature component can help the classifier more accurately determine cognitive distraction states, and the sample feature component is officially saved to the first feature set. The next sample feature component to be added is then selected and the above process is repeated. If the admission criteria are not met, this sample feature component is not added, and the next sample feature component to be added is selected and the above process is repeated until all sample feature components of the comprehensive feature vector have been calculated.
[0096] After the "Add Feature" step, the "Remove Feature" step begins. The first feature set already contains some sample feature components, and redundant sample feature components that are unhelpful or interfere with the judgment need to be further removed. Specifically, any sample feature component in the first feature set can be removed, and the resulting first feature set is denoted as the second feature set. The second feature set is then input into the classifier, which makes predictions based on the sample feature components in the current second feature set, obtaining the prediction result. A second difference statistic is calculated between the classifier's prediction result and the corresponding label in the second feature set. The second difference statistic can be the same as the first difference statistic. If the difference statistic meets the removal condition, it means that the sample feature component has little impact on the classifier's judgment, so the sample feature component is removed from the second feature set, and the classifier's parameters are updated again. If the removal condition is not met, it means that the sample feature component is important, so the sample feature component is retained. In this embodiment, the iterative process of "adding features" and "removing features" can be repeated. After each iteration, it can be checked whether a preset stopping condition is met. The preset stopping condition may be three consecutive iterations, the classifier's accuracy improvement not exceeding 1%, the number of features in the second feature set stabilizing and no longer changing, or the number of iterations reaching a preset upper limit. When the stopping condition is met, the iteration stops, and the second feature set at this time is determined as the training set.
[0097] It should be noted that in the process of using the trained classifier to identify whether the target driver is in a state of cognitive distraction, the target feature set selected from the comprehensive feature vector can include the same type of feature components as the training set mentioned above.
[0098] In this embodiment, by calculating the statistical index of the difference between the classifier prediction results and the labels after the sample feature components are added or removed, features that are better at judging cognitive distraction can be selected, making the classifier more accurate in each iteration. Moreover, the iterative training process is simple and does not require a large amount of sample data, so that the corresponding classifier can be trained more efficiently for different drivers.
[0099] In some embodiments of this disclosure, since the degree to which features of different dimensions of physiological data reflect cognitive distraction states varies, a method is needed to determine the importance of features in each dimension and construct a comprehensive feature vector. Therefore, feature vectors of multimodal physiological data from samples are extracted and concatenated to obtain a comprehensive feature vector, including: Extract sample feature vectors from multimodal physiological data; calculate the mutual information value between each sample feature component and the label in the sample feature vector, where the mutual information value characterizes the correlation between the sample feature component and the cognitive distraction state; determine the sample weight matrix corresponding to the sample feature vector based on the mutual information value; and concatenate the sample feature vectors according to the sample weight matrix to obtain the comprehensive sample feature vector.
[0100] In this embodiment, a feature weighting strategy based on mutual information (MI) can be adopted to directly quantify the correlation between each sample feature component and the driver's cognitive distraction state from the perspective of information theory, and perform weighted fusion accordingly to achieve the splicing of feature vectors.
[0101] For example, the feature vectors [f1, f2, ..., f] of the EEG signals have been extracted. m ], m is the total number of sample feature components, and the feature vector of the eye movement signal [g1, g2, ... g] is... n [ ], where n is the total number of sample feature components, and there are corresponding binary classification state labels, namely cognitive distraction state and focused state, with Y representing the cognitive distraction state. For each EEG signal, the sample feature component f i Calculate the mutual information value MI (f) between it and label Y. i ;Y);For each eye-tracking signal, the sample feature component g j Calculate the mutual information value MI (g) between it and label Y. j ;Y). Mutual information is an indicator used to measure the degree of dependence between two random variables, and its calculation formula is: MI(X;Y) = ΣΣ p (x, y) * log ( p (x, y) / (p (x)*p (y)) ) Where MI(X;Y) represents the mutual information value between sample feature component X and label Y, p(x,y) represents the joint probability distribution of sample feature component X and label Y occurring simultaneously, p(x) represents the marginal probability distribution of sample feature component X, and p(y) represents the marginal probability distribution of label Y. The larger the mutual information value, the stronger the association between the sample feature component and the cognitive distraction state. After calculating the mutual information value, it can be directly used as the initial importance weight for each sample feature component. For example, the initial weight w_eeg_i of the sample feature component fᵢ of the EEG signal is equal to the mutual information value MI(fᵢ). i ;Y), the sample feature components g of the eye movement signal j The initial weight w_eye_j is equal to the mutual information value MI (g j ;Y).
[0102] Since the initial weights of different sample feature components may vary significantly due to differences in the order of magnitude or scale of the features themselves, directly using them may affect the subsequent stitching effect. Therefore, the initial weights can be normalized. The weights within the EEG and eye-tracking features are normalized separately, so that the sum of the weights of each set of feature vectors is equal to 1. For the feature vector of the EEG signal, the normalized weight w_eeg_i_norm = w_eeg_i / (Σ w_eeg_k), where k ranges from 1 to m, and m is the total number of sample feature components of the EEG signal.
[0103] For the feature vector of the eye movement signal, the normalized weight w_eye_j_norm = w_eye_j / (Σ w_eye_k), where k ranges from 1 to n, and n is the total number of sample feature components of the eye movement signal. The numerical values of the sample feature components of each modality of physiological data can be multiplied by the corresponding normalized weights to obtain new weighted feature values, forming a comprehensive feature vector of the samples.
[0104] It should be noted that in step 120, the correlation between the feature components in the feature vector and the cognitive distraction state can be quantified by the feature weighting strategy based on mutual information, thereby obtaining the weight matrix corresponding to the feature vector. For example, the sample weight matrix corresponding to the sample feature vector determined in this embodiment can be used as the weight matrix corresponding to the feature vector in step 120.
[0105] In this embodiment, by calculating the mutual information value between each modality feature vector and the label, the correlation between each modality feature vector and cognitive distraction state can be quantified. Based on the mutual information value, the sample weight matrix corresponding to the feature vector of each modality physiological data is determined, making the weight allocation more accurate.
[0106] In some embodiments of this disclosure, during the processing of multimodal physiological data, if the weight matrix is not properly selected, it may lead to inaccurate subsequent feature concatenation results and increase computational complexity. Therefore, the weight matrix corresponding to the feature vector is determined in the following manner: Calculate the similarity between the feature vector and the feature vectors of each sample in the multimodal physiological data; determine the weight matrix of the feature vector corresponding to the feature vector with the highest similarity to the feature vector.
[0107] In this embodiment, the similarity between the feature vector and the sample feature vectors of different sample multimodal physiological data can be calculated. Here, the feature vector is a vector to be processed, and its corresponding weight matrix needs to be determined. The sample feature vector is pre-obtained based on existing sample multimodal physiological data.
[0108] Similarity can be calculated using methods such as cosine similarity and Euclidean distance similarity to obtain the similarity between the feature vector to be processed and the feature vector of each sample. The higher the similarity, the closer the sample feature vector is to the feature vector to be processed in terms of data features. The sample feature vector with the highest similarity can be selected, and the weight matrix corresponding to the sample feature vector can be determined as the weight matrix of the feature vector.
[0109] In this embodiment, since the sample weight matrix corresponding to the sample feature vector is constructed based on the correlation between the sample feature components and the cognitive distraction state in the multimodal physiological data of the sample, applying the sample weight matrix corresponding to the sample feature vector with the highest similarity to the feature vector to be processed can make the weight matrix better fit the actual features of the multimodal physiological data represented by the feature vector to be processed, thereby improving the accuracy of feature splicing.
[0110] In some embodiments of this disclosure, without scientific metrics, relying solely on subjective judgment or simple accuracy variations may mistakenly exclude features helpful for classification or retain useless redundant features, affecting classifier performance. Therefore, the first and second difference statistics are the p-values (Probability Values) corresponding to the F-statistic. The admission criteria include that the p-value corresponding to the traversed feature is less than the dynamic admission threshold; the removal criteria include that the p-value corresponding to the traversed feature is greater than the dynamic removal threshold.
[0111] In this embodiment, the F-statistic is a statistic used to test whether there is a significant difference between the means of two or more groups of data. In feature selection, the F-statistic measures the difference in the value of a feature between two types of samples: "cognitive distraction state" and "focused state." The larger the F-statistic value, the more significant the difference in the feature between the two types of samples, and the greater the help in distinguishing between the two states. The p-value is the probability value corresponding to the F-statistic, used to determine whether the result of the F-statistic is reliable. The smaller the p-value, the lower the probability that the difference in the feature between the two types of samples is caused by random factors, and the more reliable the feature's discriminative ability.
[0112] The F-statistic can be calculated using the following formula: F = [(SSE_prev - SSE_new) / (df_prev - df_new)] / [SSE_new / df_new] Where F represents the F-statistic, SSE_prev represents the prediction result of the classifier before adding or removing features, SSE_new represents the prediction result of the classifier after adding or removing features, df_prev represents the degrees of freedom of the classifier before adding or removing features, and df_new represents the degrees of freedom of the classifier after adding or removing features.
[0113] The p-values for each F-statistic can be calculated by consulting the F-distribution table or by directly calculating using statistical software.
[0114] In this embodiment, during the "add feature" step, if the p-value is less than the dynamic admission threshold, it indicates that the feature component has reliable discriminative ability and can help the classifier more accurately determine cognitive distraction states, thus meeting the admission criteria. Therefore, the feature component can be saved to the first feature set. In the "remove feature" step, if the p-value is greater than the dynamic removal threshold, it indicates that the distinguishing ability of the feature component is unreliable and may interfere with the judgment. If the removal condition is met, the feature component can be removed from the second feature set.
[0115] In this embodiment, the p-value corresponding to the F-statistic is used as a difference statistic indicator. The F-statistic reflects the degree of influence of the feature on the classification result. The smaller the p-value, the more significant the effect of the feature on judging the cognitive distraction state. The admission condition is that the p-value corresponding to the traversed feature is less than the dynamic admission threshold, so that features that contribute highly to the prediction result can be added to the first feature set. The removal condition is that the p-value corresponding to the traversed feature is greater than the dynamic removal threshold, so that features that have insufficient influence on the prediction result can be removed from the second feature set, further optimizing the quality of the feature set, so that the classifier training can select key features and reduce redundant interference features.
[0116] In some embodiments of this disclosure, during the iterative training of the classifier, ignoring the signal quality of the multimodal physiological data of the samples and using fixed admission and removal thresholds may lead to biased screening results and affect the training effect. Therefore, the above method further includes: Calculate the signal quality of multimodal physiological data of the samples; adjust the dynamic admission threshold and dynamic removal threshold based on the signal quality.
[0117] In this embodiment, corresponding quality assessment indicators can be adopted based on the characteristics of physiological data of different modalities. For example, for electroencephalogram (EEG) signals, the signal-to-noise ratio (SNR) can be used to assess signal quality, while for eye-tracking signals, data integrity can be used to assess signal quality.
[0118] Taking EEG signals as an example, the signal-to-noise ratio (SQI) of an EEG signal is calculated as: effective frequency band power (1-30Hz) / noise power (50Hz power frequency, etc.). For instance, when SQI > 0.8, it indicates that the EEG signal is of high quality, and feature admission criteria can be relaxed by increasing the dynamic admission threshold and dynamic removal threshold, thereby reducing feature rejection. For example, the dynamic admission threshold aENTER = 0.15, and the dynamic removal threshold aREMOVE = 0.20. When SQI < 0.5, it indicates that the EEG signal is subject to significant noise interference, and significant features can be strictly screened by lowering the dynamic admission threshold and dynamic removal threshold to avoid erroneous deletion of key features. For example, the dynamic admission threshold aENTER = 0.05, and the dynamic removal threshold aREMOVE = 0.10.
[0119] In this embodiment, by adjusting the dynamic admission threshold and dynamic removal threshold according to the signal quality, if the signal quality is good, the dynamic admission threshold can be increased to relax feature admission and reduce feature rejection. If the signal quality is poor, the dynamic removal threshold can be decreased to strictly screen significant features and avoid erroneous deletion of key features, so that the selected feature set can accurately reflect the driver's cognitive distraction state.
[0120] In some embodiments of this disclosure, providing the driver with fixed prompts may cause the driver to feel annoyed or ignore them. Therefore, when the target driver is in a state of cognitive distraction, the prompts are output, including: If the target driver is in a state of cognitive distraction, output a first-level prompt message; if the number of times the first-level prompt message is output within the target duration exceeds the target number, output a second-level prompt message.
[0121] In this embodiment, the first-level prompt is a mild intervention with low intensity, causing minimal interference with driving operations, and is used to address initial mild cognitive distraction. For example, the first-level prompt may include playing a short, gentle prompt tone, or a moderately sized voice reminder such as "Please pay attention to road conditions," or a small yellow prompt box may pop up in the corner of the simulator's display screen displaying "Please focus on driving," and the prompt box will not obstruct the road view.
[0122] Since some drivers may briefly regain attention after receiving a mild cue but quickly become cognitively distracted again, after outputting the first-level cue message, the number of cue messages and the duration can be continuously recorded. For example, a target duration can be set, such as 3 minutes, 5 minutes, 8 minutes, etc., and a target number of times can be set, such as 3 times, 4 times, 5 times, etc. When the number of first-level cue messages output within the target duration is greater than the target number of times, it indicates that the driver may be in a state of sustained inattention and the cue intensity needs to be upgraded, that is, by outputting second-level cue messages to upgrade the cue intensity. The intensity of a Level 2 warning message is higher than that of a Level 1 warning message. Level 2 warning messages can be output in a multimodal combination, such as simultaneously or selectively using the following methods: playing a louder and faster-paced voice reminder, popping up a larger red warning box that flashes slowly, or causing a slight vibration in the steering wheel.
[0123] In one example, upon detecting cognitive distraction in the target driver, an audible alert is triggered, and lane markings are highlighted on the in-vehicle screen. After three consecutive cognitive distraction alerts within 5 minutes, tactile vibrations (such as seat vibration), automatic steering wheel angle correction, and a prompt for the driver to take a break are simultaneously triggered.
[0124] In this embodiment, by outputting tiered prompts, when the target driver is detected to be in a state of cognitive distraction, a first-level prompt is output first. If the number of times the first-level prompt is output exceeds the target number within the target duration, it indicates that the driver may be cognitively distracted continuously or repeatedly. Outputting a second-level prompt can more effectively attract the driver's attention, thereby reducing driving risks.
[0125] The adaptive driving cognitive distraction warning method based on multimodal physiological data provided in this disclosure can be executed by an adaptive driving cognitive distraction warning device based on multimodal physiological data. This disclosure uses the example of an adaptive driving cognitive distraction warning device based on multimodal physiological data executing the adaptive driving cognitive distraction warning method based on multimodal physiological data to illustrate the adaptive driving cognitive distraction warning device based on multimodal physiological data provided in this disclosure.
[0126] This disclosure also provides an adaptive driving cognitive distraction warning device based on multimodal physiological data.
[0127] like Figure 3 As shown, the adaptive driving cognitive distraction warning device based on multimodal physiological data includes: The acquisition module 310 is used to acquire multimodal physiological data of the target driver of the simulator, wherein the multimodal physiological data includes at least electroencephalogram (EEG) signals and eye movement signals; The extraction module 320 is used to extract the feature vectors of each modality of physiological data in the multimodal physiological data, and to concatenate the feature vectors based on the weight matrix corresponding to the feature vectors to obtain a comprehensive feature vector. The weight matrix is determined based on the correlation between the feature components in the feature vector and the cognitive distraction state. The identification module 330 is used to identify whether the target driver is in a state of cognitive distraction based on the comprehensive feature vector; The warning module 340 is used to output a prompt message when the target driver is in a state of cognitive distraction.
[0128] According to the adaptive driving cognitive distraction warning device based on multimodal physiological data disclosed herein, the device collects multimodal physiological data of the target driver from a driving simulator. This multimodal physiological data includes at least electroencephalogram (EEG) signals and eye-tracking signals. Feature vectors of each modality of the multimodal physiological data are extracted, and the feature vectors are concatenated based on the weight matrix corresponding to the feature vectors to obtain a comprehensive feature vector. The weight matrix is determined based on the correlation between the feature components in the feature vector and the cognitive distraction state. A classifier identifies whether the target driver is in a cognitive distraction state based on the comprehensive feature vector. If the target driver is in a cognitive distraction state, a prompt message is output. This embodiment of the disclosure collects multimodal physiological data of the driver, which directly reflects the driver's brain's attentional activity. When the driver's internal attention is distracted, the relevant physiological data changes accordingly. By extracting feature vectors from each modality of physiological data and combining them with a correlation weight matrix to obtain a comprehensive feature vector, the proportion of features more closely related to the cognitive distraction state is increased during the identification of cognitive distraction states, thereby improving the accuracy of driver cognitive distraction detection.
[0129] In some embodiments, the extraction module 320 can also be used to: preprocess each modal physiological data using the preprocessing method corresponding to each modal physiological data in the multimodal physiological data; segment the preprocessed modal physiological data into signals using a time window of the first target duration and a step size of the second target duration to obtain the overlapping time series corresponding to each modal physiological data; and extract multi-dimensional features from the overlapping time series using the feature extraction method corresponding to each modal physiological data to obtain the feature vector of each modal physiological data.
[0130] In some embodiments, the identification module 330 can also be used to: filter out a target feature set from the comprehensive feature vector; obtain a classifier corresponding to the target driver; input the target feature set into the classifier corresponding to the target driver to obtain a cognitive distraction index; and determine that the target driver is in a cognitive distraction state if the cognitive distraction index is greater than a target threshold.
[0131] In some embodiments, the adaptive driving cognitive distraction warning device based on multimodal physiological data may further include: an update module for recording changes in the multimodal physiological data of the target driver after outputting a prompt message; and updating the parameters of the classifier according to the changes in the multimodal physiological data.
[0132] In some embodiments, the adaptive driving cognitive distraction warning device based on multimodal physiological data may further include: a training module, used to collect sample multimodal physiological data of a target driver simulating driving in different driving scenarios, and to obtain cognitive distraction time markers self-reported by the target driver during the simulated driving process; to establish labels for the sample multimodal physiological data according to the time markers; wherein, the labels of the sample multimodal physiological data within a preset time period before the time markers are cognitive distraction state labels, and the labels of the sample multimodal physiological data within a preset time period after the time markers are focus state labels; to extract and concatenate the feature vectors of the sample multimodal physiological data to obtain a sample comprehensive feature vector; to construct a training set according to the sample comprehensive feature vector and labels, and to use the training set to iteratively train the classifier.
[0133] In some embodiments, the training module may further be used to: calculate the F-statistic of each sample feature component in the sample comprehensive feature vector, wherein the larger the F-statistic of a sample feature component, the stronger the statistical significance of the sample feature component in distinguishing whether or not it is in a state of cognitive distraction; add each sample feature component in the sample comprehensive feature vector to a first feature set in order of the magnitude of the F-statistic, and input the first feature set after adding any sample feature component to the classifier; calculate the first difference statistical index between the prediction result of the classifier and the corresponding label of the first feature set, determine whether the first difference statistical index meets the admission condition, if yes, save the first feature set after adding the sample feature component, and select the next sample feature component to be added; if no, remove any sample feature component from the first feature set, and record the first feature set after removal as the second feature set, and input the second feature set to the classifier; calculate the second difference statistical index between the prediction result of the classifier and the corresponding label of the second feature set, determine whether the second difference statistical index meets the removal condition, if yes, save the second feature set after removing the sample feature component, and select the next sample feature component to be removed; if no, record the second feature set as the training set.
[0134] In some embodiments, the training module can also be used to: extract sample feature vectors from multimodal physiological data; calculate the mutual information value between each sample feature component and the label in the sample feature vector, wherein the mutual information value characterizes the correlation between the sample feature component and the cognitive distraction state; determine the sample weight matrix corresponding to the sample feature vector based on the mutual information value; and concatenate the sample feature vectors based on the sample weight matrix to obtain the comprehensive sample feature vector.
[0135] In some embodiments, the extraction module 320 can also be used to: calculate the similarity between the feature vector and the feature vectors of each sample in the multimodal physiological data of the sample; and determine the sample weight matrix corresponding to the feature vector with the highest similarity to the feature vector as the weight matrix of the feature vector.
[0136] In some embodiments, the training module can also be used to: calculate the signal quality of sample multimodal physiological data; and adjust the dynamic admission threshold and dynamic removal threshold according to the signal quality.
[0137] In some embodiments, the warning module 340 can also be used to: output a first-level warning message when the target driver is in a state of cognitive distraction; and output a second-level warning message when the number of times the first-level warning message is output within a target duration is greater than the target number.
[0138] The adaptive driving cognitive distraction warning device based on multimodal physiological data in this embodiment can be an electronic device. The electronic device can be an edge computing device, a non-edge computing device, or a component within either an edge computing device or a non-edge computing device, such as an integrated circuit or a chip. The electronic device can be a terminal or any other device besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, eye tracker, handheld computer, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This embodiment does not impose specific limitations.
[0139] The adaptive driving cognitive distraction warning device based on multimodal physiological data in this embodiment can be a device with an operating system. This operating system can be Microsoft Windows, Android, iOS, or other possible operating systems; this embodiment does not specifically limit its application.
[0140] Based on the above embodiments, such as Figure 4As shown, this disclosure also provides an edge computing device 400, including a processor 401, a memory 402, and a computer program stored in the memory 402 and executable on the processor 401. When the program is executed by the processor 401, it implements the various processes of the above-described adaptive driving cognitive distraction warning method embodiment based on multimodal physiological data and achieves the same technical effect. To avoid repetition, it will not be described again here.
[0141] It should be noted that the electronic devices in this embodiment include the mobile edge computing devices and non-mobile edge computing devices described above.
[0142] In optional examples, edge deployment schemes that deploy edge computing devices or components on the edge can migrate at least some computing tasks to edge devices, leveraging the advantages of edge computing to improve data processing efficiency, reduce latency and network resource consumption and dependence, and also benefit data security and privacy protection.
[0143] This disclosure also provides a computer-readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described adaptive driving cognitive distraction warning method based on multimodal physiological data and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0144] The processor is the processor in the edge computing device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0145] This disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described adaptive driving cognitive distraction warning method based on multimodal physiological data.
[0146] The processor is the processor in the edge computing device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0147] This disclosure also provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled. The processor is used to run programs or instructions to implement the various processes of the above-described adaptive driving cognitive distraction warning method based on multimodal physiological data, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0148] It should be understood that the chip mentioned in the embodiments of this disclosure may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0149] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this disclosure is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0150] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this disclosure.
[0151] The embodiments of this disclosure have been described above with reference to the accompanying drawings. However, this disclosure is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this disclosure without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this disclosure.
[0152] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least some embodiments or examples of this disclosure. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0153] Although embodiments of this disclosure have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of this disclosure, the scope of which is defined by the claims and their equivalents.
Claims
1. An adaptive driving cognitive distraction warning method based on multimodal physiological data, characterized in that, include: Collect multimodal physiological data of the target driver in the driving simulator, wherein the multimodal physiological data includes at least electroencephalogram (EEG) signals and eye movement signals; Feature vectors of each modality of physiological data are extracted from the multimodal physiological data, and the feature vectors are concatenated based on the weight matrix corresponding to the feature vectors to obtain a comprehensive feature vector. The weight matrix is determined based on the correlation between the feature components in the feature vectors and the cognitive distraction state. The classifier identifies whether the target driver is in a state of cognitive distraction based on the comprehensive feature vector. If the target driver is in a state of cognitive distraction, a prompt message will be output. The classifier is trained in the following manner: Collect sample multimodal physiological data of the target driver under different driving scenarios, and obtain the cognitive distraction time markers reported by the target driver during the simulated driving process; Labels are established for the multimodal physiological data of the samples based on the time markers; wherein, the labels for the multimodal physiological data of the samples within a preset time period before the time markers are cognitive distraction state labels, and the labels for the multimodal physiological data of the samples within a preset time period after the time markers are focus state labels. The feature vectors of the multimodal physiological data of the sample are extracted and concatenated to obtain the comprehensive feature vector of the sample; A training set is constructed based on the comprehensive feature vector of the samples and the labels, and the classifier is iteratively trained using the training set. The step of constructing a training set based on the comprehensive feature vector of the samples includes: Calculate the F-statistic of each sample feature component in the comprehensive feature vector of the sample. The larger the F-statistic of a sample feature component, the stronger the statistical significance of the sample feature component in distinguishing whether it is in a state of cognitive distraction. According to the order of the magnitude of the F statistic, each sample feature component in the sample comprehensive feature vector is added to the first feature set in turn, and the first feature set after adding any sample feature component is input to the classifier. Calculate the first difference statistical index between the prediction result of the classifier and the label corresponding to the first feature set, determine whether the first difference statistical index meets the admission criteria, if so, save the first feature set after adding the sample feature component, and select the next sample feature component to be added. If not, remove any sample feature component from the first feature set, and denote the removed first feature set as the second feature set, and input the second feature set into the classifier; Calculate the second difference statistical index between the prediction result of the classifier and the label corresponding to the second feature set, determine whether the second difference statistical index meets the removal condition, if so, save the second feature set after removing the sample feature component, and select the next sample feature component to be removed; If not, the second feature set shall be designated as the training set; The first difference statistical index and the second difference statistical index are the p-values corresponding to the F statistic; The admission criteria include that the p-value corresponding to the traversed feature is less than the dynamic admission threshold; The removal condition includes that the p-value corresponding to the traversed feature is greater than the dynamic removal threshold; The method further includes: Calculate the signal quality of the multimodal physiological data of the sample; The dynamic admission threshold and the dynamic removal threshold are adjusted based on the signal quality.
2. The method according to claim 1, characterized in that, The extraction of feature vectors for each modality of physiological data from the multimodal physiological data includes: The preprocessing methods corresponding to each modality of the multimodal physiological data are used to preprocess each modality of the physiological data respectively; By using a time window of the first target duration and a step size of the second target duration, the preprocessed modal physiological data are segmented to obtain the overlapping time series corresponding to each modal physiological data. By employing the feature extraction methods corresponding to each modality of physiological data, multi-dimensional feature extraction is performed on the overlapping time series to obtain the feature vectors of each modality of physiological data.
3. The method according to claim 1, characterized in that, The step of identifying whether the target driver is in a state of cognitive distraction by using a classifier based on the comprehensive feature vector includes: The target feature set is selected from the comprehensive feature vector; Obtain the classifier corresponding to the target driver; The target feature set is input into the classifier corresponding to the target driver to obtain the cognitive distraction index; If the cognitive distraction index is greater than the target threshold, the target driver is determined to be in a state of cognitive distraction.
4. The method according to claim 1, characterized in that, The method further includes: Record the changes in the target driver's multimodal physiological data after the prompt information is output; The classifier parameters are updated based on the changes in the multimodal physiological data.
5. The method according to claim 1, characterized in that, The extraction and concatenation of feature vectors from the multimodal physiological data of the samples to obtain a comprehensive feature vector of the samples includes: Extract the sample feature vector from the multimodal physiological data of the sample; Calculate the mutual information value between each sample feature component in the sample feature vector and the label, wherein the mutual information value characterizes the correlation between the sample feature component and the cognitive distraction state; Based on the mutual information value, determine the sample weight matrix corresponding to the sample feature vector; Based on the sample weight matrix, the sample feature vectors are concatenated to obtain the sample comprehensive feature vector.
6. The method according to claim 5, characterized in that, The weight matrix corresponding to the sample feature vector is determined in the following way: Calculate the similarity between the sample feature vector and the feature vectors of each sample in the multimodal physiological data of the sample; The sample weight matrix corresponding to the sample feature vector with the highest similarity to the sample feature vector is determined as the weight matrix of the sample feature vector.
7. An edge computing device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the method as described in any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a program or instructions that, when executed by a processor, implement the method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Driver cognitive state identification method and system based on multi-source information fusion
CN114595714A
Distraction driving state identification method and system based on electroencephalogram complex network
CN116712091A
Driving distraction recognition and real-time reminding method based on multiple dimensions
CN117125077A
Pilot cognitive load monitoring and early warning method based on electroencephalogram and eye movement data
CN119523486A
