A cross-domain fusion recommendation method based on graph convolutional network

Through the cross-domain fusion recommendation method based on graph convolution network, combined with the behavior of the user itself and other users, log data is used to recommend live broadcast channels, which solves the problem of poor recommendation effect in the existing technology and achieves more efficient channel recommendation. .

CN116320511BInactive Publication Date: 2024-10-11SOUTH CHINA UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310081551.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-03
Publication Date
2024-10-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing live broadcast channel recommendation methods mainly rely on users' own historical behaviors, have poor real-time performance and difficulty in data acquisition, and lack of analysis of the interactive relationship between users and channels, resulting in poor recommendation results.

Method used

Adopt a cross-domain fusion recommendation method based on graph convolutional network, treat each channel as a domain, use simple and easy-to-obtain log data, combine the user's own behavior and the behavior of other users, and build recommendations through graph convolutional network and attention mechanism model to implement cross-domain recommendations.

Benefits of technology

It improves the accuracy of recommendations, solves the problems of poor real-time performance and difficulty in data acquisition, captures the interaction and collaboration signals between users and channels, and improves the recommendation effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116320511B_ABST
    Figure CN116320511B_ABST
Patent Text Reader

Abstract

The present invention discloses a cross-domain fusion recommendation method based on a graph convolutional network, the method steps include: presetting the time window length and working time, selecting the log data within the set time window as the original data; removing the noise data from the original data and dividing it into a training set and a verification set; taking each live broadcast channel as a domain, constructing a recommendation model based on a graph convolutional network and a recommendation model based on an attention mechanism into a fusion recommendation model, inputting the training set data of users in the group into the fusion recommendation model, adjusting the parameters of the fusion recommendation model using the verification set data of users in the group, saving the trained model parameters, obtaining a trained fusion recommendation model to recommend live broadcast channels to users, selecting new original data based on a new time window to train the fusion recommendation model, and recommending live broadcast channels to users based on the retrained fusion recommendation model. The present invention implements cross-domain fusion recommendation for all candidate channels, and improves the accuracy of channel recommendation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of channel recommendation, and in particular to a cross-domain fusion recommendation method based on a graph convolutional network. Background Art

[0002] With the popularity of smart TVs and the development of online video streaming, users have more live channels to choose from. Live channels broadcast different programs at different times. The increase in the number of live channels increases the possibility that there is a channel among the candidate channels at any time that plays the program that the user is interested in. However, this also brings challenges to users. Users need to find the channels that play the programs they are interested in by themselves. Users often need to switch channels constantly to find the channels they are interested in. This manual channel search method is difficult to quickly locate the channels they are interested in from a large number of channels. The process of searching for channels will waste a lot of user time, reduce the user experience, and waste live broadcast resources. In this case, there is an urgent need for a recommendation method that can recommend live channels to users.

[0003] Current recommendation methods are mainly aimed at program recommendations. These methods require complex program image data and program description data, and the processing of these data is time-consuming, which affects the real-time nature of the recommendation. In addition, these data are not always available in real scenarios. In addition, current recommendation methods for live channels mainly recommend based on user behavior, without sufficient consideration of the correlation between different user behaviors and the interactive relationship between users and channels, resulting in insufficient recommendation effects. Therefore, recommendation methods need to have the ability to combine user behavior and other users' behaviors for multi-angle recommendations to improve the accuracy of recommendations. Summary of the invention

[0004] In order to overcome the problem that the existing live channel recommendation method is limited to the user's own historical behavior and the recommendation effect is insufficient, the present invention provides a cross-domain fusion recommendation method based on graph convolutional network, which takes each channel as a domain and can make recommendations by inputting some simple and easy-to-obtain log data. Cross-domain fusion recommendation is realized for all candidate channels, and the user's own behavior is combined with the behavior of other users to make recommendations, thereby improving the accuracy of recommendations.

[0005] In order to achieve the above object, the present invention adopts the following technical solutions:

[0006] The present invention provides a cross-domain fusion recommendation method based on graph convolutional network, comprising the following steps:

[0007] The time window length Δt is preset, and the log data within the set time window [t-Δt, t) is selected as the original data, and the working time is preset to x days;

[0008] Preprocess the raw data to remove the noise data generated by users randomly switching channels during the channel search process, divide the preprocessed raw data into training sets and validation sets, and divide users into different groups;

[0009] Take each live broadcast channel as a domain and build a recommendation model based on graph convolutional network based on the interaction between users in the group and the live broadcast channel;

[0010] Build a recommendation model based on the attention mechanism based on the user's own historical behavior;

[0011] The obtained recommendation model based on the attention mechanism and the recommendation model based on the graph convolutional network are constructed into a fusion recommendation model to recommend live channels from two perspectives: the user's own behavior and the behavior of other users.

[0012] Input the training set data of the users in the group into the fusion recommendation model, use the validation set data of the users in the group to adjust the parameters of the fusion recommendation model, save the trained model parameters, and obtain the trained fusion recommendation model for each group;

[0013] X days after time t-1, the fusion recommendation model trained by the user's group is used to recommend live channels to the user. The time window is slid forward x days to obtain a new time window [t-Δt+x, t+x). New original data is selected based on the new time window, and the fusion recommendation model is retrained using the new original data. Live channels are recommended to the user based on the retrained fusion recommendation model.

[0014] As a preferred technical solution, the raw data is preprocessed to remove noise data generated by users randomly switching channels during the channel search process. The specific steps include:

[0015] The records in the original data whose viewing time is less than the set threshold are deleted, and the redundant fields are removed. The fields retained in each row of data are <user identification number, channel number, start viewing time, viewing time>. For each user, the data is sorted in the order of the start viewing time to obtain the data structure Du = {{ch1, ts1, dur1}, {ch2, ts2, dur2}, ... {ch n ,ts n ,dur n}}, n is the total number of rows of data, for any row {ch i ,ts i ,dur i}, describes a channel viewing record of a user, where ch i Indicates the channel number, ts i Indicates the time to start watching, dur i Indicates viewing time.

[0016] As a preferred technical solution, the recommendation model based on graph convolutional network is constructed by combining the interaction between users in the group and the live broadcast channel. The specific steps include:

[0017] Construct a user graph convolution layer to generate the user’s feature vector;

[0018] Construct a channel graph convolution layer to obtain the feature vector of the candidate channel at the time of recommendation initiation;

[0019] The predicted score vector of the candidate channel is obtained by using the user's feature vector and the feature vector of the candidate channel at the time of recommendation initiation, which is specifically expressed as:

[0020] y(u,c) ti =e u,t *e c,ti

[0021]

[0022] Among them, e u,t and e c,ti are the feature vector of user u obtained by the user graph convolution layer and the feature vector of the candidate channel of channel c at the recommendation initiation time ti obtained by the channel graph convolution layer. For channel c, y u,ti (c) = y(u, c) ti .

[0023] As a preferred technical solution, the construction of the user graph convolution layer to generate the user's feature vector specifically includes:

[0024] The time and channel number are used to represent the program played on the channel at a specific time. For program p = {t p , c p} corresponds to two attributes, at time t p and channel c p , represents the p Channel c p The program being played, if user u is at time t p Watched channel c p , then there is an edge (u, p) in the user-program interaction graph, and user u is said to be associated with program p. The program set P is obtained by sampling time-channel number pairs from the time window [t-Δt, t-Δt+Δr) where the training set is located;

[0025] Assign an initial random feature vector to each user u and each channel c d is the dimension of the feature vector, R represents the set of real numbers, and the connection relationship in the user-program interaction graph is utilized based on the multi-layer graph convolution layer, which is specifically expressed as:

[0026]

[0027]

[0028] in, and are the program feature vectors obtained at the lth layer and the l-1th layer respectively, and are the user feature vectors obtained at the lth layer and the l-1th layer respectively, and is the parameter matrix of the lth graph convolution layer; N p is the time t corresponding to program p p All viewing channels in the user group c p The user set, N u is the set of programs associated with user u in P;

[0029] The output information of the multi-layer graph convolutional layer is filtered by selecting the module. The specific formula for selecting the module is as follows:

[0030]

[0031]

[0032] Among them, m is the number of layers of multi-layer graph convolutional layers, is the parameter matrix, and the selection module concatenates the outputs of multiple user graph convolutional layers and maps them to the space where a single output is located;

[0033] The module output will be selected and After concatenation, we get the user's feature vector e u,t ∈R 1×(2*d) .

[0034] As a preferred technical solution, the channel graph convolution layer is constructed to obtain the feature vector of the candidate channel at the time of recommendation initiation, specifically including:

[0035]

[0036]

[0037] Among them, ti represents the time when the recommendation is initiated. is the initial eigenvector of channel c, N c,ti is the set of users in the user group watching channel c at time ti, e c,ti ∈R 1×(2*d) is the feature vector of channel c at time ti.

[0038] As a preferred technical solution, the recommendation model based on the attention mechanism is constructed based on the user's own historical behavior, specifically including:

[0039] Build a user history popular channel recommendation model. The user history popular channel recommendation model obtains the probability vector of the user's interest in the candidate channel based on the frequency of the user watching different channels in the training set;

[0040] Build a popular channel recommendation model for the user's current time slot, and obtain the probability vector of the user's interest in the candidate channel based on the frequency of the user watching different channels in a specific time slot in the user training set time window;

[0041] Generate a context vector that describes the environmental information at the time of recommendation, use a fully connected network to build an attention layer, input the context vector into the attention layer to obtain the attention of the user's historical popular channel recommendation model and the user's current time slot popular channel recommendation model at the time of recommendation initiation, and weight the probability vectors obtained from the user's historical popular channel recommendation model and the user's current time slot popular channel recommendation model based on their respective attention to obtain a new probability vector.

[0042] As a preferred technical solution, the user's historical popular channel recommendation model obtains the probability vector of the user's interest in the candidate channel based on the frequency of the user watching different channels in the training set, specifically including:

[0043] The time interval [t-Δt, t-Δt+Δr) of the training set is divided into S time periods according to the time distance. A fully connected network is used to obtain the influence weights of each of the S time periods, and the weighted frequencies of users watching different channels in the S time periods are obtained. The probability vector of the user's interest in each candidate channel is obtained from the weighted frequencies of all candidate channels, which is expressed as:

[0044]

[0045]

[0046]

[0047]

[0048] in, is a random feature vector generated according to the user identification number, d is the dimension of the feature vector, R represents the real number set, g hot It is a neural network composed of fully connected layers. g hot The weights of the output S time periods, f(u, c, τ) represents the number of times user u watches channel c in time period τ, τ i is the time period, c j Corresponding channel number, is the weighted channel viewing frequency of the user in S time periods, For users on channel c i Probability of interest;

[0049] The popular channel recommendation model for the user's current time slot obtains the probability vector of the user's interest in the candidate channel based on the frequency of the user watching different channels in a specific time slot in the user training set time window. Specifically, it includes:

[0050] Select the time slot SL(ti) centered at the recommendation initiation time ti, and according to the number of times the user watches different channels in the time slot SL(ti) in the time window [t-Δt, t-Δt+Δr), get the probability value of the user's interest in the candidate channel, which is expressed as:

[0051]

[0052]

[0053] Where f(u, c, τ) represents the number of times user u watches channel c in time interval τ, [t-Δt, t-Δt+Δr)∩SL(ti) represents the time intersection of the time window [t-Δt, t-Δt+Δr) and the time slot SL(ti), c i is the channel number, For users on channel c i Probability of interest.

[0054] As a preferred technical solution, the specific formula of the context vector env is as follows:

[0055]

[0056]

[0057]

[0058] Get the new probability vector The specific formula is as follows:

[0059] W att =g(env)

[0060]

[0061] Among them, || represents the connection operation, v hour 、v weekThey represent the random feature vector generated according to the user u's identity number, the user's historical popular channel recommendation model, the sum of the K largest probability values ​​of the probability vector obtained by the user's current time slot popular channel recommendation model, the hour of the recommendation time, and the onehot encoding of the week. The vector env is concatenated as the current environment information. g indicates that the attention layer is composed of a fully connected network. W att is the weight vector of the user's historical popular channel recommendation model and the user's current time slot popular channel recommendation model obtained by the attention layer, represented by W att The fusion recommendation result is obtained by weighted addition of the user's historical popular channel recommendation model and the user's current time slot popular channel recommendation model.

[0062] As a preferred technical solution, the obtained recommendation model based on the attention mechanism and the recommendation model based on the graph convolutional network are constructed into a fusion recommendation model to recommend live channels from two perspectives: the user's own behavior and the behavior of other users. Specifically, it includes:

[0063]

[0064]

[0065] Among them, β0, β1 and b are trainable parameters. is the probability distribution of N channels that interest the user, given by The top K channels with the highest probability values ​​are selected to form a channel list and recommended to the user.

[0066] As a preferred technical solution, the validation set data of the users in the group is used to adjust the parameters of the fusion recommendation model. The formula of the loss function used to adjust the parameters of the fusion recommendation model is:

[0067]

[0068]

[0069] Among them, l i is the loss of the ith channel, y i is the target value of the ith channel, is the predicted value of the ith channel, w i Represents a trainable parameter.

[0070] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0071] (1) The present invention regards each live channel as a domain and performs cross-domain recommendation for all candidate live channels. It only requires simple log data and does not involve analysis of program image data or program description information. This solves the problem of poor real-time performance and difficulty in obtaining data in technical solutions based on program recommendations.

[0072] (2) The present invention utilizes a graph convolutional network to apply the interaction relationship between users and channels to the process of generating feature vectors of users and channels, thereby solving the problem that the prior art solution cannot capture the collaborative signals hidden in the interaction between users and channels by generating feature vectors based on the identification numbers of users and channels.

[0073] (3) The present invention combines the behaviors of other users and the user's own behaviors to make recommendations, which solves the problem that the prior art mainly relies on the user's own historical behaviors to make recommendations and does not give enough consideration to the correlation between the behaviors of different users, thereby improving the recommendation effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Figure 1 It is a flow chart of the cross-domain fusion recommendation method based on graph convolutional network of the present invention;

[0075] Figure 2 It is a schematic diagram of dividing the data set of the present invention;

[0076] Figure 3 It is a main schematic diagram of the cross-domain fusion recommendation neural network model based on graph convolutional network of the present invention;

[0077] Figure 4 This is a working diagram of the user graph convolution layer of the recommendation model based on the graph convolution network of the present invention;

[0078] Figure 5 It is a schematic diagram of the working of the channel graph convolution layer of the recommendation model based on the graph convolution network of the present invention;

[0079] Figure 6 A schematic diagram of dividing time slots according to the popular channel recommendation model for the user's current time slot of the present invention;

[0080] Figure 7 This is a schematic diagram of realizing fusion recommendation by using the attention mechanism in the recommendation model based on the attention mechanism of the present invention for the basic recommendation model. DETAILED DESCRIPTION

[0081] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0082] like Figure 1As shown, this embodiment provides a cross-domain fusion recommendation method based on a graph convolutional network, comprising the following steps:

[0083] S1: Set the time window length Δt days, take the log data in the time window [t-Δt, t) as the original data, and select the time length x days as the working time after the model is trained;

[0084] S2: Preprocess the raw data to remove the noise data generated by users randomly switching channels during the channel search process, remove unnecessary fields, divide the preprocessed data into training sets and validation sets, and divide users into different groups;

[0085] The specific process of step S2 includes: deleting the records in the original training data whose viewing time of users is less than the threshold T seconds, removing redundant fields, and retaining the fields of each row of data as <user identification number, channel number, start viewing time, viewing time>, and sorting the data of each user in the order of the start viewing time to obtain the data structure D u ={{ch1,ts1,dur1},{ch2,ts2,dur2},…{ch n ,ts n ,dur n}}, n is the total number of rows of data. For any row {ch i ,ts i ,dur i}, describes a channel viewing record of a user, where ch i Indicates the channel number, ts i Indicates the time to start watching, dur i Indicates viewing time;

[0086] In this embodiment, the N channel numbers involved in the data set are uniformly mapped to the interval [0, N), and the identity identification numbers of M users are mapped to [0, M).

[0087] like Figure 2 As shown, we take a time length of Δr days, Δr<Δt, take the data in the time window [t-Δt, t-Δt+Δr) as the training set, and the data in the time window [t-Δt+Δr, t) as the validation set. We set the size of the user group G and randomly divide the users into In a group.

[0088] S3: Consider each live channel as a domain, such as Figure 3 As shown, a cross-domain fusion recommendation neural network model based on graph convolutional network is constructed;

[0089] The time when the cross-domain fusion recommendation neural network model implemented in step S3 initiates recommendation for the user is the moment ti when the user finishes watching a channel.

[0090] In step S3, a cross-domain fusion recommendation neural network model based on graph convolutional network is constructed. The specific steps include:

[0091] S31: Combine the interaction between group users and live broadcast channels to build a recommendation model based on graph convolutional network. The specific process includes:

[0092] S311: Figure 4 As shown in the figure, the user graph convolution layer is constructed to generate the user's feature vector. The specific steps include:

[0093] S3111: Use time and channel number to indicate the program played on the channel at a specific time. For program p={t p , c p} corresponds to two attributes, at time t p and channel c p , represents the p Channel c p The program currently being played. If user u is at time t p Watched channel c p , then there is an edge (u, p) in the user-program interaction graph, and user u is said to be associated with program p. The program set P is obtained by sampling some time-channel number pairs from the time window [t-Δt, t-Δt+Δr) where the training set is located.

[0094] Assign an initial random feature vector to each user u (and each channel c) d is the dimension of the feature vector, R represents the set of real numbers, and R plus a superscript indicates the dimension of the matrix. For example, the superscript 1×d means that the number of rows in the matrix is ​​1 and the number of columns is d. The specific formula for modeling the user's feature vector using a single-layer user graph convolution layer is as follows:

[0095]

[0096]

[0097] in is the feature vector of program p obtained by a single-layer graph convolution layer, c p is the channel corresponding to program p, and is the parameter matrix. is the feature vector of user u output by the single-layer graph convolution layer, N p is the time t corresponding to program p p All viewing channels in the user group c p The user set, N uis the set of programs associated with user u in P. The node information with a distance of two hops is propagated for the user feature vector through a single-layer graph convolution layer along with the given graph structure.

[0098] In order to utilize the deeper connection relationship in the user-program interaction graph, a multi-layer graph convolution layer can be used. The specific formulation of the multi-layer graph convolution layer is as follows:

[0099]

[0100]

[0101] in and are the program feature vectors obtained at the lth layer and the l-1th layer respectively, and are the user feature vectors obtained at the lth layer and the l-1th layer respectively, and is the parameter matrix of the l-th graph convolutional layer.

[0102] S3112: Filter the output information of the multi-layer graph convolutional layer by selecting the module. The specific formula for selecting the module is as follows:

[0103]

[0104]

[0105] Where m is the number of layers of multi-layer graph convolutional layers, is a parameter matrix. The selection module concatenates the outputs of multiple user graph convolutional layers and maps them to the space where a single output is located, playing a role in filtering and selecting multiple output information. and After concatenation, we get the user's feature vector e u,t ∈R 1×(2*d) .

[0106] S312: Figure 5 As shown, a channel graph convolution layer is constructed to obtain the feature vector of channel ti at the time of recommendation initiation. The specific formula is as follows:

[0107]

[0108]

[0109] Among them, ti represents the time when the recommendation is initiated. is the initial eigenvector of channel c, N c,ti is the set of users in the user group watching channel c at time ti, e c,ti ∈R 1×(2*d)is the feature vector of channel c at time ti.

[0110] S313: Using the user's feature vector e u,t And the feature vector of the candidate channel at the recommendation initiation time ti to obtain the predicted score vector of the candidate channel The specific formula is as follows:

[0111] y(u,c) ti =e u,t *e c,ti

[0112]

[0113] e u,t and e c,ti are the feature vector of user u obtained by the user graph convolution layer and the feature vector of channel c obtained by the channel graph convolution layer at the recommendation initiation time ti. u,ti ∈R 1×N , for channel c, y u,ti (c) = y(u, c) ti .

[0114] S32: Based on the user's own historical behavior, the specific steps of building a recommendation model based on the attention mechanism include:

[0115] S321: Construct a user history popular channel recommendation model. The user history popular channel recommendation model obtains a probability vector of the user's interest in a candidate channel based on the frequency of the user watching different channels in the training set. The specific steps include:

[0116] The time interval [t-Δt, t-Δt+Δr) of the training set is divided into S time periods according to the time distance, and marked from 0 to S-1 from far to near. A fully connected network is used to obtain the influence weights of each of the S time periods, and the weighted frequencies of users watching different channels in the S time periods are obtained. The probability vector of users' interest in each candidate channel is obtained from the weighted frequencies of all candidate channels. The specific formula is as follows:

[0117]

[0118]

[0119]

[0120]

[0121] in is a random feature vector generated according to the user identification number, g hot It is a neural network composed of fully connected layers. g hot The weights of the output S time periods. f(u, c, τ) represents the number of times user u watches channel c in time period τ. According to D u get, τ i is the time period, c j Corresponding channel number, is the weighted channel viewing frequency of the user in S time periods. For users on channel c i Probability of interest.

[0122] S322: Construct a popular channel recommendation model for the user's current time slot, and obtain a probability vector of the user's interest in a candidate channel based on the frequency of the user watching different channels in a specific time slot in the user training set time window. The specific steps include:

[0123] like Figure 6 As shown in the figure, the time slot SL(ti) centered at the recommendation initiation time ti is selected, and the probability value of the user's interest in the candidate channel is obtained according to the number of times the user watches different channels in the time slot SL(ti) in the time window [t-Δt, t-Δt+Δr). The specific formula is as follows:

[0124]

[0125]

[0126] f(u, c, τ) represents the number of times user u watches channel c in time interval τ. Where [t-Δt, t-Δt+Δr)∩SL(ti) represents the time intersection of the time window [t-Δt, t-Δt+Δr) and the time slot SL(ti). According to D u get, where c i is the channel number. For users on channel c i Probability of interest.

[0127] S323: Figure 7 As shown in the figure, the attention mechanism is used to implement the fusion recommendation model for the basic recommendation model. The specific steps include:

[0128] Generate a context vector that describes the environment information at the time of recommendation, and use a fully connected network to build an attention layer. Input the context vector into the attention layer to obtain the attention of the two basic recommendation models at the time of recommendation initiation. The probability vectors obtained by the two basic recommendation models are weighted based on their respective attention to obtain a new probability vector

[0129] The specific formula for obtaining the context vector env is as follows:

[0130]

[0131]

[0132]

[0133] get The specific formula is as follows:

[0134] W att =g(env)

[0135]

[0136] Here, || represents a connection operation. v hour ∈R 1×24 , v week ∈R 1 ×7 They represent the random feature vector generated according to the user u's identity number, the user's historical popular channel recommendation model, the sum of the K largest probability values ​​of the probability vector obtained by the user's current time slot popular channel recommendation model, the hour and week of the recommendation time. o nehot encoding. Concatenate these constants to get the vector env∈R 1×(d+33) As the current environment information. g indicates that the attention layer is composed of a fully connected network, W att ∈R 1×2 is the weight vector of the two basic recommendation models obtained by the attention layer. att The fusion recommendation result is obtained by weighted addition of the two basic recommendation models.

[0137] S33: The obtained recommendation model based on the attention mechanism and the recommendation model based on the graph convolutional network are constructed into a fusion recommendation model to recommend live channels from two perspectives: the user's own behavior and the behavior of other users. The specific formula is as follows:

[0138]

[0139]

[0140] Among them, β0, β1 and b are trainable parameters, is the probability distribution of N channels that users are interested in. The top K channels with the highest probability values ​​are selected to form a channel list and recommended to the user.

[0141] S4. For each group, input the training set data of the users in the group into a cross-domain fusion recommendation neural network model, use the validation set data of the users in the group to adjust the parameters of the neural network model, save the trained model parameters, and obtain the trained neural network model for each group;

[0142] In this embodiment, the formula of the loss function used to adjust the parameters of the neural network model is:

[0143]

[0144]

[0145] Among them l i is the loss of the ith channel, y i is the target value of the ith channel, is the predicted value of the ith channel, w i Represents a trainable parameter.

[0146] S5. x days after time t-1, use the cross-domain fusion recommendation model trained by the user's group to recommend live broadcast channels to the user;

[0147] The specific process is as follows: a recommendation is initiated after the user finishes watching a channel, and the probability vector of the user's interest in the candidate channel is obtained based on the cross-domain fusion recommendation model. The channel with the highest probability value is selected to form a live channel recommendation list and recommended to the user.

[0148] S6. Slide the time window forward by x days to obtain a new time window [t-Δt+x, t+x), repeat from step S1, slide the time window forward by x days to obtain a new time window, use the new data in the new time window to retrain to obtain a new fusion recommendation model to recommend live channels to users x days after the new time window. The model training and prediction processes of different time windows are carried out independently and do not interfere with each other. That is, the old fusion recommendation model is discarded every x days, and a fusion recommendation model is retrained with the latest data to make predictions for the next x days to recommend live channels to users.

[0149] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.

Claims

1. A cross-domain fusion recommendation method based on graph convolutional network, characterized in that: The steps include: The time window length Δt is preset, and the log data within the set time window [t-Δt, t) is selected as the original data. The working time is preset to x days; Preprocess the raw data to remove the noise data generated by users randomly switching channels during the channel search process, divide the preprocessed raw data into training sets and validation sets, and divide users into different groups; Take each live broadcast channel as a domain and build a recommendation model based on graph convolutional network based on the interaction between users in the group and the live broadcast channel; Build a recommendation model based on the attention mechanism based on the user's own historical behavior; The obtained recommendation model based on the attention mechanism and the recommendation model based on the graph convolutional network are constructed into a fusion recommendation model to recommend live channels from two perspectives: the user's own behavior and the behavior of other users. For each group, the training set data of the users in the group is input into a fusion recommendation model, the validation set data of the users in the group is used to adjust the parameters of the fusion recommendation model, and the trained model parameters are saved to obtain the trained fusion recommendation model for each group. X days after time t-1, the fusion recommendation model trained by the user's group is used to recommend live channels to the user. The time window is slid forward by x days to obtain a new time window [t-Δt+x, t+x). New original data is selected based on the new time window, and the fusion recommendation model is retrained using the new original data. Live channels are recommended to the user based on the retrained fusion recommendation model.

2. According to claim 1, the cross-domain fusion recommendation method based on graph convolutional network is characterized in that: The raw data is preprocessed to remove noise data generated by users randomly switching channels during the channel search process. The specific steps include: Delete the records in the original data whose viewing time is less than the set threshold, remove the redundant fields, and retain the fields of each row of data as <user identification number, channel number, start viewing time, viewing time>. For each user, sort their data in the order of start viewing time to obtain data structure D u ={{ch1,ts1,dur1},{ch2,ts2,dur2},…{ch n ,ts n ,dur n }}, n is the total number of rows of data, for any row {ch i ,ts i ,dur i }, describes a channel viewing record of a user, where ch i Indicates the channel number, ts i Indicates the time to start watching, dur i Indicates viewing time.

3. According to claim 1, the cross-domain fusion recommendation method based on graph convolutional network is characterized in that: The specific steps of building a recommendation model based on a graph convolutional network by combining the interaction between group users and live broadcast channels include: Construct a user graph convolution layer to generate the user’s feature vector; Construct a channel graph convolution layer to obtain the feature vector of the candidate channel at the time of recommendation initiation; The predicted score vector of the candidate channel is obtained by using the user's feature vector and the feature vector of the candidate channel at the time of recommendation initiation, which is specifically expressed as: y(u,c) ti =e u,t *e c,ti Among them, e u,t and e c,ti are the feature vector of user u obtained by the user graph convolution layer and the feature vector of the candidate channel of channel c at the recommendation initiation time ti obtained by the channel graph convolution layer. For channel c, y u,ti (c)=y(u,c) ti .

4. The cross-domain fusion recommendation method based on graph convolutional network according to claim 3 is characterized in that: The step of constructing a user graph convolution layer to generate a user feature vector specifically includes: The time and channel number are used to represent the program played on the channel at a specific time. For program p = {t p ,c p } corresponds to two attributes, at time t p and channel c p , represents the p Channel c p The program being played, if user u is at time t p Watched channel c p , then there is an edge (u,p) in the user-program interaction graph, and user u is said to be associated with program p. The program set P is obtained by sampling time-channel number pairs from the time window [t-Δt, t-Δt+Δr) where the training set is located, and the time length is Δr days, Δr<Δt; Assign an initial random feature vector to each user u and each channel c d is the dimension of the feature vector, R represents the set of real numbers, and the connection relationship in the user-program interaction graph is utilized based on the multi-layer graph convolution layer, which is specifically expressed as: in, and are the program feature vectors obtained at the lth layer and the l-1th layer respectively, and are the user feature vectors obtained at the lth layer and the l-1th layer respectively, and is the parameter matrix of the lth graph convolution layer; N p is the time t corresponding to program p p All viewing channels in the user group c p The user set, N u is the set of programs associated with user u in P; The output information of the multi-layer graph convolutional layer is filtered by selecting the module. The specific formula for selecting the module is as follows: Among them, m is the number of layers of multi-layer graph convolutional layers, is the parameter matrix, and the selection module concatenates the outputs of multiple user graph convolutional layers and maps them to the space where a single output is located; The module output will be selected and After concatenation, we get the user's feature vector e u,t ∈R 1×(2*d) .

5. According to claim 3, the cross-domain fusion recommendation method based on graph convolutional network is characterized in that: The channel graph convolution layer is constructed to obtain the feature vector of the candidate channel at the time of recommendation initiation, specifically including: Among them, ti represents the time when the recommendation is initiated. is the initial eigenvector of channel c, N c,ti is the set of users in the user group watching channel c at time ti, e c,ti ∈R 1×(2*d) is the feature vector of candidate channel c at time ti, and d is the dimension of the feature vector.

6. The cross-domain fusion recommendation method based on graph convolutional network according to claim 3 is characterized in that: The recommendation model based on the attention mechanism is constructed based on the user's own historical behavior, specifically including: Build a user history popular channel recommendation model. The user history popular channel recommendation model obtains the probability vector of the user's interest in the candidate channel based on the frequency of the user watching different channels in the training set; Build a popular channel recommendation model for the user's current time slot, and obtain the probability vector of the user's interest in the candidate channel based on the frequency of the user watching different channels in the current time slot in the user training set time window; Generate a context vector that describes the environmental information at the time of recommendation, use a fully connected network to build an attention layer, input the context vector into the attention layer to obtain the attention of the user's historical popular channel recommendation model and the user's current time slot popular channel recommendation model at the time of recommendation initiation, and weight the probability vectors obtained from the user's historical popular channel recommendation model and the user's current time slot popular channel recommendation model based on their respective attention to obtain a new probability vector.

7. The cross-domain fusion recommendation method based on graph convolutional network according to claim 6 is characterized in that: The user historical popular channel recommendation model obtains the probability vector of the user's interest in the candidate channel based on the frequency of the user watching different channels in the training set, including: The time interval [t-Δt, t-Δt+Δr) where the training set is located is divided into S time periods according to the time distance. A fully connected network is used to obtain the influence weights of each of the S time periods, and the weighted frequencies of users watching different channels in the S time periods are obtained. The probability vector of the user's interest in each candidate channel is obtained from the weighted frequencies of all candidate channels, which is expressed as: in, is a random feature vector generated according to the user identification number, d is the dimension of the feature vector, R represents the real number set, g hot It is a neural network composed of fully connected layers. g hot The weights of the output S time periods, f(u,c,τ) represents the number of times user u watches channel c in time period τ, τ i is the time period, c j Corresponding channel number, is the weighted channel viewing frequency of the user in S time periods, For users on channel c i Probability of interest; The popular channel recommendation model for the user's current time slot obtains the probability vector of the user's interest in the candidate channel based on the frequency of the user watching different channels in a specific time slot in the user training set time window. Specifically, it includes: Select the time slot SL(ti) centered at the recommendation initiation time ti, and according to the number of times the user watches different channels in the time slot SL(ti) in the time window [t-Δt, t-Δt+Δr), get the probability value of the user's interest in the candidate channel, which is expressed as: Where f(u,c,τ) represents the number of times user u watches channel c in time interval τ, [t-Δt,t-Δt+Δr)∩SL(ti) represents the time intersection of the time window [t-Δt,t-Δt+Δr) and the time slot SL(ti), c i is the channel number, For users on channel c i Probability of interest.

8. The cross-domain fusion recommendation method based on graph convolutional network according to claim 7 is characterized in that: The specific formula of the context vector env is as follows: Get the new probability vector The specific formula is as follows: W att =g(env) Among them, || represents the connection operation, v hour 、v week They represent the random feature vector generated according to the user u's identity number, the user's historical popular channel recommendation model, the sum of the K largest probability values ​​of the probability vector obtained by the user's current time slot popular channel recommendation model, the hour of the recommendation time, and the onehot encoding of the week. The vector env is concatenated as the current environment information. g indicates that the attention layer is composed of a fully connected network. W att is the weight vector of the user's historical popular channel recommendation model and the user's current time slot popular channel recommendation model obtained by the attention layer, represented by W att The fusion recommendation result is obtained by weighted addition of the user's historical popular channel recommendation model and the user's current time slot popular channel recommendation model. N represents the total number of channels.

9. The cross-domain fusion recommendation method based on graph convolutional network according to claim 8 is characterized in that: The obtained recommendation model based on the attention mechanism and the recommendation model based on the graph convolutional network are constructed into a fusion recommendation model to recommend live channels from two perspectives: the user's own behavior and the behavior of other users. Specifically, it includes: Among them, β0, β1 and b are trainable parameters. is the probability distribution of N channels that interest the user, given by The top K channels with the highest probability values ​​are selected to form a channel list and recommended to the user.

10. The cross-domain fusion recommendation method based on graph convolutional network according to claim 1, characterized in that: The validation set data of the users in the group is used to adjust the parameters of the fusion recommendation model. The formula of the loss function used to adjust the parameters of the fusion recommendation model is: Among them, l i is the loss of the ith channel, y i is the target value of the ith channel, is the predicted value of the ith channel, w i represents the trainable parameters and N represents the total number of channels.