User portrait construction method and system based on multi-modal big data fusion
By decoupling user interests and hybrid branches through a multimodal encoder, and combining cross-modal attention and counterfactual reasoning, the problem of environmental noise interference in user profiling is solved, generating stable and robust user profiles.
Patent Information
- Application Number
- CN202611421260.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-14
- Publication Date
- 2026-11-27
AI Technical Summary
In existing technologies, user observation data is strongly interfered with by environmental confounding factors, resulting in a high degree of coupling between users' true interest characteristics and environment-driven behaviors, making it impossible to effectively distinguish them and leading to user profile drift and distortion.
A multimodal encoder is used to decouple user data into user interest branches and hybrid branches. User true preferences and environmental noise are separated by feature orthogonal constraints and cross-environment contrastive loss. The cross-modal attention mechanism is used to weight only the output of the user interest branch. Combined with counterfactual reasoning and dynamic hybrid adaptation modules, a dehyped user profile is generated.
It achieves stability and robustness of user profiles, effectively overcomes the profile drift problem, provides a basis for decoupling, quantifies the degree of interference to profiles, and forms an automatic correction closed loop.
Smart Images

Figure QLYQS_20
Abstract
Description
Technical Field
[0001] This invention relates to the field of big data processing technology, and in particular to a method and system for constructing user profiles based on multimodal big data fusion. Background Technology
[0002] In current big data applications such as personalized recommendations, precision marketing, and intelligent risk control, the accuracy of user profiles directly determines core business metrics. With the increasing richness of data collection dimensions, existing profile building solutions typically employ multimodal fusion technology. This involves encoding heterogeneous data such as user text, visual information, and behavioral data, and then fusing them through feature splicing or attention mechanisms to predict user interest tags and attributes.
[0003] However, in existing technologies, user observation data is often strongly interfered with by environmental confounding factors. In the process of feature extraction and fusion, existing solutions highly couple user real interest features with environmental confounding features within the network, making it impossible for the model to distinguish between user real preferences and environment-driven behaviors. As a result, confounding noise is inevitably encoded into the user profile, causing profile drift distortion.
[0004] Therefore, there is an urgent need for a user profile construction method and system based on multimodal big data fusion to address the shortcomings of the existing technologies. Summary of the Invention
[0005] The purpose of this invention is to provide a user profile construction method and system based on multimodal big data fusion, which aims to solve the technical problem in the prior art that the user's real preferences and environment-driven behaviors cannot be distinguished, resulting in mixed noise being inevitably encoded into the user profile and causing profile drift and distortion.
[0006] To achieve the above objectives, this invention employs a user profile construction method based on multimodal big data fusion, comprising the following steps: Acquire multimodal data of the target user and extract the multimodal observation feature set X through a multimodal encoder; Identify the set of confounding factors Z that affect the multimodal observation feature set X, and decouple the network structure of the multimodal encoder by feature decoupling to obtain the user interest branch. and mixed branches ; Extract the user interest branches The output is used as a deconfounded multimodal causal feature set. ; Based on the aforementioned decongested multimodal causal feature set Perform cross-modal feature fusion and generate a decontamination user profile feature set ρ.
[0007] Wherein, the multimodal observation feature set X is parametrically decoupled as follows: .
[0008] The process of identifying the set of confounding factors Z and performing feature decoupling includes the following steps: The set of confounding factors Z is divided into observed confounding factors. and hidden confounding factors ; The hybrid branch The input includes at least the observed confounding factor. The features of the multimodal observation feature set X, and the hidden hybrid feature set encoded from the multimodal observation feature set X by the hidden hybrid inference network.
[0009] During the training process, the user interest branch is... and mixed branches Apply characteristic orthogonal constraints, including: Calculate the orthogonal decoupling loss ; Introducing cross-environment contrast loss For sample pairs of the same target user in different heaped environments, maximize the heaped branch. Feature distance between the sample pairs, while minimizing the user interest branch. The characteristic distance between the sample pairs.
[0010] Among them, the multimodal causal feature set based on the decontamination Cross-modal feature fusion includes the following steps: The decongested multimodal causal feature set Input to a cross-modal attention network, for Linear projections are performed on the components of different modes to obtain the query matrix Q, the key matrix K, and the value matrix V; Cross-modal attention weights are calculated using the Softmax function. In the formula, d is the dimension of the key vector; The attention weight is applied only to the user interest branch. The output values are weighted and aggregated to exclude the mixed branches. The attention calculation is performed to obtain the fused feature set h, and the de-hybridized user profile feature set ρ is obtained through the profile decoder.
[0011] This also includes the following counterfactual reasoning evaluation steps: Replace the set of confounding factors Z with the baseline confounding state. And while maintaining the user's interest branch Under the condition that the output remains unchanged, through the hybrid branch and fusion networks generate counterfactual profile feature sets ; Calculate the deconfounded user profile feature set ρ and the counterfactual profile feature set. Feature distance metric between According to the formula Calculate the robustness index of the profile .
[0012] The counterfactual reasoning evaluation step further includes: Constructing counterfactual consistency loss ; During the model training phase, an overall optimization objective is constructed. In the formula, Cross-entropy loss for image tag prediction, For orthogonal decoupling loss, To compare losses across environments, To balance the hyperparameters, the network parameters are updated with minimizing the overall optimization objective L as the training objective.
[0013] This also includes the following confounding sensitivity attribution analysis steps: Calculate the confounding factors of the deconfounded user profile feature set ρ for each dimension of the confounding factor set Z. gradient ; With the norm of the gradient As a confounding factor in various dimensions Attribution weights for the current profile; Output feature attribution vector In the formula, The contribution of the k-th confounding factor to image drift is represented.
[0014] This invention also provides a user profile construction system based on multimodal big data fusion, used to execute the aforementioned user profile construction method based on multimodal big data fusion, comprising: The multimodal feature decoupling encoding module is used to acquire multimodal data of the target user and extract the multimodal observation feature set X, as well as identify the set of confounding factors Z that affect the multimodal observation feature set X and perform feature decoupling on the multimodal encoder to output the user interest branch. and mixed branches Features; The causal feature decontamination module, connected to the multimodal feature decoupling encoding module, is used to receive the user interest branch. The output is used to extract the decongested multimodal causal feature set. ; The cross-modal fusion and image generation module is connected to the causal feature decontamination module and is used to receive the decontamination multimodal causal feature set. Perform cross-modal feature fusion and generate a decontamination user profile feature set ρ.
[0015] This also includes a dynamic confounding adaptation module, which is connected to the multimodal feature decoupling encoding module. This module is used to extract the observation confounding factor at the current moment when multimodal streaming data of a newly added target user is received. Calculate the observed confounding factor Mixed with the baseline The distribution difference between the branches is considered; if the distribution difference exceeds a preset drift threshold, the user interest branch is frozen. And the network parameters of the cross-modal attention network, only fine-tuning the hybrid branches. Network parameters and adaptive adjustment of the baseline hybrid state .
[0016] The user profile construction method and system based on multimodal big data fusion of the present invention have the following beneficial effects: 1. This invention solves the problem that existing correlation models cannot distinguish between interest and noise by splitting the multimodal encoder into parallel user interest branches and hybrid branches, and forcibly separates the user's real preference features from the environment-driven noise at the bottom layer of the network structure, thus providing a decoupling basis for subsequent bias removal. 2. This invention limits the cross-modal attention mechanism to only the output of the user interest branch, strictly excludes the participation of mixed branches in weighted aggregation, and ensures that the fusion process is not polluted by environmental noise. It fundamentally overcomes the problem of image drift distortion and obtains a stable de-mixed image without relying on any post-processing reweighting. 3. This invention introduces counterfactual reasoning into the portrait construction layer to quantify the difference between the factual portrait and the counterfactual portrait and obtain a portrait robustness index, thereby achieving an accurate assessment of the degree of interference to the portrait; at the same time, the difference is transformed into counterfactual consistency loss to participate in model training, forcing the model to actively learn representations that are insensitive to confounding, thus forming an automatic correction loop. Detailed Implementation
[0017] This invention provides a method for constructing user profiles based on multimodal big data fusion, comprising the following steps: Acquire multimodal data of the target user and extract the multimodal observation feature set X through a multimodal encoder; Identify the set of confounding factors Z that affect the multimodal observation feature set X, and decouple the network structure of the multimodal encoder by feature decoupling to obtain the user interest branch. and mixed branches ; Extract the user interest branches The output is used as a deconfounded multimodal causal feature set. ; Based on the aforementioned decongested multimodal causal feature set Perform cross-modal feature fusion and generate a decontamination user profile feature set ρ.
[0018] Furthermore, the multimodal observation feature set X is parametrically decoupled as follows: .
[0019] Furthermore, the identification of the set of confounding factors Z and the feature decoupling include the following steps: The set of confounding factors Z is divided into observed confounding factors. and hidden confounding factors ; The hybrid branch The input includes at least the observed confounding factor. The features of the multimodal observation feature set X, and the hidden hybrid feature set encoded from the multimodal observation feature set X by the hidden hybrid inference network.
[0020] Furthermore, during the training process, the user interest branches are... and mixed branches Apply characteristic orthogonal constraints, including: Calculate the orthogonal decoupling loss ; Introducing cross-environment contrast loss For sample pairs of the same target user in different heaped environments, maximize the heaped branch. Feature distance between the sample pairs, while minimizing the user interest branch. The characteristic distance between the sample pairs.
[0021] Furthermore, the multimodal causal feature set based on the deconfounded... Cross-modal feature fusion includes the following steps: The decongested multimodal causal feature set Input to a cross-modal attention network, for Linear projections are performed on the components of different modes to obtain the query matrix Q, the key matrix K, and the value matrix V; Cross-modal attention weights are calculated using the Softmax function. In the formula, d is the dimension of the key vector; The attention weight is applied only to the user interest branch. The output values are weighted and aggregated to exclude the mixed branches. The attention calculation is performed to obtain the fused feature set h, and the de-hybridized user profile feature set ρ is obtained through the profile decoder.
[0022] Furthermore, it also includes the following counterfactual reasoning evaluation steps: Replace the set of confounding factors Z with the baseline confounding state. And while maintaining the user's interest branch Under the condition that the output remains unchanged, through the hybrid branch and fusion networks generate counterfactual profile feature sets ; Calculate the deconfounded user profile feature set ρ and the counterfactual profile feature set. Feature distance metric between According to the formula Calculate the robustness index of the profile .
[0023] Furthermore, the counterfactual reasoning evaluation step also includes: Constructing counterfactual consistency loss ; During the model training phase, an overall optimization objective is constructed. In the formula, Cross-entropy loss for image tag prediction, For orthogonal decoupling loss, To compare losses across environments, To balance the hyperparameters, the network parameters are updated with minimizing the overall optimization objective L as the training objective.
[0024] Furthermore, it also includes the following confounding sensitivity attribution analysis steps: Calculate the confounding factors of the deconfounded user profile feature set ρ for each dimension of the confounding factor set Z. gradient ; With the norm of the gradient As a confounding factor in various dimensions Attribution weights for the current profile; Output feature attribution vector In the formula, The contribution of the k-th confounding factor to image drift is represented.
[0025] This invention also provides a user profile construction system based on multimodal big data fusion, used to execute the aforementioned user profile construction method based on multimodal big data fusion, comprising: The multimodal feature decoupling encoding module is used to acquire multimodal data of the target user and extract the multimodal observation feature set X, as well as identify the set of confounding factors Z that affect the multimodal observation feature set X and perform feature decoupling on the multimodal encoder to output the user interest branch. and mixed branches Features; The causal feature decontamination module, connected to the multimodal feature decoupling encoding module, is used to receive the user interest branch. The output is used to extract the decongested multimodal causal feature set. ; The cross-modal fusion and image generation module is connected to the causal feature decontamination module and is used to receive the decontamination multimodal causal feature set. Perform cross-modal feature fusion and generate a decontamination user profile feature set ρ.
[0026] Furthermore, it also includes a dynamic promiscuousness adaptation module, which is connected to the multimodal feature decoupling encoding module, and is used to extract the observation promiscuousness factor at the current time when multimodal streaming data of a new target user is received. Calculate the observed confounding factor Mixed with the baseline The distribution difference between the branches is considered; if the distribution difference exceeds a preset drift threshold, the user interest branch is frozen. And the network parameters of the cross-modal attention network, only fine-tuning the hybrid branches. Network parameters and adaptive adjustment of the baseline hybrid state .
[0027] In this embodiment, Example 1: This embodiment uses the construction of short video user profiles as an example to explain in detail the execution logic and parameter settings of the method of the present invention. 1. Multimodal data encoding System input: Multi-source heterogeneous data of the target user over the past 7 days, including text data (comment list), visual data (set of keyframes of the video watched), and behavioral data (click / dwell time sequence).
[0028] Data processing and output: Text is encoded using BERT-base to obtain [CLS] vectors, visual data is encoded using ViT-B / 16 to obtain class tokens, and behavioral data is encoded using a Transformer encoder to extract the sequence latent states. All three are mapped to the same dimension (e.g., 256-dimensional) through a linear layer and temporally aligned, then concatenated to obtain a multimodal observation feature set. .
[0029] 2. Decoupling of confounding factor identification and network structure features Input data: Multimodal observation feature set X, and observation confounding factors extracted from logs. (Includes: whether it is a holiday one-hot vector, video exposure location encoding, and whether the current event is a hot topic one-hot vector).
[0030] Model structure and parameters: Implicit Confusion Inference Network: Employs a single GRU layer plus a linear layer, taking X as input and outputting an implicit confusion factor. .
[0031] Dual-branch decoupling: Transforming the original multimodal coding layer into a parallel structure. User interest branch. and mixed branches Both are two-layer MLPs (hidden layer dimension 128, activation function ReLU).
[0032] Mixed branches The input is The input to the user interest branch is the concatenation of the multimodal observation feature set X and the user ID embedding (dimension 64).
[0033] Output data: The decoupled features satisfy... ,in, , .
[0034] 3. Causal constraints and decontamination extraction Training constraints: Orthogonal decoupling loss Forced and They are approximately orthogonal in the feature space.
[0035] Cross-environmental comparison loss For the same user, using InfoNCE loss to maximize the sample pairs during "peak periods" and "normal periods". Minimize the distance The distance.
[0036] Extract Output: Discard miscellaneous branch outputs and only extract the output from the branch. As a set of multimodal causal features for decontamination.
[0037] 4. Cross-modal attention fusion and profile generation Input data: Decontamination of multimodal causal feature sets .
[0038] Model structure and parameters: A single-head cross-modal attention mechanism is employed. The linear projection layer will... Mapped to The key vector dimension d = 64.
[0039] Calculation logic: Core limitation: This part Only by Generated, network computation graph does not contain Variables that achieve promiscuous isolation.
[0040] Output data: Weighted aggregation yields a fused feature set. After flattening, the image decoder (two-layer MLP, dimension 128 -> num_classes) outputs the predicted image labels and the de-noisy user image feature set. .
[0041] 5. Counterfactual reasoning assessment and closed-loop training Counterfactual construction: setting a baseline hybrid state This is a zero vector (representing a baseline environment with no hotspots and average exposure). Maintain... Keeping it unchanged, let the mixed branch input be... Forward propagation yields a counterfactual profile feature set. .
[0042] Robustness assessment: Calculating cosine distance The robustness index conf is obtained. If conf < 0.6, the current profile is considered to be severely affected by environmental interference and should be used with caution in downstream decision-making.
[0043] Closed-loop training: Calculate the counterfactual consistency loss .
[0044] Calculate the overall optimization objective (i.e., setting the balance hyperparameters) ).
[0045] Using the AdamW optimizer with a learning rate of 5e-5, backpropagation updates were performed on all network parameters.
[0046] 6. Confounding sensitivity attribution Input: Decontamination of user profile features ρ, contamination factor set Z.
[0047] Calculation: Automatic differentiation calculation via PyTorch Take the L2 norm of the gradient in each dimension. .
[0048] Output: Feature attribution vector A. For example, if the output [0.1, 0.8, 0.05] corresponds to [holidays, hot events, exposure positions] respectively, it can be interpreted as the current profile bias being mainly driven by "hot events".
[0049] Example 2: This embodiment provides a user profile construction system based on multimodal big data fusion, using the method of Embodiment 1. The system includes the following components connected in sequence: The multimodal feature decoupling coding module is equipped with encoders such as BERT and ViT, as well as a dual-branch MLP, for outputting decoupling features; The causal feature decontamination module integrates orthogonal loss and contrastive loss calculation units to output a decontamination feature set. ; The cross-modal fusion and profile generation module is equipped with an isolated attention layer and decoder to output a de-hysteresis user profile feature set ρ and a robustness metric conf.
[0050] Preferably, the system further includes a dynamic confounding adaptation module. During online service, this module calculates the observation confounding of the current batch of data in real time. and The KL divergence. If the KL divergence > 0.5 (preset drift threshold), an online fine-tuning update is triggered, with the specific steps as follows: Step 1: Trigger data acquisition and parameter freezing When the dynamic promiscuous adaptation module determines that a promiscuous distribution drift has occurred, it extracts recent multimodal streaming data after the current time t to form a fine-tuning dataset. (For example, taking the most recent hour or 1000 interaction data points). Simultaneously, user interest branches are incorporated into the computation graph. The network parameters of the cross-modal attention network are set to an untrainable state, retaining only the hybrid branches. The network parameters are in a trainable state.
[0051] Step 2: Construct fine-tuning optimization goals Since a large number of accurate profile labels are typically lacking during the online fine-tuning phase, a complete overall optimization objective L cannot be used. This embodiment employs feature reconstruction loss as the fine-tuning optimization objective. ,Right now: Where X is the multimodal observation feature set in the fine-tuning dataset, Output for the frozen interest branches. The current set of confounding factors extracted from the new environmental data. Output the mixed branches that are yet to be updated. This represents the residual term. The physical meaning of this loss function is: while maintaining stable user interest characteristics... Forced hybrid branches under the premise of no change Adjust its mapping function to better reconstruct the observation characteristics under the new environment, thereby absorbing the distribution drift caused by drastic environmental changes.
[0052] Step 3: Perform constrained gradient update Instantiation only includes hybrid branches Use an optimizer with parameters (such as AdamW) and set a fine-tuned learning rate that is significantly smaller than the initial full-training learning rate. (For example The full training learning rate is 5e-4). In the fine-tuning dataset... Perform forward propagation computation And only the hybrid branch is updated via backpropagation. The parameters.
[0053] Step 4: Fine-tuning Termination and Baseline State Adaptive Adjustment Set the maximum number of fine-tuning iterations (e.g., 100 steps) or a distribution difference threshold. When the number of iterations reaches... or currently observed confounding factors Mixed with the baseline When the distribution difference is lower than the preset drift threshold, the fine-tuning is terminated. Simultaneously, the baseline mixed state is... The system is updated to the mean of the mixed distribution characteristics of the current new environment, which serves as a new benchmark for subsequent counterfactual reasoning, thus completing the system's online adaptation.
[0054] The above description discloses only one preferred embodiment of the present invention, and should not be construed as limiting the scope of the present invention. Those skilled in the art will understand that all or part of the processes of the above embodiments can be implemented, and equivalent changes made in accordance with the claims of the present invention are still within the scope of the invention.
Claims
1. A method for constructing user profiles based on multimodal big data fusion, characterized in that, Includes the following steps: Acquire multimodal data of the target user and extract the multimodal observation feature set X through a multimodal encoder; Identify the set of confounding factors Z that affect the multimodal observation feature set X, and decouple the network structure of the multimodal encoder by feature decoupling to obtain the user interest branch. and mixed branches ; Extract the user interest branches The output is used as a deconfounded multimodal causal feature set. ; Based on the aforementioned decongested multimodal causal feature set Perform cross-modal feature fusion and generate a decontamination user profile feature set ρ.
2. The user profile construction method based on multimodal big data fusion as described in claim 1, characterized in that, The multimodal observation feature set X is decoupled by parameters as follows: .
3. The user profile construction method based on multimodal big data fusion as described in claim 1, characterized in that, The process of identifying the set of confounding factors Z and performing feature decoupling includes the following steps: The set of confounding factors Z is divided into observed confounding factors. and hidden confounding factors ; The hybrid branch The input includes at least the observed confounding factor. The features of the multimodal observation feature set X, and the hidden hybrid feature set encoded from the multimodal observation feature set X by the hidden hybrid inference network.
4. The user profile construction method based on multimodal big data fusion as described in claim 1, characterized in that, During training, the user interest branches and mixed branches Apply characteristic orthogonal constraints, including: Calculate the orthogonal decoupling loss ; Introducing cross-environment contrast loss For sample pairs of the same target user in different heaped environments, maximize the heaped branch. Feature distance between the sample pairs, while minimizing the user interest branch. The characteristic distance between the sample pairs.
5. The user profile construction method based on multimodal big data fusion as described in claim 1, characterized in that, The multimodal causal feature set based on the decontamination Cross-modal feature fusion includes the following steps: The decongested multimodal causal feature set Input to a cross-modal attention network, for Linear projections are performed on the components of different modes to obtain the query matrix Q, the key matrix K, and the value matrix V; Cross-modal attention weights are calculated using the Softmax function. In the formula, d is the dimension of the key vector; The attention weight is applied only to the user interest branch. The output values are weighted and aggregated to exclude the mixed branches. The attention calculation is performed to obtain the fused feature set h, and the de-hybridized user profile feature set ρ is obtained through the profile decoder.
6. The user profile construction method based on multimodal big data fusion as described in claim 1, characterized in that, It also includes the following counterfactual reasoning evaluation steps: Replace the set of confounding factors Z with the baseline confounding state. And while maintaining the user's interest branch Under the condition that the output remains unchanged, through the hybrid branch and fusion networks generate counterfactual profile feature sets ; Calculate the deconfounded user profile feature set ρ and the counterfactual profile feature set. Feature distance metric between According to the formula Calculate the robustness index of the profile .
7. The user profile construction method based on multimodal big data fusion as described in claim 6, characterized in that, The counterfactual reasoning evaluation step also includes: Constructing counterfactual consistency loss ; During the model training phase, an overall optimization objective is constructed. In the formula, Cross-entropy loss for image tag prediction, For orthogonal decoupling loss, To compare losses across environments, To balance the hyperparameters, the network parameters are updated with minimizing the overall optimization objective L as the training objective.
8. The user profile construction method based on multimodal big data fusion as described in claim 1, characterized in that, It also includes the following steps in confounding sensitivity attribution analysis: Calculate the confounding factors of the deconfounded user profile feature set ρ for each dimension of the confounding factor set Z. gradient ; With the norm of the gradient As a confounding factor in various dimensions Attribution weights for the current profile; Output feature attribution vector In the formula, The contribution of the k-th confounding factor to image drift is represented.
9. A user profile construction system based on multimodal big data fusion, used to execute the user profile construction method based on multimodal big data fusion as described in any one of claims 1 to 8, characterized in that, include: The multimodal feature decoupling encoding module is used to acquire multimodal data of the target user and extract the multimodal observation feature set X, as well as identify the set of confounding factors Z that affect the multimodal observation feature set X and perform feature decoupling on the multimodal encoder to output the user interest branch. and mixed branches Features; The causal feature decontamination module, connected to the multimodal feature decoupling encoding module, is used to receive the user interest branch. The output is used to extract the decongested multimodal causal feature set. ; The cross-modal fusion and image generation module is connected to the causal feature decontamination module and is used to receive the decontamination multimodal causal feature set. Perform cross-modal feature fusion and generate a decontamination user profile feature set ρ.
10. The user profile construction system based on multimodal big data fusion as described in claim 9, characterized in that, It also includes a dynamic confounding adaptation module, which is connected to the multimodal feature decoupling encoding module. This module is used to extract the observation confounding factor at the current time when multimodal streaming data of a newly added target user is received. Calculate the observed confounding factor Mixed with the baseline The distribution difference between the branches is considered; if the distribution difference exceeds a preset drift threshold, the user interest branch is frozen. And the network parameters of the cross-modal attention network, only fine-tuning the hybrid branches. Network parameters and adaptive adjustment of the baseline hybrid state .
