Content recommendation method and device, electronic equipment, storage medium and program product
By calculating the relative click-through rate based on the difference in click data between accounts, the target recommended content is determined, which solves the problem of high-profile content dominance in the existing technology, achieves better content matching and information interaction experience, and promotes the healthy development of the content ecosystem.
Patent Information
- Application Number
- CN202410781540.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-17
AI Technical Summary
In the existing content recommendation methods, the recommendation of highly popular content causes the differentiated information interaction needs of some accounts to be unmet, affecting the information interaction experience, and is not conducive to building a healthy content ecosystem and stimulating enthusiasm for content creation.
By obtaining account characteristic information and content characteristic information of candidate content, the relative click-through rate is calculated to measure the difference in click data between accounts, thereby determining the target recommended content and eliminating the click-through rate prediction bias caused by most accounts and popular content.
Better match the differentiated needs of different accounts, improve information interaction experience, and promote the healthy development of content ecology and enthusiasm for content creation.
Smart Images

Figure CN118656541A
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to computer application technology, and more particularly to a content recommendation method, device, electronic device, storage medium, and program product. Background Art
[0002] In the field of information technology, content recommendation is a method of information filtering that is used to predict and recommend content that may be of interest to accounts displaying information, so as to maximize the differentiated information interaction needs of different accounts.
[0003] However, in the relevant content recommendation methods, the recommended content is often dominated by the majority of accounts or highly popular content on the information interaction platform, and unpopular content that meets the interests of some accounts is difficult to be introduced. Since the interaction needs of most accounts cannot represent the interaction needs of a few accounts, the differentiated information interaction needs of some accounts are not well met, affecting the information interaction experience of these accounts. Moreover, since highly popular content itself does not mean high quality, over-recommending highly popular content will affect the display of other high-quality content. Therefore, this content recommendation method is not conducive to the information interaction platform to build a healthy content ecology and stimulate the enthusiasm for content creation. Summary of the invention
[0004] The present disclosure provides a content recommendation method, device, electronic device, storage medium and program product to determine recommended content based on the relative click-through rate of candidate content, effectively eliminating the effect of click-through rate prediction bias caused by most accounts and popular content, highlighting the difference in click data between different accounts, so that the recommended content can better match the differentiated needs of different accounts.
[0005] In a first aspect, an embodiment of the present disclosure provides a content recommendation method, the method comprising:
[0006] Acquire account feature information authorized for use by the first account and content feature information of multiple candidate contents;
[0007] Determine, according to the account characteristic information and the content characteristic information of the plurality of candidate contents, a relative click rate corresponding to each of the candidate contents, wherein the relative click rate is used to measure the difference in click data between the first account and the second account on the candidate contents;
[0008] The target recommended content corresponding to the first account is determined according to the relative click rates corresponding to the plurality of candidate contents.
[0009] In a second aspect, an embodiment of the present disclosure further provides a content recommendation device, the device comprising:
[0010] A feature information acquisition module, used to acquire account feature information authorized for use by the first account and content feature information of multiple candidate contents;
[0011] a relative click rate determination module, configured to determine a relative click rate corresponding to each of the candidate contents according to the account characteristic information and the content characteristic information of the plurality of candidate contents, wherein the relative click rate is used to measure the difference in click data between the first account and the second account on the candidate contents;
[0012] The recommended content determination module is used to determine the target recommended content corresponding to the first account according to the relative click-through rates corresponding to the plurality of candidate contents.
[0013] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0014] one or more processors;
[0015] a storage device for storing one or more programs,
[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the content recommendation method as described in any one of the embodiments of the present disclosure.
[0017] In a fourth aspect, the embodiments of the present disclosure further provide a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to perform the content recommendation method as described in any one of the embodiments of the present disclosure.
[0018] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product, wherein the computer program product includes a computer program, and when the computer program is executed by a processor, the content recommendation method described in any embodiment of the present invention is implemented.
[0019] The technical solution of the disclosed embodiment provides a data basis for the subsequent determination of the relative click rate of the candidate content by obtaining the account feature information authorized for use by the first account and the content feature information of multiple candidate contents. Further, the relative click rate corresponding to each candidate content is determined respectively according to the account feature information and the content feature information of multiple candidate contents. Since the relative click rate represents the difference in click data on the candidate content compared to the second account, the difference in click data of the first account on the candidate content is more accurately determined. Further, the target recommended content corresponding to the first account is determined according to the relative click rates corresponding to the multiple candidate contents, which solves the technical problem in the related technology that the recommended content is difficult to match the differentiated needs of the account. By determining the relative click rate of the candidate content, the prediction deviation of the click rate caused by most accounts and popular content is effectively eliminated, and the difference in click data between different accounts is highlighted, so that the recommended content can better match the differentiated needs of different accounts, which is conducive to the information interaction platform to build a healthy content ecology and stimulate the enthusiasm for content creation. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0021] Figure 1 A flowchart of a content recommendation method provided by an embodiment of the present disclosure;
[0022] Figure 2 A flowchart of another content recommendation method provided by an embodiment of the present disclosure;
[0023] Figure 3 A flowchart of another content recommendation method provided by an embodiment of the present disclosure;
[0024] Figure 4 A schematic diagram of a training sample sampling process provided by an embodiment of the present disclosure;
[0025] Figure 5 A schematic diagram of the structure of a content recommendation device provided by an embodiment of the present disclosure;
[0026] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0027] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0028] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0029] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0030] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0031] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0032] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0033] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0034] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0035] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0036] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0037] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0038] Before introducing the present technical solution, an example explanation of the application scenario can be given first. The technical solution can be applied to the scenario of determining the target recommended content from the candidate content. Exemplarily, in the content recommendation scenario, the click-through rates of multiple candidate contents can be determined. Furthermore, the multiple candidate contents can be sorted in order from high to low according to their corresponding click-through rates, and a preset number of candidate contents with the highest rankings can be determined as the target recommended content. However, the click-through rate determined based on the above method is an absolute click-through rate determined based on the number of clicks on the candidate content. When determining the target recommended content by the absolute click-through rate of the candidate content, there may be a problem that the target recommended content finally determined is the majority recommended content or the high-heat recommended content, and the differentiated information interaction needs of some accounts are not well met, affecting the information interaction experience of these accounts.
[0039] At this time, based on the technical solution of the embodiment of the present disclosure, the relative click rate corresponding to the candidate content can be determined based on the account feature information of the account and the content feature information of the candidate content. Furthermore, the target recommended content can be determined from the multiple candidate contents based on the relative click rates of the multiple candidate contents. Thus, the prediction bias of the click rate caused by most accounts and popular content is effectively eliminated, the difference in click data between different accounts is highlighted, and the recommended content can better match the differentiated needs of different accounts.
[0040] Figure 1 A flow chart of a content recommendation method provided in an embodiment of the present disclosure is applicable to situations where target recommended content that meets account needs is determined from candidate content. The method can be executed by a content recommendation device, which can be implemented in the form of software and / or hardware, and optionally, by an electronic device, which can be a mobile terminal, a PC or a server, etc.
[0041] like Figure 1 As shown, the method of this embodiment may specifically include:
[0042] S110: Acquire account feature information authorized for use by the first account and content feature information of a plurality of candidate contents.
[0043] Among them, the first account can be understood as an account to be recommended for content. Alternatively, the first account can also be understood as an account registered in an application software with a content recommendation function. The account characteristic information can be understood as information authorized by the first account to characterize account attributes and associated with click data on the displayed content. Optionally, the account characteristic information may include account attribute information authorized by the first account and operation information on the displayed content. Exemplarily, the account characteristic information may include associated information such as search operations, input operations, click operations, query operations, and browsing operations on the displayed content. Candidate content can be understood as content to be determined whether it is the target recommended content recommended to the first account. Candidate content can be content in any form. Optionally, the candidate content can include at least one of a variety of multimedia information resources such as text, images, audio, video, and links. Content characteristic information can be understood as data or information that characterizes the attributes and characteristics of the content itself. In other words, the content characteristic information can be extracted from the candidate content, which is helpful for understanding and analyzing the corresponding candidate content. The content characteristic information can be characteristic information from multiple dimensions. Optionally, the content characteristic information can include information such as content type, content display time, content length, and objects included. Exemplarily, the content type may include at least one of text, image, audio, and video. It may also be a further divided content type. Taking video as an example, the content type may specifically include literary videos, cartoon videos, or documentary videos.
[0044] It should be noted that the candidate content may include content that is associated with the first account, and may also include content that is not associated with the first account, and the embodiments of the present disclosure do not specifically limit this.
[0045] As an optional implementation of an embodiment of the present disclosure, the account characteristic information of each account can be determined based on the account attribute information and account operation information authorized for use by each account, and the account characteristic information can be associated with the account identifier and stored. Furthermore, in the case of determining the first account to be recommended content, the account characteristic information authorized for use by the first account can be obtained from the pre-stored account characteristic information based on the account identifier of the first account. Also, the content characteristic information of each displayed content can be determined based on the content characteristics of each displayed content, and the content characteristic information can be associated with the content identifier of the displayed content and stored. Furthermore, in the case of determining multiple candidate contents to be recommended to the first account, the content characteristic information of the candidate contents can be obtained from the pre-stored content characteristic information based on the content identifier of each candidate content.
[0046] S120 : Determine a relative click rate corresponding to each candidate content according to the account characteristic information and the content characteristic information of the plurality of candidate contents.
[0047] The relative click rate is used to measure the difference in click data on the candidate content between the first account and the second account. In the embodiment of the present disclosure, the second account can be understood as an account other than the first account. Alternatively, the second account can also be understood as an account other than the first account that corresponds to at least part of the same candidate content. The relative click rate can be used to characterize the difference in click data on the candidate content between the first account and the second account on the same candidate content.
[0048] As an optional implementation of the first embodiment of the present disclosure, for a single candidate content, the account feature information and the content feature information of the candidate content can be processed according to a preset click rate prediction method. Then, the relative click rate corresponding to the candidate content can be directly obtained. Optionally, the click rate prediction method can be to use a pre-trained click rate prediction model to predict the relative click rate of the candidate content based on the account feature information and the content feature information.
[0049] As another optional implementation of the disclosed embodiment, in the case of obtaining the account characteristic information authorized for use by the first account and the content characteristic information of the candidate content, data analysis can be performed on the account characteristic information and the content characteristic information for a single candidate content. Furthermore, the number of clicks on the candidate content by the first account can be determined, that is, the absolute click-through rate corresponding to the candidate content can be determined. Furthermore, the absolute click-through rates corresponding to multiple candidate contents can be averaged to obtain the average click-through rates corresponding to the multiple candidate contents. Afterwards, for a single candidate content, the ratio between the absolute click-through rate corresponding to the candidate content and the average click-through rate can be determined, and the ratio can be used as the relative click-through rate corresponding to the candidate content.
[0050] S130: Determine target recommended content corresponding to the first account according to relative click rates corresponding to the plurality of candidate content.
[0051] The target recommended content may be understood as the display content that is finally recommended to the first account, or the target recommended content may be understood as the display content that is finally displayed on the account terminal of the first account.
[0052] In the disclosed embodiment, in order to make the target recommended content finally determined to be the candidate content that meets the interaction needs of the first account, when the relative click-through rates corresponding to multiple candidate contents are determined, at least one candidate content with a relatively high relative click-through rate can be screened out from the multiple candidate recommended contents according to the relative click-through rates. Then, the screened candidate content can be used as the target recommended content corresponding to the first account.
[0053] Optionally, the target recommended content corresponding to the first account is determined based on the relative click-through rates corresponding to multiple candidate contents, including: sorting the multiple candidate contents in descending order according to their corresponding relative click-through rates, and determining a preset number of candidate contents with the highest sorting order as the target recommended content corresponding to the first account.
[0054] The preset number may be any value, and optionally, may be 3, 5, or 10.
[0055] As an optional implementation of the first embodiment of the present disclosure, multiple candidate contents may be ranked in descending order of relative click rates. Furthermore, a preset number of candidate contents ranked at the top may be screened out starting from the candidate content ranked first. Furthermore, the preset number of candidate contents screened out may be used as target recommended contents corresponding to the first account.
[0056] In the embodiment of the present disclosure, in order to enable an account to more clearly and intuitively browse the target recommended content corresponding to it, so as to receive the account's interactive operation on the target recommended content. After determining the target recommended content corresponding to the first account according to the relative click-through rates corresponding to the plurality of candidate contents, it also includes: displaying the target recommended content in a preset display form on the account terminal of the first account.
[0057] Among them, the preset display form includes at least one of the display modes of switching display, list display and repeated display. Switching display can be understood as a display mode of switching from one target recommended content to another target recommended content for display. Exemplarily, the target recommended content can be displayed using a tab or a card. Further, in response to a switching trigger operation, a plurality of the target recommended contents can be switched and displayed on the account terminal of the first account; or, after the display of one target recommended content is completed, it can automatically switch to another target recommended content for display. For example, when a selection trigger operation for any tab or card is detected, the corresponding target recommended content can be switched for display. List display can be understood as displaying the target recommended content in the form of a list on the terminal interface. Alternatively, a plurality of target recommended contents are displayed in turn on the account terminal of the first account in a preset order.
[0058] As an optional implementation of the embodiment of the present disclosure, after determining the target recommended content corresponding to the first account, the target recommended content can be displayed on the terminal of the first account in a display form of switching display. In the case where a selection trigger operation for the target recommended content is not detected, the target recommended content can be displayed on the terminal in a collapsed display state. Further, in the case where a selection trigger operation for any target recommended content is detected, the target recommended content can be switched to an expanded display state. Thus, the target recommended content can be switched for display.
[0059] The technical solution of the disclosed embodiment provides a data basis for the subsequent determination of the relative click rate of the candidate content by obtaining the account feature information authorized for use by the first account and the content feature information of multiple candidate contents. Furthermore, the relative click rate corresponding to each candidate content is determined respectively based on the account feature information and the content feature information of multiple candidate contents. Since the relative click rate represents the difference in click data on the candidate content compared to the second account, the difference in click data on the candidate content by the first account is more accurately determined. Furthermore, the target recommended content corresponding to the first account is determined based on the relative click rates corresponding to the multiple candidate contents, which solves the technical problem in the related art that the recommended content is difficult to match the differentiated needs of different accounts. By determining the relative click rate of the candidate content, the prediction deviation of the click rate caused by most accounts and popular content is effectively eliminated, and the difference in click data between different accounts is highlighted, so that the recommended content can better match the differentiated needs of different accounts.
[0060] Figure 2A flowchart of another content recommendation method provided by the embodiment of the present disclosure. The technical solution of this embodiment is based on the above embodiment. For a single candidate content, the account feature information and the content feature information of the candidate content can be input into the click-through rate prediction model to obtain the relative click-through rate corresponding to the candidate content. For the specific implementation method, please refer to the description of this embodiment. Among them, the technical features that are the same or similar to the above embodiments are not repeated here.
[0061] like Figure 2 As shown, the method of this embodiment may specifically include:
[0062] S210: Acquire account feature information authorized for use by the first account and content feature information of a plurality of candidate contents.
[0063] S220: For a single candidate content, input the account feature information and the content feature information of the candidate content into a click rate prediction model to obtain a relative click rate corresponding to the candidate content.
[0064] Among them, the click-through rate prediction model can be understood as a neural network model that takes account feature information and content feature information as input objects to predict the relative click-through rate based on account feature information and content feature information. The click-through rate prediction model can be a deep learning model. More specifically, the click-through rate prediction model can be a binary classification model. In the embodiment of the present disclosure, the model structure of the click-through rate prediction model can be set according to actual needs, for example, it can include a convolutional neural network, etc. Optionally, the click-through rate prediction model is trained based on positive samples and negative samples corresponding to multiple sample contents. The positive sample is constructed based on the account feature information authorized to be used by the sample account that clicks the sample content and the content feature information of the sample content. The negative sample is constructed based on the account feature information authorized to be used by the sample account that does not click the sample content and the content feature information of the sample content. It should be noted that the sample accounts in the positive and negative samples are all accounts that have displayed the sample content, or in other words, the positive and negative samples corresponding to the sample content need to be constructed using the account feature data authorized to be used by the sample account that has displayed the sample content.
[0065] In practical applications, when determining the target recommended content, the account feature information and the content feature information of the candidate content can be processed according to the pre-trained click-through rate prediction model to obtain the click-through rate of the candidate content. The click-through rate at this time is generally an absolute click-through rate. In general, the click-through rate prediction model adopted is obtained by training based on positive samples and negative samples of multiple sample contents. However, in the model training process, the original data sets corresponding to multiple sample contents are usually obtained. Furthermore, for each sample content, the positive samples and negative samples corresponding to the sample content can be obtained according to the original data set corresponding to the sample content. At this time, the number of positive samples and negative samples corresponding to each sample content is often determined by the data actually collected in the original data set. Generally, the ratio between the positive samples and negative samples corresponding to the popular sample content is often greater than the ratio between the positive samples and negative samples corresponding to the unpopular sample content, which leads to the poor model generalization ability of the click-through rate prediction model finally trained, and there is a deviation in the prediction of the target recommended content.
[0066] In view of the above situation, in the embodiment of the present disclosure, when the model is trained, the positive samples and negative samples corresponding to different sample contents can be in a preset ratio. That is, the ratio between the positive samples and negative samples corresponding to different sample contents is the preset ratio. Considering that in actual application scenarios, there are often many accounts and recommended contents, and the click data of different contents between different accounts are also different. This may be that the click rate of each sample content is in a relatively low range. Therefore, in the embodiment of the present disclosure, the number of negative samples can be more than the number of positive samples. Exemplarily, the preset ratio between positive samples and negative samples can be 1:3 or 1:5, etc. It should be noted that the preset ratio can be a parameter set by the system default or a parameter set by the account custom setting, and the embodiment of the present disclosure does not specifically limit this. For example, the specific value of the preset ratio can be set according to the number of accounts and the actual click rate of the account for the sample content. By adopting the above training sample setting method, the click rate prediction model finally trained can learn the difference in click data of different accounts for content, improve the generalization ability of the model on different accounts and content, and effectively eliminate the prediction bias of click rate caused by most accounts and popular content.
[0067] In an embodiment of the present disclosure, before inputting account feature information and content feature information of candidate content into a click-through rate prediction model, a pre-constructed model may be trained based on positive samples and negative samples corresponding to different sample contents. The model training process may be: obtaining an original data set corresponding to multiple sample contents, obtaining a positive sample corresponding to each sample content from the original data set, and randomly matching multiple negative samples to the positive sample according to the number of positive samples and a preset ratio; training the pre-constructed model based on the positive samples and negative samples corresponding to the multiple sample contents to obtain a click-through rate prediction model.
[0068] The original data set can be understood as a data set constructed based on the actual interactive operation information of the sample account for the sample content. The original data set may at least include the account feature information authorized by the sample account that clicks the sample content and the content feature information of the sample content.
[0069] As an optional implementation of the first embodiment of the present disclosure, for multiple sample contents, an original data set corresponding to the sample contents can be obtained. Furthermore, the account feature information authorized to be used by the sample account that clicks the sample content and the content feature information of the sample content can be obtained from the original data set, and a positive sample can be constructed based on the information obtained. Further, the number of negative samples corresponding to the sample content can be determined based on the number of positive samples and a preset ratio. Further, multiple sample accounts that do not click on the sample content can be randomly matched based on the number, the account feature information authorized to be used by these sample accounts can be obtained, and multiple negative samples can be constructed based on the account feature information authorized to be used by these sample accounts and the content feature information of the sample content. Further, for multiple sample contents, the positive samples and negative samples corresponding to the sample contents can be input into a pre-established model to obtain a click-through rate prediction value corresponding to each positive sample and a click-through rate prediction value corresponding to each negative sample. Afterwards, the loss value can be determined based on the click-through rate prediction value and the positive sample label corresponding to each positive sample and the click-through rate prediction value and the negative sample label corresponding to each negative sample. Further, the model parameters in the pre-established model can be corrected based on the loss value, and the convergence of the loss function in the model is used as a training target to obtain a click-through rate prediction model.
[0070] For example, the ratio of positive samples to negative samples of different sample contents in the training data set can be balanced by randomly matching k negative samples for the positive samples of each sample content in the original data set, so as to eliminate the positive and negative sample bias between different sample contents in the training set. Since each sample content has the same positive and negative sample ratio (1:k) in the training set after stratified random negative sample sampling, the average click rate of each sample content learned by the click rate prediction model is a constant, that is, 1 / 1+k. At this point, the absolute click rate predicted by the click rate prediction model in the new training data set is equivalent to the relative click rate.
[0071] Furthermore, when the trained click rate prediction model is obtained, for a single candidate content, the account feature information authorized for use by the first account and the content feature information of the candidate content can be input into the click rate prediction model. Then, the account feature information and the content feature information can be processed based on the click rate prediction model to predict the click rate of the candidate content. Then, the relative click rate corresponding to the candidate content can be output.
[0072] S230: Determine target recommended content corresponding to the first account according to relative click rates corresponding to the plurality of candidate content.
[0073] It should be noted that in order to make the target recommended content determined based on the click-through rate prediction model better match the differentiated needs of different accounts, after the target recommended content is determined based on the click-through rate prediction model, the preset ratio can also be adjusted based on the performance evaluation indicators of the preset click-through rate prediction model.
[0074] Among them, the performance evaluation index can be used to evaluate the performance of the model. The performance evaluation index can include a variety of information that can evaluate the prediction accuracy of the click-through rate prediction model for the content click-through rate. Optionally, the performance evaluation index can at least include operation feedback information corresponding to the target recommended content. The operation feedback information can be used to indicate the operation input by the account for the target recommended content. Exemplarily, in the case where the target recommended content is audio and video content, the operation feedback information may include the number of plays, play duration, and play frequency of the audio and video content; in the case where the target recommended content is text content, the operation feedback information may include the number of clicks on the text content, the click frequency, and the browsing time; in the case where the target recommended content is a link corresponding to any service, the operation feedback information may include the number of clicks on the link, the browsing time of the corresponding service display page, and the service cost paid for the service.
[0075] As an optional implementation of the first embodiment of the present disclosure, during the display of the target recommended content, operation feedback information corresponding to the target recommended content can be obtained. Furthermore, when the display duration of the target recommended content reaches a preset duration, the index value of the corresponding performance evaluation index can be determined according to the obtained operation feedback information. Furthermore, the preset ratio can be adjusted according to the index value. Afterwards, the click-through rate prediction model can be trained according to the adjusted preset ratio.
[0076] The technical solution of the disclosed embodiment, by inputting the account feature information authorized for use by the first account and the content feature information of the candidate content into the click-through rate prediction model for a single candidate content, obtains the relative click-through rate corresponding to the candidate content, and further determines the target recommended content corresponding to the first account according to the relative click-through rates corresponding to multiple candidate contents, thereby achieving the effect of determining the relative click-through rate of the candidate content based on the click-through rate prediction model, and when training the click-through rate prediction model, a preset ratio of positive samples and negative samples are used for training different sample contents, so that the click-through rate prediction model finally trained can learn the difference in click data for content from different accounts, improves the generalization ability of the click-through rate prediction model on different accounts and contents, and effectively eliminates the prediction bias of the click-through rate caused by most accounts and popular contents. Moreover, the click-through rate prediction model no longer over-recommends popular contents that are easy to get clicks, and some unpopular but high-quality contents that can meet the specific interests of accounts can obtain more exposure opportunities, which helps to build a more balanced and diversified content ecology.
[0077] Figure 3 A flowchart of another content recommendation method provided by the embodiment of the present disclosure. The technical solution of this embodiment is based on the above-mentioned embodiment. For a single candidate content, the absolute click-through rate corresponding to the candidate content is determined based on the account feature information and the content feature information of the candidate content; then, the average click-through rate corresponding to multiple candidate contents is determined based on the absolute click-through rate of the single candidate content, and the relative click-through rate corresponding to the single candidate content is determined based on the absolute click-through rate and the average click-through rate of the single candidate content. For the specific implementation method, please refer to the description of this embodiment. Among them, the technical features that are the same or similar to those of the above-mentioned embodiments are not repeated here.
[0078] like Figure 3 As shown, the method of this embodiment may specifically include:
[0079] S310: Acquire account feature information authorized for use by the first account and content feature information of a plurality of candidate contents.
[0080] S320 . For a single candidate content, determine an absolute click rate corresponding to the candidate content according to the account characteristic information and the content characteristic information of the candidate content.
[0081] The absolute click-through rate is used to indicate the number of clicks on the candidate content. The absolute click-through rate (CTR) can be determined based on the total number of clicks and the total number of impressions of the candidate content. In other words, the ratio between the total number of clicks and the total number of impressions of the candidate content can be used as the absolute click-through rate of the candidate content.
[0082] As an optional implementation of the first embodiment of the present disclosure, for a single candidate content, data analysis can be performed on the account feature information authorized for use by the first account and the content feature information of the candidate content to determine the total number of clicks and the total number of impressions of the candidate content. Further, the ratio between the total number of clicks and the total number of impressions can be determined, and the ratio can be used as the absolute click rate corresponding to the candidate content.
[0083] As another optional implementation of the disclosed embodiment, for a single candidate content, the account feature information authorized for use by the first account and the content feature information of the candidate content can be input into the absolute click rate prediction model. Furthermore, the account feature information and the content feature information can be processed based on the absolute click rate prediction model, and the absolute click rate corresponding to the candidate content can be output.
[0084] S330: Determine an average click rate corresponding to multiple candidate contents according to the absolute click rate of the single candidate content, and determine a relative click rate corresponding to the single candidate content according to the absolute click rate and the average click rate of the single candidate content.
[0085] The average click rate can be used to represent the average click degree of the account on multiple candidate contents. The average click rate can be used to represent the average click rate of multiple candidate contents.
[0086] In the embodiment of the present disclosure, when determining the absolute click rate corresponding to each candidate content, the absolute click rates of multiple candidate contents can be summed to obtain the total click rate. Afterwards, the total click rate can be averaged according to the number of multiple candidate contents, and the value obtained after the average processing is used as the average click rate corresponding to the multiple candidate contents. Furthermore, for a single candidate content, the ratio between the absolute click rate corresponding to the candidate content and the average click rate can be determined. Furthermore, the ratio can be used as the relative click rate corresponding to the candidate content.
[0087] S340: Determine target recommended content corresponding to the first account according to relative click rates corresponding to the plurality of candidate content.
[0088] The technical solution of the disclosed embodiment determines, for a single candidate content, the absolute click-through rate corresponding to the candidate content based on the account characteristic information authorized for use by the first account and the content characteristic information of the candidate content, then determines the average click-through rate corresponding to multiple candidate contents based on the absolute click-through rate of the single candidate content, and determines the relative click-through rate corresponding to the single candidate content based on the absolute click-through rate and the average click-through rate of the single candidate content, thereby achieving the effect of determining the absolute click-through rate based on the account characteristic information and the content characteristic information, and further determining the relative click-through rate based on the absolute click-through rate, thereby enriching the method for determining the relative click-through rate of the candidate content.
[0089] The present embodiment is an optional embodiment of the above-mentioned embodiments. The content recommendation method provided by the present embodiment is described by taking the application of the click rate prediction model to determine the relative click rate corresponding to the candidate content as an example. The method of the present embodiment may include the following steps:
[0090] First, a modeling target can be set for the click-through rate prediction model. The click-through rate prediction model provided by the embodiment of the present disclosure can be a neural network model that predicts relative click-through rate. The relative click-through rate can be understood as the ratio between the absolute click-through rate of an account on the candidate content and the average click-through rate on the candidate content, which is used to measure the difference in clicks on a specific account on a specified content compared to other accounts on the same content. Under the modeling target of relative click-through rate, content recommendation no longer simply pursues maximizing the absolute number of clicks, but rather pursues maximizing the satisfaction of the differentiated needs of accounts. Compared with the modeling of absolute click-through rate, relative click-through rate modeling can effectively eliminate the deviations caused by most accounts and popular content, highlight the differences in content clicks between different accounts, and bring fairer comparisons on different content.
[0091] In order to enable the constructed click rate prediction model to learn the relative click rate of the account, the positive sample ratio of different sample contents in the training data set can be balanced by randomly matching k negative samples for the positive sample of each sample content in the original data set, so as to eliminate the positive and negative sample bias of different sample contents in the training set. Figure 4 Schematic diagram of the training sample sampling process provided by the embodiment of the present disclosure. Figure 4 As shown, it is assumed that there are 5 sample accounts, namely sample account 1, sample account 2, sample account 3, sample account 4 and sample account 5; and 5 sample contents, namely sample content 1, sample content 2, sample content 3, sample content 4 and sample content 5. Figure 4 As shown in a, the solid arrow in the figure indicates positive interaction, that is, the sample account has clicked the sample content, which can be recorded as a positive sample, and the dotted arrow indicates that the sample account has displayed the sample content but has not clicked the sample content, which can be recorded as a negative sample. After that, stratified random negative sample sampling can be performed for each sample content to obtain the following Figure 4 b is the schematic diagram. Figure 4 As shown, for sample content 1, the positive samples corresponding to sample content 1 can be sample account 1 and sample account 2; the negative samples corresponding to sample content 1 can be randomly sampled from sample account 3, sample account 4 and sample content 5. For sample content 2, the positive sample corresponding to sample content 2 is sample account 2; the negative samples corresponding to sample content 2 can be randomly sampled from sample account 1, sample account 3, sample account 4 and sample account 5. The positive samples and negative samples corresponding to sample content 3, sample content 4 and sample content 5 are determined according to the above method.
[0092] It should be noted that in the related art, the number of positive samples and negative samples is directly extracted based on actual data, resulting in different numbers and ratios of positive samples and negative samples corresponding to different sample contents. In the embodiment of the present disclosure, in the training sample set after stratified random negative sample sampling, each sample content uses the same positive-negative sample ratio (e.g., 1:k). At this time, the click-through rate prediction model learns that the average click-through rate of each sample content is a constant. Exemplarily, the constant can be expressed based on the following formula:
[0093]
[0094] Wherein, p(label=1|item) represents the average click rate of sample content.
[0095] At this point, the relative click rate of the account learned by the click rate prediction model can be expressed as:
[0096]
[0097] Among them, g(user,item) represents the relative click rate of the sample account for the sample content; p(label=1|user,item) represents the probability that the sample account clicks the sample content (label is 1) under the conditions of a specific sample account and sample content; p(label=1|item) represents the probability that the sample content (label is 1) is clicked in all sample accounts that display the sample content.
[0098] Since the ratio of positive and negative samples is 1:k, at this time, p(label=1|item)=1 / k+1, that is, is a constant. Therefore, the relative click rate of the account learned by the click rate prediction model is equivalent to the absolute click rate of the account learned in the new dataset.
[0099] Exemplarily, a click-through rate prediction model is trained based on a new data set, and target recommended content corresponding to the first account is determined based on the click-through rate prediction model. The complete implementation process is as follows:
[0100] 1. Collect the original training data set D = {<user,item,label>};
[0101] 2. For each true positive sample in the original training data set D<user_i,item_i,1> By fixing item_i, randomly sampling and matching k negative samples in the original true negative sample set of item_i, the sampled random negative samples and the original positive samples together constitute a new revised training set D , ;
[0102] 3. Based on the revised training set D, Train a click-through rate prediction model;
[0103] 4. Determine the target recommended content corresponding to the account based on the trained click-through rate prediction model.
[0104] The technical solution provided by the embodiment of the present disclosure proposes a new high-level recommendation goal based on user relative behavior modeling: compared with the traditional recommendation that directly models the absolute behavior of the account (such as absolute click-through rate), the embodiment of the present disclosure uses the relative behavior of the account (such as relative click-through rate = absolute click-through rate / average click-through rate on candidate content) as the recommendation modeling goal, which can better learn the relative preferences of different accounts and bring fairer comparisons on different contents, thereby improving the generalization ability of the model on different accounts and contents; and, an implementation method of relative behavior modeling based on random negative sample sampling of content is proposed: by randomly sampling and matching k negative samples related to the sample content for each positive sample of the sample content in the original training set, a new balanced data set is obtained, and the recommendation model is trained based on the new data set to learn the content click differences of the account.
[0105] Figure 5 A structural diagram of a content recommendation device provided by an embodiment of the present disclosure is shown in FIG. Figure 5 As shown, the device includes: a feature information acquisition module 410, a relative click rate determination module 420 and a recommended content determination module 430. The feature information acquisition module 410 is used to obtain the account feature information authorized by the first account and the content feature information of multiple candidate contents; the relative click rate determination module 420 is used to determine the relative click rate corresponding to each candidate content according to the account feature information and the content feature information of the multiple candidate contents, wherein the relative click rate is used to measure the difference in click data between the first account and the second account on the candidate content; the recommended content determination module 430 is used to determine the target recommended content corresponding to the first account according to the relative click rates corresponding to the multiple candidate contents.
[0106] The technical solution of the disclosed embodiment obtains the account feature information authorized for use by the first account and the content feature information of multiple candidate contents through the feature information acquisition module 410, providing a data basis for the subsequent determination of the relative click rate of the candidate contents. Further, the relative click rate determination module 420 determines the relative click rate corresponding to each candidate content according to the account feature information and the content feature information of multiple candidate contents. Since the relative click rate represents the difference in click data on the candidate content compared to the second account, the difference in click data of the first account on the candidate content is more accurately determined. Finally, the target recommended content corresponding to the first account is determined according to the relative click rates corresponding to the multiple candidate contents through the recommended content determination module 430, solving the technical problem that most of the recommended contents in the related art are majority or high-heat contents, and unpopular contents are difficult to be introduced. By determining the relative click rate of the candidate contents, the prediction deviation of the click rate caused by the majority of accounts and popular contents is effectively eliminated, and the difference in click data between different accounts is highlighted, so that the recommended content can better match the differentiated needs of different accounts.
[0107] On the basis of the above-mentioned optional technical solutions, optionally, the relative click-through rate determination module 420 is specifically used to input the account characteristic information and the content characteristic information of the candidate content into a click-through rate prediction model for a single candidate content, so as to obtain the relative click-through rate corresponding to the candidate content; wherein the click-through rate prediction model is trained based on positive samples and negative samples corresponding to a plurality of sample contents; the positive samples and negative samples corresponding to different sample contents are in a preset ratio; the positive sample is constructed based on the account characteristic information authorized for use by the sample account that clicks the sample content and the content characteristic information of the sample content; the negative sample is constructed based on the account characteristic information authorized for use by the sample account that does not click the sample content and the content characteristic information of the sample content.
[0108] Based on the above optional technical solutions, optionally, the number of the negative samples is greater than the number of the positive samples.
[0109] On the basis of the above-mentioned optional technical solutions, the device may further include: a sample construction module and a model training module. The sample construction module is used to obtain an original data set corresponding to a plurality of sample contents before inputting the account feature information and the content feature information of the candidate contents into the click-through rate prediction model, obtain a positive sample corresponding to each of the sample contents from the original data set, and randomly match a plurality of negative samples to the positive samples according to the number of the positive samples and a preset ratio; the model training module is used to train a pre-established model based on the positive samples and the negative samples corresponding to the plurality of sample contents to obtain a click-through rate prediction model.
[0110] Based on the above optional technical solutions, optionally, the device further includes: a ratio adjustment module. The ratio adjustment module is used to adjust the preset ratio based on a preset performance evaluation index of the click rate prediction model after determining the target recommended content corresponding to the first account according to the relative click rates corresponding to the plurality of candidate contents, wherein the performance evaluation index at least includes operation feedback information corresponding to the target recommended content.
[0111] On the basis of the above-mentioned optional technical solutions, optionally, the relative click rate determination module 420 includes: an absolute click rate determination unit and a relative click rate determination unit. The absolute click rate determination unit is used to determine the absolute click rate corresponding to a single candidate content according to the account feature information and the content feature information of the multiple candidate contents, wherein the absolute click rate is used to indicate the number of clicks on the candidate content; the relative click rate determination unit is used to determine the average click rate corresponding to the multiple candidate contents according to the absolute click rate of the single candidate content, and determine the relative click rate corresponding to the single candidate content according to the absolute click rate and the average click rate of the single candidate content.
[0112] Based on the above-mentioned optional technical solutions, optionally, the recommended content determination module 430 is specifically used to sort the multiple candidate contents in order from high to low according to their corresponding relative click-through rates, and determine a preset number of the candidate contents with the highest sorting as the target recommended content corresponding to the first account.
[0113] Based on the above optional technical solutions, optionally, the device further includes: a content display module. The content display module is configured to display the target recommended content corresponding to the first account in a preset display form on the account terminal of the first account after determining the target recommended content corresponding to the first account according to the relative click-through rates corresponding to the plurality of candidate contents, wherein the preset display form includes switching display and / or list display.
[0114] The content recommendation device provided in the embodiments of the present disclosure can execute the content recommendation method provided in any embodiment of the present disclosure, and has the functional modules and beneficial effects corresponding to the execution method.
[0115] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
[0116] Figure 6This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 6 , which shows an electronic device (eg, Figure 6 The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0117] like Figure 6 As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An edit / output (I / O) interface 505 is also connected to the bus 504.
[0118] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0119] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0120] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0121] The electronic device provided by the embodiment of the present disclosure and the content recommendation method provided by the above embodiment belong to the same inventive concept. For technical details not fully described in this embodiment, reference can be made to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0122] The embodiments of the present disclosure provide a computer storage medium on which a computer program is stored. When the program is executed by a processor, the content recommendation method provided in the above embodiments is implemented.
[0123] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0124] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0125] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0126] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: obtains account characteristic information of the first account and content characteristic information of multiple candidate contents; determines the relative click-through rate corresponding to each of the candidate contents according to the account characteristic information and the content characteristic information of the multiple candidate contents, wherein the relative click-through rate is used to measure the difference in click data between the first account and the second account on the candidate contents; determines the target recommended content corresponding to the first account according to the relative click-through rates corresponding to the multiple candidate contents.
[0127] Computer program code for performing operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the account computer, partially on the account computer, as a separate software package, partially on the account computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the account computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0128] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0129] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
[0130] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0131] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0132] According to one or more embodiments of the present disclosure, [Example 1] provides a content recommendation method, including: obtaining account characteristic information of a first account and content characteristic information of multiple candidate contents; determining the relative click-through rate corresponding to each of the candidate contents according to the account characteristic information and the content characteristic information of the multiple candidate contents, wherein the relative click-through rate is used to measure the difference in click data between the first account and the second account on the candidate contents; determining the target recommended content corresponding to the first account according to the relative click-through rates corresponding to the multiple candidate contents.
[0133] According to one or more embodiments of the present disclosure, [Example 2] provides the method of Example 1, further comprising:
[0134] Optionally, the relative click-through rate corresponding to each of the candidate contents is determined respectively based on the account characteristic information and the content characteristic information of the multiple candidate contents, including: for a single candidate content, the account characteristic information and the content characteristic information of the candidate content are input into a click-through rate prediction model to obtain the relative click-through rate corresponding to the candidate content; wherein the click-through rate prediction model is trained based on positive samples and negative samples corresponding to multiple sample contents; the positive samples and negative samples corresponding to different sample contents are in a preset ratio; the positive sample is constructed based on the account characteristic information authorized for use by the sample account that clicks the sample content and the content characteristic information of the sample content; the negative sample is constructed based on the account characteristic information authorized for use by the sample account that does not click the sample content and the content characteristic information of the sample content.
[0135] According to one or more embodiments of the present disclosure, [Example 3] provides the method of Example 2, further comprising:
[0136] Optionally, the number of the negative samples is greater than the number of the positive samples.
[0137] According to one or more embodiments of the present disclosure, [Example 4] provides the method of Example 2, further comprising:
[0138] Optionally, before inputting the account feature information and the content feature information of the candidate content into the click-through rate prediction model, it also includes: obtaining an original data set corresponding to multiple sample contents, obtaining a positive sample corresponding to each of the sample contents from the original data set, and randomly matching multiple negative samples to the positive sample according to the number of the positive samples and a preset ratio; training a pre-established model based on the positive samples and the negative samples corresponding to the multiple sample contents to obtain a click-through rate prediction model.
[0139] According to one or more embodiments of the present disclosure, [Example 5] provides the method of Example 2, further comprising:
[0140] Optionally, after determining the target recommended content corresponding to the first account based on the relative click-through rates corresponding to the plurality of candidate contents, the method further includes: adjusting the preset ratio based on a performance evaluation index of a preset click-through rate prediction model, wherein the performance evaluation index at least includes operation feedback information corresponding to the target recommended content.
[0141] According to one or more embodiments of the present disclosure, [Example 6] provides the method of Example 2, further comprising:
[0142] Optionally, the relative click-through rate corresponding to each of the candidate contents is determined respectively based on the account characteristic information and the content characteristic information of the multiple candidate contents, including: for a single candidate content, determining an absolute click-through rate corresponding to the candidate content based on the account characteristic information and the content characteristic information of the multiple candidate contents, wherein the absolute click-through rate is used to indicate the number of clicks on the candidate content; determining an average click-through rate corresponding to the multiple candidate contents based on the absolute click-through rate of the single candidate content; and determining a relative click-through rate corresponding to the single candidate content based on the absolute click-through rate and the average click-through rate of the single candidate content.
[0143] According to one or more embodiments of the present disclosure, [Example 7] provides the method of Example 1, further comprising:
[0144] Optionally, determining the target recommended content corresponding to the first account based on the relative click-through rates corresponding to the multiple candidate contents includes: sorting the multiple candidate contents in descending order according to their corresponding relative click-through rates, and determining a preset number of the candidate contents with the highest sorting order as the target recommended content corresponding to the first account.
[0145] According to one or more embodiments of the present disclosure, [Example 8] provides the method of Example 1, further comprising:
[0146] Optionally, after determining the target recommended content corresponding to the first account based on the relative click-through rates corresponding to the multiple candidate contents, it also includes: displaying the target recommended content in a preset display form on the account terminal of the first account, wherein the preset display form includes switch display and / or list display.
[0147] According to one or more embodiments of the present disclosure, [Example Nine] provides a content recommendation device, including: a feature information acquisition module, used to obtain account feature information authorized for use by a first account and content feature information of multiple candidate contents; a relative click-through rate determination module, used to determine the relative click-through rate corresponding to each candidate content according to the account feature information and the content feature information of the multiple candidate contents, wherein the relative click-through rate is used to measure the difference in click data between the first account and the second account on the candidate content; a recommended content determination module, used to determine the target recommended content corresponding to the first account according to the relative click-through rates corresponding to the multiple candidate contents.
[0148] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0149] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0150] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A content recommendation method, characterized in that: include: Acquire account feature information authorized for use by the first account and content feature information of multiple candidate contents; Determine, according to the account characteristic information and the content characteristic information of the plurality of candidate contents, the relative click rates corresponding to the candidate contents respectively, wherein the relative click rates are used to measure the difference in click data between the first account and the second account on the candidate contents; The target recommended content corresponding to the first account is determined according to the relative click rates corresponding to the plurality of candidate contents.
2. The content recommendation method according to claim 1, characterized in that: The step of determining the relative click rate corresponding to each of the candidate contents according to the account characteristic information and the content characteristic information of the plurality of candidate contents comprises: For a single candidate content, input the account feature information and the content feature information of the candidate content into a click rate prediction model to obtain a relative click rate corresponding to the candidate content; Among them, the click-through rate prediction model is trained based on positive samples and negative samples corresponding to multiple sample contents; the positive samples and negative samples corresponding to different sample contents are in a preset ratio; the positive samples are constructed based on the account characteristic information authorized for use by the sample account that clicks the sample content and the content characteristic information of the sample content; the negative samples are constructed based on the account characteristic information authorized for use by the sample account that does not click the sample content and the content characteristic information of the sample content.
3. The content recommendation method according to claim 2, characterized in that: The number of the negative samples is greater than the number of the positive samples.
4. The content recommendation method according to claim 2, characterized in that: Before inputting the account feature information and the content feature information of the candidate content into the click rate prediction model, the method further includes: Acquire an original data set corresponding to a plurality of sample contents, acquire a positive sample corresponding to each of the sample contents from the original data set, and randomly match a plurality of negative samples to the positive sample according to the number of the positive samples and a preset ratio; The pre-established model is trained based on the positive samples and the negative samples corresponding to the plurality of sample contents to obtain a click rate prediction model.
5. The content recommendation method according to claim 2, characterized in that: After determining the target recommended content corresponding to the first account according to the relative click rates corresponding to the plurality of candidate contents, the method further includes: The preset ratio is adjusted based on a preset performance evaluation index of the click rate prediction model, wherein the performance evaluation index at least includes operation feedback information corresponding to the target recommended content.
6. The content recommendation method according to claim 1, characterized in that: The step of determining the relative click rate corresponding to each of the candidate contents according to the account characteristic information and the content characteristic information of the plurality of candidate contents comprises: For a single candidate content, determining an absolute click rate corresponding to the candidate content according to the account characteristic information and the content characteristic information of the plurality of candidate contents, wherein the absolute click rate is used to indicate the number of clicks on the candidate content; The average click rate corresponding to the plurality of candidate contents is determined according to the absolute click rate of the single candidate content, and the relative click rate corresponding to the single candidate content is determined according to the absolute click rate and the average click rate of the single candidate content.
7. The content recommendation method according to claim 1, characterized in that: The determining the target recommended content corresponding to the first account according to the relative click rates corresponding to the plurality of candidate contents includes: The plurality of candidate contents are sorted in descending order according to their corresponding relative click rates, and a preset number of candidate contents with top rankings are determined as target recommended contents corresponding to the first account.
8. The content recommendation method according to claim 1, characterized in that: After determining the target recommended content corresponding to the first account according to the relative click rates corresponding to the plurality of candidate contents, the method further includes: The target recommended content is displayed in a preset display form on the account terminal of the first account, wherein the preset display form includes switching display and / or list display.
9. A content recommendation device, characterized in that: include: A feature information acquisition module, used to acquire account feature information authorized for use by the first account and content feature information of multiple candidate contents; a relative click rate determination module, configured to determine a relative click rate corresponding to each of the candidate contents according to the account characteristic information and the content characteristic information of the plurality of candidate contents, wherein the relative click rate is used to measure the difference in click data between the first account and the second account on the candidate contents; The recommended content determination module is used to determine the target recommended content corresponding to the first account according to the relative click-through rates corresponding to the plurality of candidate contents.
10. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the content recommendation method as described in any one of claims 1-8.
11. A storage medium containing computer executable instructions, characterized in that: When the computer executable instructions are executed by a computer processor, they are used to perform the content recommendation method according to any one of claims 1 to 8.
12. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program implements the content recommendation method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Method, device and equipment for improving search result based on user behaviors
CN102073699A
Recommended content determination method and device and storage medium
CN112765450A
Method and device for determining recommended resources, electronic equipment and storage medium
CN113326436A
Object recommendation method and device, electronic equipment and storage medium
CN114547434A
Using a Multi-Task-Trained Neural Network to Guide Interaction with a Query-Processing System via Useful Suggestions
US20210326742A1
