Bayesian optimal transmission-based user behavior modeling method

Through the combination of Bayesian optimal transmission and Gaussian hybrid model, the problems of singularity and complexity in user behavior modeling are solved, and the accurate modeling of long sequence data and the processing of noise data are realized, which improves the model generalization ability and prediction accuracy.

CN119004004AActive Publication Date: 2024-11-22BEIJING JIAOTONG UNIV

Patent Information

Application Number
CN202410921550.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-11-22
Estimated Expiration
2044-07-10

AI Technical Summary

Technical Problem

The existing user behavior modeling methods have problems such as singularity, high complexity and difficulty in processing noise data when capturing user behavior patterns and interest characteristics, and it is difficult to effectively model long sequence data.

Method used

Using Bayesian optimal transmission method, a Gaussian hybrid model and EM algorithm are used to model user behavior, introduce a priori distribution to describe the mixed distribution parameters, and obtain user behavior prediction results through multi-layer perceptrons.

Benefits of technology

Effectively capture complex user behavior patterns, reduce the impact of noise data, improve model generalization capabilities and prediction accuracy, and be able to effectively model long sequence data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119004004A_ABST
    Figure CN119004004A_ABST
Patent Text Reader

Abstract

The invention provides a user behavior modeling method based on Bayesian optimal transmission. The method comprises the steps of obtaining user behavior sequence data and prior distribution parameters of a Gaussian mixture model; initializing a Gaussian mixture model by using the prior distribution parameters, inputting the user behavior sequence data into the initialized Gaussian mixture model, and solving by using an EM algorithm to obtain user interest representation; and inputting the user interest representation into a multi-layer perceptron to obtain a user behavior prediction result. According to the method, the user behavior data can be modeled more flexibly, the training process of the model is accelerated while model parameter learning is assisted, the problem of over-fitting or model degradation is avoided, the generalization ability and prediction accuracy of the model are improved, the user behavior mode can be learned more accurately, and the user experience is improved. In addition, the influence of noise data can be reduced, the complexity of the model is ensured, and the long sequence can be effectively modeled by the model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to a user behavior modeling method based on Bayesian optimal transmission. Background Art

[0002] In the CTR prediction task, the user's historical behavior is crucial. The user's historical behavior refers to the user's behavior trajectory on the system or platform, which is usually represented by the user's historical interaction item sequence. Compared with other features, it shows the user's historical preferences and has a direct impact on the user's subsequent click behavior. Therefore, how to more effectively model the user's historical behavior has always been the focus of academia and industry. The click-through rate prediction model based on user behavior deeply mines the user's interest preferences through the user's historical behavior data, thereby predicting the user's click probability on the recommended content or advertisement.

[0003] At present, commonly used click-through rate prediction models include user behavior modeling based on candidate items, user behavior modeling based on sequence models, and user behavior modeling based on self-attention mechanism.

[0004] Among them, in the user behavior modeling based on candidate items, the user's behavior contains the user's interest preference, which directly affects the subsequent user's click behavior. A good click-through rate prediction model is inseparable from the construction of user behavior. The DIN model was proposed by the Alibaba team. It pays attention to the different items in the sequence have different degrees of influence on the final click. It uses candidate items to capture the influence factors of different items in the sequence on the final click, and uses this influence factor as a weight to aggregate the behavior sequence, which effectively alleviates the problem of information loss in mean pooling and aggregate pooling. In the DIN model, by weighting the historical interaction behavior, the important information in the sequence is effectively captured, the representation ability of historical behavior characteristics is enhanced, and the prediction accuracy of the model is improved. The introduction of the DIN model provides an idea for user sequence behavior modeling, capturing the importance of sequence items through candidate items, and using candidate items to interact, which improves the model's ability to capture important information. In the subsequent SIM model, candidate items are used to retrieve sequence items in the first stage, and important historical interaction items are screened out to form subsequences, effectively shortening the length of the behavior sequence. In the second stage, candidate items are used for interaction to capture the correlation between items. The two-stage operation makes SIM an effective model for modeling ultra-long behavior sequences.

[0005] Although mining the importance of sequence items based on candidate item interactions has become a typical interaction construction method and has been applied to various behavioral sequence modeling models, this user behavior modeling method only uses candidate items to capture the weight information in the sequence, and mining the information in the sequence is still not sufficient. In addition, the model does not take into account the sequential characteristics of the sequence. The user's behavior is affected by the user's interest, and the user's interest changes at all times. Using this method to model the user's behavior pattern is relatively simple and cannot capture the change process of interest.

[0006] In the process of user behavior modeling based on sequence models, with the rise of recurrent neural networks (RNN), using recurrent neural networks to model user behavior has become an important direction of researchers' attention. Recurrent neural networks have the characteristics of memory and parameter sharing, so they have certain advantages in learning the nonlinear features of sequences. Recurrent neural networks are widely used in natural language processing, such as speech recognition, language modeling, machine translation, and other fields, and are also used in various time series prediction tasks. Although RNN has a strong ability to process sequence data, it also has problems such as gradient disappearance and gradient explosion, which limits its performance on long sequences. The DIEN model takes into account the evolution of user interests. As time goes by, users have different interest preferences at different times. Therefore, two layers of recurrent neural networks are used in the model to model user behavior sequences, namely the interest extraction layer and the interest evolution layer. In the interest extraction layer, DIEN uses GRU to model the dependency between behaviors. The principle followed is that interest directly leads to continuous behavior, and innovatively proposes auxiliary loss, using the user's next behavior to supervise the current hidden state. These additional supervisory information can not only assist the learning of GRU hidden states, but also enhance the interest representation ability. In the interest evolution layer, based on the interest sequence of the interest extraction layer, the AUGRU unit is designed, and the correlation is calculated using the interest state and candidate items. The AUGRU enhances the interest influence of the interest evolution layer and weakens the irrelevant influence caused by interest drift. Similarly, the RNN network is also used in the GRU4Rec model to model the user's behavior sequence.

[0007] Although the RNN-based click-through rate prediction model can capture the sequential characteristics of behavior, its model structure is relatively complex. It will have a better effect when the sequence length is short. As the sequence length increases, the model will become more complex, resulting in an increase in the model's reasoning time. This is also the reason why the RNN-based model cannot model long sequences.

[0008] In the process of user behavior modeling based on the self-attention mechanism, because RNN is difficult to capture long-sequence dependencies and there is a problem of gradient disappearance, the Transformer model built based on the self-attention mechanism can solve this problem well. The Alibaba team proposed the BST model. Compared with the DIN model, it uses the Transformer interaction layer to construct the interaction between sequence items. BST takes the user's behavior sequence as input. It first embeds these input features into low-dimensional vectors. In order to better capture the dependency between items in the behavior sequence, the Transformer interaction layer is used to learn a deeper representation of each item in the sequence. Then, other feature embeddings and the output of the Transformer layer are spliced ​​and input into the multi-layer perceptron. The final model uses the Sigmoid function as the activation function. In addition, a unique position encoding is designed in the BST model, and the position relationship of the sequence is constructed through the timestamp, which improves the sequence perception ability of the model. The BST model constructs the interaction between sequences. The dependency between behavior sequences is captured through the interaction layer. The self-attention mechanism is used to mine the correlation between sequences, effectively constructing the dependency of long sequences, alleviating the gradient disappearance problem in the sequence model to a certain extent, and constructing effective interaction features. The self-attention mechanism is a widely used interaction method, which is used by researchers to mine the interactive dependencies between sequences. In both the SIM and ETA models, the self-attention mechanism is used to construct interactive features and mine the user's interest preferences from the sequence. In the model, the behavior sequence is directly input into the self-attention mechanism module to capture the interactive relationship between sequences.

[0009] Although the model based on the attention mechanism can capture the dependencies between user behavior sequences and consider the correlation between sequences, this model will bring more parameters, resulting in increased model complexity. In addition, this method fails to model from the perspective of the entire sequence, does not consider the deep impact of user behavior clicks, and is not accurate enough in describing user interests.

[0010] In summary, among the current user behavior modeling methods, the sequence-based weighted aggregation method does not take into account the sequential characteristics of the sequence. The user's behavior is affected by the user's interest. The user's behavior pattern modeled by this method is relatively simple and cannot effectively capture the user's behavior pattern; the modeling method based on the sequence model uses a recurrent neural network, which greatly increases the complexity of the model, and the training and reasoning time of the model greatly increases, which leads to the limitation of the sequence length modeled by this type of model; the model based on the self-attention mechanism considers the dependency between sequences, but the attention construction between models introduces more model parameters, and the description of the user's behavior pattern in the model is not accurate enough. In addition, for the processing of long-term sequence data, due to its sparse characteristics and the influence of noise data, the above models often find it difficult to fully grasp the user's behavior pattern, and the complexity and expression ability of the model are limited. Summary of the invention

[0011] The purpose of this application is to overcome the deficiencies of the prior art and provide a user behavior modeling method based on Bayesian optimal transmission.

[0012] In order to achieve the above objectives, this application adopts the following technical solutions.

[0013] In a first aspect, the present application provides a user behavior modeling method based on Bayesian optimal transmission, comprising:

[0014] Obtain user behavior sequence data and prior distribution parameters of the Gaussian mixture model;

[0015] Initializing the Gaussian mixture model using the prior distribution parameters, inputting the user behavior sequence data into the initialized Gaussian mixture model, and solving the user interest representation using the EM algorithm;

[0016] The user interest representation is input into a multi-layer perceptron to obtain a user behavior prediction result.

[0017] Furthermore, the Gaussian mixture model is initialized using the prior distribution parameters, and the user behavior sequence data is input into the initialized Gaussian mixture model, and the user interest representation is obtained by solving using the EM algorithm, including:

[0018] According to the connection between the optimal transmission modeling layer and the initialized Gaussian mixture model, simplifying the initialized Gaussian mixture model to obtain a simplified Gaussian mixture model;

[0019] Solving the parameters in the simplified Gaussian mixture model using the EM algorithm to obtain solved parameters;

[0020] The simplified Gaussian mixture model is updated based on the solved parameters to obtain an updated Gaussian mixture model;

[0021] The user behavior sequence data is input into the updated Gaussian mixture model to obtain user interest representation.

[0022] Further, before the connection between the optimal transmission modeling layer and the initialized Gaussian mixture model, it also includes:

[0023] Convert the user behavior sequence data into a low-dimensional dense vector representation through an embedding layer;

[0024] According to the low-dimensional dense vector representation e i And user behavior sequence data x i With the reference vector r j The amount of transmission between P(x,r) ij , and obtain the aggregate sequence as the output of the optimal transport modeling layer:

[0025]

[0026] Where n is the length of the sequence, n' is the number of reference vectors, P(x,r) ij Represents the sequence x i and the reference vector r j The amount of transmission between.

[0027] Further, the connection between the optimal transmission modeling layer and the initialized Gaussian mixture model includes:

[0028] The user behavior sequence data is input into the initialized Gaussian mixture model to obtain the probability of each user behavior:

[0029]

[0030] Among them, the probability of a user behavior is p(x):

[0031]

[0032] In the formula, π j represents the sampling probability or mixing coefficient of the jth Gaussian distribution, and the interest preference parameter θ = {π j ,μ j ,Σ j} respectively represent the sampling probability, expectation, and covariance of each Gaussian distribution, the total number of K Gaussian distributions, x represents a user behavior, x∈X=[x1,x2,…,x n ], X is the user behavior sequence data;

[0033] Obtaining interest preference usage parameters based on the behavior probabilities of each user

[0034] The aggregate sequence UBM(E) is represented by the parameter θ using the interest preference:

[0035] UBM(X)→θ;

[0036] According to the interest preference, the parameter θ and the aggregate sequence UBM(E) are used to simplify the initialized Gaussian mixture model to obtain a simplified Gaussian model:

[0037]

[0038] Where I is the identity matrix.

[0039] Further, solving the parameters in the simplified Gaussian mixture model using the EM algorithm to obtain solved parameters includes:

[0040] The EM algorithm is used to derive the likelihood function of the simplified Gaussian model:

[0041]

[0042] Where q(j|i) is the variational distribution, p(x i ,c i =j) refers to the probability that sample i belongs to the jth Gaussian distribution. When the variational distribution is equal to the posterior distribution, a tight lower bound is obtained. Therefore, the maximum likelihood is equivalent to maximizing the model lower bound. When the lower bound is tight, the posterior distribution is approximated.

[0043] Let the joint distribution q ij =q(j|i)·q(i), where q(i)=1 / n, further obtaining:

[0044]

[0045] In the formula, let C ij = -logp(x i ,c i =j), H(q) = -∑q ij logq ij , and obtain the optimized form of the optimal transmission modeling layer, in which q ij represents the transmission plan, C ij represents the transmission cost, H(q) represents the entropy regularization term, the problem is solved by the Sinkhorn algorithm, and the posterior distribution is calculated using the solution form of the optimal transmission modeling layer;

[0046] Among them, the transmission plan q ij The following constraints are met:

[0047]

[0048] Where a and b are probability simplex Δ n and Δ n′ Lower Discrete Measure and At position x i and x j' The weight of is the position x i The Dirac function at A matrix consisting of all transmission plans.

[0049] Furthermore, the prior distribution algorithm is one or a combination of Dirichlet distribution, Normal-inverse-Wishart distribution, Normal distribution, and Inverse-Wishart distribution.

[0050] Furthermore, the prior distribution parameters are obtained by the following formula:

[0051]

[0052] In the formula, is a set of parameters, z j and is the expectation and variance of the jth Gaussian distribution in the current prior distribution, V j is the scaling matrix of the jth inverse Wishart distribution, π is the sampling probability of the Gaussian distribution, K is the total number of normal inverse Wishart distributions, α is the parameter of the Dirichlet distribution, λ is the parameter of the Gaussian distribution, and v is the parameter of the inverse Wishart distribution.

[0053] In a second aspect, the present application also provides a user behavior modeling system based on Bayesian optimal transmission, comprising:

[0054] Information acquisition module, used to obtain user behavior sequence data and prior distribution parameters of Gaussian mixture model;

[0055] A behavior modeling module is used to initialize a Gaussian mixture model using the prior distribution parameters, input the user behavior sequence data into the initialized Gaussian mixture model, and obtain the user interest representation using the EM algorithm;

[0056] The behavior prediction module is used to input the user interest representation into a multi-layer perceptron to obtain a user behavior prediction result.

[0057] In a third aspect, the present application also provides an electronic device, including a memory and a processor, the processor and the memory communicate with each other, the memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the above-mentioned user behavior modeling method based on Bayesian optimal transmission.

[0058] In a fourth aspect, the present application also provides a computer-readable storage medium storing a computer program, which implements the above-mentioned user behavior modeling method based on Bayesian optimal transmission when the computer program is executed by a processor.

[0059] Beneficial effects of the present application: The user behavior modeling method based on Bayesian optimal transmission provided by the present application uses a Gaussian mixture model to model user behavior sequences, represents each distribution as a user's behavior pattern or interest preference, and effectively captures complex user behavior patterns and interest characteristics; the introduction of prior information in the Gaussian mixture model to describe the parameters of the mixed distribution can model user behavior data more flexibly, and accelerate the training process of the model while assisting in the learning of model parameters, avoiding the problem of overfitting or model degradation, thereby improving the generalization ability and prediction accuracy of the model. Considering the uncertainty of the user behavior sequence and the influence of noise data in the sequence, the EM algorithm is used for multi-step iterative solution, which can not only learn the user behavior pattern more accurately, but also reduce the influence of noise data. Finally, thanks to the powerful representation ability of the probability model, only a few parameters are needed to accurately model the user behavior sequence, which also ensures the complexity of the model, so that the model can effectively model long sequences.

[0060] Additional aspects and advantages of the present application will be partially given in the following description, which will become apparent from the following description, or will be understood through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0062] Figure 1 One of the flow charts of a user behavior modeling method based on Bayesian optimal transmission provided in an embodiment of the present application;

[0063] Figure 2 A schematic diagram of sequence polymerization provided in an embodiment of the present application;

[0064] Figure 3 A second flow chart of the user behavior modeling method based on Bayesian optimal transmission provided in an embodiment of the present application;

[0065] Figure 4 A schematic diagram of the process of obtaining user interest representation provided in an embodiment of the present application. DETAILED DESCRIPTION

[0066] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be interpreted as limiting the present application.

[0067] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "an" and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may also be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or coupling. The term "and / or" used herein includes any unit and all combinations of one or more associated listed items.

[0068] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless defined as herein.

[0069] The following is an explanation of the professional terms mentioned in the embodiments of the present application:

[0070] Click-through rate prediction: In the advertising industry and online content recommendation systems, click-through rate prediction is an important task. The main goal of click-through rate prediction is to predict the user's click behavior on a specific advertisement or content. Usually, the click-through rate prediction model uses a large amount of historical data, including user behavior data, feature information of advertisements or content, and context, to establish a click-through rate prediction model by training a machine learning model.

[0071] Optimal transport: Optimal transport is a mathematical theory and optimization method, also known as transport theory or Wasserstein distance. It studies how to find the optimal mapping between two probability distributions so that the total cost of transferring mass from one distribution to another is minimized.

[0072] EM algorithm: The EM algorithm (Expectation Maximization algorithm) is an iterative optimization algorithm used to estimate model parameters through observed data in a probability model with hidden variables. The basic idea of ​​the EM algorithm is to alternate between two steps: the expectation step (E step) and the maximization step (M step) until it converges to a local optimal solution or a global optimal solution.

[0073] User behavior modeling: User behavior modeling refers to the process of building models to describe and predict user behavior by analyzing user behavior patterns, habits, and preferences in a specific environment. These models can be used to understand the user's decision-making process in different situations, predict user future behavior, personalize recommendations, and deliver targeted advertisements.

[0074] To facilitate understanding of the embodiments of the present application, further explanation will be given below with reference to the accompanying drawings using several specific embodiments as examples, and each embodiment does not constitute a limitation on the embodiments of the present application.

[0075] Example 1

[0076] See also Figure 1 , a user behavior modeling method based on Bayesian optimal transmission, comprising the following steps:

[0077] S101, obtaining user behavior sequence data and prior distribution parameters of a Gaussian mixture model.

[0078] Among them, user behavior sequence data can be sequence data such as user click behavior, browsing behavior, etc. The user behavior modeling method provided in this application can be applied in different user recommendation scenarios. The following takes the click rate prediction scenario as an example for specific explanation.

[0079] The prior distribution parameters of the Gaussian mixture model refer to the priors used to characterize the mean and covariance matrices in the Gaussian mixture model. By introducing these prior distribution parameters, the parameter learning process of the Gaussian mixture model (referred to as the GMM model) can be better controlled, which can improve the robustness and generalization ability of the GMM model.

[0080] S102, using the prior distribution parameters to initialize the Gaussian mixture model, and inputting the user behavior sequence data into the initialized Gaussian mixture model, and using the EM algorithm to solve and obtain the user interest representation.

[0081] Schematically, in the CTR prediction scenario, the probability of a user clicking on a specific content or advertisement is predicted based on the user's historical behavior data and context information, which has important application value in the fields of online advertising and recommendation systems. In the CTR prediction model, the feature input is divided into two parts, one is the user's historical behavior, and the other is other features (such as user portrait features, target advertisement features, context features, etc.), which are respectively used as X b and X other In this representation, the user's historical behavior is usually a click or browse sequence, which is represented by the ID of the item that has been interacted with, that is, X b =[id1,id2,…,id n ] and arranged in order of interaction. Click rate prediction is a typical binary classification problem. Given a sample data set:

[0082] D={(X (1) ,y (1) ),(X (2) ,y (2) ),…,(X (N) ,y (N) )}

[0083] Where X = [X b ,X other ], the goal of the click rate prediction model is to build a prediction model is a probability value, indicating the probability of a user clicking on a specific item. This invention focuses on modeling user behavior, from which the user's interest representation is mined, corresponding to the user behavior feature X b , and its modeling process:

[0084]

[0085] By modeling user behavior, mapping it to space Finally, the user’s interest representation in the d-dimensional space is output.

[0086] S103, inputting the user interest representation into a multi-layer perceptron to obtain a user behavior prediction result.

[0087] Specifically, in the click-through rate prediction model, Figure 3As shown in FIG. 1 , the input of the click-through rate prediction model includes user behavior sequences and other features. For the original user behavior sequences and other features, the corresponding feature vector representation is obtained after the conversion processing of the Embedding layer. Specifically, the high-dimensional sparse representation is converted into a low-dimensional dense representation. In the method, we focus on user behavior modeling, input the vector of the sequence behavior into the behavior modeling module, and convert the user behavior sequence into a low-dimensional dense representation. Then, the above S101-S102 steps are used to obtain the user's interest representation, and the user's interest representation and other feature vectors are concatenated as the input of the multi-layer perceptron. Finally, the output of the click-through rate prediction model uses the sigmoid activation function to construct a binary classification prediction model, thereby predicting the user's click prediction probability.

[0088] The user behavior modeling method based on Bayesian optimal transmission provided in the embodiment of the present application uses a Gaussian mixture model to model user behavior sequences, represents each distribution as a user's behavior pattern or interest preference, and effectively captures complex user behavior patterns and interest characteristics; the introduction of prior information in the Gaussian mixture model to describe the parameters of the mixed distribution can model user behavior data more flexibly, and accelerate the training process of the model while assisting in the learning of model parameters, avoiding the problem of overfitting or model degradation, thereby improving the generalization ability and prediction accuracy of the model. Taking into account the uncertainty of the user behavior sequence and the influence of noise data in the sequence, multi-step iterative solution is performed through the EM algorithm, which can not only learn the user behavior pattern more accurately, but also reduce the influence of noise data. Finally, thanks to the powerful representation ability of the probability model, only a few parameters are needed to accurately model the user behavior sequence, which also ensures the complexity of the model, so that the model can effectively model long sequences.

[0089] In some embodiments of the present application, the Gaussian mixture model is initialized using the prior distribution parameters, the user behavior sequence data is input into the initialized Gaussian mixture model, and the user interest representation is obtained by solving using the EM algorithm, including:

[0090] According to the connection between the optimal transmission modeling layer and the initialized Gaussian mixture model, the initialized Gaussian mixture model is simplified to obtain a simplified Gaussian mixture model.

[0091] The parameters in the simplified Gaussian mixture model are solved using the EM algorithm to obtain solved parameters.

[0092] The simplified Gaussian mixture model is updated based on the solved parameters to obtain an updated Gaussian mixture model.

[0093] The user behavior sequence data is input into the updated Gaussian mixture model to obtain user interest representation.

[0094] In this embodiment, the optimal transport modeling layer is constructed based on the optimal transport theory, which studies the problem of how to transfer a set of resources from one location to another in the most efficient way. The basic goal of the optimal transport theory is to find an optimal mapping (or transfer scheme) that minimizes a certain cost or cost indicator during the resource transfer process. The optimal transport problem usually involves the transfer between two probability distributions, where each distribution represents the location or density of a resource. These resources can be goods, information, energy, etc. Through the optimal transport theory, questions such as "how to transfer a resource from location distribution p to location distribution q with the minimum total transportation cost" can be answered.

[0095] In the click-through rate prediction scenario, consider the transmission between distribution p and distribution q, and give the optimal transmission problem form with entropy regularization term:

[0096]

[0097] Among them, C ij represents the unit transmission cost from the initial point to the target point, P ij represents the transmission amount from the initial point to the target point. H(P) in the formula represents the entropy regularization term, α controls the sparsity of P, p and q correspond to the marginal distribution in discrete form, then U(p,q) is the set of transmission schemes. The optimal transmission is an optimization problem, which seeks the minimum transmission scheme.

[0098] Based on the above formula, the Sinkhorn algorithm is an iterative algorithm for solving the optimal transmission problem. Its main idea is to gradually approach the optimal solution by alternately updating the logarithmic density of the probability distribution. One of the advantages of the Sinkhorn algorithm is its simplicity and efficiency. It is an iterative algorithm with low computational complexity for each iteration, so it is suitable for dealing with large-scale optimal transmission problems. In addition, the Sinkhorn algorithm also has certain numerical stability and convergence guarantees.

[0099] In addition, Gaussian mixture model (GMM) is a commonly used probability model for modeling complex data distribution. The GMM model is a complex distribution composed of multiple simple distributions. The Gaussian mixture model can be regarded as a model composed of K single Gaussian models, and these K sub-models are the hidden variables of the mixture model. The probability distribution function of the Gaussian mixture model is:

[0100]

[0101] Parameter θ={π j ,μ j ,Σ j} respectively represent the sampling probability, expectation, and covariance of each Gaussian distribution, j represents the jth Gaussian distribution, and K represents the total number of Gaussian distributions. For a single Gaussian model, the value of the parameter θ can be estimated by the maximum likelihood method, while for a Gaussian mixture model, its log-likelihood expression is:

[0102]

[0103] Where n is the number of samples.

[0104] Here, we cannot use the maximum likelihood method to derive the parameters that maximize the log-likelihood like the single Gaussian model, because for each observed data point, we do not know in advance which subdistribution it belongs to, and direct differentiation cannot be calculated. Generally, the EM algorithm is used to solve it.

[0105] The EM algorithm is an iterative algorithm used for maximum likelihood estimation of parameters of probability models with hidden variables. The core idea behind the EM algorithm is to perform two steps alternately in an iterative manner: the expectation step (E step) and the maximization step (M step). In the E step, the posterior probability of the hidden variable is calculated using the current parameter estimates; in the M step, the estimated values ​​of the model parameters are updated based on the posterior probability of the hidden variable calculated in the E step. By alternating these two steps until convergence, the optimal parameter estimates of the model are obtained. The specific process of the EM algorithm includes:

[0106] First, the GMM model parameters are initialized.

[0107] Step E: In step E, the posterior probability of the latent variable is calculated based on the estimated value of the current model parameters. Specifically, based on the current parameters, the posterior probability of each data x is calculated. i The probability from the sub-model, that is, calculating the probability distribution γ of each sample corresponding to each latent variable under the current model ij :

[0108]

[0109] M-step: In the M-step, the posterior probability γ of the latent variable calculated in the E-step is ij , update the estimated values ​​of the model parameters. Specifically, perform maximum likelihood estimation on the parameters of each latent variable and update the model parameters θ = {π j ,μ j ,Σ j}, the formula is:

[0110]

[0111] Iterative update: After completing a round of E-step and M-step, the E-step and M-step are repeated according to the new parameter estimates until the algorithm converges. Usually, the convergence condition can be that the change in the parameter is less than a certain threshold or reaches a predetermined number of iterations.

[0112] The EM algorithm can effectively estimate the parameters of probability models with hidden variables by alternating between the E step and the M step and iteratively updating the model parameters. It is especially suitable for situations where there are missing or incomplete data.

[0113] In some embodiments of the present application, before the connection between the optimal transmission modeling layer and the initialized Gaussian mixture model, the method further includes:

[0114] The user behavior sequence data is converted into a low-dimensional dense vector representation through an embedding layer.

[0115] That is to say, the user's behavior sequence is input into the GMM model, and the user's behavior sequence is represented by X = [x1, x2, ..., x n ] means, where x i It represents the ID of the item browsed or clicked by the user. For the high-dimensional sparse ID feature input, after passing through the Embedding layer, a low-dimensional dense vector representation E is obtained, that is, E = [e1, e2, …, e n ].

[0116] like Figure 2 As shown, according to the low-dimensional dense vector representation E = [e1, e2, ..., e n ] and user behavior sequence data x i With the reference vector r j The amount of transmission between P(x,r) ij , and obtain the aggregate sequence as the output of the optimal transport modeling layer:

[0117]

[0118] Where n is the length of the sequence, n' is the number of reference vectors, P(x,r) ij Represents the sequence x i and the reference vector r j Through the optimal transmission interaction layer, the user's behavior sequence can be effectively modeled and the user's interest representation can be obtained.

[0119] Specifically, the optimal transmission of the present application considers the transmission between two probability distributions. Corresponding to the user behavior sequence, the input behavior sequence is used as the original probability distribution, and the reference vector is set as the target probability distribution. The transmission is performed between the behavior sequence and the reference vector. Each reference vector is used as an aggregation unit, and the sequence behaviors associated with each other are aggregated together. The transmission plan is solved based on the reference vector and feature input. The transmission plan is used as the weight for re-aggregating the behavior sequence, and the user's interest representation is further aggregated.

[0120] Modeling user behavior based on optimal transmission can enrich the user's interest expression, but it has certain limitations. First, in the process of solving the model, the transmission plan P needs to meet certain constraints:

[0121]

[0122] Where a and b are probability simplex Δ n and Δ n′ Lower Discrete Measure and At position x i and x j' The weight of is the position x i The Dirac function at A matrix consisting of all transmission plans.

[0123] In addition, due to the complexity of user behavior patterns, it is difficult for the optimal transmission model to capture them accurately. In addition, there is inevitably noise data in the user's behavior sequence, which affects the modeling process.

[0124] In some embodiments of the present application, the link between the optimal transmission modeling layer and the initialized Gaussian mixture model includes:

[0125] The user behavior sequence data is input into the initialized Gaussian mixture model to obtain the probability of each user behavior:

[0126]

[0127] Among them, the probability of a user behavior is:

[0128]

[0129] In the formula, π j represents the sampling probability or mixing coefficient of the jth Gaussian distribution, μ j and Σ j denote the mean and variance of Gaussian distribution respectively. The model is composed of a mixture of K Gaussian distributions. x represents a user behavior, x∈X=[x1,x2,…,xn ], X is the user behavior sequence data.

[0130] Obtaining interest preference usage parameters based on the behavior probabilities of each user

[0131] The aggregate sequence UBM(E) is represented by the parameter θ using the interest preference:

[0132] UBM(X)→θ.

[0133] According to the interest preference, the parameter θ and the aggregate sequence UBM(E) are used to simplify the initialized Gaussian mixture model to obtain a simplified Gaussian model:

[0134]

[0135] Where I is the identity matrix.

[0136] In this embodiment, in order to improve the user behavior modeling method for optimal transmission, a probability model is used to describe the user behavior sequence and effectively capture the user's behavior pattern. In addition, a prior distribution is introduced in the method to assist in learning the model parameters. The prior distribution initializes the model parameters, effectively guiding the model's learning process, making the learned user interest representation more accurate. Taking into full consideration the complexity of user behavior patterns and the influence of noise sequences, the method uses the EM algorithm to solve the problem in multiple steps and gradually learn the model parameters, which can more accurately model user behavior patterns and obtain more accurate user interest representations. The following is a detailed introduction to this modeling process:

[0137] First, we use a probability model to model the user behavior sequence. Considering that the user behavior is characterized by a Gaussian mixture model, each Gaussian distribution represents a user interest preference or a potential behavior association, then each user click (browsing) behavior can be expressed as:

[0138]

[0139] In the formula π j represents the sampling probability or mixing coefficient of the jth Gaussian distribution, μ j and Σ j They represent the mean and variance of Gaussian distribution respectively. The model is composed of a mixture of K Gaussian distributions. x represents a click behavior of a user.

[0140] Assume that the user's behavior sequence is X = [x1, x2, ..., x n ] represents n historical behaviors, and a Gaussian mixture model (GMM) is used to model all historical behaviors of the user:

[0141]

[0142] The GMM model describes the user's behavior sequence. The parameters of GMM reveal the potential structure of the data. In the user behavior sequence modeling, the parameters of GMM reveal the potential pattern of the behavior sequence. Each click and browse can be described by probability distribution. The probability model describes the user's behavior pattern. The user's representation is obtained from the probability model. The user's interest preference uses the parameters of the model. To further characterize, the modeling output of the user behavior sequence can be expressed using the parameter θ, that is,

[0143] UBM(X)→θ.

[0144] By learning the parameters θ of the model, we can obtain the user’s interest representation.

[0145] Then, the connection between the optimal transmission and the probability model is established. Simplify the GMM, assuming that the distribution sampling probability in the GMM is the same, and use the covariance of the Gaussian distribution as the unit matrix, then the simplified GMM represents the user behavior sequence:

[0146]

[0147] Where I is the identity matrix.

[0148] In some embodiments of the present application, the using of the EM algorithm to solve the parameters in the simplified Gaussian mixture model to obtain solved parameters includes:

[0149] The EM algorithm is used to derive the likelihood function of the simplified Gaussian model:

[0150]

[0151] Where q(j|i) is the variational distribution, p(x i ,c i =j) refers to the probability that sample i belongs to the jth Gaussian distribution. When the variational distribution is equal to the posterior distribution, a tight lower bound is obtained. Therefore, the maximum likelihood is equivalent to maximizing the lower bound of the model. When the lower bound is tight, the posterior distribution is approximately obtained.

[0152] Let the joint distribution q ij =q(j|i)·q(o), where q(i)=1 / n, further obtaining:

[0153]

[0154] In the formula, let C ij = -logp(x i ,c i=j), H(q) = -∑q ij logq ij , and obtain the optimized form of the optimal transmission modeling layer. In the optimal transmission modeling layer, q ij represents the transmission plan, C ij represents the transmission cost, H(q) represents the entropy regularization term, the problem is solved by the Sinkhorn algorithm, and the posterior distribution is calculated using the solution form of the optimal transmission modeling layer.

[0155] Among them, q ij The following constraints are met:

[0156]

[0157] Where a and b are probability simplex Δ n and Δ n′ Lower Discrete Measure and At position x i and x j' The weight of is the position x i The Dirac function at A matrix consisting of all transmission plans.

[0158] In this embodiment, based on the simplified Gaussian model, the parameters of the Gaussian mixture model are further solved, and the E-step calculation of the EM algorithm is used to derive the likelihood function:

[0159]

[0160] Where q(j|i) is the variational distribution, p(x i ,c i =j) refers to the probability that sample i belongs to the jth Gaussian distribution; Jason's inequality is used in the derivation process to obtain the lower bound of the likelihood function. When the variational distribution is equal to the posterior distribution, a tight lower bound can be obtained. Therefore, the maximum likelihood is equivalent to maximizing the model lower bound. When the lower bound is tight, the posterior distribution of the model can be approximated. The E step of the EM algorithm calculates q(j|i) to obtain the posterior distribution. Let the joint distribution q ij =q(j|i)·q(i), where q(i)=1 / n, further deduced:

[0161]

[0162] In the formula, q ij represents the transmission plan, C ij represents the transmission cost, and H(q) is the entropy regularization term.

[0163] In the derivation process, let C ij= -logp(x i ,c i =j), H(q) = -∑q ij logq ij represents the entropy function, which gives the optimal form of the optimal transmission problem. In the optimal transmission problem, q ij represents the transmission plan, C ij Represents the transmission cost. The problem is solved by the Sinkhorn algorithm. Corresponding to the above formula, the optimal transmission solution can be used to calculate the posterior distribution of the model, which is also the solution target of the E step of the EM algorithm. However, the difference is that in the optimal transmission problem, the transmission plan is constrained and needs to satisfy:

[0164]

[0165] Where a and b are probability simplex Δ n and Δ n′ Lower Discrete Measure and At position x i and x j' The weight of is the Dirac function at position x, A matrix consisting of all transmission plans.

[0166] That is, the above formula q ij The above constraints need to be met. This establishes the connection between optimal transmission and EM algorithm. The E step of EM algorithm can be solved by optimal transmission, and the obtained transmission plan is the posterior distribution.

[0167] The EM algorithm calculates the posterior distribution q(j|i), and then in the M steps, maximizes the likelihood function and updates the parameters of the GMM. Compared with the optimal transmission modeling user behavior sequence, the probability modeling user behavior sequence is solved by the EM algorithm. The EM algorithm gradually updates the model parameters through multi-step iterations, which is equivalent to the single-step optimal transmission solution process. In addition, in the process of probability modeling, the restrictions on the posterior are reduced, making the model more flexible, able to more effectively learn the user's behavior pattern, and accurately characterize the user's interest preferences. This method is called the user behavior modeling method of Bayesian optimal transmission.

[0168] In some embodiments of the present application, the prior distribution algorithm is one or more combinations of Dirichlet distribution, Normal-inverse-Wishart distribution, Normal distribution, and Inverse-Wishart distribution.

[0169] Preferably, the prior distribution parameter is obtained by the following formula:

[0170]

[0171] In the formula is a set of parameters, z j and is the expectation and variance of the jth Gaussian distribution in the current prior distribution, V j is the scaling matrix of the jth inverse Wishart distribution, π is the sampling probability of the Gaussian distribution, K is the total number of normal inverse Wishart distributions, α is the parameter of the Dirichlet distribution, λ is the parameter of the Gaussian distribution, and v is the parameter of the inverse Wishart distribution.

[0172] In this embodiment, considering the complexity of user behavior patterns and the influence of noise in sequential behaviors, prior information is added to the GMM model to assist in model parameter learning. In this method, Dirichlet distribution and Normal-inverse-Wishart are used to characterize the parameters of GMM, namely:

[0173]

[0174] In the formula

[0175] Specifically, the Dirichlet distribution is used to characterize the prior of the mixing coefficient, while the Normal-inverse-Wishart distribution is used to characterize the prior of the mean and covariance matrix of each Gaussian distribution. By introducing these prior distributions, the parameter learning process of GMM can be better controlled, thereby improving the robustness and generalization ability of the model.

[0176] In other embodiments of the present application, for the prior of the mean of the GMM, a normal distribution can be used, a normal distribution with a zero mean can be selected, or other means can be selected based on prior knowledge. For the prior of the covariance matrix: the inverse-Wishart distribution can be used as the prior of the covariance matrix, or the normal distribution of the diagonal covariance matrix can be used as the prior.

[0177] In the EM algorithm, the parameters of GMM are solved through multiple steps of iteration. In the above discussion, the connection between optimal transmission and EM algorithm is introduced. Optimal transmission is similar to single-step optimal transmission. In the EM algorithm, an iterative algorithm is used to update the model parameters in multiple rounds, making the calculated model parameters more accurate and effectively capturing the user's behavior pattern. The user interest representation obtained in the end is more accurate and is a generalized version of the optimal transmission input.

[0178] In some embodiments of the present application, the EM algorithm is used to solve the GMM model parameters. The EM algorithm is generally used to estimate the parameters of a probability model with hidden variables. In the GMM, the EM algorithm is used to estimate the mean vector, covariance matrix and mixing coefficient of each Gaussian distribution. By alternating the E step and the M step, the EM algorithm can effectively fit the GMM model, thereby achieving modeling and prediction of complex data distribution. In the process of user behavior modeling, the steps of solving the user behavior representation based on the EM algorithm are:

[0179]

[0180] After the above iterative solution, the model parameter θ of GMM is obtained, which is also the output of the final user behavior modeling. Through multiple rounds of EM algorithm iterative solution, the model can learn the complex behavior patterns of users and reduce the impact of noise in the sequence.

[0181] The Bayesian optimal transmission model is solved using the EM algorithm, and the entire solution is a differentiable process. In the E step, the posterior probability is calculated through optimal transmission. The solution of the optimal transmission uses the Sinkhorn algorithm, and its process only includes multiplication and division operations, which is a differentiable process, ensuring the differentiability of the E step. In the M step, the posterior probability obtained in the E step is used to update the model parameters by maximizing the likelihood function, which is also a differentiable process. Therefore, the user behavior modeling method based on Bayesian optimal transmission proposed in the present invention is differentiable and can be constructed using an end-to-end neural network.

[0182] In some embodiments of the present application, Figure 4 As shown in the figure, the process of obtaining user interest representation includes the following steps: First, input the user behavior sequence and the parameters of the prior distribution, and then embed the user behavior sequence to obtain a set of vectors. Use the vector representation of the sequence and the parameters of the prior distribution as input, and initialize the GMM model parameters with the prior distribution. Start the EM algorithm to iteratively solve the GMM model, calculate the variational distribution q(j|i) in the E step, and update the GMM model parameters through the maximum likelihood in the M step. Repeat the iteration T times, and finally output the GMM model parameters θ as the user's interest representation.

[0183] Example 2

[0184] On the basis of Embodiment 1, this Embodiment 2 provides a user behavior modeling system based on Bayesian optimal transmission, and the user behavior modeling system based on Bayesian optimal transmission corresponds to the user behavior modeling based on Bayesian optimal transmission, and specifically includes:

[0185] Obtain user behavior sequence data and prior distribution parameters of the Gaussian mixture model;

[0186] Initializing the Gaussian mixture model using the prior distribution parameters, inputting the user behavior sequence data into the initialized Gaussian mixture model, and solving the user interest representation using the EM algorithm;

[0187] The user interest representation is input into a multi-layer perceptron to obtain a user behavior prediction result.

[0188] For specific details, please refer to the description of the user behavior modeling method based on Bayesian optimal transmission, which will not be repeated here.

[0189] Example 3

[0190] Embodiment 3 of the present application provides an electronic device, including a memory and a processor, the processor and the memory communicate with each other, the memory stores program instructions that can be executed by the processor, the processor calls the program instructions to execute a user behavior modeling method based on Bayesian optimal transmission, and the method includes the following process steps:

[0191] Obtain user behavior sequence data and prior distribution parameters of the Gaussian mixture model;

[0192] Initializing the Gaussian mixture model using the prior distribution parameters, inputting the user behavior sequence data into the initialized Gaussian mixture model, and solving the user interest representation using the EM algorithm;

[0193] The user interest representation is input into a multi-layer perceptron to obtain a user behavior prediction result.

[0194] Example 4

[0195] Embodiment 4 of the present application provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, a user behavior modeling method based on Bayesian optimal transmission is implemented. The method includes the following process steps:

[0196] Obtain user behavior sequence data and prior distribution parameters of the Gaussian mixture model;

[0197] Initializing the Gaussian mixture model using the prior distribution parameters, inputting the user behavior sequence data into the initialized Gaussian mixture model, and solving the user interest representation using the EM algorithm;

[0198] The user interest representation is input into a multi-layer perceptron to obtain a user behavior prediction result.

[0199] In summary, the user behavior modeling method based on Bayesian optimal transmission provided in the embodiment of the present application uses a Gaussian mixture model to model user behavior sequences, represents each distribution as a user's behavior pattern or interest preference, and effectively captures complex user behavior patterns and interest characteristics; the introduction of prior information in the Gaussian mixture model to describe the parameters of the mixed distribution can model user behavior data more flexibly, and accelerate the training process of the model while assisting in the learning of model parameters, avoiding the problem of overfitting or model degradation, thereby improving the generalization ability and prediction accuracy of the model. Taking into account the uncertainty of the user behavior sequence and the influence of noise data in the sequence, multi-step iterative solution is performed through the EM algorithm, which can not only learn the user behavior pattern more accurately, but also reduce the influence of noise data. Finally, thanks to the powerful representation ability of the probability model, only a few parameters are required to accurately model the user behavior sequence, which also ensures the complexity of the model, so that the model can effectively model long sequences.

[0200] Those skilled in the art can understand that the accompanying drawings are only schematic diagrams of one embodiment, and the modules or processes in the accompanying drawings are not necessarily required to implement the present application.

[0201] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the method or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The method and system embodiments described above are merely schematic, in which the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.

[0202] The above are only preferred specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A user behavior modeling method based on Bayesian optimal transmission, It is characterized in that include: Obtain user behavior sequence data and prior distribution parameters of the Gaussian mixture model; Initializing the Gaussian mixture model using the prior distribution parameters, inputting the user behavior sequence data into the initialized Gaussian mixture model, and solving the user interest representation using the EM algorithm; The user interest representation is input into a multi-layer perceptron to obtain a user behavior prediction result.

2. The method according to claim 1, It is characterized in that The Gaussian mixture model is initialized by using the prior distribution parameters, and the user behavior sequence data is input into the initialized Gaussian mixture model, and the user interest representation is obtained by using the EM algorithm, including: According to the connection between the optimal transmission modeling layer and the initialized Gaussian mixture model, simplifying the initialized Gaussian mixture model to obtain a simplified Gaussian mixture model; Solving the parameters in the simplified Gaussian mixture model using the EM algorithm to obtain solved parameters; The simplified Gaussian mixture model is updated based on the solved parameters to obtain an updated Gaussian mixture model; The user behavior sequence data is input into the updated Gaussian mixture model to obtain user interest representation.

3. The method according to claim 2, It is characterized in that Before the connection between the optimal transmission modeling layer and the initialized Gaussian mixture model, it also includes: Convert the user behavior sequence data into a low-dimensional dense vector representation through an embedding layer; According to the low-dimensional dense vector representation e i And user behavior sequence data x i With the reference vector r j The amount of transmission between P(x,r) ij , and obtain the aggregate sequence as the output of the optimal transport modeling layer: Where n is the length of the sequence, n' is the number of reference vectors, P(x,r) ij Represents the sequence x i and the reference vector r j The amount of transmission between.

4. The method according to claim 3, It is characterized in that The connection between the optimal transmission modeling layer and the initialized Gaussian mixture model includes: The user behavior sequence data is input into the initialized Gaussian mixture model to obtain the probability of each user behavior: Among them, the probability of a user behavior is p(x): In the formula, π j represents the sampling probability or mixing coefficient of the jth Gaussian distribution, and the interest preference parameter θ = {π j ,μ j ,Σ j } respectively represent the sampling probability, expectation, and covariance of each Gaussian distribution, the total number of K Gaussian distributions, x represents a user behavior, x∈X=[x 1 ,x 2 ,…,x n ], X is the user behavior sequence data; Obtaining interest preference usage parameters based on the behavior probabilities of each user The aggregate sequence UBM(E) is represented by the parameter θ using the interest preference: UBM(X)→θ; According to the interest preference, the parameter θ and the aggregate sequence UBM(E) are used to simplify the initialized Gaussian mixture model to obtain a simplified Gaussian model: Where I is the identity matrix.

5. The method according to claim 4, It is characterized in that The method of solving the parameters in the simplified Gaussian mixture model by using the EM algorithm to obtain solved parameters includes: The EM algorithm is used to derive the likelihood function of the simplified Gaussian model: Where q(j|i) is the variational distribution, p(x i ,c i =j) refers to the probability that sample i belongs to the jth Gaussian distribution. When the variational distribution is equal to the posterior distribution, a tight lower bound is obtained. Therefore, the maximum likelihood is equivalent to maximizing the model lower bound. When the lower bound is tight, the posterior distribution is approximated. Let the joint distribution q ij =q(j|i)·q(i), where q(i)=1 / m, further obtaining: In the formula, let C ij = -logp(x i ,c i =j), H(q) = -∑q ij log q ij , and obtain the optimized form of the optimal transmission modeling layer, in which q ij represents the transmission plan, C ij represents the transmission cost, H(q) represents the entropy regularization term, the problem is solved by the Sinkhorn algorithm, and the posterior distribution is calculated using the solution form of the optimal transmission modeling layer; Among them, the transmission plan q ij The following constraints are met: Where a and b are probability simplex Δ n and Δ n’ Lower Discrete Measure and At position x i and x j' The weight of is the position x i The Dirac function at A matrix consisting of all transmission plans.

6. The method according to any one of claims 1 to 5, It is characterized in that The prior distribution parameters are obtained by a prior distribution algorithm, and the prior distribution algorithm is one or a combination of Dirichlet distribution, normal inverse Wishart distribution, normal distribution, and inverse Wishart distribution.

7. The method according to claim 6, It is characterized in that The prior distribution parameters are obtained by the following formula: In the formula, is a set of parameters, z j and is the expectation and variance of the jth Gaussian distribution in the current prior distribution, V j is the scaling matrix of the jth inverse Wishart distribution, π is the sampling probability of the Gaussian distribution, K is the total number of normal inverse Wishart distributions, α is the parameter of the Dirichlet distribution, λ is the parameter of the Gaussian distribution, and v is the parameter of the inverse Wishart distribution.

8. A user behavior modeling system based on Bayesian optimal transmission, It is characterized in that include: Information acquisition module, used to obtain user behavior sequence data and prior distribution parameters of Gaussian mixture model; A behavior modeling module is used to initialize a Gaussian mixture model using the prior distribution parameters, input the user behavior sequence data into the initialized Gaussian mixture model, and obtain the user interest representation using the EM algorithm; The behavior prediction module is used to input the user interest representation into a multi-layer perceptron to obtain a user behavior prediction result.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, It is characterized in that The device stores a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • General vector training method and device, voice clustering method and device, facility and medium

    CN108922544A

  • Sequence recommendation method based on hierarchical variational attention

    CN111552881A

  • Channel machine learning estimation method based on intelligent iterative initial value selection

    CN112600771A

  • Model-data hybrid driven power system scheduling method and system

    CN118316018A

Cited By

  • Method for accelerating training of recommendation model on edge node

    CN119623582A