A dynamic fusion calibrated multi-modal behavior analysis method
By encoding, latent space mapping, and Gaussian mixture model decomposition of multimodal behavioral data, dynamic fusion weights are generated, which solves the problem of insufficient modal feature modeling and improves the accuracy and robustness of behavioral analysis.
Patent Information
- Application Number
- CN202611321543.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-28
- Publication Date
- 2026-11-24
AI Technical Summary
Existing multimodal behavior analysis methods suffer from insufficient modeling of modal features, resulting in low accuracy of behavior analysis and a lack of interpretability in prediction results.
By acquiring behavioral data from multiple modalities, encoding and latent space mapping are performed. A Gaussian mixture model is used for full variance decomposition to obtain the basic variance. Dynamic fusion weights are generated through a dynamic calibration network. Finally, the dynamic fusion features and behavioral prediction categories are determined through a fusion module.
It improves the recognition accuracy and robustness of multimodal behavior analysis, and enables interpretable quantification and adaptive refinement of modal uncertainties.
Smart Images

Figure CN123158104A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of multimodal data processing technology, and in particular to a method for analyzing multimodal behavior through dynamic fusion calibration. Background Technology
[0002] Multimodal behavior analysis typically combines features from multiple modalities, such as text, speech, and vision, to make a comprehensive judgment on user behavior.
[0003] Currently, existing methods typically employ a single Gaussian distribution to model modal features using a unimodal model. However, due to differences in user behavior categories and individual expression variations, existing methods suffer from insufficient modal feature modeling, leading to low accuracy in behavior analysis and a lack of interpretability in prediction results. Summary of the Invention
[0004] This invention provides a dynamic fusion calibration method for multimodal behavior analysis, aiming to improve the recognition accuracy and robustness of multimodal behavior analysis.
[0005] According to one aspect of the present invention, a method for analyzing multimodal behavior through dynamic fusion calibration is provided, comprising: Acquire behavioral data from multiple modalities, wherein the behavioral data is associated with user behavior, and the behavioral data from multiple modalities includes at least two of text modal data, voice modal data, and visual modal data; The behavioral data of each modality are encoded and mapped into the latent space to obtain the first latent feature and the second latent feature corresponding to each modality. Based on the Gaussian mixture model, the first latent feature corresponding to each mode is decomposed into full variance to obtain the basic variance corresponding to each mode. The first latent feature and the second latent feature corresponding to each mode are then input into the dynamic calibration network for correction. Based on the basic variance, the network is normalized to obtain the dynamic fusion weights corresponding to each mode. The fusion module fuses the dynamic fusion weights corresponding to each modality with the first latent features corresponding to each modality to determine the dynamic fusion features, and determines the behavior prediction category based on the master regression head. The master regression head is used to classify and map the dynamic fusion features, and the behavior prediction category is used to characterize user behavior.
[0006] According to another aspect of the present invention, a multimodal behavior analysis apparatus for dynamic fusion calibration is provided, the apparatus comprising: The behavior data acquisition module is used to acquire behavior data of multiple modalities, wherein the behavior data is associated with user behavior, and the behavior data of multiple modalities includes at least two of text modal data, voice modal data, and visual modal data; The feature acquisition module is used to encode and map the behavioral data of each modality into the latent space to obtain the first latent feature and the second latent feature corresponding to each modality. The weight acquisition module is used to perform full variance decomposition on the first latent feature corresponding to each mode based on the Gaussian mixture model to obtain the basic variance corresponding to each mode, and input the first latent feature and the second latent feature corresponding to each mode into the dynamic calibration network for correction, and perform normalization processing based on the basic variance to obtain the dynamic fusion weight corresponding to each mode. The fusion feature determination module is used to fuse the dynamic fusion weights corresponding to each modality with the first latent features corresponding to each modality through the fusion module to determine the dynamic fusion features, and to determine the behavior prediction category based on the master regression head, wherein the master regression head is used to classify and map the dynamic fusion features, and the behavior prediction category is used to characterize user behavior.
[0007] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform a dynamic fusion calibration multimodal behavior analysis method according to any embodiment of the present invention.
[0008] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement a dynamic fusion calibration multimodal behavior analysis method according to any embodiment of the present invention.
[0009] According to another aspect of the present invention, a computer program product is provided, which, when executed by a processor, implements a multimodal behavior analysis method for dynamic fusion calibration as described in any of the embodiments of the present invention.
[0010] The technical solution provided in this invention acquires behavioral data from multiple modalities, encodes and maps the behavioral data of each modality into a latent space to obtain first and second latent features corresponding to each modality, thereby aligning heterogeneous modal semantics and extracting high-level semantic abstractions. Further, based on a Gaussian mixture model, the first latent features corresponding to each modality are subjected to full variance decomposition to obtain the basic variance corresponding to each modality. This achieves interpretable quantification of modal uncertainty. The first and second latent features corresponding to each modality are then input into a dynamic calibration network for correction, and normalized based on the basic variance to obtain dynamic fusion weights corresponding to each modality, thereby achieving adaptive refinement of modal uncertainty. Finally, a fusion module fuses the dynamic fusion weights corresponding to each modality with the first latent features corresponding to each modality to determine the dynamic fusion features, and the behavior prediction category is determined based on the master regression head. This technical solution solves the problems of difficulty in accurately characterizing the distribution characteristics of modal features and the inability to dynamically assess modal uncertainty, thereby improving the recognition accuracy and robustness of multimodal behavior analysis.
[0011] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0012] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0013] Figure 1 A flowchart of a multimodal behavior analysis method for dynamic fusion calibration provided in an embodiment of the present invention; Figure 2 A flowchart of a multimodal behavior analysis method for dynamic fusion calibration provided in an embodiment of the present invention; Figure 3 A flowchart illustrating the model training process of a dynamic fusion calibration multimodal behavior analysis method provided in this embodiment of the invention; Figure 4 This is a schematic diagram of the structure of a multimodal behavior analysis device with dynamic fusion calibration provided in an embodiment of the present invention; Figure 5 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. Detailed Implementation
[0014] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0015] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0016] It is understood that before using the technical solutions disclosed in the various embodiments of the present invention, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in the present invention and their authorization should be obtained in accordance with relevant laws and regulations through appropriate means.
[0017] Figure 1 This is a flowchart illustrating a dynamic fusion calibration multimodal behavior analysis method provided in an embodiment of the present invention. This embodiment is applicable to multimodal behavior analysis. The method can be executed by a dynamic fusion calibration multimodal behavior analysis device provided in this embodiment of the present invention. This device can be implemented using software and / or hardware, such as... Figure 1 As shown, the method specifically includes the following steps: S110. Obtain behavioral data from multiple modalities, wherein the behavioral data is associated with user behavior, and the behavioral data from multiple modalities includes at least two of the following: text modal data, voice modal data, and visual modal data.
[0018] In this embodiment, behavioral data can be a multidimensional information carrier representing a user's behavioral state, behavioral pattern, or behavioral tendency. This data has a semantic correlation with user behavior. User behavior can be a perceptible activity pattern exhibited by the user through language expression, vocal characteristics, or body movements. This pattern includes, but is not limited to, the user's interaction intent and psychological state behavior. For example, behavioral data can be used to characterize a user's interactive behavior, and further, through interactive behavior analysis, the user's psychological state and behavioral intent can be obtained.
[0019] It should be noted that behavioral data can include multi-dimensional information such as textual expressions, voice signals, and / or visual images generated by users during interactions. Optionally, behavioral data across multiple modalities includes at least two of textual modal data, voice modal data, and visual modal data. Textual modal data can be unstructured data carrying semantic information in the form of natural language symbols. This can be understood as the content expressed by the user through language. This content includes the user's semantic information, such as user-inputted text comments or transcribed dialogue text. Voice modal data can be temporal data carrying voice content and language information in the form of sound wave signals, i.e., audio signals generated during the user's interaction. This signal can reflect the user's physiological state to determine user behavior. For example, this audio signal can be a user's voice call recording or a voice track in a video. Visual modal data can be temporal data carrying spatiotemporal visual information in the form of image sequences. This data can reflect the user's state and behavioral intentions, such as the user's facial features.
[0020] Specifically, multidimensional information representing user behavior states, patterns, or tendencies is collected from different data sources, including at least two of the following: text modal data, speech modal data, and visual modal data. Text modal data can be obtained by collecting user-inputted text content through user interaction interfaces or by transcribing text using speech recognition. Speech modal data can be obtained by collecting audio signals generated by users through audio acquisition devices and extracting acoustic features such as fundamental frequency, speech rate, and pitch variations. Visual modal data can be obtained by collecting data such as user facial expressions, head posture, eye gaze direction, and body movements through image acquisition devices, and extracting keyframes from video streams. This data serves as behavioral data, providing high-quality input for subsequent user behavior analysis.
[0021] S120. Encode and map the behavioral data of each modality to obtain the first latent feature and the second latent feature corresponding to each modality.
[0022] In this embodiment, latent space mapping can be a process of projecting the encoded state features onto a low-dimensional and continuous latent representation space through linear or nonlinear transformations. Optionally, latent space mapping can be implemented using a two-layer feedforward neural network.
[0023] The first latent feature can be the unperturbed latent representation obtained after mapping the state features corresponding to each modality to the latent space. This feature is the intrinsic representation of each modality's data in the latent space. In other words, this feature represents the original semantic information and distribution characteristics of the behavioral data.
[0024] The second latent feature can be a latent representation obtained by applying a random perturbation to the first latent feature. This can be understood as the second latent feature being obtained by applying a gradual random perturbation to the first latent feature. The second latent feature is obtained by processing the first latent feature to simulate potential acquisition noise and data fluctuations in real-world scenarios.
[0025] Specifically, after acquiring behavioral data from multiple modalities, the behavioral data for each modality is encoded to obtain the encoded first latent feature representation. The state features corresponding to each modality are then input into a latent space mapping network for mapping processing, which projects behavioral features of different dimensions onto a unified-dimensional latent space to obtain the first latent features corresponding to each modality. Further, the first latent features undergo latent space mapping processing to obtain the second latent features corresponding to each modality, thereby eliminating dimensional differences between heterogeneous modalities, achieving deep compression of the modal semantic space, and providing a semantic alignment foundation for subsequent cross-modal interactions.
[0026] It should be noted that, in order to achieve a unified representation of heterogeneous modal features and provide an input basis for subsequent uncertainty perception and dynamic fusion, the acquisition process of the first and second latent features will be described below. Optionally, the behavioral data of each modality is encoded and mapped into the latent space to obtain the first and second latent features corresponding to each modality, including: Each modal data is encoded using its corresponding single-modal encoder to obtain the behavioral features corresponding to each modality. The behavioral features corresponding to each modality are then subjected to latent space mapping and random perturbation to obtain the first latent feature and the second latent feature corresponding to each modality.
[0027] In this embodiment, the unimodal encoder can be a feature extraction network designed for a specific modal data type. This network can be used to convert behavioral data from each modality into a structured feature vector representation. The behavioral features can be the structured feature vector representation obtained after processing the behavioral data of each modality by the corresponding unimodal encoder. These behavioral features are used to characterize the discriminative information related to the user's behavioral state in the corresponding modality, and filter out redundant information irrelevant to the task.
[0028] Specifically, after acquiring behavioral data from each modality, since behavioral data from multiple modalities such as text, speech, and / or visual modalities have different physical forms and data structures, and the aforementioned heterogeneous data cannot be directly fused across modalities, the acquired behavioral data from multiple modalities are input into their respective single-modal encoders for processing, and behavioral features corresponding to the behavioral data are obtained.
[0029] For example, if the modal behavioral data includes text modal data, speech modal data, and visual modal data, firstly, the text modal data is input into a pre-trained text modal encoder to perform bidirectional contextual modeling, ultimately obtaining the behavioral features corresponding to the text modality to represent high-level linguistic information related to the user's behavioral state. Further, the speech modal data is input into a speech modal encoder for encoding, outputting the behavioral features corresponding to the speech modality. Finally, the visual modal data is input into a visual modal encoder for encoding, outputting the behavioral features corresponding to the visual modality to reflect the user's nonverbal behavioral expressions.
[0030] After encoding, the behavioral features corresponding to each modality are sequentially subjected to latent space mapping and random perturbation, ultimately yielding the first and second latent features. By using a single-modal encoder designed specifically for the characteristics of each modality, semantic differences between heterogeneous data are eliminated, enabling cross-modal information interaction.
[0031] Furthermore, the latent space mapping and random perturbation processing are described in detail. Optionally, the behavioral features corresponding to each mode are sequentially subjected to latent space mapping and random perturbation processing to obtain the first latent feature and the second latent feature corresponding to each mode, including: The behavioral features corresponding to each modality are mapped to the latent space based on the latent space network to obtain the first latent features corresponding to each modality; the first latent features are subjected to random perturbation to obtain the second latent features corresponding to each modality.
[0032] In this embodiment, the latent space network can be a learnable mapping network used to project modal behavioral features from the original space to a common latent space. The latent space can be a low-dimensional and continuous feature representation space embedded after feature extraction or mapping of the behavioral features.
[0033] Random perturbation can be understood as the process of applying controllable random noise to a first latent feature to generate a second latent feature with slight variability.
[0034] Specifically, the behavioral features corresponding to each modality are input into a latent space mapping network for mapping processing. That is, through the learnable weight matrix and bias terms in the latent space mapping network, the behavioral features of each modality are non-linearly projected onto a common latent space of a preset dimension, giving the behavioral features of different modalities a unified dimensional structure in this space. After mapping processing, each modality data obtains its corresponding first latent feature in the latent space. This first latent feature is then obtained.
[0035] Furthermore, the first latent features are subjected to random perturbation processing, that is, random noise following a Gaussian distribution is added to the first latent features corresponding to each modality, thereby obtaining the second latent features after random perturbation. Through the above latent space mapping and random perturbation processing, the behavioral features of each modality are uniformly projected onto the common latent space, realizing the dimensional alignment and semantic unification of heterogeneous modal features, thereby improving the accuracy and robustness of the multimodal behavior analysis system in complex environments.
[0036] S130. Based on the Gaussian mixture model, the first latent feature corresponding to each mode is decomposed into full variance to obtain the basic variance corresponding to each mode. The first latent feature and the second latent feature corresponding to each mode are then input into the dynamic calibration network for correction. Based on the basic variance, normalization is performed to obtain the dynamic fusion weight corresponding to each mode.
[0037] In this embodiment, the Gaussian mixture model can be a probabilistic model used to describe the data distribution. It should be noted that this is achieved by assuming the data is a weighted combination of multiple Gaussian distributions, with each Gaussian component representing a potential cluster in the data space.
[0038] Full variance decomposition can be understood as decomposing the total variance of a variable into the sum of the expected within-group variance and the expected between-group variance, based on the full variance formula. Full variance decomposition is performed on the first latent feature to obtain the basic variance corresponding to each mode. The basic variance can be an initial statistic calculated based on a Gaussian mixture model and full variance decomposition. This statistic reflects the inherent uncertainty level of the mode under the current behavioral data.
[0039] A dynamic calibration network can be a network module used for adaptive correction of fundamental contrast. This module outputs dynamic calibration terms based on the specific morphology of the current feature. By generating dynamic calibration terms, modal uncertainty can be adjusted.
[0040] The dynamic fusion weights can be coefficients adaptively generated based on the reliability assessment results of each modality. These coefficients are used for weighted fusion of multimodal features.
[0041] Specifically, after obtaining the first and second latent features corresponding to each modality, the first latent features are input into a Gaussian mixture model to obtain the basic variance for each modality. Further, the first and second latent features are input into a dynamic calibration network for correction, adaptively adjusting the basic variance based on the specific form of the current features. Finally, normalization is performed based on the modal uncertainty information corresponding to each modality to obtain dynamic fusion weights for each modality. This avoids excessive suppression of other modalities due to high confidence in one modality, ensuring that the differentiated complementary information of each modality is reasonably preserved during the fusion process, thus improving the recognition accuracy of multimodal behavior analysis.
[0042] Furthermore, the detailed process of full variance decomposition is further refined. Optionally, based on the Gaussian mixture model, full variance decomposition is performed on the first latent feature corresponding to each mode to obtain the basic variance corresponding to each mode, including: Based on the Gaussian mixture model, the first latent features corresponding to each mode are matched and calculated to obtain a preset number of posterior probabilities; the mean of the preset number of Gaussian components is weighted based on the posterior probabilities to obtain the overall mean; the posterior probabilities and the overall mean are calculated based on the full variance calculation method to obtain the basic variance.
[0043] In this embodiment, the posterior probability can be the probability that the sample belongs to a certain Gaussian component given the first latent feature. This probability characterizes the degree of matching between the current sample and the behavioral state prototype.
[0044] The preset number can be a pre-defined number of Gaussian components, and the number of posterior probabilities obtained is consistent with the number of Gaussian components. The mean can be the center position vector of the Gaussian components, which is used to describe the center position of the corresponding behavioral state prototype in the latent space.
[0045] The overall mean can be the comprehensive feature center obtained by weighted summation of the Gaussian component means based on the posterior probabilities of the current sample on different behavioral state prototypes.
[0046] Specifically, after obtaining the first latent features corresponding to each modality, these features are input into a Gaussian mixture model (Gaussian Mixture Model), which contains a predetermined number of learnable Gaussian components. Each Gaussian component is determined by its mean vector, variance, and prior weights. The first latent features are assigned to each Gaussian component, and the posterior probability of each Gaussian component is obtained. Further, after obtaining the posterior probabilities of each Gaussian component, the means of each Gaussian component are weighted and summed to obtain the overall mean of the current sample. Based on the full variance, the posterior probability and the overall mean are calculated to obtain the basic variance, determining the true distribution of the modal features. This provides an interpretable quantitative basis for the subsequent generation of dynamic fusion weights, thereby improving the accuracy and interpretability of modal uncertainty estimation.
[0047] Furthermore, the process of determining the posterior probability is described. Optionally, based on a Gaussian mixture model, the first latent features corresponding to each modality are matched and calculated to obtain a preset number of posterior probabilities, including: Based on the mean, variance, and prior weights of each Gaussian component in the Gaussian mixture model, the first latent features corresponding to each mode are matched to determine the preset number of posterior probabilities corresponding to each mode.
[0048] In this embodiment, the Gaussian component can be a single Gaussian distribution constituting the Gaussian mixture model, and each Gaussian component is uniquely determined by three parameters: its mean, variance, and prior weights. The mean can be the center position vector of the Gaussian component. It should be noted that this mean can be learned through training based on sample data. The closer the first latent feature is to the mean of a certain Gaussian component in spatial distance, the more similar the modality sample is to the behavioral state prototype, and the higher the matching degree. The variance can be the degree of dispersion of the Gaussian component in the latent space. This parameter describes the degree of dispersion of samples within the behavioral state prototype around the mean. When the variance is small, it indicates that the expression of the behavioral state prototype is relatively consistent. The prior weights can be the proportion of the Gaussian component in the Gaussian mixture model. This proportion describes the relative importance of the behavioral state prototype in the latent space.
[0049] Specifically, after obtaining the first latent features corresponding to each mode, these features are input into a Gaussian mixture model. The Gaussian mixture model contains a predetermined number of learnable Gaussian components, each determined by its mean vector, variance, and prior weights. Further, the first latent features are substituted into the probability density function of each Gaussian wind volume to calculate the likelihood probability of that feature under each Gaussian component. Then, combined with the prior weights of each Gaussian component, the posterior probability belonging to that Gaussian component is calculated based on Bayes' theorem. By establishing a probabilistic association between discrete Gaussian components and continuous sample features through the posterior probability, subsequent variance decomposition and weight generation are based on interpretable statistics, enabling the tracing and quantification of modal uncertainty.
[0050] It should be noted that, to dynamically measure the stability of modal features, the first and second latent features can be input into a dynamic calibration network for correction, thereby obtaining dynamic fusion weights. The dynamic calibration network includes a sharing network and a dynamic variance calibration network. The process of obtaining the dynamic fusion weights will be described in detail below. Optionally, the first and second latent features corresponding to each modality are input into the dynamic calibration network for correction, and normalized based on the basic variance to obtain the dynamic fusion weights corresponding to each modality, including: The first and second latent features corresponding to each mode are input into a shared network for processing to output the sensitivity of each mode to random disturbances. A dynamic variance calibration network is used to process the sensitivity to determine the dynamic calibration terms corresponding to each mode. The dynamic calibration terms corresponding to each mode are normalized based on the basic variance to obtain the dynamic fusion weights corresponding to each mode.
[0051] In this embodiment, the shared network can be a residual network structure in which all modalities share the same set of network parameters. This structure is used to compare the first and second latent features of the input to extract the response features of the modal features to random perturbations.
[0052] Sensitivity can be understood as the strength of a modal feature's response to random perturbations. This strength is used to quantify the stability of the modality's representation under the current samples. Optionally, when the output difference between the first and second latent features is small under the comparison processing of the shared network, it indicates that the modal feature is insensitive to random perturbations, that is, the representation of the modality under the current data has high stability; while when the output difference is large, it indicates that the modal feature is sensitive to perturbations, that is, the representation of the modality under the current data is unstable.
[0053] A dynamic variance calibration network can be used to convert the sensitivity of the shared network output into dynamic calibration terms. After inputting the sensitivity of the shared network output into the dynamic variance calibration network, it outputs dynamic calibration terms corresponding to each mode, thereby achieving adaptive refinement of modal uncertainties.
[0054] Specifically, the first and second latent features corresponding to each modality are input into a shared network for processing. Through a parameter sharing mechanism, general feature stability discrimination knowledge is learned, and the sensitivity of each modality to random perturbations is output. Further, a dynamic variance calibration network is used to process the sensitivity, mapping the feature sensitivity to perturbations to a correction amount for the basic variance through learnable weight parameters, outputting the dynamic calibration term corresponding to each modality. Finally, the dynamic calibration term corresponding to each modality is normalized based on the basic variance to obtain the dynamic fusion weights corresponding to each modality. By comparing the differences between the first and second latent features, the model actively perceives the feature stability of each modality under the current samples, and the basic variance is adaptively refined for samples through the dynamic calibration network.
[0055] Furthermore, after obtaining the basic variance and dynamic calibration term for each mode, the two need to be combined to determine the uncertainty information of each mode, and then further converted into dynamic fusion weights. Optionally, the dynamic calibration term for each mode is normalized based on the basic variance to obtain the dynamic fusion weights for each mode, including: The uncertainty information is obtained by combining the basic variance and the dynamic calibration term. The uncertainty information is converted into the initial confidence level by the exponential decay function, and the initial confidence level corresponding to each mode is normalized to obtain the dynamic fusion weight.
[0056] In this embodiment, the uncertainty information can be a comprehensive index obtained by combining the basic variance with the dynamic calibration term. This index reflects the overall uncertainty level of the mode in the current sample. The exponential decay function can be an exponential function with the natural constant as the base. This function is used to map the uncertainty information to a confidence level. The initial confidence level can be a measure obtained by converting the uncertainty information of each mode through the exponential decay function. Optionally, the lower the uncertainty, the higher the initial confidence level; the higher the uncertainty, the lower the initial confidence level.
[0057] Specifically, after obtaining the basic variance and dynamic calibration term for each modality, the two need to be combined to determine the uncertainty information of each modality, and then further converted into dynamic fusion weights. First, the basic variance and dynamic calibration term for each modality are added together to obtain the uncertainty information of the modality in the current sample. Through the above processing, the obtained uncertainty information includes both the positional information of the modality in the overall data distribution and the real-time quality information, achieving a comprehensive quantification of modal uncertainty.
[0058] Furthermore, an exponential decay function is used to map the uncertainty information corresponding to each mode to an initial confidence level, ensuring that the output range is positive. Finally, the initial confidence levels corresponding to each mode are normalized to obtain the dynamic fusion weights for each mode. Through the combined processing of the basic variance and dynamic calibration term, the confidence level transformation using the exponential decay function, and the weight generation using non-competitive proportional normalization, the dynamic fusion weights corresponding to each mode are determined, enabling multimodal fusion to adaptively adjust the fusion based on the actual data quality.
[0059] S140. Through the fusion module, the dynamic fusion weights corresponding to each modality are fused with the first latent features corresponding to each modality to determine the dynamic fusion features, and the behavior prediction category is determined based on the master regression head. The master regression head is used to classify and map the dynamic fusion features, and the behavior prediction category is used to represent user behavior.
[0060] In this embodiment, the fusion module can be a functional unit for performing multimodal feature weighted fusion. This module can receive the dynamic fusion weights of each modality and the first latent feature as input, and output the weighted fused dynamic fusion feature.
[0061] Dynamic fusion features can be a multimodal joint feature representation obtained by weighting and fusing the first latent features corresponding to each modality according to dynamic fusion weights. The master regression head can be a prediction network used to classify and map the dynamic fusion features. This network can receive dynamic fusion features as input, map the dynamic fusion features from the latent space to the behavior category space, output the predicted values of each behavior category, and finally obtain the predicted behavior category.
[0062] The predicted behavior category can be the final behavior state classification result output by the main regression head based on dynamically fused features. This result is used to characterize the user's behavior state in the current multimodal behavior data.
[0063] Specifically, after obtaining the dynamic fusion weights corresponding to each modality, the fusion module fuses the dynamic fusion weights of each module with the first latent features of each module to determine the dynamic fusion features. Further, after determining the dynamic fusion features, they are input into the main regression head for processing. The main regression head performs a nonlinear transformation on the dynamic fusion features using its internal learnable weight matrix and bias terms, and outputs the predicted probability of each behavior category through an activation function to determine the behavior prediction category. Through the above fusion and prediction processing, adaptive fusion is achieved, ensuring the quality and reliability of the fusion features. This allows the behavior prediction results to both integrate the differentiated and effective information from each modality and have uncertainty quantification support.
[0064] The technical solution provided in this invention acquires behavioral data from multiple modalities, encodes and maps the behavioral data of each modality into a latent space to obtain first and second latent features corresponding to each modality, thereby aligning heterogeneous modal semantics and extracting high-level semantic abstractions. Further, based on a Gaussian mixture model, the first latent features corresponding to each modality are subjected to full variance decomposition to obtain the basic variance corresponding to each modality. This achieves interpretable quantification of modal uncertainty. The first and second latent features corresponding to each modality are then input into a dynamic calibration network for correction, and normalized based on the basic variance to obtain dynamic fusion weights corresponding to each modality, thereby achieving adaptive refinement of modal uncertainty. Finally, a fusion module fuses the dynamic fusion weights corresponding to each modality with the first latent features corresponding to each modality to determine the dynamic fusion features, and the behavior prediction category is determined based on the master regression head. This technical solution solves the problems of difficulty in accurately characterizing the distribution characteristics of modal features and the inability to dynamically assess modal uncertainty, thereby improving the recognition accuracy and robustness of multimodal behavior analysis.
[0065] Figure 2 This is a flowchart of a multimodal behavior analysis method based on dynamic fusion calibration provided in an embodiment of the present invention. Based on the above embodiments, this embodiment elaborates on the training process in detail.
[0066] like Figure 2 As shown, the method includes: S210. Obtain multiple sets of multimodal sample data for training, wherein the multimodal sample data includes at least two of the following: sample behavior labels, text modal data, speech modal data, and visual modal data.
[0067] In this embodiment, the multimodal sample data can be labeled data samples used for model training. The multimodal sample data can include multiple modalities and corresponding sample behavior labels. Optionally, the multiple modalities can be at least two of text modal data, speech modal data, and visual modal data. The sample behavior labels can be manually annotated ground truth values of behavior states. These ground truth values can serve as a benchmark for calculating the loss function during model training.
[0068] For example, multimodal sample data can be a video clip, including the audio of the clip, video frames of facial expressions, transcripts of the dialogue, and manually labeled user behavior status tags corresponding to the clip.
[0069] Specifically, during the model training phase, multiple sets of multimodal sample data need to be acquired to construct the training dataset. Each set of multimodal sample data must include at least two of the following: sample behavior labels and text modality data, speech modality data, and video modality data. Acquiring multimodal sample data provides input data and supervision signals for subsequent model adoption optimization.
[0070] S220. For each multimodal sample data, the multimodal sample data is input into the corresponding initial single-modal encoder for encoding processing to obtain the sample behavior features corresponding to each modality, and behavior classification is performed based on the first linear prediction head corresponding to each initial single-modal encoder to obtain the first sample prediction data.
[0071] In this embodiment, the initial unimodal encoder can be a unimodal encoder that has not yet undergone parameter optimization during the initial training phase. It should be noted that the parameters of the initial unimodal encoder are in a randomly initialized or pre-trained initial state. Optionally, the initial unimodal encoder may include an initial speech encoder, an initial text encoder, and an initial visual encoder, etc.
[0072] Sample behavior features can be structured feature vectors obtained by encoding each modal sample data with the corresponding original single-modal encoder. These features represent discriminative information related to user behavior in each modal sample data.
[0073] The first linear prediction head can be a learnable linear classification network connected after each initial unimodal encoder. This network is used to perform unimodal behavior classification on the sample behavior features output by the initial unimodal encoders.
[0074] The first sample prediction data can be the single-modal behavior prediction results output by the first linear prediction head corresponding to each initial single-modal encoder.
[0075] Specifically, after acquiring multiple sets of multimodal sample data for training, each multimodal sample data needs to be input into its corresponding initial single-modal encoder for processing. After processing by the corresponding single-modal encoder, each modality yields its corresponding sample behavior features. Further, these sample behavior features are input into the corresponding first linear prediction head for behavior classification, outputting the predicted probability distribution of each behavior category, i.e., the first sample prediction data. This achieves unified structured encoding of heterogeneous modal data and provides standardized input for subsequent processing.
[0076] S230. Input the sample behavior features corresponding to each modality into the initial fusion module for feature fusion, output the sample fusion features, and input the sample fusion features into the second linear prediction head for behavior classification to obtain the second sample prediction data.
[0077] In this embodiment, the initial fusion module can be a fusion module that has not yet undergone parameter optimization in the initial stage of training. The parameters are in a randomly initialized or pre-trained initial state.
[0078] The sample fusion feature can be a multimodal joint feature representation output by the initial fusion module after fusing the sample behavioral features corresponding to each modality. The second linear prediction head can be the final prediction network connected after the fusion module. This network is used to classify the behavior of the fused multimodal features.
[0079] The second sample prediction data can be the multimodal fusion behavior prediction result output by the second linear prediction head. This result is used together with the sample behavior labels to calculate the fusion loss function value.
[0080] Specifically, the sample behavioral features corresponding to each modality are input into the initial fusion module for feature fusion. During the fusion process, the initial fusion module first projects the sample behavioral features of each modality onto a common latent space through a latent space mapping network to obtain the first latent features corresponding to each modality, making the features of each modality comparable in a unified dimensional space. Further, based on a Gaussian mixture model, the first latent features of each modality are decomposed into full variance, decomposing the modality's basic variance into within-group uncertainty and variability. Simultaneously, the first latent features of each modality and their corresponding second latent features are input into a dynamic calibration network to determine dynamic calibration terms. Further, based on the dynamic calibration terms and the basic variance, the dynamic fusion weights corresponding to each modality are determined. Finally, the first latent features corresponding to each modality are weighted and summed according to the dynamic fusion weights to determine the sample fusion features. Through the above fusion processing, the sample fusion features output by the initial fusion module achieve an adaptive fusion strategy that reasonably preserves complementary information. After obtaining the sample fusion features, these features are input into the second linear prediction head for behavior classification. The fusion features are then transformed from the latent space, and the predicted probability distribution of each behavior category is output through an activation function, which is the second sample prediction data. Through the above fusion and classification processes, a high-quality fusion representation foundation is laid for the finally trained multimodal behavior analysis model.
[0081] S240. A gradient decoupling strategy is adopted, and the parameters of each initial single-mode encoder are adjusted based on the single-mode loss function, and the parameters of the initial fusion module are adjusted based on the fusion loss function.
[0082] In this embodiment, the gradient decoupling strategy can be to separate the gradient update paths of different modules during model training, so that the parameters of each module are updated only by their corresponding loss function.
[0083] The unimodal loss function can be a loss function used to measure the difference between the independent prediction results of the first linear prediction head output of each modality and the sample behavior label. The initial unimodal encoder can be a unimodal encoder that has not yet undergone parameter optimization in the initial training stage. It should be noted that the parameters of the initial unimodal encoder are in a randomly initialized or pre-trained initial state.
[0084] The fusion loss function can be a loss function used to measure the difference between the multimodal fusion prediction result output by the second linear prediction head and the sample behavior label. For example, the fusion loss function can be the cross-entropy loss function.
[0085] Specifically, after obtaining the first and second sample prediction data, a gradient decoupling strategy is required. The parameters of each initial single-modal encoder are adjusted based on the single-modal loss function, and the parameters of the initial fusion module are adjusted based on the fusion loss function. This ensures that each modal encoder independently learns and retains synonymous information, while the fusion module focuses on learning the joint optimization representation across modalities.
[0086] Optionally, a gradient decoupling strategy is adopted to adjust the parameters of each of the initial single-modal encoders based on the single-modal loss function, and to adjust the parameters of the initial fusion module based on the fusion loss function: Based on the first sample prediction data, sample behavior labels, and single-modal loss function, the parameters of each initial single-modal encoder are updated by gradient; based on the second sample prediction data, sample behavior labels, and fusion loss function, the parameters of the initial fusion module are updated by gradient.
[0087] In this embodiment, the fusion loss function can be a loss function used to measure the difference between the multimodal fusion prediction result output by the second linear prediction head and the sample behavior label.
[0088] Specifically, when using a gradient decoupling strategy for modal training, iterative optimization of the parameters of each initial unimodal encoder and the initial fusion module is performed using two independent and non-interfering gradient update paths, based on the first and second sample prediction data respectively. The first gradient update path updates the parameters of the unimodal encoder. Based on the first sample prediction data, sample behavior labels, and the unimodal loss function, the parameters of the initial unimodal encoder are updated using gradients. That is, the first sample prediction data and sample behavior labels corresponding to each modality are input into the unimodal loss function to calculate the unimodal loss value corresponding to each modality, so as to quantify the difference between the independent prediction results of each modality and the true behavior labels. Further, the gradient value of the unimodal loss function with respect to the parameters of each initial unimodal encoder is calculated using the backpropagation algorithm, and the parameters are updated along the gradient descent direction with a preset learning rate.
[0089] The second gradient update path involves updating the parameters of the fusion module. The predicted data of the second sample and the sample behavior labels are input into the fusion loss function to calculate the fusion loss value. Further, the gradient of this fusion loss value with respect to the initial fusion module parameters is calculated using the backpropagation algorithm, and the parameters are updated along the gradient descent direction.
[0090] Through the collaborative work of the two independent gradient update paths mentioned above, the single-modal encoder and the fusion module achieve gradient decoupling training, so as to avoid the interference of strong modal gradients on weak modal encoders in end-to-end joint training, and enable multimodal fusion to fully obtain the differentiated and complementary information of each modality.
[0091] S250. Use the total loss function to update the parameters of other initial models using gradients. The other initial models include at least the initial Gaussian mixture model, the initial dynamic calibration network, and the initial master regression head.
[0092] In this embodiment, the total loss function can be an overall optimization objective consisting of a weighted sum of the single-modal loss function and the fusion loss function. This function can be used to drive the gradient updates of other learnable parameters in the model besides the single-modal encoder.
[0093] Other initial models can be a collection of network components, excluding the single-modal encoder and the fusion module, that have not yet undergone parameter optimization during the initial training phase. Optionally, other initial models may include at least an initial Gaussian mixture model, an initial dynamic calibration network, and an initial master regression head. The initial Gaussian mixture model can be a Gaussian mixture model that has not yet undergone parameter optimization during the initial training phase. The parameters of this Gaussian mixture model are in an initial state after random initialization or specific initialization. The initial dynamic calibration network can be a dynamic calibration network that has not yet undergone parameter optimization during the initial training phase. The parameters of this dynamic calibration network are in a state of random initialization. It should be noted that the initial dynamic calibration network consists of the following sub-modules: a shared residual network and a dynamic variance calibration network. The initial master regression head can be a master regression head that has not yet undergone parameter optimization during the initial training phase. The parameters of the master regression head are in a state of random initialization.
[0094] Specifically, the initial Gaussian mixture model contains a predetermined number of learnable Gaussian components, each determined by the mean vector, variance, and prior weights. These parameters are iteratively updated during training through backpropagation of the total loss function. The initial dynamic calibration network includes a shared residual network and a dynamic variance calibration network. These parameters are optimized through backpropagation of the total loss function, enabling the dynamic calibration network to learn to adaptively adjust the base variance based on the current sample feature morphology. The initial master regression head consists of one or more fully connected layers and activation functions, determining the optimal mapping from multimodal fusion features to the behavior category space. The total loss function drives the updates of these three types of functions. The parameters of the Gaussian mixture model affect the accuracy of the total variance decomposition, thus affecting the base variance; the parameters of the dynamic calibration network affect the accuracy of the dynamic calibration term; and the parameters of the master regression head directly affect the accuracy of the final behavior prediction. The total loss function simultaneously updates the gradients of these three types of parameters, enabling them to simultaneously improve both single-modal discrimination accuracy and fusion discrimination accuracy, ultimately achieving collaborative optimization and global convergence of the modules.
[0095] Optionally, the total loss function consists of a single-mode loss function and a fusion loss function.
[0096] Specifically, the total loss function is expressed as a weighted sum of the unimodal loss and the fusion loss. The unimodal loss function measures the difference between the independent prediction results of each modality and the sample behavior labels, driving each unimodal encoder to learn discriminative features related to the behavior state within its own modality. The fusion loss function measures the difference between the multimodal fusion prediction results and the sample behavior labels, driving the fusion module to learn a joint optimized representation across modalities. By combining the two into a unified total loss function, the optimization of the model can balance the accuracy of independent unimodal discrimination and the overall performance of multimodal fusion discrimination.
[0097] S260. When the loss value converges, the initial single-modal encoder is used as the single-modal encoder, the initial fusion module is used as the fusion module, and other initial models are used as other models. Among them, other models include at least Gaussian mixture model, dynamic calibration network and master regression head.
[0098] In this embodiment, the loss value can be a numerical result calculated by substituting the predicted result and the sample behavior label into the loss function. This result is used to quantify the degree of difference between the model's current prediction and the true label.
[0099] Other models can be a collection of modules other than the single-modal encoder and the fusion module body that form the final model after training. These other models include at least a Gaussian mixture model, a dynamic calibration network, and a master regression head.
[0100] Specifically, during model training, when the change in the total loss value is less than a preset threshold for several consecutive iterations, or the performance metrics on the validation set no longer improve, or the preset maximum number of training iterations is reached, the model training is deemed to have met the convergence condition. At this point, all learnable parameters in the model have reached a stable state through sufficient iterative training and no further optimization or updates are needed. After the convergence condition is met, the model parameters are fixed, saving the parameters of each module at the current moment as the final model parameters. This determines the model to be used for behavior analysis and can be directly deployed for actual behavior analysis tasks.
[0101] The technical solutions provided in the embodiments of the present invention are described in detail below. Figure 3 The process begins with the data input phase, where multiple sets of multimodal sample data are acquired for training. Each modality's data is then input into its corresponding single-modal encoder for encoding. Each single-modal encoder can be implemented using a pre-trained model. After processing by its respective encoder, each modality's modal features are obtained.
[0102] Furthermore, the modal features are processed along two parallel branches. In the first branch, the modal features corresponding to each modality are input into their respective single-modal prediction heads for independent behavior classification, resulting in the first sample prediction data for each modality. The single-modal loss is calculated based on the first sample prediction data and the sample behavior labels. During this process, a gradient decoupling strategy is employed for gradient updates, ensuring that the parameter optimization of each single-modal encoder is driven solely by the single-modal loss, without receiving the gradient signal from the fusion loss. This guarantees that each modal encoder can learn independently and retain its unique semantic information.
[0103] Each modal feature is input into a Gaussian mixture model. The posterior probability of each modal feature on each Gaussian component is calculated, and the modal basis variance is decomposed into within-group uncertainty based on the full variance formula, thereby obtaining the basis variance.
[0104] Furthermore, progressive random perturbations are injected into the features of each modality. A shared residual network is used to compare the original features with the perturbation features, outputting the sensitivity of each modality to the random perturbation. This sensitivity is then mapped to a dynamic calibration term using a dynamic variance calibration network. Combining the basic variance with the dynamic calibration term yields the final uncertainty information for each modality. Subsequently, based on this final uncertainty information, an exponential decay function is used to generate the dynamic fusion weights corresponding to each modality.
[0105] Furthermore, based on the dynamic fusion weights corresponding to each modality, the modal features corresponding to each modality are dynamically fused with uncertainty awareness to determine the dynamic fusion features. The dynamic fusion features are then input into the main regression head for classification mapping, outputting the final behavior prediction result. The fusion loss is calculated based on the prediction result and the sample behavior label. During the training phase, the single-modal loss is used to drive the gradient update of the parameters of each single-modal encoder, and the fusion loss is used to drive the gradient update of the parameters of the fusion module. The single-modal loss and the fusion loss together constitute the total loss function. When the loss value converges, the initial single-modal encoder is used as the single-modal encoder, the initial fusion module as the fusion module, and other initial models as other models, realizing the training and optimization of the multimodal behavior analysis model. That is, the encoder independently learns modality-specific representations under single-modal supervision, avoiding the interference of strong modal gradients on weak modalities; the fusion module learns cross-modal joint discrimination ability under fusion supervision; the Gaussian mixture model, dynamic calibration network, and main regression head simultaneously consider the dual optimization objectives of modality and fusion under the drive of the total loss. Through the above mechanism, the model finally trained can adaptively fuse different modalities during the inference stage, maintaining high accuracy and strong robustness in complex environments.
[0106] Figure 4 This is a schematic diagram of a multimodal behavior analysis device with dynamic fusion calibration provided in an embodiment of the present invention. This embodiment is applicable to multimodal behavior analysis and can be implemented using software and / or hardware. The device can be integrated into any device that provides multimodal behavior analysis functionality, such as… Figure 4 As shown, the dynamic fusion calibration multimodal behavior analysis device specifically includes: behavior data acquisition module 310, feature acquisition module 320, weight acquisition module 330, and fusion feature determination module 340.
[0107] The system includes a behavior data acquisition module 310, which acquires behavior data from multiple modalities, wherein the behavior data is associated with user behavior and includes at least two of the following: text modal data, voice modal data, and visual modal data; a feature acquisition module 320, which encodes and maps the behavior data of each modality to obtain a first latent feature and a second latent feature corresponding to each modality; a weight acquisition module 330, which performs full variance decomposition on the first latent feature corresponding to each modality based on a Gaussian mixture model to obtain the basic variance corresponding to each modality, and inputs the first latent feature and the second latent feature corresponding to each modality into a dynamic calibration network for correction, and performs normalization processing based on the basic variance to obtain the dynamic fusion weight corresponding to each modality; and a fusion feature determination module 340, which fuses the dynamic fusion weight corresponding to each modality with the first latent feature corresponding to each modality through the fusion module to determine the dynamic fusion feature, and determines the behavior prediction category based on the master regression head, wherein the master regression head is used to perform classification mapping on the dynamic fusion feature, and the behavior prediction category is used to characterize user behavior.
[0108] The technical solution provided in this invention acquires behavioral data from multiple modalities, encodes and maps the behavioral data of each modality into a latent space to obtain first and second latent features corresponding to each modality, thereby aligning heterogeneous modal semantics and extracting high-level semantic abstractions. Further, based on a Gaussian mixture model, the first latent features corresponding to each modality are subjected to full variance decomposition to obtain the basic variance corresponding to each modality. This achieves interpretable quantification of modal uncertainty. The first and second latent features corresponding to each modality are then input into a dynamic calibration network for correction, and normalized based on the basic variance to obtain dynamic fusion weights corresponding to each modality, thereby achieving adaptive refinement of modal uncertainty. Finally, a fusion module fuses the dynamic fusion weights corresponding to each modality with the first latent features corresponding to each modality to determine the dynamic fusion features, and the behavior prediction category is determined based on the master regression head. This technical solution solves the problems of difficulty in accurately characterizing the distribution characteristics of modal features and the inability to dynamically assess modal uncertainty, thereby improving the recognition accuracy and robustness of multimodal behavior analysis.
[0109] Based on the above solutions, the feature acquisition module includes: The behavior feature determination unit is used to encode each modal data based on its corresponding single-modal encoder to obtain the behavior features corresponding to each modality. The latent feature determination unit is used to perform latent space mapping and random perturbation processing on the behavioral features corresponding to each mode in sequence to obtain the first latent feature and the second latent feature corresponding to each mode.
[0110] Based on the above solutions, the weight acquisition module includes: The posterior probability determination unit is used to perform matching calculations on the first latent features corresponding to each modality based on the Gaussian mixture model to obtain a preset number of posterior probabilities. The mean determination unit is used to weight the mean of the preset number of Gaussian components based on the posterior probability to obtain the overall mean; The basic variance determination unit is used to calculate the basic variance by using the full variance calculation method to calculate the posterior probability and the overall mean.
[0111] Based on the above schemes, the posterior probability determination unit includes: The posterior probability determination subunit is used to match the first latent features corresponding to each mode based on the mean, variance and prior weight of each Gaussian component in the Gaussian mixture model, and determine a preset number of posterior probabilities corresponding to each mode.
[0112] Based on the above solutions, the weight acquisition module includes: The sensitivity output unit is used to input the first latent feature and the second latent feature corresponding to each mode into the shared network for processing, so as to output the sensitivity of each mode to random disturbances; The dynamic calibration item determination unit is used to process the sensitivity using a dynamic variance calibration network to determine the dynamic calibration item corresponding to each mode. The fusion weight acquisition unit is used to normalize the dynamic calibration terms corresponding to each mode based on the basic variance to obtain the dynamic fusion weights corresponding to each mode.
[0113] Based on the above schemes, the fusion weight obtaining unit includes: The uncertainty information is obtained by a sub-unit, which is used to combine the basic variance and the dynamic calibration term to obtain uncertainty information; The dynamic fusion weight determination subunit is used to convert the uncertainty information into an initial confidence level using an exponential decay function, and to normalize the initial confidence level corresponding to each mode to obtain the dynamic fusion weight.
[0114] Based on the above solutions, the parameters of the single-modal encoder, the fusion module, and other models are obtained through training in the following manner: The sample data acquisition module is used to acquire multiple sets of multimodal sample data for training, wherein the multimodal sample data includes at least two of the following: sample behavior labels and text modal data, speech modal data, and visual modal data. The first sample prediction data determination module is used to input the multimodal sample data into the corresponding initial single-modal encoder for encoding processing to obtain the sample behavior features corresponding to each modality, and perform behavior classification based on the first linear prediction head corresponding to each initial single-modal encoder to obtain the first sample prediction data. The second sample prediction data determination module is used to input the sample behavior features corresponding to each modality into the initial fusion module for feature fusion, output sample fusion features, and input the sample fusion features into the second linear prediction head for behavior classification to obtain the second sample prediction data. The parameter adjustment module is used to adjust the parameters of each of the initial single-modal encoders based on the single-modal loss function using a gradient decoupling strategy, and to adjust the parameters of the initial fusion module based on the fusion loss function. The gradient update module is used to update the parameters of other initial models using the total loss function, wherein the other initial models include at least an initial Gaussian mixture model, an initial dynamic calibration network, and an initial master regression head; The loss value convergence module is used to, when the loss value converges, take the initial single-modal encoder as the single-modal encoder, the initial fusion module as the fusion module, and the other initial models as other models, wherein the other models include at least the Gaussian mixture model, the dynamic calibration network, and the master regression head.
[0115] Based on the above solutions, the parameter adjustment module includes: An initial single-modal encoder parameter update unit is used to perform gradient updates on the parameters of each initial single-modal encoder based on the first sample prediction data, the sample behavior label, and the single-modal loss function. The fusion module parameter update unit is used to perform gradient updates on the parameters of the initial fusion module based on the second sample prediction data, the sample behavior label, and the fusion loss function.
[0116] Based on the above schemes, the total loss function is composed of the single-modal loss function and the fusion loss function.
[0117] Based on the above schemes, the latent feature determination unit includes: The first latent feature determination subunit is used to map the behavioral features corresponding to each modality to the latent space based on the latent space network to obtain the first latent feature corresponding to each modality; The second latent feature determination subunit is used to perform random perturbation processing on the first latent feature to obtain the second latent feature corresponding to each mode.
[0118] The above-described products can perform the methods provided in any embodiment of the present invention, and have the corresponding functional modules and beneficial effects for performing the methods.
[0119] Figure 5 A schematic diagram of an electronic device 10, which can be used to implement embodiments of the present invention, is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0120] like Figure 5 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0121] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0122] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as a multimodal behavior analysis method with dynamic fusion calibration.
[0123] In some embodiments, a dynamic fusion calibration multimodal behavior analysis method can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the dynamic fusion calibration multimodal behavior analysis method described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform a dynamic fusion calibration multimodal behavior analysis method by any other suitable means (e.g., by means of firmware).
[0124] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0125] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0126] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0127] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0128] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0129] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0130] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0131] This invention also provides a computer program product, including a computer program that, when executed by a processor, implements a dynamic fusion calibration multimodal behavior analysis method according to any embodiment of the invention.
[0132] In implementing the computer program product, computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof. Programming languages include object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0133] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for analyzing multimodal behavior through dynamic fusion calibration, characterized in that, include: Acquire behavioral data from multiple modalities, wherein the behavioral data is associated with user behavior, and the behavioral data from multiple modalities includes at least two of text modal data, voice modal data, and visual modal data; The behavioral data of each modality are encoded and mapped into the latent space to obtain the first latent feature and the second latent feature corresponding to each modality. Based on the Gaussian mixture model, the first latent feature corresponding to each mode is decomposed into full variance to obtain the basic variance corresponding to each mode. The first latent feature and the second latent feature corresponding to each mode are then input into the dynamic calibration network for correction. Based on the basic variance, the network is normalized to obtain the dynamic fusion weights corresponding to each mode. The fusion module fuses the dynamic fusion weights corresponding to each modality with the first latent features corresponding to each modality to determine the dynamic fusion features, and determines the behavior prediction category based on the master regression head. The master regression head is used to classify and map the dynamic fusion features, and the behavior prediction category is used to characterize user behavior.
2. The method according to claim 1, characterized in that, The process of encoding and mapping the behavioral data of each modality to obtain the first and second latent features corresponding to each modality includes: Each modal data is encoded using its corresponding single-modal encoder to obtain the behavioral features corresponding to each modality. The behavioral features corresponding to each mode are sequentially subjected to latent space mapping and random perturbation processing to obtain the first latent feature and the second latent feature corresponding to each mode.
3. The method according to claim 1, characterized in that, The Gaussian mixture model is used to perform full variance decomposition on the first latent features corresponding to each mode to obtain the basic variance corresponding to each mode, including: Based on the Gaussian mixture model, the first latent features corresponding to each modality are matched and calculated to obtain a preset number of posterior probabilities. The mean of the preset number of Gaussian components is weighted based on the posterior probability to obtain the overall mean. The posterior probability and the overall mean are calculated using a full variance calculation method to obtain the basic variance.
4. The method according to claim 3, characterized in that, The step of matching and calculating the first latent features corresponding to each modality based on the Gaussian mixture model to obtain a preset number of posterior probabilities includes: Based on the mean, variance, and prior weight of each Gaussian component in the Gaussian mixture model, the first latent features corresponding to each mode are matched to determine a preset number of posterior probabilities for each mode.
5. The method according to claim 1, characterized in that, The step of inputting the first latent features and the second latent features corresponding to each modality into the dynamic calibration network for correction, and performing normalization based on the basic variance to obtain the dynamic fusion weights corresponding to each modality, includes: The first latent feature and the second latent feature corresponding to each mode are input into the shared network for processing, so as to output the sensitivity of each mode to random disturbances; A dynamic variance calibration network is used to process the sensitivity to determine the dynamic calibration terms corresponding to each mode; Based on the basic variance, the dynamic calibration terms corresponding to each mode are normalized to obtain the dynamic fusion weights corresponding to each mode.
6. The method according to claim 5, characterized in that, The normalization of the dynamic calibration terms corresponding to each mode based on the basic variance to obtain the dynamic fusion weights corresponding to each mode includes: The uncertainty information is obtained by combining the basic variance and the dynamic calibration term. The uncertainty information is converted into an initial confidence level using an exponential decay function, and the initial confidence level corresponding to each mode is normalized to obtain the dynamic fusion weight.
7. The method according to claim 1, characterized in that, The parameters of the single-modal encoder, the fusion module, and other models are obtained through training in the following manner: Acquire multiple sets of multimodal sample data for training, wherein the multimodal sample data includes at least two of the following: sample behavior labels and text modal data, speech modal data, and visual modal data; For each of the multimodal sample data, the multimodal sample data is input into the corresponding initial single-modal encoder for encoding processing to obtain the sample behavior features corresponding to each modality, and behavior classification is performed based on the first linear prediction head corresponding to each of the initial single-modal encoders to obtain the first sample prediction data. The sample behavior features corresponding to each modality are input into the initial fusion module for feature fusion, and the sample fusion features are output. The sample fusion features are then input into the second linear prediction head for behavior classification to obtain the second sample prediction data. A gradient decoupling strategy is adopted, and the parameters of each initial single-mode encoder are adjusted based on the single-mode loss function, and the parameters of the initial fusion module are adjusted based on the fusion loss function. The parameters of other initial models are updated using the total loss function, wherein the other initial models include at least an initial Gaussian mixture model, an initial dynamic calibration network, and an initial master regression head; When the loss value converges, the initial single-modal encoder is used as the single-modal encoder, the initial fusion module is used as the fusion module, and the other initial models are used as other models, wherein the other models include at least the Gaussian mixture model, the dynamic calibration network, and the master regression head.
8. The method according to claim 7, characterized in that, The gradient decoupling strategy is adopted, which adjusts the parameters of each initial single-modal encoder based on the single-modal loss function, and adjusts the parameters of the initial fusion module based on the fusion loss function. Based on the first sample prediction data, the sample behavior label, and the single-modal loss function, the parameters of each initial single-modal encoder are updated using gradients. Based on the second sample prediction data, the sample behavior label, and the fusion loss function, the parameters of the initial fusion module are updated using gradients.
9. The method according to claim 7, characterized in that, The total loss function is composed of the single-modal loss function and the fusion loss function.
10. The method according to claim 2, characterized in that, The process of sequentially performing latent space mapping and random perturbation on the behavioral features corresponding to each modality to obtain the first latent feature and the second latent feature corresponding to each modality includes: The behavioral features corresponding to each modality are mapped to the latent space based on the latent space network to obtain the first latent features corresponding to each modality; The first latent feature is subjected to random perturbation to obtain the second latent feature corresponding to each mode.
