An identity authentication method and device based on multi-modal uncertainty fusion
By employing a multimodal uncertainty fusion method, feature extraction and uncertainty modeling are performed on EEG and EMG signals, and the fusion weights are dynamically adjusted. This addresses the issue of insufficient stability in single-modal authentication and improves the robustness and security of cross-time period authentication.
Patent Information
- Application Number
- CN202611128267.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-28
- Publication Date
- 2026-11-27
AI Technical Summary
Existing single-modal EEG or EMG authentication methods lack stability under cross-time conditions, and multi-modal authentication methods struggle to dynamically adjust fusion strategies based on the reliability of different modalities, leading to a decline in authentication performance.
A multimodal uncertainty fusion method is adopted to extract features and model uncertainty of EEG and EMG signals respectively. By dynamically adjusting the modal confidence weights, modal latent variable representations are constructed and weighted fusion is performed to output the identity authentication result.
It improves the robustness and usability of cross-time authentication, reduces the impact of noise and individual state changes on authentication performance, and enhances the stability and security of authentication.
Smart Images

Figure CN123179371A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of identity authentication technology, specifically relating to an identity authentication method and apparatus based on multimodal uncertainty fusion. Background Technology
[0002] Identity authentication technology is used to verify whether the person to be authenticated is a legitimate user, and it is widely used in scenarios such as information security, smart terminals, access control, human-computer interaction, brain-computer interfaces, and wearable devices. Traditional identity authentication methods mainly include passwords, tokens, facial recognition, fingerprints, iris scans, and voiceprints. Among these, passwords and tokens are at risk of being forgotten, lost, leaked, or lent; while external biometric features such as facial recognition and fingerprints are convenient to use, they are at risk of being photographed, copied, forged, or collected without the user's active cooperation.
[0003] Electroencephalogram (EEG) signals are electrophysiological signals generated by the brain's neural activity. They exhibit individual variability, concealment, and strong anti-forgery capabilities. Compared to external biometrics, EEG signals are difficult to steal over long distances and difficult for others to actively imitate, making them suitable for high-security identity authentication scenarios. However, EEG signals have relatively weak amplitudes and are easily affected by noise, attention, fatigue, acquisition location, and changes in state over time, resulting in insufficient stability when using EEG signals alone for identity authentication.
[0004] Electromyography (EMG) signals are electrophysiological signals generated by muscle activity, reflecting individual differences in muscle activity habits, micro-movement patterns, and physiological responses. EMG signals typically have a certain amplitude and strong identity discrimination ability, but they are also easily affected by muscle fatigue, movement intensity, skin contact status, changes in wearing position, and individual condition. Even under strict safety threshold conditions, false rejection or false reception may still occur.
[0005] Existing multimodal authentication methods typically employ feature concatenation, fixed-weight fusion, or simple score averaging to fuse different modalities. These methods generally assume that the reliability of different modalities is constant across all samples, failing to dynamically adjust the fusion strategy based on changes in the signal quality of different modalities in the current authentication sample. When a particular modality is severely perturbed in the current sample, the fixed-weight fusion method may still introduce unreliable information from that modality into the final decision, leading to a decline in authentication performance.
[0006] Furthermore, physiological electrical signals exhibit significant time-varying characteristics, and distribution drift may occur between different acquisition periods, leading to a decline in authentication performance across sessions and time periods. Especially under conditions of low false acceptance rate, traditional methods may produce a high false rejection rate, affecting the success rate of legitimate users and system availability.
[0007] Therefore, there is a need for a multimodal identity authentication method that can simultaneously utilize complementary identity information from EEG and EMG signals and dynamically adjust the fusion weights based on the uncertainties of different modalities, in order to improve the robustness, security, and usability of cross-time identity authentication. Summary of the Invention
[0008] The purpose of this invention is to provide an identity authentication method and device based on multimodal uncertainty fusion, so as to solve the problems of insufficient stability of existing single-modal EEG or EMG identity authentication methods under cross-time conditions, and the difficulty of existing multimodal identity authentication methods in dynamically adjusting the fusion strategy according to the reliability of different modalities.
[0009] In a first aspect, the present invention provides an identity authentication method based on multimodal uncertainty fusion, the method comprising:
[0010] The system acquires the electroencephalogram (EEG) signals and one or more electromyographic (EMG) signals generated by the object to be authenticated during the authentication task, and preprocesses the EEG and EMG signals respectively. When acquiring multiple EMG signals, the multiple EMG signals come from different EMG acquisition channel groups, and each EMG signal corresponds to an EMG mode.
[0011] Using feature extraction branches that correspond one-to-one with each modality, feature extraction is performed on the preprocessed EEG and EMG signals to obtain EEG identity features and EMG identity features corresponding to each EMG modality.
[0012] Uncertainty modeling was performed on EEG and EMG identity features respectively to obtain the mean and standard deviation parameters for each modality.
[0013] The corresponding mode confidence level is determined based on the standard deviation parameter of each mode, and the mode confidence level of each mode is normalized to obtain the confidence weight corresponding to each mode; the confidence weight is negatively correlated with the uncertainty of the corresponding mode.
[0014] Based on the mean and standard deviation parameters of each modality, construct the corresponding modal latent variable representation; project the modal latent variable representation of each modality onto a unified feature space, and perform weighted fusion of the projected modal latent variable representations according to the confidence weight of each modality to obtain the fused identity representation;
[0015] The fused identity representation is mapped and normalized to obtain a unified identity embedding; the identity authentication result of the object to be authenticated is output based on the unified identity embedding.
[0016] Preferably, the authentication task includes a fast sequence visual presentation task or a steady-state visual evoked task.
[0017] Preferably, the preprocessing method is as follows: filtering, denoising, standardizing or normalizing the EEG and EMG signals; resampling the EEG and EMG signals to a uniform sampling rate, and segmenting the resampled EEG and EMG signals into sliding windows according to a preset window length and a preset window step size.
[0018] As a preferred method, the preprocessing of EEG signals further includes: performing filtering processing on the EEG signals in multiple frequency bands to obtain EEG representations corresponding to multiple frequency bands; and splicing the EEG representations corresponding to multiple frequency bands in the channel dimension to obtain a multi-frequency band EEG representation.
[0019] Preferably, the feature extraction branch corresponding to the EEG signal includes a temporal convolutional layer, a depth-spatial convolutional layer, a depth-separable convolutional layer, a channel attention module, and an attention statistical pooling module. The temporal convolutional layer is used to extract the temporal dynamic features of the EEG signal; the depth-spatial convolutional layer is used to extract the spatial correlation features between different EEG acquisition channels; the depth-separable convolutional layer is used to encode the temporal dynamic features and spatial correlation features; the channel attention module is used to recalibrate the features of the corresponding channels according to the importance of different EEG acquisition channels; and the attention statistical pooling module is used to perform weighted aggregation of the recalibrated features to obtain the EEG identity features.
[0020] Preferably, a batch normalization layer, a nonlinear activation layer, an average pooling layer, and a random deactivation layer are sequentially arranged between the depth-separable convolutional layer and the channel attention module.
[0021] Preferably, the feature extraction branches corresponding to the electromyographic signals all include a bidirectional long short-term memory network and an attention statistical pooling module; the bidirectional long short-term memory network is used to perform bidirectional temporal modeling of the electromyographic signals to obtain electromyographic temporal features; the attention statistical pooling module is used to aggregate the weighted mean information and weighted variance information of the electromyographic temporal features, and obtain the corresponding electromyographic identity features based on the weighted mean information and weighted variance information.
[0022] Preferably, the standard deviation parameter is obtained by using the Softplus function to transform the input features and adding a preset positive number to the transformation result to obtain the standard deviation parameter.
[0023] Preferably, the method for obtaining the modal latent variable representation is as follows: during the training phase of the multimodal identity authentication model, the modal latent variable representation is obtained through reparameterization based on the mean parameter, standard deviation parameter, and random parameters that follow a standard normal distribution; during the inference phase of the multimodal identity authentication model, the mean parameter is used as the modal latent variable representation.
[0024] The multimodal identity authentication model is used to perform feature extraction, uncertainty modeling, weighted fusion, and identity authentication result output.
[0025] The training phase of the multimodal identity authentication model is a phase in which the parameters of the multimodal identity authentication model are adjusted using training samples with identity category labels.
[0026] The inference phase of the multimodal identity authentication model is the phase in which, after parameter adjustment is completed, the identity authentication result is output using the electroencephalogram (EEG) and electromyogram (EMG) signals of the object to be authenticated.
[0027] Preferably, during the training phase of the multimodal identity authentication model, the total loss used includes additive angular margin classification loss, uncertainty KL regularization loss, supervised contrastive loss, and surrogate alignment loss. The additive angular margin classification loss is used to increase the angular margin between different identity categories. The uncertainty KL regularization loss is used to constrain the distribution of modal latent variable representations for each modality. The supervised contrastive loss is used to reduce the distance between unified identity embeddings of the same identity category and increase the distance between unified identity embeddings of different identity categories. The surrogate alignment loss is used to make the unified identity embedding close to the classification surrogate vector of the corresponding identity category.
[0028] Preferably, the method for obtaining the identity authentication result is as follows: obtaining the unified identity embedding and the registered identity template of the object to be authenticated; calculating the cosine similarity between the unified identity embedding and the registered identity template of the object to be authenticated to obtain a verification score; comparing the verification score with a preset authentication threshold, and obtaining the identity authentication result based on the comparison result.
[0029] Preferably, the method for obtaining the registration identity template is as follows: obtaining multiple registration samples of the same authentication object, and generating corresponding unified identity embeddings based on the multiple registration samples; averaging all unified identity embeddings, and using the resulting average identity embedding as the registration identity template of the authentication object.
[0030] Secondly, the present invention provides an identity authentication device based on multimodal uncertainty fusion, which is used to execute the above-mentioned identity authentication method. The identity authentication device includes an input and preprocessing module, a modality-specific encoding module, an uncertainty modeling module, a confidence-weighted fusion module, and an identity authentication output module. The input and preprocessing module is used to acquire the EEG and EMG signals of the object to be authenticated, and to preprocess the EEG and EMG signals. The modality-specific encoding module is used to extract features from the preprocessed EEG and EMG signals to obtain EEG identity features and EMG identity features. The uncertainty modeling module is used to perform uncertainty modeling on the EEG and EMG identity features to obtain the mean parameter and standard deviation parameter corresponding to each modality. The confidence-weighted fusion module is used to obtain the confidence weight according to the standard deviation parameter of each modality, and to perform weighted fusion of the modality latent variable representation based on the confidence weight to obtain the fused identity representation. The identity authentication output module is used to map and normalize the fused identity representation to obtain a unified identity embedding, and to output the identity authentication result of the object to be authenticated based on the unified identity embedding.
[0031] Thirdly, the present invention provides an electronic device including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, it implements the above-described authentication method.
[0032] Fourthly, the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the above-described authentication method.
[0033] The beneficial effects of this invention are:
[0034] 1. This invention performs uncertainty modeling on EEG identity features and EMG identity features respectively, and constructs modal latent variable representations based on mean parameters, standard deviation parameters and random parameters during the training phase. During the inference phase, the mean parameter is used as the modal latent variable representation. This can retain the uncertainty adaptive fusion capability and reduce the impact of random sampling on the stability of identity authentication results. Thus, it can perform sample-level evaluation of the reliability of each modality for different samples to be authenticated, without assuming that each modality has fixed reliability in advance.
[0035] 2. This invention determines the corresponding modality confidence level based on the standard deviation parameter of each modality, and normalizes each modality confidence level to obtain a confidence level weight that is negatively correlated with modality uncertainty. This allows modalities with lower uncertainty to obtain a larger fusion weight, while modalities with higher uncertainty obtain a smaller fusion weight, thereby dynamically reducing the adverse effects of low-quality modalities or interfered modalities on identity authentication results.
[0036] 3. This invention combines the identity information from EEG signals and at least one EMG signal. By extracting EEG identity features and EMG identity features through feature extraction branches that correspond one-to-one with each modality, it can leverage the complementary role of EEG and EMG signals in identity representation and reduce the risk of decreased identity authentication performance due to noise, acquisition status, or changes in individual state of a single physiological electrical signal. Attached Figure Description
[0037] Figure 1 This is the overall flowchart of the present invention.
[0038] Figure 2 This is a schematic diagram of the overall structure of the multimodal identity authentication model in this invention.
[0039] Figure 3 This is a schematic diagram of the uncertainty estimation and adaptive fusion module in this invention.
[0040] Figure 4 This is a schematic diagram of the identity registration and authentication process in this invention. Detailed Implementation
[0041] The present invention will be further described below with reference to the accompanying drawings. It should be understood that the described embodiments are for illustrative purposes only and are not intended to limit the scope of protection of the present invention. Other implementation methods obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are all within the scope of protection of the present invention.
[0042] Example 1
[0043] like Figure 1As shown, an identity authentication method based on multimodal uncertainty fusion employs an authentication device comprising an input and preprocessing module, a modality-specific encoding module, an uncertainty modeling module, a confidence-weighted fusion module, and an identity authentication output module. The input and preprocessing module acquires the EEG and EMG signals of the object to be authenticated, and performs filtering, resampling, sliding window segmentation, and normalization on these signals. The modality-specific encoding module extracts features from the preprocessed EEG and EMG signals to obtain EEG and EMG identity features. The uncertainty modeling module models the uncertainty of the EEG and EMG identity features, obtaining the mean and standard deviation parameters corresponding to each modality; the standard deviation parameter characterizes the uncertainty of the corresponding modality. The confidence-weighted fusion module obtains confidence weights based on the standard deviation parameters of each modality, constructs modality latent variable representations based on the mean and standard deviation parameters corresponding to each modality, projects these latent variable representations onto a unified feature space, and then performs weighted fusion based on the confidence weights to obtain a fused identity representation. The identity authentication output module is used to map and normalize the fused identity representation to obtain a unified identity embedding, and output the identity authentication result of the object to be authenticated based on the unified identity embedding.
[0044] The authentication method includes the following steps:
[0045] Step 1: Signal Acquisition
[0046] A dataset was constructed by acquiring electroencephalogram (EEG) and electromyogram (EMG) signals generated by different authentication subjects during authentication tasks. The authentication tasks included rapid sequence visual presentation tasks, steady-state visual evoked tasks, or other tasks that could elicit individual-specific physiological electrical signals.
[0047] In this embodiment, at least one electromyographic signal is acquired, and when acquiring multiple electromyographic signals, the multiple electromyographic signals come from different electromyographic acquisition channel groups, and each electromyographic signal corresponds to an electromyographic mode.
[0048] Step 2: Signal Preprocessing
[0049] The EEG and EMG signals were preprocessed separately. The preprocessing procedure included one or more of the following: filtering, noise reduction, resampling, sliding window segmentation, standardization, or normalization. In this embodiment, the original sampling rate of the EEG signal was 128Hz, and the original sampling rate of the EMG signal was 1000Hz. Both were resampled to 200Hz. The window length was 1000 sampling points, corresponding to 5 seconds of signal, and the window step size was 200 sampling points, corresponding to a 1-second step size.
[0050] In some embodiments, the EEG signals are filtered across multiple frequency bands and then spliced along the channel dimension to form a multi-band EEG representation. The multiple frequency bands include three bands: 1 to 12 Hz, 12 to 45 Hz, and 1 to 45 Hz. When the original EEG acquisition channels are 62, after filtering and splicing across the three frequency bands, 186 input channels can be formed. This value is a parameter setting for this embodiment and does not limit the scope of protection of this invention.
[0051] Step 3: Construct a multimodal identity authentication model
[0052] like Figure 2 As shown, the multimodal identity authentication model includes a modality-specific encoding module, an uncertainty modeling module, a confidence-weighted fusion module, and an identity authentication output module. The modality-specific encoding module encodes the input EEG and EMG signals respectively, obtaining the corresponding EEG and EMG identity features. The uncertainty modeling module performs uncertainty modeling on the EEG and EMG identity features respectively, obtaining the mean parameter, standard deviation parameter, and modality latent variable representation for each modality. The confidence-weighted fusion module determines the corresponding confidence weight based on the standard deviation parameter of each modality, and performs weighted fusion of the latent variable representations of each modality projected onto a unified feature space based on the confidence weight, obtaining a fused identity representation. The identity authentication output module outputs the corresponding identity authentication result based on the fused identity representation.
[0053] The modality-specific encoding module comprises multiple parallel feature extraction branches, including one EEG feature extraction branch and at least one EMG feature extraction branch. The EEG feature extraction branch encodes the EEG signals, outputting 128-dimensional EEG identity features. This dimension is for illustrative purposes only and can be adjusted based on model size, number of acquisition channels, and application requirements in actual implementation. The EEG feature extraction branch includes temporal convolutional layers, depth-spatial convolutional layers, depth-separable convolutional layers, channel attention modules, and attention statistical pooling modules. Specifically, the temporal convolutional layer extracts temporal dynamic features from the EEG signals; the depth-spatial convolutional layer models the spatial correlation between EEG channels; the depth-separable convolutional layer reduces the number of model parameters and enhances temporal feature expression; the channel attention module recalibrates features based on channel importance; and the attention statistical pooling module performs weighted aggregation of temporal features.
[0054] In this embodiment, a batch normalization layer, an ELU activation function, an average pooling layer, and a random deactivation layer are connected in series between the depth-separable convolutional layer and the channel attention module.
[0055] The electromyography (EMG) feature extraction branch is used to encode the features of EMG signals, outputting 128-dimensional EMG identity features. The EMG feature extraction branch includes a cascaded bidirectional long short-term memory (LSTM) network and an attention-based statistical pooling module. The LSM network is used to model the EMG signals; the attention-based statistical pooling module aggregates temporal mean and variance information to obtain the corresponding EMG identity features.
[0056] The uncertainty modeling module comprises multiple parallel uncertainty estimation modules. The number of uncertainty estimation modules in the uncertainty modeling module is the same as the number of feature extraction branches in the modality-specific coding module, and there is a one-to-one correspondence between the uncertainty estimation modules and the feature extraction branches. The multiple uncertainty estimation modules have the same structure, each including a dimensionality reduction layer, a mean prediction branch, and a standard deviation prediction branch. In the uncertainty estimation module, after the dimensionality reduction layer reduces the input features, the values are input to the mean prediction branch and the standard deviation prediction branch, respectively, to obtain the mean parameter output by the uncertainty estimation module. and standard deviation parameter ; the mean parameter and standard deviation parameter Through reparameterization, the 64-dimensional modal latent variable representation output by the uncertainty estimation module is obtained. ;in, The sequence representing the uncertainty estimation module; standard deviation parameter. Output via the Softplus function and add a preset positive number. To ensure that the standard deviation is positive, that is ; η represents the input features after dimensionality reduction; η is the standard deviation weight, which follows a standard normal distribution.
[0057] In this embodiment, the training phase of the multimodal identity authentication model involves adjusting model parameters using training samples labeled with identity categories. During training, modal latent variable representations are obtained through reparameterization based on the mean parameter, standard deviation parameter, and random parameters following a standard normal distribution. The inference phase of the multimodal identity authentication model, after parameter adjustment, outputs the identity authentication result using the EEG and EMG signals of the object to be authenticated. During inference, only the mean parameter is used as the modal latent variable representation, thereby improving output stability.
[0058] like Figure 3 As shown, the confidence-weighted fusion module includes a projection layer, a confidence-fusion weight calculation module, and a weighted feature fusion module. The projection layer projects the latent variable representations of each modality onto a 256-dimensional unified feature space. The confidence-fusion weight calculation module calculates the weights based on the standard deviation parameter. Obtain the corresponding modal confidence score And modal confidence Normalization is performed to obtain the confidence weights for each mode. ;in, This represents the mean. Therefore, when the standard deviation of a mode is large, the uncertainty of that mode is high, its confidence level is low, and its fusion weight is small; conversely, when the standard deviation of a mode is small, the uncertainty of that mode is low, its confidence level is high, and its fusion weight is large. The weighted feature fusion module is used to determine the fusion weight based on the confidence level. The projected latent variable representations of each modality are weighted and summed to obtain the fused identity representation. ;in, Indicates the projection layer.
[0059] The identity authentication output module includes a fusion mapping layer and an L2 normalization layer. The fusion mapping layer is used to further map the fused identity representation to obtain a 128-dimensional initial unified identity embedding. The L2 normalization layer is used to perform L2 normalization on the initial unified identity embedding to obtain the final unified identity embedding output by the multimodal identity authentication model.
[0060] In some embodiments, the unified identity embedding can be used in identity recognition scenarios, where the final unified identity embedding is input into an ArcFace classification head based on angular intervals to obtain an identity classification output, and the predicted identity is determined based on the classification output.
[0061] In some embodiments, the unified identity embedding can also be used in one-to-one authentication scenarios, that is, extracting the unified identity embedding of the sample to be authenticated and the registration template or another sample, and calculating the cosine similarity between the two as a verification score. If the verification score is greater than or equal to a preset authentication threshold, the authentication is deemed successful; otherwise, the authentication is deemed unsuccessful. The preset authentication threshold can be determined based on the target false acceptance rate, the statistical results of the verification set, or the system security level.
[0062] In some embodiments, unified identity embedding can also be used in template authentication scenarios, that is, in the registration stage, the average identity embedding is calculated based on multiple registration samples of the same legitimate user to form the user's registration identity template; in the verification stage, the similarity between the identity embedding of the sample to be authenticated and the registration identity template is calculated, and the authentication result is output according to the similarity and a preset threshold.
[0063] Step 4: Model Training
[0064] A multimodal identity authentication model is trained using a dataset, and joint optimization using multiple losses is employed during training. The total loss function is... Represented as:
[0065]
[0066] in, The additive angular margin classification loss is (ArcFace loss). For uncertainty, KL regularized loss; To monitor and compare losses; For proxy alignment loss; and This is the loss weighting coefficient.
[0067] Additive angular margin classification loss is used to enhance the angular margin between different identity categories; uncertainty KL regularization loss is used to constrain the distribution of latent variables of each modality; supervised contrastive loss is used to enhance the embedding compactness of samples with the same identity and expand the embedding distance of samples with different identities; surrogate alignment loss is used to make the sample identity embedding close to the classification surrogate vector of the corresponding identity category.
[0068] A modality random deactivation mechanism can also be used during the training phase. This mechanism does not randomly mask the original input, nor does it directly set modal features to zero. Instead, after modal projection, the fusion mask for each modality is randomly set to zero, and then the fusion mask is multiplied by the confidence score of that modality, thereby reducing or masking the fusion weight of that modality. When all modalities of the same sample are randomly masked, at least one modality is retained to ensure the validity of the forward computation. This mechanism can prevent the model from over-relying on a single modality and improve the robustness of the model under conditions of modal quality fluctuations or disturbances to some modalities.
[0069] Step 5: Identity Verification
[0070] Step 5-1. Identity Registration
[0071] (1) Collect registration samples
[0072] For the same authentication object, perform the authentication task and collect multiple registration samples; each registration sample includes the corresponding collected EEG signal and one or more EMG signals, and is preprocessed in accordance with the method described in step two.
[0073] (2) Generate a unified identity embedding
[0074] Input each registered sample into the trained multimodal identity authentication model to obtain the unified identity embedding corresponding to each registered sample.
[0075] (3) Generate registration identity template
[0076] Multiple unified identity embeddings for the same authentication object are averaged, and the average identity embedding is used as the registration identity template for the authentication object; the registration identity template is then associated with the identity identifier of the authentication object and stored.
[0077] Step 5-2. Authentication
[0078] (1) Collect samples to be certified
[0079] Obtain the electroencephalogram (EEG) signals and one or more electromyogram (EMG) signals generated by the subject to be certified during the certification task, and preprocess them in accordance with the method described in step two.
[0080] (2) Generate a unified identity embedding to be authenticated
[0081] The preprocessed EEG and EMG signals are input into the trained multimodal identity authentication model, and the unified identity embedding of the object to be authenticated is obtained according to the processing method of the inference stage.
[0082] (3) Output authentication results
[0083] Calculate the cosine similarity between the unified identity embedding of the object to be authenticated and the registered identity template, and use the cosine similarity as the verification score. Compare the verification score with a preset authentication threshold, which is determined based on the verification set statistics, the target false acceptance rate, or the system security level. When the verification score is greater than or equal to the preset authentication threshold, output the identity authentication result as passed; when the verification score is less than the preset authentication threshold, output the identity authentication result as failed.
[0084] Step Six: Method Evaluation
[0085] In a cross-session bifold cross-validation experiment, the multimodal method, the single EEG modality method, and the single EMG modality method of this invention were evaluated respectively. Evaluation metrics included mean equal error rate (MER) and ROC-AUC. Evaluation results showed that the multimodal method achieved a mean MER of 0.0609 and an ROC-AUC of 0.9865 on the fast sequence visual presentation task; and a mean MER of 0.06635 and an ROC-AUC of 0.9819 on the steady-state visual evoked task. These metrics are superior to the evaluation results of the single EEG modality and the single EMG modality obtained using the same data partitioning. Therefore, this invention can effectively improve the robustness of cross-session identity authentication.
[0086] Example 2
[0087] This embodiment provides an electronic device. The electronic device includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the authentication method described in Embodiment 1.
[0088] Example 3
[0089] This embodiment provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the authentication method described in Embodiment 1.
[0090] The identity authentication method and device provided by this invention collect user data only when it is legal, compliant, and with the user's consent. All data related to the user (including but not limited to EEG signals and EMG signals) is collected after user authorization and undergoes de-identification processing, retaining only the minimum scope required to achieve the processing purpose.
[0091] This invention does not require facial features, voiceprints, fingerprints or other biometric information as necessary input.
[0092] The sampling rate, window length, window step size, number of channels, feature dimension, latent variable dimension, projection dimension, embedding dimension, and loss weight in the above embodiments are all exemplary parameters, and those skilled in the art can adjust them according to actual equipment conditions, data scale, and application requirements. Any equivalent substitutions or modifications made within the scope of the technical concept of this invention should fall within the protection scope of this invention.
Claims
1. An identity authentication method based on multimodal uncertainty fusion, characterized in that: The method includes: The system acquires the electroencephalogram (EEG) signals and one or more electromyographic (EMG) signals generated by the object to be authenticated during the authentication task, and preprocesses the EEG and EMG signals respectively. When acquiring multiple EMG signals, the multiple EMG signals come from different EMG acquisition channel groups, and each EMG signal corresponds to an EMG mode. Using feature extraction branches that correspond one-to-one with each modality, feature extraction is performed on the preprocessed EEG and EMG signals to obtain EEG identity features and EMG identity features corresponding to each EMG modality. Uncertainty modeling was performed on EEG and EMG identity features respectively to obtain the mean and standard deviation parameters for each modality. The corresponding mode confidence level is determined based on the standard deviation parameter of each mode, and the mode confidence level of each mode is normalized to obtain the confidence weight corresponding to each mode; the confidence weight is negatively correlated with the uncertainty of the corresponding mode. Based on the mean and standard deviation parameters of each modality, construct the corresponding modal latent variable representation; project the modal latent variable representation of each modality onto a unified feature space, and perform weighted fusion of the projected modal latent variable representations according to the confidence weight of each modality to obtain the fused identity representation; The fused identity representation is mapped and normalized to obtain a unified identity embedding; the identity authentication result of the object to be authenticated is output based on the unified identity embedding.
2. The identity authentication method based on multimodal uncertainty fusion according to claim 1, characterized in that: The feature extraction branch corresponding to the EEG signal includes a temporal convolutional layer, a depth-spatial convolutional layer, a depth-separable convolutional layer, a channel attention module, and an attention statistical pooling module; the temporal convolutional layer is used to extract the temporal dynamic features of the EEG signal. The deep spatial convolutional layer is used to extract spatial correlation features between different EEG acquisition channels; The depthwise separable convolutional layer is used to encode temporal dynamic features and spatially relevant features; the channel attention module is used to recalibrate the features of the corresponding channels according to the importance of different EEG acquisition channels; the attention statistical pooling module is used to perform weighted aggregation of the recalibrated features to obtain EEG identity features.
3. The identity authentication method based on multimodal uncertainty fusion according to claim 2, characterized in that: Between the depthwise separable convolutional layer and the channel attention module, there are also batch normalization layers, nonlinear activation layers, average pooling layers, and random deactivation layers arranged in sequence.
4. The identity authentication method based on multimodal uncertainty fusion according to claim 1, characterized in that: The feature extraction branches corresponding to the electromyographic signals all include a bidirectional long short-term memory network and an attention statistical pooling module; the bidirectional long short-term memory network is used to perform bidirectional temporal modeling of the electromyographic signals to obtain electromyographic temporal features; the attention statistical pooling module is used to aggregate the weighted mean information and weighted variance information of the electromyographic temporal features, and obtain the corresponding electromyographic identity features based on the weighted mean information and weighted variance information.
5. The identity authentication method based on multimodal uncertainty fusion according to claim 1, characterized in that: The standard deviation parameter is obtained by using the Softplus function to transform the input features and adding a preset positive number to the transformation result to obtain the standard deviation parameter.
6. The identity authentication method based on multimodal uncertainty fusion according to claim 1, characterized in that: The method for obtaining the modal latent variable representation is as follows: during the training phase of the multimodal identity authentication model, the modal latent variable representation is obtained through reparameterization based on the mean parameter, standard deviation parameter, and random parameters that follow a standard normal distribution; during the inference phase of the multimodal identity authentication model, the mean parameter is used as the modal latent variable representation. The multimodal identity authentication model is used to perform feature extraction, uncertainty modeling, weighted fusion, and identity authentication result output.
7. The identity authentication method based on multimodal uncertainty fusion according to claim 6, characterized in that: During the training phase of the multimodal identity authentication model, the total loss used includes additive angular margin classification loss, uncertainty KL regularization loss, supervised contrastive loss, and proxy alignment loss.
8. The identity authentication method based on multimodal uncertainty fusion according to claim 1, characterized in that: The method for obtaining the identity authentication result is as follows: obtain the unified identity embedding and the registered identity template of the object to be authenticated; Calculate the cosine similarity between the unified identity embedding of the object to be authenticated and the registered identity template to obtain the verification score; compare the verification score with the preset authentication threshold, and obtain the identity authentication result based on the comparison result.
9. The identity authentication method based on multimodal uncertainty fusion according to claim 1, characterized in that: The method for obtaining the registration identity template is as follows: obtain multiple registration samples of the same authentication object, and generate corresponding unified identity embeddings based on the multiple registration samples; perform average processing on all unified identity embeddings, and use the obtained average identity embedding as the registration identity template of the authentication object.
10. An identity authentication device based on multimodal uncertainty fusion, characterized in that: The device is used to execute the identity authentication method based on multimodal uncertainty fusion as described in claim 1. The identity authentication device includes an input and preprocessing module, a modality-specific encoding module, an uncertainty modeling module, a confidence-weighted fusion module, and an identity authentication output module. The input and preprocessing module is used to acquire the electroencephalogram (EEG) and electromyogram (EMG) signals of the object to be authenticated, and to preprocess the EEG and EMG signals. The modality-specific coding module is used to extract features from the preprocessed EEG and EMG signals to obtain EEG identity features and EMG identity features; The uncertainty modeling module is used to model the uncertainty of EEG and EMG identity features, and obtain the mean and standard deviation parameters corresponding to each modality. The confidence weighted fusion module is used to obtain the confidence weight based on the standard deviation parameters of each modality, and to perform weighted fusion of the modality latent variable representations based on the confidence weight to obtain the fused identity representation. The identity authentication output module is used to map and normalize the fused identity representation to obtain a unified identity embedding, and to output the identity authentication result of the object to be authenticated based on the unified identity embedding.
