Video score prediction method based on deep neural network and double regularization
By introducing deep neural networks and double regularization methods into video rating prediction, and using the MILDA algorithm and activity and nearest neighbor regularization terms, the data sparsity and cold start problems in the collaborative filtering algorithm are solved, and the accuracy of video rating prediction is improved. and the personalization capabilities of recommendation systems.
Patent Information
- Application Number
- PCT/CN2023/135369
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-02
- Filing Date
- 2023-11-30
- Publication Date
- 2024-09-06
AI Technical Summary
Existing collaborative filtering recommendation algorithms suffer from data sparsity and cold start problems in video rating prediction, resulting in insufficient recommendation accuracy.
A video rating prediction method based on deep neural network and double regularization is used to reconstruct the user-video rating matrix through the MILDA algorithm, introducing the video correlation regular term of user activity and reliable nearest neighbor regular term, combined with the nonlinearity of the deep neural network Features, optimizing matrix decomposition results to improve rating prediction accuracy.
It effectively alleviates the linear dot product limitation in the matrix decomposition process, improves the accuracy of video rating prediction, and enhances the personalized recommendation capability of the recommendation system.
Smart Images

Figure CN2023135369_06092024_PF_FP
Abstract
Description
A video rating prediction method based on deep neural network and double regularization Technical Field
[0001] The present invention relates to a video rating prediction method based on deep neural network and double regularization, belonging to the field of rating prediction. Background Art
[0002] With the rapid development of internet technology, video resources are increasing across various online platforms. While providing users with a rich selection of video resources, this also creates challenges and frustrations. This vast library of video resources not only makes it difficult to find videos of interest, but also time-consuming. Personalized recommendation systems have become an effective tool for addressing information overload. Rating prediction is a crucial component of recommendation algorithms. Existing recommendation algorithms fall into three main categories: collaborative filtering-based, content-based, and hybrid. Currently, the most widely used are collaborative filtering-based algorithms, and model-based collaborative filtering is the most popular. Common algorithms within this category include matrix factorization, singular value decomposition, and cluster analysis. However, existing collaborative filtering algorithms still suffer from data sparsity and cold start issues. Therefore, alleviating these issues and improving recommendation accuracy has become a hot topic of research.
[0003] Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide a video rating prediction method based on deep neural network and double regularization, which uses the MILDA algorithm to reconstruct the user-video rating matrix, introduces video association regularization terms that incorporate user activity and reliable nearest neighbor regularization terms during matrix decomposition to constrain the learning of the potential feature matrix, and introduces a deep neural network. The nonlinear characteristics of the deep neural network are used to alleviate the limitations of the linear dot product in the matrix decomposition process, and the results of the deep neural network model are combined with the results of the double regularization matrix decomposition to improve the accuracy of video rating prediction.
[0005] In order to solve the above technical problems, the present invention adopts the following technical solution: the present invention designs a video rating prediction method based on deep neural network and double regularization to improve the accuracy of predicting the rating of recommended videos, comprising the following steps:
[0006] Step S1. Process the video comments to mine hidden information, and combine the hidden information matrix with the original user-video rating matrix to generate a new user-video rating matrix, and then proceed to step S2;
[0007] Step S2. Add a double regularization term to the decomposition of the user-video rating matrix to constrain the learning of the latent feature matrix, and proceed to step S3;
[0008] Step S3. The potential feature vector obtained by matrix decomposition is used as the input of the multilayer perceptron, and the multilayer perceptron is processed to obtain the prediction result of the multilayer perceptron model, and then the process goes to step S4;
[0009] Step S4. Combine the prediction results of the multi-layer perceptron model with the results of matrix decomposition at the merging layer, use the normalized cross entropy method to optimize the model, and obtain the final prediction score.
[0010] As a preferred technical solution of the present invention: in step S1, the MILDA algorithm is proposed. The algorithm first uses the LDA model to mine the hidden information of related types in user video comments, generates a user type potential feature matrix LU and a video type potential feature matrix LV, and combines the user type potential feature matrix with the video type potential feature matrix to obtain a hidden information matrix L, which is calculated as follows: The hidden information matrix L is combined with the original user-video rating matrix R to generate a new user-video rating matrix The calculation formula is:
[0011] As a preferred technical solution of the present invention: in step S2, since each user's rating of a video will make a certain contribution to the video similarity, but each user's contribution is not exactly the same, users can be divided into active users and inactive users based on their activity. Active users refer to users who have a large number of rating records for videos, while inactive users refer to users who have only rated a few videos. Therefore, when calculating video similarity, the contributions of active users and inactive users should be distinguished. The user's activity can be defined as:
[0012] In the above formula, |M(u)| represents the total number of ratings of user u. Therefore, the video similarity calculation method obtained by combining the user's activity coefficient with the modified cosine similarity is:
[0013] In the above formula, R ui represents the rating of user u on video i, R uj represents the rating of user u on video j, Represents the rating of user u. During matrix decomposition, a video-related regularization term that incorporates user activity is introduced to constrain the learning of the project's latent feature matrix. The formula for the video-related regularization constraint function that incorporates user activity is:
[0014] As a preferred technical solution of the present invention: in step S2, users with the same interests and hobbies will influence each other, and the user similarity can be calculated using the weighted Pearson correlation coefficient:
[0015] In the above formula, and Represents the average rating of users u and v, JCC uv The Jaccard correlation coefficient of the item that can affect the calculation of user similarity is the weight, and its calculation formula is as follows:
[0016] A user's rating of an item depends on the influence of neighboring users, and may also be influenced by the neighboring users' neighbors. However, neighboring users beyond a certain distance will no longer have an impact on the user and become unreliable. Therefore, a reliability value is introduced. Neighboring users with a reliability value greater than a certain value will have an impact on the user's item rating. The reliability value is calculated as follows:
[0017] In the above formula, d uv represents the trust distance, i.e., the number of users between user u and user v, d max Represents the maximum distance allowed between two users, ε is a correction parameter, which is a number greater than 0 and less than 1. The reliable nearest neighbor user is Near={v∈U|sim uv ≥γ and C uv ≥δ},
[0018] During matrix decomposition, a reliable nearest neighbor regularization term is introduced to constrain the learning of the user's potential feature matrix. The reliable nearest neighbor regularization constraint function is:
[0019] As a preferred technical solution of the present invention: in the step S3, the user potential feature vector and the video potential feature vector are used as inputs of a multi-layer perceptron, wherein the deep neural network is composed of a multi-layer perceptron and a single-layer perceptron, wherein the multi-layer perceptron includes an input layer, several hidden layers that allow the nonlinearity of the neural structure, and an output layer, and the nonlinear characteristics of the hidden layer are utilized to obtain the result of the multi-layer perceptron model through multi-layer perceptron processing.
[0020] As a preferred technical solution of the present invention: in step S4, the single-layer perceptron in the deep neural network is a merging layer, and the prediction results of the multi-layer perceptron model are combined with the results of the biregular matrix decomposition model in the merging layer. The calculation formula is:
[0021] In the above formula, ρ m is the activation function, w mis the matrix weight set between the output layer and the merging layer, y out is the result of the output layer, U u is the user potential vector, V i is the video latent vector, a m The normalized cross entropy method is used to optimize the model for the bias term of the merging layer, and finally the predicted score is obtained.
[0022] The video rating prediction method based on deep neural network and double regularization described in the present invention adopts the above technical scheme and has the following technical effects compared with the existing technology: the video rating prediction method based on deep neural network and double regularization designed by the present invention uses the MILDA algorithm to reconstruct the user-video rating matrix, introduces video association regularization terms that incorporate user activity and reliable nearest neighbor regularization terms to constrain the learning of the potential feature matrix, wherein the nonlinear structure of the deep neural network is used to alleviate the limitations of linear dot products in the matrix decomposition process, and combines the results of the deep neural network model with the results of the double regularization matrix decomposition to improve the accuracy of video rating prediction. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] FIG1 is a flow chart of a video rating prediction method based on a deep neural network and dual regularization designed by the present invention;
[0024] FIG2 is a structural diagram of a multi-layer perceptron mentioned in the present invention;
[0025] FIG3 is a structural diagram of the deep neural network mentioned in the present invention. DETAILED DESCRIPTION
[0026] The specific embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
[0027] This patent is based on the traditional matrix decomposition model, using the MILDA algorithm to reconstruct the user-video rating matrix, introducing a video association regularization term that incorporates user activity and a reliable nearest neighbor regularization term to restrict the learning of the latent feature matrix. By utilizing the nonlinear structure of the deep neural network, the limitations of the linear dot product in the matrix decomposition process are alleviated. The latent feature vectors decomposed from the matrix are used as the input of the deep neural network. The results of the MLP model are obtained through multi-layer perceptron processing. The MLP model results are combined with the results of the double-regularized matrix decomposition model in a single-layer perceptron layer, i.e., the merging layer. The model is optimized by the normalized cross entropy method, thereby improving the accuracy of the rating prediction.
[0028] As shown in FIG1 , the present invention designs a video rating prediction method based on a deep neural network and double regularization to improve the accuracy of the recommended video rating prediction, including the following steps:
[0029] Step S1. Process the video comments to mine hidden information, and combine the hidden information matrix with the original user-video rating matrix to generate a new user-video rating matrix, and then proceed to step S2;
[0030] Step S2. Add a double regularization term to the decomposition of the user-video rating matrix to constrain the learning of the latent feature matrix, and proceed to step S3;
[0031] Step S3. The potential feature vector obtained by matrix decomposition is used as the input of the multilayer perceptron, and the multilayer perceptron is processed to obtain the prediction result of the multilayer perceptron model, and then the process goes to step S4;
[0032] Step S4. Combine the prediction results of the multi-layer perceptron model with the results of matrix decomposition at the merging layer, use the normalized cross entropy method to optimize the model, and obtain the final prediction score.
[0033] Step S1 of the present invention includes: proposing a MILDA algorithm, which first uses the LDA model to mine the hidden information of related types in user video comments, generates a user type potential feature matrix LU and a video type potential feature matrix LV, and combines the user type potential feature matrix with the video type potential feature matrix to obtain a hidden information matrix L, which is calculated as follows: The hidden information matrix L is combined with the original user-video rating matrix R to reconstruct the user-video rating matrix R, which is calculated as follows:
[0034] Step S2 of the present invention includes: performing matrix decomposition on the user-video rating matrix, decomposing the high-dimensional user-video rating matrix into a low-dimensional user feature matrix and a video feature matrix, wherein the formula is: R≈U T V
[0035] Where U represents the user feature matrix, U i represents the potential feature vector of user i, V represents the video feature matrix, V j is the potential feature vector of video j. The low-dimensional matrix decomposition method approximates the rating matrix R by multiplying the d-rank factors. The predicted rating of user i for video j is expressed as The square error between the predicted rating and the original rating is used as the loss function, and the loss function is minimized to approximate the rating matrix R. The loss function is
[0036] In the above formula, I ij is an indicator function, which equals 1 if user i rates item j and 0 otherwise. and are two regularization terms to prevent overfitting. Since each user's rating of a video will make a certain contribution to the video similarity, but each user's contribution is not exactly the same, users can be divided into active users and inactive users based on their activity. Active users refer to users who have a large number of video rating records, while inactive users refer to users who have only rated a few videos. Therefore, when calculating video similarity, the contributions of active and inactive users should be distinguished. User activity can be defined as:
[0037] In the above formula, |M(u)| represents the total number of ratings of user u. Therefore, the video similarity calculation method obtained by combining the user's activity coefficient with the modified cosine similarity is:
[0038] In the above formula, R ui represents the rating of user u on video i, R uj represents the rating of user u on video j, Represents the rating of user u. During matrix decomposition, a video-related regularization term that incorporates user activity is introduced to constrain the learning of the project's latent feature matrix. The formula for the video-related regularization constraint function that incorporates user activity is:
[0039] Users with the same interests and hobbies will influence each other, and user similarity can be calculated using the weighted Pearson correlation coefficient:
[0040] In the above formula, and Represents the average rating of users u and v, JCC uv The Jaccard correlation coefficient of the item that can affect the calculation of user similarity is the weight, and its calculation formula is as follows:
[0041] A user's rating of an item depends on the influence of neighboring users, and may also be influenced by the neighboring users' neighbors. However, neighboring users beyond a certain distance will no longer have an impact on the user and become unreliable. Therefore, a reliability value is introduced. Neighboring users with a reliability value greater than a certain value will have an impact on the user's item rating. The reliability value is calculated as follows:
[0042] In the above formula, d uv represents the trust distance, i.e., the number of users between user u and user v, d max Represents the maximum distance allowed between two users, ε is a correction parameter, which is a number greater than 0 and less than 1. The reliable nearest neighbor user is Near={v∈U|sim uv≥γ and C uv ≥δ},
[0043] During matrix decomposition, a reliable nearest neighbor regularization term is introduced to constrain the learning of the user's potential feature matrix. The reliable nearest neighbor regularization constraint function is:
[0044] By adding the video association regularization term that incorporates user activity and the reliable nearest neighbor regularization term, the final optimization loss function is: The stochastic gradient descent method is used to find the optimal solution and find the optimal latent feature matrix.
[0045] Step S3 of the present invention includes: transforming the user potential feature vector U u and the video latent feature vector V i As the input of the multi-layer perceptron, the multi-layer perceptron is shown in Figure 2, including the input layer L in , several hidden layers and output layers L that allow nonlinear neural structures out , input layer L in The output vector is: After processing by the first hidden layer, the output vector y1=ρ1(w1y0+a1), where w1 is the set of weights contained in the matrix between the input layer and the first hidden layer L1, a1 is the bias of the L1 layer, and ρ1 is the activation function. The activation function is So the hidden layer L k The output vector is y k =ρ k (w k (ρ k-1 (...ρ2(w2y1+a2)...))+a k ), where ρ k is the activation function of the neuron, w k is the weight matrix, a k is the deviation. The output layer L of the multi-layer perceptron out The output vector is y out =ρ out (w out y k +a out ).
[0046] Step S4 of the present invention includes: in the deep neural network structure, the single-layer perceptron is used as a merging layer, wherein the deep neural network structure is shown in FIG3 , and the prediction results of the multi-layer perceptron model are combined with the results of the double regularization matrix decomposition model in the merging layer, and the calculation formula is: The normalized cross entropy method is used to continuously optimize the proposed model through the following cost function, and its cost function is
[0047] In the above formula, O is the number of neurons in the merge layer. The cost function uses the gradient descent method to continuously optimize the model to obtain the final prediction score.
[0048] The embodiments of the present invention are described in detail above with reference to the accompanying drawings. However, the present invention is not limited to the above embodiments. Various changes can be made within the scope of knowledge possessed by ordinary technicians in this field without departing from the spirit of the present invention.
Claims
1. A video rating prediction method based on deep neural network and double regularization, used to improve the accuracy of recommended video rating prediction, characterized in that: The steps include: Step S1. Process the video comments, mine hidden information, and combine the hidden information matrix with the original user-video rating matrix to generate a new user-video rating matrix, and then proceed to step S2; Step S2. When decomposing the user-video rating matrix, a double regularization term is added to constrain the learning of the latent feature matrix, and then proceed to step S3; Step S3. The potential feature vector decomposed from the matrix is used as the input of the multi-layer perceptron, and the result predicted by the multi-layer perceptron model is obtained after being processed by the multi-layer perceptron, and then the process goes to step S4; Step S4. Combine the prediction results of the multilayer perceptron model with the results of matrix decomposition at the merging layer, use the normalized cross entropy method to optimize the model, and obtain the final prediction score.
2. The video rating prediction method based on deep neural network and double regularization according to claim 1, characterized in that: In step S1, the MILDA algorithm is proposed. The algorithm first uses the LDA model to mine the hidden information of related types in user video comments, generates a user type potential feature matrix LU and a video type potential feature matrix LV, and combines the user type potential feature matrix with the video type potential feature matrix to obtain a hidden information matrix L, whose calculation formula is: The hidden information matrix L is combined with the original user-video rating matrix R to generate a new user-video rating matrix The calculation formula is:
3. The video rating prediction method based on deep neural network and double regularization according to claim 1, characterized in that: In step S2, since each user's rating of the video will make a certain contribution to the video similarity, but each user's contribution is not exactly the same, users can be divided into active users and inactive users from the perspective of their activity. Active users refer to users who have a large number of rating records for videos, while inactive users refer to users who have only rated a few videos. Therefore, when calculating video similarity, the contributions of active users and inactive users should be distinguished. The activity of users can be defined as: In the above formula, |M(u)| represents the total number of ratings of user u. Therefore, the video similarity calculation method obtained by combining the user's activity coefficient with the modified cosine similarity is: In the above formula, R ui represents the rating of video i by user u, R uj represents the rating of video j by user u, Represents the rating of user u. When decomposing the matrix, the video association regularization term that incorporates user activity is introduced to constrain the learning of the project's latent feature matrix. At this time, the video association regularization constraint function formula that incorporates user activity is:
4. The video rating prediction method based on deep neural network and double regularization according to claim 1, characterized in that: In step S2, users with the same interests and hobbies will influence each other, and the user similarity can be calculated using the weighted Pearson correlation coefficient: In the above formula, and Represents the average rating of users u and v, JCC uv The Jaccard correlation coefficient of the item that can affect the calculation of user similarity is the weight, and its calculation formula is as follows: The user's rating of an item depends on the influence of neighboring users, and may also be affected by the neighboring users of the neighboring users. However, neighboring users beyond a certain distance will no longer have an impact on the user and become unreliable. Therefore, a reliability value is introduced. Neighboring users with a reliability value greater than a certain value will have an impact on the user's item rating. The reliability value is calculated as follows: In the above formula, d uv represents the trust distance, i.e., the number of users between user u and user v, d max represents the maximum distance allowed between two users, and ε is a correction parameter, which is a number greater than 0 and less than 1. The reliable nearest neighbor user is Near={v∈U|sim uv ≥γ and C uv ≥δ}, A reliable nearest neighbor regularization term is introduced during matrix decomposition to constrain the learning of the user's potential feature matrix. The reliable nearest neighbor regularization constraint function is:
5. The video rating prediction method based on deep neural network and double regularization according to claim 1, characterized in that: In step S3, the user potential feature vector and the video potential feature vector are used as inputs of a multilayer perceptron, wherein the deep neural network is composed of a multilayer perceptron and a single-layer perceptron, wherein the multilayer perceptron includes an input layer, a plurality of hidden layers that allow the nonlinearity of the neural structure, and an output layer, and the result of the multilayer perceptron model is obtained by processing the multilayer perceptron using the nonlinear characteristics of the hidden layer.
6. The video rating prediction method based on deep neural network and double regularization according to claim 1, characterized in that: In step S4, the single-layer perceptron is a merging layer in the deep neural network structure, and the prediction results of the multi-layer perceptron model are combined with the results of the double regularization matrix decomposition model in the merging layer. The calculation formula is: In the above formula, ρ m is the activation function, w m is the matrix weight set between the output layer and the merging layer, y out is the result of the output layer, U u is the user potential vector, V i is the video latent vector, a m The normalized cross entropy method is used to optimize the model for the bias term of the merging layer, and finally the predicted score is obtained.
Citation Information
Patent Citations
Weighted graph convolutional neural network score prediction model fusing multi-feature information
CN113807422A
Context sensing recommendation method based on deep neural network
CN114117191A
Double-regularization collaborative filtering recommendation method
CN114625980A
Video score prediction method based on deep neural network and double regularization
CN115905617A
Methods And Systems For Pushing Audiovisual Playlist Based On Text-Attentional Convolutional Neural Network
US20210350800A1
Cited By
Practical training course recommendation method and system based on big data analysis
CN122196270A
