Theme recommendation method, device and equipment and readable storage medium

Through the large generative language model and latent vector feature technology, combined with user behavior and tag system, it solves the problem of manual generation of topic recommendations that is labor-intensive and biased, achieves efficient and personalized topic recommendations, and improves the recommendation effect.

CN118797136APending Publication Date: 2024-10-18CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311694453.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-11
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In the existing technology, artificially generated topic recommendations consume a lot of manpower and material resources and are artificially biased, which affects the recommendation effect, especially when the number of videos and the richness of the content increase.

Method used

A large generative language model is used to generate candidate topics, and video content is associated with latent vector features and tag systems. User behavior and contextual information are combined for personalized ranking, reducing manual intervention and improving the automation and accuracy of topic recommendations.

Benefits of technology

It effectively avoids the influence of human factors in manual recommendation, improves the effect and efficiency of topic recommendation, and ensures the quality and user experience of topic recommendation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118797136A_ABST
    Figure CN118797136A_ABST
Patent Text Reader

Abstract

The invention discloses a theme recommendation method, device and equipment and a readable storage medium, relates to the technical field of communication, and aims to improve the theme recommendation effect. The method comprises the steps that a candidate topic set is obtained, and the candidate topic set comprises one or more candidate topics; obtaining candidate theme content corresponding to the candidate theme according to the candidate theme and a candidate recommended video corresponding to the candidate theme; sorting the candidate theme contents to obtain sorted candidate theme contents; and displaying the sorted candidate theme contents. According to the embodiment of the invention, the theme recommendation effect can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a topic recommendation method, device, equipment and readable storage medium. Background Art

[0002] Theme recommendation is a form of presentation that organizes at least one recommended content and recommends it to users. It generally includes two parts. The first part is the theme name, which is usually a sentence, such as "a legendary ancient costume love movie that can be salty or sweet"; the second part is the theme content. For example, the theme content in the video recommendation field is multiple videos, corresponding to the above theme name.

[0003] The common method in the prior art is to manually generate recommended topics, then professionals select the recommended content corresponding to the topic as the topic content, and finally present the topic and topic content combination to users. However, with the increase in the number of videos and the richness of video content, manually defining topics often requires a lot of manpower and material resources. At the same time, due to the familiarity and preference of the topic definer for the video, the manually defined topics inevitably have human bias, which affects the effect of topic recommendation. Summary of the invention

[0004] The embodiments of the present application provide a topic recommendation method, apparatus, device and readable storage medium to improve the effect of topic recommendation.

[0005] In a first aspect, an embodiment of the present application provides a topic recommendation method, comprising:

[0006] Acquire a candidate topic set, wherein the candidate topic set includes one or more candidate topics;

[0007] Obtaining candidate topic content corresponding to the candidate topic according to the candidate topic and the candidate recommended video corresponding to the candidate topic;

[0008] Sorting the candidate subject contents to obtain sorted candidate subject contents;

[0009] The ranked candidate topic contents are displayed.

[0010] Optionally, obtaining a candidate topic set includes:

[0011] Obtaining labels of the candidate topics to be generated;

[0012] According to the label, a prompt word is obtained;

[0013] The prompt is processed through a generative language model to obtain the candidate topic.

[0014] Optionally, obtaining a prompt word prompt according to the label includes:

[0015] Using the preposition, the label and the postposition, the prompt is obtained; or

[0016] The prompt is obtained according to the tag and topic list.

[0017] Optionally, obtaining a candidate topic set includes:

[0018] Obtaining labels of the candidate topics to be generated;

[0019] The labels are processed through a generative language big model to obtain the candidate topics, wherein the generative language big model is obtained by training an initial big model using a label and topic corpus set, and the label and topic corpus set includes labels of topic names to be generated and topics to be generated.

[0020] Optionally, the method further includes:

[0021] Post-process the candidate topics to obtain post-processed candidate topics.

[0022] Optionally, post-processing the candidate topics to obtain post-processed candidate topics includes:

[0023] Filtering the candidate topics to obtain filtered candidate topics;

[0024] The filtered candidate topics are normalized to obtain the post-processed candidate topics.

[0025] Optionally, obtaining candidate topic content corresponding to the candidate topic according to the candidate topic and the candidate recommended video corresponding to the candidate topic includes:

[0026] Determine candidate recommended videos corresponding to the candidate topics;

[0027] The candidate recommended videos are sorted to obtain candidate topic contents corresponding to the candidate topics, wherein the candidate topic contents include information of the candidate topics and candidate recommended videos corresponding to the candidate topics.

[0028] Optionally, determining the candidate recommended videos corresponding to the candidate topics includes:

[0029] Obtaining a first latent vector feature of the candidate topic;

[0030] Obtain a second latent vector feature of each candidate video in the candidate video set;

[0031] Selecting a candidate recommended video from the candidate video set according to a similarity score between the first latent vector feature and each of the second latent vector features;

[0032] Among them, the similarity score between the second latent vector feature of the candidate recommended video and the first latent vector feature is greater than a first threshold, or the similarity score between the second latent vector feature of the candidate recommended video and the first latent vector feature is N candidate videos with larger similarity scores, where N is an integer greater than or equal to 1.

[0033] Optionally, after obtaining the second latent vector feature of each candidate video in the candidate video set, the method further includes:

[0034] If the lengths of the first latent vector feature and the second latent vector feature are different, the first latent vector feature and the second latent vector feature are mapped to have the same length.

[0035] Optionally, determining the candidate recommended videos corresponding to the candidate topics includes:

[0036] Obtain structured tags and open tags for each candidate video in the candidate video set;

[0037] Obtain a tag set according to the structured tags and open tags of each candidate video;

[0038] Obtaining labels of the candidate topics;

[0039] The tags in the tag set are associated with the tags of the candidate topic, and the candidate video having the tag of the candidate topic is used as the candidate recommended video.

[0040] Optionally, the step of sorting the candidate recommended videos to obtain candidate topic contents corresponding to the candidate topics includes:

[0041] For a first target video, obtaining historical behavior characteristics of a user with respect to the first target video;

[0042] The candidate recommended videos of the candidate topics are sorted according to the historical behavior characteristics to obtain candidate topic contents corresponding to the candidate topics.

[0043] Optionally, the step of sorting the candidate subject contents to obtain sorted candidate subject contents includes:

[0044] Obtaining user behavior information, and obtaining the user's preference characteristics based on the behavior information;

[0045] Acquire context information of the user, and obtain context state features according to the context information;

[0046] Obtaining features of the candidate topic;

[0047] Obtaining a ranking feature of the candidate topics according to the preference feature, the context state feature, and the feature of the candidate topics;

[0048] The candidate topic contents of each candidate topic are sorted according to the sorting feature to obtain sorted candidate topic contents.

[0049] Optionally, obtaining the features of the candidate topic includes:

[0050] Obtaining labels of the candidate topics;

[0051] Obtaining a first latent vector feature of the candidate topic;

[0052] The feature of the candidate topic is obtained according to the label of the candidate topic and the first latent vector feature.

[0053] Optionally, the method further includes:

[0054] According to business requirements, the ranked candidate subject contents are post-processed to obtain post-processed candidate subject contents.

[0055] Optionally, post-processing the ranked candidate subject contents according to business requirements includes:

[0056] The ranking of the candidate topic content of the first candidate topic is set at the first place among the sorted candidate topic contents, and / or the information of the second target video is set at the first place among the information of the candidate recommended video corresponding to the first candidate topic;

[0057] Among them, the candidate recommended videos corresponding to the first candidate topic include the second target video currently being watched by the user, or, the candidate recommended videos corresponding to the first candidate topic include the second target video watched by the user, or, the candidate recommended videos corresponding to the first candidate topic include the second target video searched by the user, or, the first candidate topic has the highest correlation with the label of the second target video searched by the user.

[0058] Optionally, displaying the sorted candidate topic contents includes:

[0059] Obtain the exposure click rate of videos in different product forms that users have been exposed to within a preset historical time period;

[0060] According to the exposure click rate of the video, the exposure click rate of different product forms is obtained;

[0061] Obtaining the exposure click rate of the candidate topic;

[0062] For different product forms, the following process is repeated until all product forms are compared or the current compared object is a candidate topic with a determined ranking:

[0063] Compare the exposure click rate of the candidate topic with the exposure click rate of the first product form, wherein the first product form is the product form currently being compared;

[0064] If the exposure click-through rate of the candidate topic is greater than the exposure click-through rate of the first product form, the exposure position of the candidate topic content of the candidate topic is set before the exposure position of the first product form; if the exposure click-through rate of the candidate topic is less than or equal to the exposure click-through rate of the first product form, the exposure position of the candidate topic content of the candidate topic is set after the exposure position of the first product form.

[0065] In a second aspect, the embodiment of the present application further provides a topic recommendation device, including:

[0066] A first acquisition module is used to acquire a candidate topic set, wherein the candidate topic set includes one or more candidate topics;

[0067] A second acquisition module is used to obtain candidate topic content corresponding to the candidate topic according to the candidate topic and the candidate recommended video corresponding to the candidate topic;

[0068] A third acquisition module is used to sort the candidate subject contents to obtain sorted candidate subject contents;

[0069] The first display module is used to display the sorted candidate topic contents.

[0070] Optionally, the first acquisition module includes:

[0071] A first acquisition submodule is used to acquire the label of the candidate topic to be generated;

[0072] The second acquisition submodule is used to obtain a prompt word prompt according to the label;

[0073] The third acquisition submodule is used to process the prompt through a generative language model to obtain the candidate topic.

[0074] Optionally, the first acquisition module is further used to obtain the prompt using the preposition, the label and the postposition; or to obtain the prompt according to the label and the topic list.

[0075] Optionally, the first acquisition module includes:

[0076] A first acquisition submodule is used to acquire the label of the candidate topic to be generated;

[0077] The second acquisition submodule is used to process the label through a generative language large model to obtain the candidate topic, wherein the generative language large model is obtained by training an initial large model using a label and topic corpus set, and the label and topic corpus set includes labels of topic names to be generated and topics to be generated.

[0078] Optionally, the device further comprises:

[0079] The first processing module is used to post-process the candidate topics to obtain post-processed candidate topics.

[0080] Optionally, the first processing module is further used to:

[0081] Filtering the candidate topics to obtain filtered candidate topics;

[0082] The filtered candidate topics are normalized to obtain the post-processed candidate topics.

[0083] Optionally, the second acquisition module includes:

[0084] A first determination submodule is used to determine the candidate recommended videos corresponding to the candidate topics;

[0085] The first acquisition submodule is used to sort the candidate recommended videos to obtain candidate topic contents corresponding to the candidate topics, wherein the candidate topic contents include information of the candidate topics and candidate recommended videos corresponding to the candidate topics.

[0086] Optionally, the first determining submodule is further used for:

[0087] Obtaining a first latent vector feature of the candidate topic;

[0088] Obtain a second latent vector feature of each candidate video in the candidate video set;

[0089] Selecting a candidate recommended video from the candidate video set according to a similarity score between the first latent vector feature and each of the second latent vector features;

[0090] Among them, the similarity score between the second latent vector feature of the candidate recommended video and the first latent vector feature is greater than a first threshold, or the similarity score between the second latent vector feature of the candidate recommended video and the first latent vector feature is N candidate videos with larger similarity scores, where N is an integer greater than or equal to 1.

[0091] Optionally, the device further comprises:

[0092] The second processing module is configured to map the first latent vector feature and the second latent vector feature to have the same length if the lengths of the first latent vector feature and the second latent vector feature are different.

[0093] Optionally, the first determining submodule is further used for:

[0094] Obtain structured tags and open tags for each candidate video in the candidate video set;

[0095] Obtain a tag set according to the structured tags and open tags of each candidate video;

[0096] Obtaining labels of the candidate topics;

[0097] The tags in the tag set are associated with the tags of the candidate topic, and the candidate video having the tag of the candidate topic is used as the candidate recommended video.

[0098] Optionally, the first acquisition submodule is further used to:

[0099] For a first target video, obtaining historical behavior characteristics of a user with respect to the first target video;

[0100] The candidate recommended videos of the candidate topics are sorted according to the historical behavior characteristics to obtain candidate topic contents corresponding to the candidate topics.

[0101] Optionally, the third acquisition module includes:

[0102] A first acquisition submodule is used to acquire user behavior information and obtain the user's preference characteristics according to the behavior information;

[0103] A second acquisition submodule is used to acquire the context information of the user and obtain the context state feature according to the context information;

[0104] A third acquisition submodule is used to acquire the characteristics of the candidate topic;

[0105] A fourth acquisition submodule, configured to obtain a ranking feature of the candidate topics according to the preference feature, the context state feature, and the feature of the candidate topics;

[0106] The fifth acquisition submodule is used to sort the candidate topic contents of each candidate topic according to the sorting feature to obtain sorted candidate topic contents.

[0107] Optionally, the third acquisition submodule is further used for:

[0108] Obtaining labels of the candidate topics;

[0109] Obtaining a first latent vector feature of the candidate topic;

[0110] The feature of the candidate topic is obtained according to the label of the candidate topic and the first latent vector feature.

[0111] Optionally, the device further comprises:

[0112] The third processing module is used to post-process the sorted candidate topic contents according to business requirements to obtain post-processed candidate topic contents.

[0113] Optionally, the third processing module is further used for:

[0114] The ranking of the candidate topic content of the first candidate topic is set at the first place among the sorted candidate topic contents, and / or the information of the second target video is set at the first place among the information of the candidate recommended video corresponding to the first candidate topic;

[0115] Among them, the candidate recommended videos corresponding to the first candidate topic include the second target video currently being watched by the user, or, the candidate recommended videos corresponding to the first candidate topic include the second target video watched by the user, or, the candidate recommended videos corresponding to the first candidate topic include the second target video searched by the user, or, the first candidate topic has the highest correlation with the label of the second target video searched by the user.

[0116] Optionally, the display module is also used for:

[0117] Obtain the exposure click rate of videos in different product forms that users have been exposed to within a preset historical time period;

[0118] According to the exposure click rate of the video, the exposure click rate of different product forms is obtained;

[0119] Obtaining the exposure click rate of the candidate topic;

[0120] For different product forms, the following process is repeated until all product forms are compared or the current compared object is a candidate topic with a determined ranking:

[0121] Compare the exposure click rate of the candidate topic with the exposure click rate of the first product form, wherein the first product form is the product form currently being compared;

[0122] If the exposure click-through rate of the candidate topic is greater than the exposure click-through rate of the first product form, the exposure position of the candidate topic content of the candidate topic is set before the exposure position of the first product form; if the exposure click-through rate of the candidate topic is less than or equal to the exposure click-through rate of the first product form, the exposure position of the candidate topic content of the candidate topic is set after the exposure position of the first product form.

[0123] In a third aspect, an embodiment of the present application provides a topic recommendation device, including: a processor and a transceiver;

[0124] Wherein, the processor is used for:

[0125] Acquire a candidate topic set, wherein the candidate topic set includes one or more candidate topics;

[0126] Obtaining candidate topic content corresponding to the candidate topic according to the candidate topic and the candidate recommended video corresponding to the candidate topic;

[0127] Sorting the candidate subject contents to obtain sorted candidate subject contents;

[0128] The ranked candidate topic contents are displayed.

[0129] Optionally, the processor is further configured to:

[0130] Obtaining labels of the candidate topics to be generated;

[0131] According to the label, a prompt word prompt is obtained;

[0132] The prompt is processed through a generative language model to obtain the candidate topic.

[0133] Optionally, the processor is further configured to:

[0134] Using the preposition, the label and the postposition, the prompt is obtained; or

[0135] The prompt is obtained according to the tag and topic list.

[0136] Optionally, the processor is further configured to:

[0137] Obtaining labels of the candidate topics to be generated;

[0138] The labels are processed through a generative language big model to obtain the candidate topics, wherein the generative language big model is obtained by training an initial big model using a label and topic corpus set, and the label and topic corpus set includes labels of topic names to be generated and topics to be generated.

[0139] Optionally, the processor is further configured to:

[0140] Post-process the candidate topics to obtain post-processed candidate topics.

[0141] Optionally, the processor is further configured to:

[0142] Filtering the candidate topics to obtain filtered candidate topics;

[0143] The filtered candidate topics are normalized to obtain the post-processed candidate topics.

[0144] Optionally, the processor is further configured to:

[0145] Determine candidate recommended videos corresponding to the candidate topics;

[0146] The candidate recommended videos are sorted to obtain candidate topic contents corresponding to the candidate topics, wherein the candidate topic contents include information of the candidate topics and candidate recommended videos corresponding to the candidate topics.

[0147] Optionally, the processor is further configured to:

[0148] Obtaining a first latent vector feature of the candidate topic;

[0149] Obtain a second latent vector feature of each candidate video in the candidate video set;

[0150] Selecting a candidate recommended video from the candidate video set according to a similarity score between the first latent vector feature and each of the second latent vector features;

[0151] Among them, the similarity score between the second latent vector feature of the candidate recommended video and the first latent vector feature is greater than a first threshold, or the similarity score between the second latent vector feature of the candidate recommended video and the first latent vector feature is N candidate videos with larger similarity scores, where N is an integer greater than or equal to 1.

[0152] Optionally, the processor is further configured to:

[0153] If the lengths of the first latent vector feature and the second latent vector feature are different, the first latent vector feature and the second latent vector feature are mapped to have the same length.

[0154] Optionally, the processor is further configured to:

[0155] Obtain structured tags and open tags for each candidate video in the candidate video set;

[0156] Obtain a tag set according to the structured tags and open tags of each candidate video;

[0157] Obtaining labels of the candidate topics;

[0158] The tags in the tag set are associated with the tags of the candidate topic, and the candidate video having the tag of the candidate topic is used as the candidate recommended video.

[0159] Optionally, the processor is further configured to:

[0160] For a first target video, obtaining historical behavior characteristics of a user with respect to the first target video;

[0161] The candidate recommended videos of the candidate topics are sorted according to the historical behavior characteristics to obtain candidate topic contents corresponding to the candidate topics.

[0162] Optionally, the processor is further configured to:

[0163] Obtaining user behavior information, and obtaining the user's preference characteristics based on the behavior information;

[0164] Acquire context information of the user, and obtain context state features according to the context information;

[0165] Obtaining features of the candidate topic;

[0166] Obtaining a ranking feature of the candidate topics according to the preference feature, the context state feature, and the feature of the candidate topics;

[0167] The candidate topic contents of each candidate topic are sorted according to the sorting feature to obtain sorted candidate topic contents.

[0168] Optionally, the processor is further configured to:

[0169] Obtaining labels of the candidate topics;

[0170] Obtaining a first latent vector feature of the candidate topic;

[0171] The feature of the candidate topic is obtained according to the label of the candidate topic and the first latent vector feature.

[0172] Optionally, the processor is further configured to:

[0173] According to business requirements, the ranked candidate subject contents are post-processed to obtain post-processed candidate subject contents.

[0174] Optionally, the processor is further configured to:

[0175] The ranking of the candidate topic content of the first candidate topic is set at the first place among the sorted candidate topic contents, and / or the information of the second target video is set at the first place among the information of the candidate recommended video corresponding to the first candidate topic;

[0176] Among them, the candidate recommended videos corresponding to the first candidate topic include the second target video currently being watched by the user, or, the candidate recommended videos corresponding to the first candidate topic include the second target video watched by the user, or, the candidate recommended videos corresponding to the first candidate topic include the second target video searched by the user, or, the first candidate topic has the highest correlation with the label of the second target video searched by the user.

[0177] Optionally, the processor is further configured to:

[0178] Obtain the exposure click rate of videos in different product forms that users have been exposed to within a preset historical time period;

[0179] According to the exposure click rate of the video, the exposure click rate of different product forms is obtained;

[0180] Obtaining the exposure click rate of the candidate topic;

[0181] For different product forms, the following process is repeated until all product forms are compared or the current compared object is a candidate topic with a determined ranking:

[0182] Compare the exposure click rate of the candidate topic with the exposure click rate of the first product form, wherein the first product form is the product form currently being compared;

[0183] If the exposure click-through rate of the candidate topic is greater than the exposure click-through rate of the first product form, the exposure position of the candidate topic content of the candidate topic is set before the exposure position of the first product form; if the exposure click-through rate of the candidate topic is less than or equal to the exposure click-through rate of the first product form, the exposure position of the candidate topic content of the candidate topic is set after the exposure position of the first product form.

[0184] In a fourth aspect, an embodiment of the present application further provides a communication device, comprising: a memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the topic recommendation method as described above are implemented.

[0185] In a fifth aspect, an embodiment of the present application further provides a readable storage medium, on which a program is stored, and when the program is executed by a processor, the steps in the topic recommendation method as described above are implemented.

[0186] In the embodiment of the present application, according to the candidate topic and the candidate recommended video corresponding to the candidate topic, the candidate topic content corresponding to the candidate topic is obtained, and then the candidate topic content is sorted to obtain the sorted candidate topic content, and the sorted candidate topic content is displayed. It can be seen that the scheme of the embodiment of the present application can avoid the influence of human factors in the manual recommendation of topics, thereby improving the effect of topic recommendation. BRIEF DESCRIPTION OF THE DRAWINGS

[0187] Figure 1 This is one of the flow charts of the topic recommendation method provided in the embodiment of the present application;

[0188] Figure 2 This is one of the structural diagrams of the topic recommendation device provided in the embodiment of the present application;

[0189] Figure 3 This is the second structural diagram of the topic recommendation device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0190] In the embodiments of the present application, the term "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0191] In the embodiments of the present application, the term "plurality" refers to two or more than two, and other quantifiers are similar.

[0192] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0193] In the embodiment of the present application, more viewing options are provided to users by associating them with the topics they are interested in. In order to solve the problems of high cost and high subjectivity of manually editing topics, and the problem that the topic method based on video content is limited by video frame extraction and text segment recognition, the embodiment of the present application adopts a topic generation solution based on a generative language large model, and associates the topic name with the video to be recommended through a structured / developed tag system, and combines user behavior interests to achieve an improvement in the topic recommendation effect in the field of video recommendation.

[0194] Among them, firstly, a set of candidate topics is obtained based on a generative language large model; then, based on the tag system, the generated candidate topics and the recommended video content are associated to obtain a list of recommended videos corresponding to a candidate topic, and personalized sorting of recommended videos within the topic is implemented based on user interests, behavior information, etc., so as to obtain candidate topic content; next, the candidate topics are sorted based on user historical information and current viewing content, and the target number of topics and the recommended content list corresponding to the topic are intercepted from the sorted multiple candidate topics according to business needs as the topic recommendation results; finally, the topic recommendation results and other recommended content are mixed to obtain the global optimal display effect of the user's viewing page. The scheme of the embodiment of the present application is described in detail below.

[0195] See also Figure 1 , Figure 1 is a flow chart of the topic recommendation method provided in the embodiment of the present application, such as Figure 1 As shown, the following steps are included:

[0196] Step 101: Obtain a candidate topic set, wherein the candidate topic set includes one or more candidate topics.

[0197] The generative language model has certain advantages in text generation. The text it generates is rich in content and diverse in style, and it is beginning to play an important role in more and more fields. In the embodiment of the present application, a candidate topic set can be generated based on the generative language model and business-related post-processing logic can be designed to obtain multiple topic names, i.e., candidate topics.

[0198] The first method is to call a general generative language model through prompt, input the prompt into the model, and the model generates multiple topic names based on the input prompt to obtain a set of candidate topics. At this time, the label + prompt word of the topic to be generated can be used as the prompt, and the prompt can be used as the input of the model, so that the generative language model generates topic names for a certain category / several categories of labels, or the introduction content of the target video can be input into the model as a prompt to obtain the topic name for a specific video / category; the second method is to train the big model or fine-tune the existing big model to obtain a big model suitable for generating topic names in video recommendation scenarios, and generate topics based on this model.

[0199] Specifically, in the embodiment of the present application, there are at least two ways to obtain the candidate topic set:

[0200] Method 1: obtain a label of the candidate topic to be generated; obtain a prompt according to the label; and process the prompt through a generative language model to obtain the candidate topic.

[0201] When obtaining the prompt word prompt according to the label, the prompt word can be obtained in at least two ways:

[0202] 1. Zero-shot method: The prompt is obtained by using the preposition, the label and the postposition.

[0203] The prompt format is: preposition + target label (any one of the labels) + postposition. The preposition and postposition are the format descriptions input to the big model. For example, the preposition can be "according to the user's corresponding" and the postposition can be "this label generates a title to describe the recommendation list generated for the user, not more than 10 words".

[0204] 2. Few-shot method: The prompt is obtained according to the tag and subject list. That is, the prompt format is a collection of some tags and subject list names, as shown below:

[0205] Tags: Adventure

[0206] Theme list: [The hottest adventure movies, recommended #high-scoring martial arts movies worth watching #hot police and gangster movies to watch once #follow Princess Elsa on an adventure #funny animation adventures #behemoths attack, escape from danger #hot-blooded action movie popularity list #novel-adapted domestic adventure movie popularity list]

[0207] Tags: Love

[0208] Topic list: [Favorite youth pain literature #Beautiful youth in popular movies #Love movie series]

[0209] Tags: War

[0210] Topic list: [Hot recommendations for popular war movies #Highly praised war movies #Watch movies to experience war and peace #Collection of shocking war movies]

[0211] Tags: Science Fiction

[0212] Topic list: [New hot science fiction movies are coming#Classic! **APP high-scoring science fiction movies#Movies that science fiction fans can't miss]

[0213] Tags: suspense

[0214] List of topics:".

[0215] Method 2: Obtain the label of the candidate topic to be generated, and process the label through a generative language big model to obtain the candidate topic, wherein the generative language big model is obtained by training an initial big model using a label and topic corpus set, and the label and topic corpus set includes the label of the topic name to be generated and the topic to be generated.

[0216] In this way, a developed general large model or a large model trained using a general corpus can be obtained as a basic model, that is, an initial large model. Afterwards, a label-topic corpus set can be collected, wherein each corpus in the corpus set includes two parts: a label of the topic name to be generated and a list of topics to be generated. For example, the label of the topic name to be generated is "suspense", and the list of topics to be generated is "[the truth behind the mysterious event is revealed # fascinating suspense reasoning story # amazing suspense film # exciting suspense film recommendation]". Then, the collected corpus set is used to train the above basic model to obtain a fine-tuned generative language large model. Here, the generative language large model has the ability to generate a topic list based on labels. Therefore, the label of the candidate topic to be generated can be used as the input of the model to obtain the candidate topic.

[0217] Optionally, in the embodiment of the present application, in order to ensure the quality of the generated candidate topics, the generated candidate topics may be post-processed to obtain the post-processed candidate topics. The post-processing here includes filtering, normalization, and the like.

[0218] Specifically, the candidate topics may be filtered to obtain filtered candidate topics, and the filtered candidate topics may be normalized to obtain the post-processed candidate topics. Then, the subsequent process of the embodiment of the present application may be based on the processing of the post-processed candidate topics.

[0219] Among them, the filtering process may include the following methods:

[0220] 1. Filter the generated candidate topic set according to the preset blacklist, and delete the candidate topics that hit the blacklist;

[0221] 2. Pre-train a language model to determine whether the semantics of the text corresponding to the candidate topic is complete, and delete the candidate topics with incomplete semantics;

[0222] 3. Set a business rule set according to product business requirements, and filter the topic names in the candidate topic set that do not meet the business rules. For example, the business rule can be that the topic name cannot contain English letters, and the last character of the topic name cannot be any symbol other than a period, exclamation mark, or question mark.

[0223] It should be noted that one or more of the above-mentioned filtering processing methods can be selected for execution, and when multiple methods are selected for execution, there is no strict order of execution between the various methods.

[0224] Among them, the filtered candidate topics are normalized, including normalization of uppercase and lowercase numbers, normalization of high-similarity topic names, etc.

[0225] The method of generating candidate topics based on a generative big model and coordinating business-related post-processing solves the problems of high labor costs and poor controllability of methods such as manually editing topic names and extracting text from videos as topic names, as well as the problem of low quality of generated content that may be caused by big models.

[0226] Step 102: Obtain candidate topic content corresponding to the candidate topic based on the candidate topic and the candidate recommended video corresponding to the candidate topic.

[0227] In this step, the candidate recommended videos corresponding to the candidate topic can be determined, and the candidate recommended videos can be sorted to obtain the candidate topic content corresponding to the candidate topic, wherein the candidate topic content includes the candidate topic and the information of the candidate recommended videos corresponding to the candidate topic. The information of the candidate recommended videos corresponding to the candidate topic can be embodied in the form of a candidate recommended video list, etc. The specific process is described in detail below.

[0228] Step 1021: Determine the candidate recommended videos corresponding to the candidate topics.

[0229] In this step, candidate recommendation videos may be determined in at least two ways.

[0230] Method 1: latent vector-based method: a deep model is used to encode the generated candidate topics into high-dimensional latent vectors (the input of the model is text, and the output is the vector representation of the text. For example, the model can be a BERT (Bidirectional Encoder Representations from Transformers) model), and another deep model is used to encode the candidate videos into high-dimensional latent vectors (the input of the model is video, and the output is the vector representation of the video. For example, the model can be a VIT (vision transformer) model). Then, based on the vector similarity, a fixed number of videos or videos with a similarity threshold greater than a given threshold are selected as recommended videos for the candidate topics.

[0231] Specifically, this approach may include:

[0232] S1. Obtain a first latent vector feature of the candidate topic.

[0233] In this step, a deep model is trained using a text classification / text generation task. The input of the deep model is a text string, and the output is the classification label or target generated text corresponding to the task. The purpose of this step is to obtain the hidden feature representation of the input text near the output layer in the deep model. If a text classification task model is used, the output of a layer before the softmax classification layer can be used as the high-dimensional hidden vector representation of the input text; if a text generation task model is used to train the model, the output of a layer before the generated result can be used as the high-dimensional hidden vector representation of the input text, that is, the first hidden vector feature e top ic.

[0234] This step can also use an open source pre-trained model, such as the BERT Chinese model. The input of the model is the candidate topic, and the fusion result of one or several layers before the output layer of the model is taken as the high-dimensional latent vector representation of the input text, that is, the first latent vector feature e topic .

[0235] S2. Obtain the second latent vector feature of each candidate video in the candidate video set.

[0236] The deep model is trained using the video classification / video description task. The input of the model is a complete candidate video, and the output is the classification label or video description text corresponding to the task. The purpose of this step is to obtain the hidden layer feature representation of the input video near the output layer in the deep model, that is, the second latent vector feature.

[0237] This step can also use an open source pre-trained model, such as the VIT model. The model inputs a candidate video and takes the fusion result of one or several layers before the output layer in the model as the high-dimensional latent vector representation of the input video, that is, the second latent vector feature.

[0238] For example, for the candidate video set V[v1,v2,...,v N ] in each video v i , i = 1, 2, ..., N, use S2 to obtain the latent vector features of the video Then for V, we can get the latent vector feature representation of the candidate video set:

[0239] S3. Select a candidate recommended video from the candidate video set according to a similarity score between the first latent vector feature and each of the second latent vector features.

[0240] Among them, the similarity score between the second latent vector feature of the candidate recommended video and the first latent vector feature is greater than a first threshold, or the similarity score between the second latent vector feature of the candidate recommended video and the first latent vector feature is N candidate videos with larger similarity scores, where N is an integer greater than or equal to 1.

[0241] The first threshold can be set as needed. The similarity scores are N candidate videos with larger similarity scores, for example, the first N candidate videos when they are sorted in descending order according to the similarity scores; or the last N candidate videos when they are sorted in descending order according to the similarity scores.

[0242] The e obtained in S1 topic and E V Each of Calculate the cosine similarity between the two and obtain the similarity score list S[s i ,s2,s3,...,s N ], where s i is the latent vector feature representation e of the candidate topic topic and the latent vector feature representation of the i-th candidate video The similarity score of .

[0243] The similarity score list S is sorted, and a fixed number of candidate videos corresponding to similarity scores are selected from high to low according to business needs as candidate recommended videos corresponding to candidate topics, or the similarity threshold set by the business is used to cut off the videos corresponding to the similarity scores greater than the threshold, and the videos corresponding to the similarity scores are selected as candidate recommended videos corresponding to the candidate topics.

[0244] For each candidate topic, the above process can be repeated to obtain the candidate recommended videos corresponding to each candidate topic.

[0245] Optionally, in an embodiment of the present application, in order to further improve the efficiency of obtaining candidate recommended videos, after step S2, if it is determined that the lengths of the first latent vector feature and the second latent vector feature are different, the first latent vector feature and the second latent vector feature can be mapped to have the same length.

[0246] For example, here the first latent vector feature e topic and E V Each of Mapped to the same length. Here, neural networks can be used for dimensionality reduction or dimensionality increase. Assume that e topic The length is L topic , The length is if We can train a single-layer neural network As input, the output vector length is L topic of As a new latent vector feature representation of the video, Replace E V In At this time, the single-layer neural network plays the role of a dimensional model; in addition, a single-layer neural network can also be trained to convert e topic As input, the output vector length is of As a new latent vector feature representation of the video, Replace e topic , at this time, the single-layer neural network plays the role of a dimensionality reduction model.

[0247] In addition to using neural networks as a dimensionality increase / reduction model, other dimensionality reduction algorithm models such as PCA (Principal Component Analysis) / FM (Factorization Machine) can also be used to complete this step. topic Corresponding to multiple Considering the implementation cost, you can choose to topic The way to process. The same approach applies to the time.

[0248] After mapping the first latent vector feature and the second latent vector feature to have the same length, the above step S3 can be based on the processed e topic and Calculate the similarity.

[0249] Method 2, tag-based method: In the field of video recommendation, structured tags or open tags are often used to represent the main content of a video. In the embodiments of this application, a deep model can be used to assign corresponding tags to the generated themes, and the theme names and video content can be associated based on the tags. The video content corresponding to the theme name can be obtained through tag recall.

[0250] This method may include:

[0251] S1. Obtain the structured tags and open tags of each candidate video in the candidate video set.

[0252] S2. Obtain a tag set according to the structured tags and open tags of each candidate video.

[0253] Here, the structured tags and open tags of each candidate video are obtained, and after merging and removing duplicates, they are used as the complete tag set T[t1, t2, t3,..., t K , where t i is the i-th tag. The tags in T are orthogonal to each other and do not have an inclusion or being-included relationship. K is an integer greater than or equal to 1.

[0254] S3. Obtain the tags of the candidate theme.

[0255] Here, a text classification deep model can be used to assign k tags to each candidate theme in the candidate theme set generated by the generative language large model, where k < K. The output space of the text classification deep model is the complete tag set T constructed in the previous step, and the value of k is determined manually based on business requirements.

[0256] S4. Associate the tags in the tag set with the tags of the candidate theme, and use the candidate videos with the tags of the candidate theme as the candidate recommended videos.

[0257] Through tag recall, the tags in the tag set are associated with the tags of the candidate theme. For each candidate theme in the candidate theme set, it may correspond to multiple tags. Then, the videos with these tags can be found from the video database and their union is taken as the candidate recommended video set corresponding to the current candidate theme.

[0258] For each candidate theme, the above process can be executed to obtain the candidate recommended video set corresponding to each candidate theme.

[0259] Step 1022. Sort the candidate recommended videos to obtain the candidate theme content corresponding to the candidate theme. This process may include:

[0260] S1. For a first target video, obtain historical behavior characteristics of a user with respect to the first target video.

[0261] Here, the user u’s responses to the first target video m within a period of time can be collected. i The user's click, play, favorite, exit and other behavior data can be collected. Through the collected data, the user's preference characteristics for different video contents can be extracted. The user's behavior on a specific video at different times can reflect the user's interest in the video. The first target video can be any video that the user has operated, including but not limited to click and watch.

[0262] Therefore, here, based on the user u's click and watch behavior for any video m i Design click feature c[c i_n ,c i_d ], play feature p[p i_n ,p i_l , p i_d ], collection features r[r i_n ,r i_d ], exit feature o[o i_n ,o i_d ], where c i_n Indicates the number of clicks, c i_d Indicates the time interval between the click behavior and the current time, p i_n Indicates the number of times played, p i_l Indicates the playback time, p i_d Indicates the time interval between the playback behavior and the current time, r i_n Indicates the number of collections, r i_d Indicates the time interval between the collection behavior time and the current time, o i_n Indicates the number of exits, o i_d Indicates the time interval between the exit behavior and the current time. Connect c, p, r, and o as the user u's response to the video content m i The historical behavior characteristics F = [c, p, r, 0] = [c i_n ,c i_d ,p i_n ,p i_l ,p i_d ,r i_n ,r i_d ,o i_n ,o i_d ].

[0263] Since a user may have actions on multiple videos, the above method can be used to obtain historical behavior features for each video with actions. These behavior features contain information about the user's interest in a specific video.

[0264] S2. Sort the candidate recommended videos of the candidate topics according to the historical behavior characteristics to obtain candidate topic content corresponding to the candidate topics.

[0265] After obtaining the historical behavior characteristics of users on videos, the ranking model can be used to rank multiple candidate recommended videos corresponding to each candidate topic.

[0266] The input of the ranking model consists of two parts. The first part is the description features of any video among the multiple candidate recommended videos corresponding to the candidate topic, and the second part is the user's historical behavior features obtained above that contain user interests. When training the ranking model, the positive samples of the model are videos that users have clicked and watched, and the negative samples are videos that users have been exposed to but have not clicked or watched.

[0267] Through the above-mentioned sorting model, multiple candidate recommended videos corresponding to each candidate topic are sorted. Because the sorting model uses behavioral features that contain users' personalized interests during training, the more popular the video is, the higher the ranking position will be. Therefore, the sorted results will be in line with the users' personalized interests and the personalized candidate videos within the topic will be sorted.

[0268] For each candidate topic, the above process may be performed to obtain the ranking of the candidate recommended videos corresponding to each candidate topic, thereby forming the candidate topic content corresponding to each candidate topic.

[0269] Step 103: sort the candidate subject contents to obtain sorted candidate subject contents.

[0270] From the perspective of the display effect to the user, the recommended topic may appear on the search / recommendation list page, or on the detail page or the end page of the viewing, or other pages with richer information. At this time, which topic is displayed to the user first should be related to the video content that the user wants to watch, is going to watch next, is watching, or has watched. Therefore, in this step, the ranking of candidate topics is performed by combining user behavior information and context information, which may include:

[0271] S1. Obtaining user behavior information, and obtaining the user's preference characteristics based on the behavior information.

[0272] Among them, user behavior information includes user history, recent pursuit, current viewing, user interest in video content, user search, click, play, favorite, share, etc. These behaviors indicate the user's preference for video channels, types, starring actors, directors, IP addresses, etc. Extract user preference features from the collected user preference information preferThe principle of the method for extracting the user preference feature may refer to the principle of extracting the user historical behavior feature in S1 in step 1022 .

[0273] S2. Acquire context information of the user, and obtain context state features according to the context information.

[0274] Among them, the context information includes the content displayed on the user viewing interface, the content the user is watching / just finished watching, content information such as clicks / views / playback completion, and user status information such as the user's location, viewing time, etc., which represent the user's current context status information.

[0275] Extract context state features f from context state information context Context information includes the user's location characteristics (expressed by the province and city code of the city where the user is located [i 省份 ,i 城市 ]), viewing time feature (take the hour when the viewing behavior occurs), user is watching, just finished watching, clicked, watched, and played back features (using the labels corresponding to the videos being watched, just finished watching, clicked, watched, and played back [t 正在看 , t 刚看完 , t 点击 , t 观看 , t 播放完成 ]. Then, f context =[i 省份 ,i 城市 ,h,t 正在看 , t 刚看完 , t 点击 , t 观看 , t 播放完成 ].

[0276] S3. Obtain features of the candidate topic.

[0277] The characteristics of the candidate topic may include: the label characteristics f corresponding to the candidate topic topic_tag The extraction method can refer to the method of obtaining the label of the candidate topic in the second method in the aforementioned step 1021; the latent vector feature f corresponding to the candidate topic topic_vec The extraction method of can refer to the extraction method of the first latent vector feature mentioned above.

[0278] f topic_vec and f topic_tag Connect them to get the feature f of the candidate topic topic =[f topic_tag , f topic_vec ].

[0279] S4. Obtaining ranking features of the candidate topics according to the preference features, the context state features, and the features of the candidate topics.

[0280] The preference feature, the context state feature and the feature of the candidate topic are connected to obtain the ranking feature of the candidate topic:

[0281] f=[f prefer , f context , f topic ]

[0282] S5. Sort the candidate topic contents of each candidate topic according to the sorting feature to obtain sorted candidate topic contents.

[0283] Here, the ranking model is used for ranking. Since the ranking model uses user behavior information, context information, and characteristics of candidate topics, the ranking model has the ability to sort topics based on user information. In addition, after ranking, a target number of candidate topics can be intercepted as the final topics displayed to the user. The target number can be set as needed.

[0284] Optionally, in an embodiment of the present application, the sorted candidate topic contents may be post-processed according to business needs to obtain post-processed candidate topic contents, thereby making the topic recommendation more interpretable.

[0285] Specifically, in this step, the ranking of the candidate topic content of the first candidate topic is set at the first place among the sorted candidate topic contents, and / or the information of the second target video is set at the first place among the information of the candidate recommended video corresponding to the first candidate topic;

[0286] Among them, the candidate recommended videos corresponding to the first candidate topic include the second target video currently being watched by the user, or, the candidate recommended videos corresponding to the first candidate topic include the second target video watched by the user, or, the candidate recommended videos corresponding to the first candidate topic include the second target video searched by the user, or, the first candidate topic has the highest correlation with the label of the second target video searched by the user.

[0287] For example, post-processing of the topic recommendation of the video the user is watching: from multiple candidate topics, find the target candidate recommended video list that includes the video the current user is watching in the candidate recommended video list, and advance the ranking of the first candidate topic in the target candidate recommended video list to the first place among all candidate topics, and at the same time advance the video the user is watching to the first place in the target recommended video list; if there are multiple candidate topics whose recommended video lists all include the video the user is watching, then keep the relative order of the candidate topics unchanged, and only advance the first candidate topic that meets the conditions.

[0288] For example, post-processing of topic recommendation of videos watched by users: from multiple candidate topics, find the target candidate recommended video list that includes the videos watched by the current user in the candidate recommended video list, and advance the ranking of the first candidate topic in the target candidate recommended video list to the first place among all candidate topics, and at the same time, advance the ranking of the videos watched by the user to the first place in the target candidate recommended video list; if the candidate recommended video lists of multiple candidate topics all include the videos watched by the user, then keep the relative order of the topics unchanged, and only advance the ranking of the first candidate topic that meets the conditions.

[0289] For example, post-processing of user search behavior topic recommendation: If the user has a search behavior on the large screen page, the search behavior includes searching for video names and searching for tags. If the user searches for a video name, the candidate topic including the searched video will be advanced to the first place, and the video searched by the user will be moved to the first place in the candidate recommended video list corresponding to the topic; if the user searches for a tag, the candidate topic with the highest correlation with the tag will be advanced to the first place, and the candidate recommended video list corresponding to the topic will not be processed.

[0290] In the above manner, the candidate subject ranked first is the subject that best matches the user's request.

[0291] After the above post-processing, the subsequent process can be based on the sorted candidate topic content after post-processing.

[0292] Step 104: display the sorted candidate topic contents.

[0293] The user-side screen often needs to display a variety of information, such as live broadcast, on-demand, themes, advertisements, filter tags, new film recommendations, and other information on a large TV screen. How to arrange this information to maximize the effect of the entire recommendation page is a problem to be solved. In this step, a sorting method is proposed to fix the relative position of the content that the user is most familiar with, and insert the new display form of theme recommendation from the bottom to the top into the content list with the determined relative position, so as to present a new product form to the user without affecting the user's viewing habits and experience as much as possible, thereby improving the recommendation effect of the entire page.

[0294] Specifically, the following process may be included:

[0295] S1. Obtain the exposure click rate of videos in different product forms exposed by users within a preset historical time period.

[0296] The historical time period can be selected arbitrarily. Here, the video collection exposed in the product form category displayed on the user's watch page can be counted. The product form category can include live broadcast, on-demand, new film recommendation, etc.

[0297] Statistics on the exposure click rate of users' video content in different product forms in the past period of time vi , vi represents the i-th video. If the same video is exposed in different product forms, the exposure click rate is the maximum exposure click rate in different product forms. If a video such as "A" appears in the exposure position of live broadcast, on-demand and new film recommendation at the same time, then:

[0298] ctr A =max(ctr 直播中的A ,ctr 点播中的A ,ctr 新片推荐中的A ).

[0299] S2. According to the exposure click rate of the video, the exposure click rate of different product forms is obtained.

[0300] The average of the exposure click-through rates of all videos within a certain product form is taken as the exposure click-through rate of the product form.

[0301] S3. Obtain the exposure click rate of the candidate topic.

[0302] For each candidate topic, calculate the exposure click rate ctr of the candidate topic topic_i , calculated as:

[0303] The average exposure click rate of the recommended videos that can be displayed on the first screen of the theme recommendation large screen is expressed as Among them, vi is the i-th video content in the candidate recommended video list corresponding to the candidate theme, and N is the number of videos that can be displayed in a row preset by the product, which is an integer greater than or equal to 1.

[0304] For example, assuming that six video contents are displayed in a row by default on the large screen when the user does not swipe left or right, the exposure click rate of the topic is the average exposure click rate of the first six videos in the recommended video content corresponding to the candidate topic.

[0305] In addition, the different product forms may be sorted. Here, the sorting may be performed using any rules. For example, the relative order of the current live broadcast, on-demand, advertisement, new film recommendation and other display contents on the large screen remains unchanged.

[0306] S4. Repeat the following process for different product forms until all product forms are compared or the current compared object is a candidate subject with a determined ranking:

[0307] Compare the exposure click rate of the candidate topic with the exposure click rate of the first product form, wherein the first product form is the product form currently being compared;

[0308] If the exposure click-through rate of the candidate topic is greater than the exposure click-through rate of the first product form, the exposure position of the candidate topic content of the candidate topic is set before the exposure position of the first product form; if the exposure click-through rate of the candidate topic is less than or equal to the exposure click-through rate of the first product form, the exposure position of the candidate topic content of the candidate topic is set after the exposure position of the first product form.

[0309] Here, "before" or "after" is related to the layout or display mode of the current multiple product forms. The purpose of setting the exposure position of the candidate subject content of the candidate subject before the exposure position of the first product form is to display the candidate subject content of the candidate subject earlier than or before the first product form, so that the user can first notice or view the candidate subject content of the candidate subject.

[0310] For example, if multiple product forms are arranged from top to bottom on the display interface, then “before a certain product form” means “above a certain product form is displayed on the display interface”; “after a certain product form” means “below a certain product form is displayed on the display interface”.

[0311] For example, you can start from the last product form in the sorted or currently sorted order and set the exposure click rate of the first candidate topic to topic_i And the exposure click rate of the last product form ctr p For comparison. If ctrp <ctr topic_i , then the exposure position of the first candidate theme is before the compared product form; otherwise, the exposure position of the first candidate theme is after the compared product form. At this point, the process can be terminated. p <ctr topic_i , ctr topic_i And the exposure click rate of the penultimate product form ctr p Compare them to determine the display ranking order of the recommended topic and the second-to-last product form. And so on, the display ranking of the first candidate topic can be obtained.

[0312] In the above process, if the content being compared is a candidate topic whose display position has been determined, the comparison ends. The display position of the subsequent topic currently being processed is the position of the content being compared + 1, that is, it is placed after the content being compared and at the same position as the content being compared; otherwise, continue to follow the above steps until the display position of the topic is determined.

[0313] Through the above description, the embodiments of the present application have the following effects:

[0314] In the embodiment of the present application, according to the candidate topic and the candidate recommended video corresponding to the candidate topic, the candidate topic content corresponding to the candidate topic is obtained, and then the candidate topic content is sorted to obtain the sorted candidate topic content, and the sorted candidate topic content is displayed. It can be seen that the scheme of the embodiment of the present application can avoid the influence of human factors in the manual recommendation of topics, thereby improving the effect of topic recommendation.

[0315] Most existing technologies score tags based on user behavior, and then further score the topic after obtaining the tag score, and then push specific topics to users, and rarely involve the design and production of topic names. In the embodiment of the present application, we first focus on the generation of topic names, first have a topic name, and then search and sort the video content from top to bottom, which is very different from the method of first having a video and then finding the video topic, so starting from the production of the topic name, the quality of topic recommendation is guaranteed from the source.

[0316] In existing topic recommendation technologies, topics and tags are often strongly bound. By calculating the user's preference for tags through user behavior, the user's preference for topics can also be calculated. However, in actual applications, structured tags are often limited. In order to solve the problem of poor topic richness caused by limited tags, the embodiment of this application proposes two optimization schemes. The first is to add an unstructured tag system (referred to as open tags in the embodiment of this application) on the basis of structured tags; the second is to introduce vector embedding to associate topic names and video content through vector similarity to achieve semantic-level topic recommendation.

[0317] Most of the existing technologies focus on the relevance between users and topics, determine users' scores on different topics through user behavior, and do not think much about the sorting of video content within a topic, nor do they take into account the differences in contextual information of user display pages. The embodiments of the present application propose to systematically complete the topic recommendation task by sorting video content within a topic based on user behavior / interest, sorting between topics based on user and contextual information, and mixed sorting of topics and other display content, providing a good solution for the topic recommendation task.

[0318] See also Figure 2 , Figure 2 is a structural diagram of the topic recommendation device provided in the embodiment of the present application. Figure 2 As shown, the topic recommendation device includes:

[0319] A first acquisition module 201 is used to acquire a candidate topic set, wherein the candidate topic set includes one or more candidate topics;

[0320] The second acquisition module 202 is used to obtain candidate topic content corresponding to the candidate topic according to the candidate topic and the candidate recommended video corresponding to the candidate topic;

[0321] The third acquisition module 203 is used to sort the candidate subject contents to obtain sorted candidate subject contents;

[0322] The first display module 204 is used to display the sorted candidate topic contents.

[0323] Optionally, the first acquisition module includes:

[0324] A first acquisition submodule is used to acquire the label of the candidate topic to be generated;

[0325] The second acquisition submodule is used to obtain a prompt word prompt according to the label;

[0326] The third acquisition submodule is used to process the prompt through a generative language model to obtain the candidate topic.

[0327] Optionally, the first acquisition module is further used to obtain the prompt using the preposition, the label and the postposition; or to obtain the prompt according to the label and the topic list.

[0328] Optionally, the first acquisition module includes:

[0329] A first acquisition submodule is used to acquire the label of the candidate topic to be generated;

[0330] The second acquisition submodule is used to process the label through a generative language large model to obtain the candidate topic, wherein the generative language large model is obtained by training an initial large model using a label and topic corpus set, and the label and topic corpus set includes labels of topic names to be generated and topics to be generated.

[0331] Optionally, the device further comprises:

[0332] The first processing module is used to post-process the candidate topics to obtain post-processed candidate topics.

[0333] Optionally, the first processing module is further used to:

[0334] Filtering the candidate topics to obtain filtered candidate topics;

[0335] The filtered candidate topics are normalized to obtain the post-processed candidate topics.

[0336] Optionally, the second acquisition module includes:

[0337] A first determination submodule is used to determine the candidate recommended videos corresponding to the candidate topics;

[0338] The first acquisition submodule is used to sort the candidate recommended videos to obtain candidate topic contents corresponding to the candidate topics, wherein the candidate topic contents include information of the candidate topics and candidate recommended videos corresponding to the candidate topics.

[0339] Optionally, the first determining submodule is further used for:

[0340] Obtaining a first latent vector feature of the candidate topic;

[0341] Obtain a second latent vector feature of each candidate video in the candidate video set;

[0342] Selecting a candidate recommended video from the candidate video set according to a similarity score between the first latent vector feature and each of the second latent vector features;

[0343] Among them, the similarity score between the second latent vector feature of the candidate recommended video and the first latent vector feature is greater than a first threshold, or the similarity score between the second latent vector feature of the candidate recommended video and the first latent vector feature is N candidate videos with larger similarity scores, where N is an integer greater than or equal to 1.

[0344] Optionally, the device further comprises:

[0345] The second processing module is configured to map the first latent vector feature and the second latent vector feature to have the same length if the lengths of the first latent vector feature and the second latent vector feature are different.

[0346] Optionally, the first determining submodule is further used for:

[0347] Obtain structured tags and open tags for each candidate video in the candidate video set;

[0348] Obtain a tag set according to the structured tags and open tags of each candidate video;

[0349] Obtaining labels of the candidate topics;

[0350] The tags in the tag set are associated with the tags of the candidate topic, and the candidate video having the tag of the candidate topic is used as the candidate recommended video.

[0351] Optionally, the first acquisition submodule is further used to:

[0352] For a first target video, obtaining historical behavior characteristics of a user with respect to the first target video;

[0353] The candidate recommended videos of the candidate topics are sorted according to the historical behavior characteristics to obtain candidate topic contents corresponding to the candidate topics.

[0354] Optionally, the third acquisition module includes:

[0355] A first acquisition submodule is used to acquire user behavior information and obtain the user's preference characteristics according to the behavior information;

[0356] A second acquisition submodule is used to acquire the context information of the user and obtain the context state feature according to the context information;

[0357] A third acquisition submodule is used to acquire the characteristics of the candidate topic;

[0358] A fourth acquisition submodule, configured to obtain a ranking feature of the candidate topics according to the preference feature, the context state feature, and the feature of the candidate topics;

[0359] The fifth acquisition submodule is used to sort the candidate topic contents of each candidate topic according to the sorting feature to obtain sorted candidate topic contents.

[0360] Optionally, the third acquisition submodule is further used for:

[0361] Obtaining labels of the candidate topics;

[0362] Obtaining a first latent vector feature of the candidate topic;

[0363] The feature of the candidate topic is obtained according to the label of the candidate topic and the first latent vector feature.

[0364] Optionally, the device further comprises:

[0365] The third processing module is used to post-process the sorted candidate topic contents according to business requirements to obtain post-processed candidate topic contents.

[0366] Optionally, the third processing module is further used for:

[0367] The ranking of the candidate topic content of the first candidate topic is set at the first place among the sorted candidate topic contents, and / or the information of the second target video is set at the first place among the information of the candidate recommended video corresponding to the first candidate topic;

[0368] Among them, the candidate recommended videos corresponding to the first candidate topic include the second target video currently being watched by the user, or, the candidate recommended videos corresponding to the first candidate topic include the second target video watched by the user, or, the candidate recommended videos corresponding to the first candidate topic include the second target video searched by the user, or, the first candidate topic has the highest correlation with the label of the second target video searched by the user.

[0369] Optionally, the display module is also used for:

[0370] Obtain the exposure click rate of videos in different product forms that users have been exposed to within a preset historical time period;

[0371] According to the exposure click rate of the video, the exposure click rate of different product forms is obtained;

[0372] Obtaining the exposure click rate of the candidate topic;

[0373] For different product forms, the following process is repeated until all product forms are compared or the current compared object is a candidate topic with a determined ranking:

[0374] Compare the exposure click rate of the candidate topic with the exposure click rate of the first product form, wherein the first product form is the product form currently being compared;

[0375] If the exposure click-through rate of the candidate topic is greater than the exposure click-through rate of the first product form, the exposure position of the candidate topic content of the candidate topic is set before the exposure position of the first product form; if the exposure click-through rate of the candidate topic is less than or equal to the exposure click-through rate of the first product form, the exposure position of the candidate topic content of the candidate topic is set after the exposure position of the first product form.

[0376] The device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

[0377] See also Figure 3 , Figure 3 is a structural diagram of the topic recommendation device provided in the embodiment of the present application. Figure 3 As shown, the topic recommendation device includes: a processor 301 and a transceiver 302;

[0378] The processor 301 is used for:

[0379] Acquire a candidate topic set, wherein the candidate topic set includes one or more candidate topics;

[0380] Obtaining candidate topic content corresponding to the candidate topic according to the candidate topic and the candidate recommended video corresponding to the candidate topic;

[0381] Sorting the candidate subject contents to obtain sorted candidate subject contents;

[0382] The ranked candidate topic contents are displayed.

[0383] Optionally, the processor 301 is further configured to:

[0384] Obtaining labels of the candidate topics to be generated;

[0385] According to the label, a prompt word prompt is obtained;

[0386] The prompt is processed through a generative language model to obtain the candidate topic.

[0387] Optionally, the processor 301 is further configured to:

[0388] Using the preposition, the label and the postposition, the prompt is obtained; or

[0389] The prompt is obtained according to the tag and topic list.

[0390] Optionally, the processor 301 is further configured to:

[0391] Obtaining labels of the candidate topics to be generated;

[0392] The labels are processed through a generative language big model to obtain the candidate topics, wherein the generative language big model is obtained by training an initial big model using a label and topic corpus set, and the label and topic corpus set includes labels of topic names to be generated and topics to be generated.

[0393] Optionally, the processor 301 is further configured to:

[0394] Post-process the candidate topics to obtain post-processed candidate topics.

[0395] Optionally, the processor 301 is further configured to:

[0396] Filtering the candidate topics to obtain filtered candidate topics;

[0397] The filtered candidate topics are normalized to obtain the post-processed candidate topics.

[0398] Optionally, the processor 301 is further configured to:

[0399] Determine candidate recommended videos corresponding to the candidate topics;

[0400] The candidate recommended videos are sorted to obtain candidate topic contents corresponding to the candidate topics, wherein the candidate topic contents include information of the candidate topics and candidate recommended videos corresponding to the candidate topics.

[0401] Optionally, the processor 301 is further configured to:

[0402] Obtaining a first latent vector feature of the candidate topic;

[0403] Obtain a second latent vector feature of each candidate video in the candidate video set;

[0404] Selecting a candidate recommended video from the candidate video set according to a similarity score between the first latent vector feature and each of the second latent vector features;

[0405] Among them, the similarity score between the second latent vector feature of the candidate recommended video and the first latent vector feature is greater than a first threshold, or the similarity score between the second latent vector feature of the candidate recommended video and the first latent vector feature is N candidate videos with larger similarity scores, where N is an integer greater than or equal to 1.

[0406] Optionally, the processor 301 is further configured to:

[0407] If the lengths of the first latent vector feature and the second latent vector feature are different, the first latent vector feature and the second latent vector feature are mapped to have the same length.

[0408] Optionally, the processor 301 is further configured to:

[0409] Obtain structured tags and open tags for each candidate video in the candidate video set;

[0410] Obtain a tag set according to the structured tags and open tags of each candidate video;

[0411] Obtaining labels of the candidate topics;

[0412] The tags in the tag set are associated with the tags of the candidate topic, and the candidate video having the tag of the candidate topic is used as the candidate recommended video.

[0413] Optionally, the processor 301 is further configured to:

[0414] For a first target video, obtaining historical behavior characteristics of a user with respect to the first target video;

[0415] The candidate recommended videos of the candidate topics are sorted according to the historical behavior characteristics to obtain candidate topic contents corresponding to the candidate topics.

[0416] Optionally, the processor 301 is further configured to:

[0417] Obtaining user behavior information, and obtaining the user's preference characteristics based on the behavior information;

[0418] Acquire context information of the user, and obtain context state features according to the context information;

[0419] Obtaining features of the candidate topic;

[0420] Obtaining a ranking feature of the candidate topics according to the preference feature, the context state feature, and the feature of the candidate topics;

[0421] The candidate topic contents of each candidate topic are sorted according to the sorting feature to obtain sorted candidate topic contents.

[0422] Optionally, the processor 301 is further configured to:

[0423] Obtaining labels of the candidate topics;

[0424] Obtaining a first latent vector feature of the candidate topic;

[0425] The feature of the candidate topic is obtained according to the label of the candidate topic and the first latent vector feature.

[0426] Optionally, the processor 301 is further configured to:

[0427] According to business requirements, the ranked candidate subject contents are post-processed to obtain post-processed candidate subject contents.

[0428] Optionally, the processor 301 is further configured to:

[0429] The ranking of the candidate topic content of the first candidate topic is set at the first place among the sorted candidate topic contents, and / or the information of the second target video is set at the first place among the information of the candidate recommended video corresponding to the first candidate topic;

[0430] Among them, the candidate recommended videos corresponding to the first candidate topic include the second target video currently being watched by the user, or, the candidate recommended videos corresponding to the first candidate topic include the second target video watched by the user, or, the candidate recommended videos corresponding to the first candidate topic include the second target video searched by the user, or, the first candidate topic has the highest correlation with the label of the second target video searched by the user.

[0431] Optionally, the processor 301 is further configured to:

[0432] Obtain the exposure click rate of videos in different product forms that users have been exposed to within a preset historical time period;

[0433] According to the exposure click rate of the video, the exposure click rate of different product forms is obtained;

[0434] Obtaining the exposure click rate of the candidate topic;

[0435] For different product forms, the following process is repeated until all product forms are compared or the current compared object is a candidate topic with a determined ranking:

[0436] Compare the exposure click rate of the candidate topic with the exposure click rate of the first product form, wherein the first product form is the product form currently being compared;

[0437] If the exposure click-through rate of the candidate topic is greater than the exposure click-through rate of the first product form, the exposure position of the candidate topic content of the candidate topic is set before the exposure position of the first product form; if the exposure click-through rate of the candidate topic is less than or equal to the exposure click-through rate of the first product form, the exposure position of the candidate topic content of the candidate topic is set after the exposure position of the first product form.

[0438] The device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

[0439] It should be noted that the division of units in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0440] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.

[0441] An embodiment of the present application provides a communication device, including: a memory, a processor, and a program stored in the memory and executable on the processor; the processor is used to read the program in the memory to implement the steps in the topic recommendation method as described above.

[0442] The embodiment of the present application also provides a readable storage medium, on which a program is stored. When the program is executed by the processor, each process of the above-mentioned subject recommendation method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here. Among them, the readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)), etc.

[0443] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0444] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes a number of instructions for a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0445] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A topic recommendation method, characterized in that: include: Acquire a candidate topic set, wherein the candidate topic set includes one or more candidate topics; Obtaining candidate topic content corresponding to the candidate topic according to the candidate topic and the candidate recommended video corresponding to the candidate topic; Sorting the candidate subject contents to obtain sorted candidate subject contents; The ranked candidate topic contents are displayed.

2. The method according to claim 1, characterized in that The step of obtaining a candidate topic set includes: Obtaining labels of the candidate topics to be generated; According to the label, a prompt word prompt is obtained; The prompt is processed through a generative language model to obtain the candidate topic.

3. The method according to claim 2, characterized in that The step of obtaining a prompt word prompt according to the label includes: Using the preposition, the label and the postposition, the prompt is obtained; or The prompt is obtained according to the tag and topic list.

4. The method according to claim 1, characterized in that: The step of obtaining a candidate topic set includes: Obtaining labels of the candidate topics to be generated; The labels are processed through a generative language big model to obtain the candidate topics, wherein the generative language big model is obtained by training an initial big model using a label and topic corpus set, and the label and topic corpus set includes labels of topic names to be generated and topics to be generated.

5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Post-process the candidate topics to obtain post-processed candidate topics.

6. The method according to claim 5, characterized in that Post-processing the candidate topics to obtain post-processed candidate topics includes: Filtering the candidate topics to obtain filtered candidate topics; The filtered candidate topics are normalized to obtain the post-processed candidate topics.

7. The method according to claim 1, characterized in that The step of obtaining candidate topic content corresponding to the candidate topic according to the candidate topic and the candidate recommended video corresponding to the candidate topic includes: Determine candidate recommended videos corresponding to the candidate topics; The candidate recommended videos are sorted to obtain candidate topic contents corresponding to the candidate topics, wherein the candidate topic contents include information of the candidate topics and candidate recommended videos corresponding to the candidate topics.

8. The method according to claim 7, characterized in that The step of determining the candidate recommended videos corresponding to the candidate topics includes: Obtaining a first latent vector feature of the candidate topic; Obtain a second latent vector feature of each candidate video in the candidate video set; Selecting a candidate recommended video from the candidate video set according to a similarity score between the first latent vector feature and each of the second latent vector features; Among them, the similarity score between the second latent vector feature of the candidate recommended video and the first latent vector feature is greater than a first threshold, or the similarity score between the second latent vector feature of the candidate recommended video and the first latent vector feature is N candidate videos with larger similarity scores, where N is an integer greater than or equal to 1.

9. The method according to claim 8, characterized in that After obtaining the second latent vector feature of each candidate video in the candidate video set, the method further includes: If the lengths of the first latent vector feature and the second latent vector feature are different, the first latent vector feature and the second latent vector feature are mapped to have the same length.

10. The method according to claim 7, characterized in thatThe step of determining the candidate recommended videos corresponding to the candidate topics includes: Obtain structured tags and open tags for each candidate video in the candidate video set; Obtain a tag set according to the structured tags and open tags of each candidate video; Obtaining labels of the candidate topics; The tags in the tag set are associated with the tags of the candidate topic, and the candidate video having the tag of the candidate topic is used as the candidate recommended video.

11. The method according to claim 7, characterized in that The step of sorting the candidate recommended videos to obtain candidate topic contents corresponding to the candidate topics includes: For a first target video, obtaining historical behavior characteristics of a user with respect to the first target video; The candidate recommended videos of the candidate topics are sorted according to the historical behavior characteristics to obtain candidate topic contents corresponding to the candidate topics.

12. The method according to claim 1, characterized in that The step of sorting the candidate subject contents to obtain sorted candidate subject contents includes: Obtaining user behavior information, and obtaining the user's preference characteristics based on the behavior information; Acquire context information of the user, and obtain context state features according to the context information; Obtaining features of the candidate topic; Obtaining a ranking feature of the candidate topics according to the preference feature, the context state feature, and the feature of the candidate topics; The candidate topic contents of each candidate topic are sorted according to the sorting feature to obtain sorted candidate topic contents.

13. The method according to claim 12, characterized in that The step of obtaining the characteristics of the candidate topic includes: Obtaining labels of the candidate topics; Obtaining a first latent vector feature of the candidate topic; The feature of the candidate topic is obtained according to the label of the candidate topic and the first latent vector feature.

14. The method according to claim 12, characterized in that The method further comprises: According to business requirements, the ranked candidate subject contents are post-processed to obtain post-processed candidate subject contents.

15. The method according to claim 14, characterized in that The post-processing of the ranked candidate subject contents according to business requirements includes: The ranking of the candidate topic content of the first candidate topic is set at the first place among the sorted candidate topic contents, and the information of the second target video is set at the first place among the information of the candidate recommended video corresponding to the first candidate topic; Among them, the candidate recommended videos corresponding to the first candidate topic include the second target video currently being watched by the user, or, the candidate recommended videos corresponding to the first candidate topic include the second target video watched by the user, or, the candidate recommended videos corresponding to the first candidate topic include the second target video searched by the user, or, the first candidate topic has the highest correlation with the label of the second target video searched by the user.

16. The method according to claim 1, characterized in that The displaying of the ranked candidate topic contents includes: Obtain the exposure click rate of videos in different product forms that users have been exposed to within a preset historical time period; According to the exposure click rate of the video, the exposure click rate of different product forms is obtained; Obtaining the exposure click rate of the candidate topic; For different product forms, the following process is repeated until all product forms are compared or the current compared object is a candidate topic with a determined ranking: Compare the exposure click rate of the candidate topic with the exposure click rate of the first product form, wherein the first product form is the product form currently being compared; If the exposure click-through rate of the candidate topic is greater than the exposure click-through rate of the first product form, the exposure position of the candidate topic content of the candidate topic is set before the exposure position of the first product form; if the exposure click-through rate of the candidate topic is less than or equal to the exposure click-through rate of the first product form, the exposure position of the candidate topic content of the candidate topic is set after the exposure position of the first product form.

17. A topic recommendation device, characterized in that: include: A first acquisition module is used to acquire a candidate topic set, wherein the candidate topic set includes one or more candidate topics; A second acquisition module is used to obtain candidate topic content corresponding to the candidate topic according to the candidate topic and the candidate recommended video corresponding to the candidate topic; A third acquisition module is used to sort the candidate subject contents to obtain sorted candidate subject contents; The first display module is used to display the sorted candidate topic contents.

18. A topic recommendation device, characterized in that: include: processors and transceivers; Wherein, the processor is used for: Acquire a candidate topic set, wherein the candidate topic set includes one or more candidate topics; Obtaining candidate topic content corresponding to the candidate topic according to the candidate topic and the candidate recommended video corresponding to the candidate topic; Sorting the candidate subject contents to obtain sorted candidate subject contents; The ranked candidate topic contents are displayed.

19. A communication device comprising: A memory, a processor, and a program stored in the memory and executable on the processor; wherein the processor is used to read the program in the memory to implement the steps in the topic recommendation method as described in any one of claims 1 to 16.

20. A readable storage medium for storing a program, characterized in that: When the program is executed by a processor, the steps in the topic recommendation method according to any one of claims 1 to 16 are implemented.

Citation Information

Cited By

  • Content recommendation method and device, electronic equipment and medium

    CN120407926A