Information recommendation method, device, electronic device and storage medium
By acquiring and analyzing behavioral data during the development stage of user relationships, calculating recommendation scores and recommending users, the problem of difficulty in forming an active community in the existing technology is solved, and the stability of user relationships and community activity are achieved.
Patent Information
- Application Number
- CN202010231254.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-03-27
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2040-03-27
Smart Images

Figure CN113449177B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet technology, and in particular to an information recommendation method, device, electronic device and storage medium. Background Art
[0002] In social application products, quickly and accurately discovering target users among a large number of platform users is the mission of user recommendation, and it is also one of the main tools and means to establish relationships between platform users.
[0003] In the related art, user recommendations are mostly made based on factors in the relationship building stage in order to establish mutually related relationships between users. For example, recommendations are made based on user interests or familiar people or relationship chains. This recommendation method will find some people that the user is interested in or is familiar with the user.
[0004] For some platforms whose main function is decentralized content distribution, user recommendations are not just to simply establish interrelated relationships between users, but to allow users to settle on the platform and form an active community that combines content production and consumption and interaction with each other. However, recommendations based on factors in the relationship building stage can only establish interrelated relationships between users, and it is difficult to ensure that users can settle on the platform and form an active community that combines content production and consumption and interaction with each other. Summary of the invention
[0005] The present disclosure provides an information recommendation method, device, electronic device and storage medium to at least solve the problem in the related art that it is difficult to ensure that users stay on the platform when user recommendations are made based on factors in the relationship establishment stage.
[0006] The technical solution of the present disclosure is as follows:
[0007] According to a first aspect of an embodiment of the present disclosure, there is provided an information recommendation method, comprising:
[0008] Acquire specified behavior data generated by the target user during the development stage of the user relationship between the target user and the candidate user;
[0009] Making user recommendations to the target user based on the specified behavior data;
[0010] The user relationship development stage includes the stage when the user relationship between the target user and the candidate user is established and the stage after the user relationship is established;
[0011] The designated behavior data is predicted and determined based on historical behavior data of the target user, and represents at least one of an attention behavior and an interaction behavior between the target user and candidate users.
[0012] Optionally, before obtaining the specified behavior data generated by the target user during the development stage of the user relationship between the target user and the candidate user, the method further includes:
[0013] Determining the candidate users associated with the target user based on the associated behavior data of the target user;
[0014] The associated behavior data includes at least one of the historical behavior data, location data, and social relationship data of the target user.
[0015] Optionally, the obtaining of specified behavior data generated by the target user during the development stage of the user relationship between the target user and the candidate user includes:
[0016] Obtaining a behavior label of at least one dimension between the target user and the candidate user according to at least one of the data records of clicks, following, deleting, refusing to follow, canceling following, interacting, and two-way following generated by the target user during the development stage of the user relationship between the target user and the candidate user;
[0017] Among them, the behavioral label of at least one dimension is at least one of click rate, attention rate, deletion rate, rejection of attention rate, cancellation of attention rate, interaction rate and two-way attention rate.
[0018] Optionally, making a user recommendation to the target user includes:
[0019] Obtaining a recommendation score between the target user and the candidate user according to the behavior labels of at least one dimension between the target user and the candidate user;
[0020] According to the recommendation scores between the target user and the candidate users, a user recommendation is made to the target user.
[0021] According to a second aspect of an embodiment of the present disclosure, there is provided an information recommendation device, including:
[0022] An acquisition unit configured to acquire designated behavior data generated by a target user during a development stage of a user relationship between the target user and a candidate user;
[0023] A recommendation unit, configured to perform user recommendation to the target user according to the specified behavior data;
[0024] The user relationship development stage includes the stage when the user relationship between the target user and the candidate user is established and the stage after the user relationship is established;
[0025] The designated behavior data is predicted and determined based on historical behavior data of the target user, and represents at least one of an attention behavior and an interaction behavior between the target user and candidate users.
[0026] Optionally, the information recommendation device further includes:
[0027] a determining unit configured to determine the candidate user associated with the target user based on the associated behavior data of the target user;
[0028] The associated behavior data includes at least one of the historical behavior data, location data, and social relationship data of the target user.
[0029] Optionally, the acquisition unit is configured to obtain a behavior label of at least one dimension between the target user and the candidate user according to at least one of the data records of clicks, attention, deletion, refusal to attention, cancellation of attention, interaction and two-way attention generated by the target user during the development stage of the user relationship between the target user and the candidate user;
[0030] Among them, the behavioral label of at least one dimension is at least one of click rate, attention rate, deletion rate, rejection of attention rate, cancellation of attention rate, interaction rate and two-way attention rate.
[0031] Optionally, the recommendation unit is configured to obtain a behavior label of at least one dimension between the target user and the candidate user according to at least one of the data records of the target user clicking, following, deleting, refusing to follow, canceling following, interacting and two-way following the candidate user;
[0032] Obtaining a recommendation score between the target user and the candidate user according to the behavior tags of at least one dimension between the target user and the candidate user; and
[0033] According to the recommendation scores between the target user and the candidate users, a user recommendation is made to the target user.
[0034] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0035] processor;
[0036] a memory for storing instructions executable by the processor;
[0037] The processor is configured to execute the instructions to implement the information recommendation method as described above.
[0038] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the information recommendation method as described above.
[0039] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0040] Since user recommendations are made to target users based on designated behavioral data generated between target users and candidate users during the user relationship development stage, user recommendations are not limited to when user relationships are established. This is more beneficial for users to settle on the platform and form an active community that integrates content production and consumption as well as interaction with each other.
[0041] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0043] Figure 1 The figure is a flow chart of an information recommendation method according to an exemplary embodiment.
[0044] Figure 2 The present invention is a flowchart showing a method of making user recommendations to target users according to specified behavior data according to an exemplary embodiment.
[0045] Figure 3 The figure is a flowchart of another information recommendation method according to an exemplary embodiment.
[0046] Figure 4 The figure is a flowchart of training a training model according to an exemplary embodiment.
[0047] Figure 5 is a schematic diagram of a first model and a second model according to an exemplary embodiment.
[0048] Figure 6 The invention is a block diagram of an information recommendation device according to an exemplary embodiment.
[0049] Figure 7 is a block diagram of another information recommendation device according to an exemplary embodiment.
[0050] Figure 8 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0051] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0052] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0053] In order to solve the problem that it is difficult for users to settle on the platform, the embodiments of the present disclosure provide an information recommendation method, device, electronic device and storage medium. The method, device, electronic device and storage medium can make user recommendations to the target user based on the specified behavior data generated between the target user and the candidate users during the user relationship development stage, thereby being more conducive to the user settling on the platform to form an active community that integrates content production and consumption as well as interaction with each other.
[0054] The information recommendation method provided by the embodiment of the present disclosure will be described in detail below.
[0055] The information recommendation method provided in the embodiments of the present disclosure may be applied to a server. For the convenience of description, unless otherwise specified, the embodiments of the present disclosure are described with the server as the execution subject.
[0056] It can be understood that the execution entity does not constitute a limitation of the embodiments of the present disclosure.
[0057] Specifically, the process of the information recommendation method is as follows Figure 1 As shown, the following steps may be included:
[0058] In step S101 , candidate users associated with the target user are determined based on the associated behavior data of the target user.
[0059] In the embodiment of the present disclosure, the target user may be any user in the social platform, and the candidate user is a user who may be recommended to the target user.
[0060] The associated behavior data of the target user may include, but is not limited to, the historical behavior data, location data, and social relationship data of the target user.
[0061] Among them, historical behavior data can be data records of historical clicks, messages, and attention of the target user, etc., location data can be the Global Positioning System (GPS) coordinates of the target user when he / she is currently logged into the social platform or the positioning coordinates provided by the mobile network operator (such as China Mobile and China Telecom), etc. Social relationship data can refer to user information that has a direct or indirect relationship with the target user (such as the target user's address book contacts or other users who have common address book contacts with the target user, etc.).
[0062] There are generally multiple candidate users. In one embodiment of the present disclosure, candidate users can be determined based on the target user's list of objects of interest, location data, and social relationship data. For example, when determining candidate users, a portion of users who have a common list of objects of interest with the target user (i.e., users who may have common hobbies) can be selected as candidate users. A portion of the target user's clicked object lists can be selected as candidate users. A portion of users who are in the same area (such as the same city) or within a certain range of the target user can be selected as candidate users. A portion of users who are address book contacts of the target user or have common address book contacts with the target user can be selected as candidate users.
[0063] It can be understood that the above is only an example. In some other embodiments, candidate users may be determined in other ways, which are not specifically limited in the embodiments of the present disclosure.
[0064] In step S103, designated behavior data generated by the target user during the development stage of the user relationship between the target user and the candidate user is obtained.
[0065] The user relationship development stage may include the stage when the user relationship between the target user and the candidate user is established and the stage after the user relationship is established. The user relationship establishment may refer to clicks, attention, messages, etc. between the target user and the candidate user.
[0066] In the disclosed embodiment, the designated behavior data is predicted and determined based on the historical behavior data of the target user, and represents at least one of the attention behavior and the interaction behavior between the target user and the candidate user.
[0067] Specifically, when obtaining the specified behavior data generated by the target user during the user relationship development stage between the target user and the candidate user, the behavior label of at least one dimension between the target user and the candidate user (i.e., the specified behavior data generated by the target user during the user relationship development stage between the target user and the candidate user) can be obtained based on at least one of the data records of clicks, attention, deletion, refusal to pay attention, cancellation of attention, interaction, and two-way attention generated by the target user during the user relationship development stage between the target user and the candidate user. Among them, the behavior label of at least one dimension is at least one of click rate, attention rate, deletion rate, refusal to pay attention rate, cancellation of attention rate, interaction rate, and two-way attention rate.
[0068] In the disclosed embodiment, a training model for calculating the behavior label of at least one dimension between the target user and the candidate user can be pre-established. When calculating the behavior label of at least one dimension between the target user and the candidate user, at least one of the data records of clicks, attention, deletion, refusal to pay attention, unattention, interaction, and two-way attention generated by the target user during the development stage of the user relationship between the target user and the candidate user can be input into the training model to output the behavior label of at least one dimension between the target user and the candidate user. The training process of the training model will be described in detail later and will not be repeated here.
[0069] The behavior label of at least one dimension is used to indicate the associated behavior between the target user and the candidate user in at least one dimension. In the embodiment of the present disclosure, the historical behavior data includes data records such as the target user's clicks, attention, deletion, refusal to pay attention, cancellation of attention, interaction, and two-way attention to the candidate user. Therefore, correspondingly, the behavior label of at least one dimension between the target user and the candidate user may include the target user's click rate, attention rate, deletion rate, refusal to pay attention rate, cancellation of attention rate, interaction rate, and two-way attention rate, etc.
[0070] The click rate, follow rate, interaction rate and two-way follow rate can reflect the possibility that the target user is interested in the candidate user to a certain extent, while the deletion rate, refusal to follow rate and unfollow rate can reflect the possibility that the target user is not interested in the candidate user to a certain extent.
[0071] Among them, the click-through rate can be the probability that the target user clicks to browse the candidate user, indicating the possibility that the target user wants to know the candidate user. The attention rate can be the probability that the target user follows the candidate user, indicating the possibility that the target user is interested in and follows the candidate user. The deletion rate can be the probability that the target user immediately clicks to delete the candidate user, indicating the possibility that the user dislikes the candidate user. The two-way attention rate can be the probability that a two-way attention will be formed between the target user and the candidate user, indicating the possibility of a more stable relationship between the target user and the candidate user. The unfollow rate can be the probability that the target user will unfollow after following the candidate user, indicating the possibility that the target user will lose interest in the candidate user. The attention interaction rate can be the probability that the target user will interact after following the candidate user, indicating the possibility of forming close attention between users. The rejection attention rate can be the probability that the target user will not follow the same candidate user after being recommended to the target user multiple times, indicating the possibility that the user does not like the candidate user.
[0072] Forming a long-term stable relationship network is conducive to user stickiness and helps the development of the community platform. Therefore, in the embodiments of the present disclosure, the two-way attention rate, the cancellation rate, the attention interaction rate and the rejection rate can be set as behavior estimates within a time period. That is to say, the behavior labels of at least one dimension between the target user and the candidate user include click-through rate, attention rate, attention interaction rate within a predetermined time period (for the convenience of description, it will be referred to as the attention interaction rate later), two-way attention rate within a predetermined time period (for the convenience of description, it will be referred to as the two-way attention rate later), deletion rate, cancellation rate within a predetermined time period (for the convenience of description, it will be referred to as the cancellation rate later) and rejection rate within a predetermined time period (for the convenience of description, it will be referred to as the rejection rate later).
[0073] In the embodiment of the present disclosure, the designated behavior data (behavior labels of at least one dimension between the user and the candidate user) characterize the attention behavior and interaction behavior between the target user and the candidate user. The attention behavior between the target user and the candidate user may include data such as the click rate, attention rate, deletion rate, rejection rate and cancellation rate of the target user to the candidate user, and the interaction behavior between the target user and the candidate user may include data such as the interaction rate and two-way attention rate between the user and the candidate user.
[0074] Therefore, the specified behavior data generated during the user relationship development stage between the target user and the candidate user may include click rate, follow rate, deletion rate, rejection follow rate, unfollow rate, interaction rate and two-way follow rate, etc.
[0075] For example, in the historical behavior data of the target user, the target user has a higher rate of following social users and a lower rate of deleting them. If the candidate user also belongs to a social user, the click rate value in the following behavior between the target user and the candidate user will be higher, and the deletion rate value in the following behavior between the target user and the candidate user will be lower.
[0076] In step S105, user recommendations are made to target users based on the specified behavior data.
[0077] like Figure 2 According to the specified behavior data, making user recommendations to target users includes the following steps:
[0078] In step S201, a recommendation score between the target user and the candidate user is obtained based on the behavior labels of at least one dimension between the target user and the candidate user.
[0079] The click rate, follow rate, interaction rate and two-way follow rate can reflect the possibility that the target user is interested in the candidate user to a certain extent, while the deletion rate, refusal to follow rate and unfollow rate can reflect the possibility that the target user is not interested in the candidate user to a certain extent.
[0080] That is, the larger the value corresponding to the behavior tags such as click rate, attention rate, interaction rate, and two-way attention rate, the more likely the target user is interested in the candidate user, and the larger the value corresponding to the behavior tags such as deletion rate, rejection attention rate, and cancellation attention rate, the more likely the target user is not interested in the candidate user. Therefore, in the embodiment of the present disclosure, the recommendation score between the target user and the candidate user can be directly obtained based on the value corresponding to each behavior tag such as click rate, attention rate, interaction rate, two-way attention rate, deletion rate, rejection attention rate, and cancellation attention rate.
[0081] For example, the values corresponding to multiple behavior tags such as click rate, attention rate, attention interaction rate and two-way attention rate in the behavior tags of at least one dimension can be added together, and then the values corresponding to the corresponding behavior tags such as deletion rate, unfollow rate and rejected attention rate can be subtracted. The obtained value is the recommendation score between the target user and each candidate user.
[0082] Different users have different focuses on social platforms. Therefore, in the embodiments of the present disclosure, different strategies can be set for different types of users when determining the recommended users of the target user, and different weight coefficients can be set for click rate, attention rate, attention interaction rate, two-way attention rate, deletion rate, unfollow rate and rejection rate. The calculation formula of the recommendation score between the target user and the candidate user can be expressed as Score = w ftr *p ftr +w ctr *pctr +w bftr *p bftr +w iftr *p iftr -w uftr *p uftr -w dtr *p dtr -w rftr *p rftr , where Score represents the recommendation score between the target user and a candidate user, and w ftr represents the attention rate, p ftr Represents the weight coefficient corresponding to the attention rate, w ctr Indicates click rate, p ctr Indicates the weight coefficient corresponding to the click rate, w bftr represents the bidirectional attention rate, p bftr Represents the weight coefficient corresponding to the bidirectional attention rate, w iftr Indicates the interaction rate, p iftr Indicates the weight coefficient corresponding to the attention interaction rate, w uftr represents the unfollow rate, p uftr represents the weight coefficient corresponding to the unfollow rate, w dtr represents the deletion rate, p dtr Represents the weight coefficient corresponding to the deletion rate, w rftr represents the rejection rate, p rftr Indicates the weight coefficient corresponding to the rejection rate.
[0083] For example, for new users (such as users who registered within 7 days), since new users have simple social relationships, user recommendation is a way of cold start, and the trigger results are more popular, mainly to attract user attention. In the weight coefficient setting, the weight coefficient corresponding to the attention rate and the weight coefficient corresponding to the click rate can be set relatively high, and the other weight coefficients can be set relatively low. For social users (such as old users who interact more and are mainly social), since social users like to like, comment, forward, and show their presence, the main purpose of user recommendation is to help users find closer and more likely to interact with users. Therefore, in the weight setting, the weight coefficient corresponding to the two-way attention rate and the weight coefficient corresponding to the click rate can be set relatively high, and other weight coefficients can be set relatively low. For consumption-oriented users (such as old users with less interaction and mainly browsing), since they have relatively less interaction, they generally only read the works without liking, commenting, or forwarding them. They have relatively high requirements for consumption quality. The main purpose of user recommendations is to help users find close and favorite users. At the same time, they have high requirements for negative feedback. Therefore, in the weight setting, the weight coefficient corresponding to the unfollow rate and the weight coefficient corresponding to the deletion rate can be set higher, and other weight coefficients can be set relatively low.
[0084] Since different weight coefficients are set for behavioral tags of different dimensions for different types of users, it is possible to accurately recommend users of interest to different types of users, reduce the impact of negative recommendations on users, and increase the stickiness of the platform.
[0085] In step S203, a user recommendation is made to the target user according to the recommendation scores between the target user and the candidate users.
[0086] When recommending users to a target user, it is possible to determine whether the recommendation scores between the target user and each candidate user exceed a preset threshold. If the threshold is exceeded, the candidate user corresponding to the recommendation score is determined as the target user's recommended user and recommended to the target user. Alternatively, the recommendation scores corresponding to all candidate users are sorted, and the candidate users corresponding to the top recommendation scores are selected as the target user's recommended users and recommended to the target user.
[0087] See also Figure 3 , is a flowchart of another information recommendation method provided by an embodiment of the present disclosure, which may include the following steps:
[0088] In step S301, based on the historical designated behavior data generated by the historical target user during the relationship development stage between the historical target user and the historical recommended user as sample input, historical behavior labels of at least one dimension generated after recommending the historical recommended user to the historical target user are used as sample output for training to obtain a training model.
[0089] In the disclosed embodiment, the specified behavior data generated by the target user during the development stage of the user relationship between the target user and the candidate user is input into the training model to output the behavior label of at least one dimension between the target user and the candidate user, and the process of training the information recommendation model is also included. In the subsequent process of recommending recommended users to the target user on the social platform, it is not necessary to train the information recommendation model every time, or the training model can be periodically updated based on the training samples newly collected on the social platform to improve the prediction accuracy of the training model, thereby improving the accuracy in the social user recommendation process.
[0090] like Figure 4 As shown, the training process of the training model may include the following steps:
[0091] In step S401, historical designated behavior data generated by the historical target user during the development stage of the relationship between the historical target user and the historical recommended user is input as a sample into a first model to obtain a first result.
[0092] The historical target user refers to a user who has added a recommended user, and the historical recommended user refers to a user who is recommended to the historical target user and added by the historical target user. The historical designated behavior data generated by the historical target user during the development stage of the relationship between the historical target user and the historical recommended user may be data records such as clicks, attention, deletion, refusal to attention, unattention, interaction, and two-way attention of the historical recommended user recommended to the historical target user, which is not specifically limited in the embodiments of the present disclosure.
[0093] The first result represents the multi-dimensional behavior labels generated after recommending the historical recommended user to the historical target user without considering the mutual influence between various attention and interaction behaviors (including click, attention, deletion, refusal to follow, unfollow, interaction, two-way attention, etc.). The multi-dimensional behavior labels may include, but are not limited to, labels such as click-through rate, attention rate, interaction rate, and two-way interaction rate for indicating the generation of positive social relationship behaviors, and labels such as deletion rate, unfollow rate, and refusal to follow rate for indicating the generation of negative social relationship behaviors. Among them, if the historical target user has a certain attention or interaction behavior with the historical recommended user, the value of the behavior label of the corresponding dimension is 1, and if the historical target user has not had a certain attention or interaction behavior with the historical recommended user, the value of the behavior label of the corresponding dimension is 0. For example, if the historical target user checked a certain historical recommended user but did not follow the historical recommended user, the corresponding multi-dimensional behavior label has a click rate of 1 and a attention rate of 0.
[0094] In step S403, the first result is used as the input of the second model, and the historical behavior labels of at least one dimension generated after recommending the historical recommended users to the historical target users are used as sample outputs for training to obtain a training model.
[0095] In the embodiment of the present disclosure, the first model may use a dual-tower deep neural network (DNN), and the second model may use a Bayesian network (BN). Figure 5 As shown in Figure 1, the dual-tower deep neural network includes an embedding layer, a sharing layer, and an output layer. Since the two-way follow rate, unfollow rate, follow interaction rate, and rejection rate are set as behavior estimates within a period of time, and the click rate, follow rate, and deletion rate are behavior estimates at a time point, Figure 5 As shown in , different embedding layers, shared layers, and output layers may be used to predict behavior within a time period and at a time point, respectively.
[0096] During training, the training samples are first input into the embedding layer, which obtains the embedding vector embedding based on the historical designated behavior data generated by the historical target user in the training sample during the development stage of the relationship between the historical target user and the historical recommended user. The embedding vector embedding is a vector constructed according to a mapping relationship, which can be mapping information in a space to a vector space to construct respective network expressions. Then, the embedding vectors output by the embedding layer are superimposed and input into the sharing layer, which fuses the input embedding vectors and connects to the output layer. After being processed by the output layer, the probability prediction result of the historical behavior label of at least one dimension generated by the historical target user for the historical recommended user is output. The probability prediction result is the result without considering the mutual influence between the attention and interactive behaviors.
[0097] In actual situations, behaviors in some dimensions will depend on behaviors in other dimensions, such as attention will depend on click behavior, two-way attention behavior will depend on attention behavior, and un-attention behavior and interaction behavior will depend on attention and two-way attention behavior. Therefore, after the output layer outputs the probability prediction results of the historical behavior labels of at least one dimension without considering the mutual influence between the attention and interaction behaviors, in the Bayesian network, the corresponding probability prediction results of the attention or interaction behaviors that will be affected by the behaviors corresponding to the historical behavior labels of other dimensions will be fused with the probability prediction results of the historical behavior labels of other dimensions on which they depend, and finally the probability prediction results of the historical behavior labels of at least one dimension generated by the historical target user to the historical recommended user under the situation of mutual influence between the attention and interaction behaviors are output. Finally, with the goal of minimizing the loss function, the parameters of the dual-tower neural network are continuously adjusted based on the labels corresponding to the training samples and the prediction results output by the model, and finally a training model for predicting the probability of the user's attention or interaction behavior of at least one dimension to the recommended object is obtained.
[0098] In step S303, candidate users associated with the target user are determined based on the associated behavior data of the target user.
[0099] In step S305, designated behavior data generated by the target user during the development stage of the user relationship between the target user and the candidate user is obtained.
[0100] In step S307, user recommendations are made to the target user based on the specified behavior data.
[0101] In an embodiment of the present disclosure, the specified behavior data generated by the target user during the development stage of the user relationship between the target user and the candidate user can be input into a pre-trained training model to output a behavior label of at least one dimension between the target user and the candidate user, and then a recommendation score between the target user and the candidate user is obtained based on the behavior label of at least one dimension between the target user and the candidate user, and a user recommendation is made to the target user based on the recommendation score. The specified behavior data can characterize the clicks, attention, deletion, refusal to follow, unfollowing, interaction and two-way attention between the target user and the candidate user, thus taking into account the problems that the system will encounter in each link of user recommendation. Compared with the problem that the user recommendation value only stays in the relationship establishment stage in the past, the scheme disclosed in the present invention not only takes into account the clicks, attention, or deletion of the recommended user generated by the user during the recommendation, but also takes into account whether the user will form a two-way attention or interactive behavior within a period of time, as well as the behavior of not following or unfollowing after multiple recommendations. Therefore, it can form a more stable relationship between the recommending user and the recommended user, which is more beneficial for users to settle on the platform to form an active community that integrates content production and consumption and interaction with each other, and guide users to form a better, more stable and more active two-way interactive friendly relationship, while reducing the impact of negative recommendations on users. Secondly, when establishing a training model, the scheme disclosed in the present invention does not treat the behavior labels of each dimension equally, but models them through a Bayesian network based on the dependency between the behavior labels of each dimension during user use, and the recommendation accuracy is significantly better than the traditional estimation model. In addition, since different weight coefficients are set for labels used to indicate positive social relationship behaviors and labels used to indicate negative social relationship behaviors for different types of users, it is possible to accurately recommend users of interest to different types of users, further reducing the impact of negative recommendations on users and increasing the stickiness of the platform.
[0102] See also Figure 6 , is a block diagram of an information recommendation device 600 provided in an embodiment of the present disclosure. Figure 6 As shown, the information recommendation device 600 includes a determination unit 601 , an acquisition unit 603 and a recommendation unit 605 .
[0103] The determination unit 601 is configured to determine the candidate user associated with the target user based on the associated behavior data of the target user.
[0104] The associated behavior data includes at least one of the historical behavior data, location data, and social relationship data of the target user.
[0105] The acquisition unit 603 is configured to execute acquisition of designated behavior data generated by the target user during the development stage of the user relationship between the target user and the candidate user.
[0106] The user relationship development stage includes a stage when the user relationship between the target user and the candidate user is established and a stage after the user relationship is established.
[0107] The designated behavior data is predicted and determined based on historical behavior data of the target user, and represents at least one of an attention behavior and an interaction behavior between the target user and candidate users.
[0108] Specifically, the acquisition unit 603 is configured to obtain a behavior label of at least one dimension between the target user and the candidate user according to at least one of the data records of clicks, attention, deletion, refusal to pay attention, cancellation of attention, interaction, and two-way attention generated by the target user during the development stage of the user relationship between the target user and the candidate user. The behavior label of at least one dimension is at least one of click rate, attention rate, deletion rate, refusal to pay attention rate, cancellation of attention rate, interaction rate, and two-way attention rate.
[0109] The recommendation unit 605 is configured to perform user recommendation to the target user according to the specified behavior data.
[0110] Specifically, the recommendation unit 605 is configured to execute, based on at least one dimension of behavior labels between the target user and the candidate user, obtaining a recommendation score between the target user and the candidate user; and making a user recommendation to the target user based on the recommendation score between the target user and the candidate user.
[0111] Furthermore, the recommendation unit 605 can also be configured to execute based on the behavior labels of at least one dimension between the target user and the candidate user and the weight coefficient corresponding to the behavior labels of the at least one dimension, to obtain the recommendation score between the target user and the candidate user.
[0112] See also Figure 7 In one embodiment of the present disclosure, the information recommendation device 600 further includes a training unit 607 .
[0113] The training unit 607 is configured to perform training based on historical designated behavior data generated by the historical target user during the relationship development stage between the historical target user and the historical recommended user as sample input, and historical behavior labels of at least one dimension generated after recommending the historical recommended user to the historical target user as sample output, to obtain a training model.
[0114] Specifically, the training unit 607 is configured to execute the input of the historical designated behavior data generated by the historical target user in the relationship development stage between the historical target user and the historical recommended user as a sample into the first model to obtain a first result. And the first result is used as the input of the second model, and the historical behavior label of at least one dimension generated after the historical recommended user is recommended to the historical target user is used as a sample output for training to obtain a training model.
[0115] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0116] Figure 8 is a block diagram of an electronic device according to an exemplary embodiment. Figure 8 The electronic device includes a processing component 801, which further includes one or more processors, and a memory resource represented by a memory 802 for storing instructions executable by the processing component 802, such as an application. The application stored in the memory 802 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 801 is configured to execute instructions to perform the above-mentioned recommendation method. For example, the recommendation method includes the following steps:
[0117] Acquire specified behavior data generated by the target user during the development stage of the user relationship between the target user and the candidate user;
[0118] Making user recommendations to the target user based on the specified behavior data;
[0119] The user relationship development stage includes the stage when the user relationship between the target user and the candidate user is established and the stage after the user relationship is established;
[0120] The designated behavior data is predicted and determined based on historical behavior data of the target user, and represents at least one of an attention behavior and an interaction behavior between the target user and candidate users.
[0121] The electronic device may further include a power supply component 803 configured to perform power management of the electronic device, a wired or wireless network interface 804 configured to connect a server to a network, and an input / output (I / O) interface 805. The electronic device may operate based on an operating system stored in the memory 802, such as Windows Server™, Mac OSX™, Unix™, Linux™, FreeBSD™ or the like.
[0122] Through the electronic device described in the embodiment of the present disclosure, the specified behavior data generated by the target user during the user relationship development stage between the target user and the candidate user can be input into a pre-trained training model to output a behavior label of at least one dimension between the target user and the candidate user, and then based on the behavior label of at least one dimension between the target user and the candidate user, a recommendation score between the target user and the candidate user is obtained, and a user recommendation is made to the target user based on the recommendation score. The specified behavior data can characterize the clicks, attention, deletion, refusal to follow, unfollowing, interaction and two-way attention between the target user and the candidate user, thus taking into account the problems that the system will encounter in each link of user recommendation. Compared with the problem that the user recommendation value only stays in the relationship establishment stage in the past, the scheme disclosed in the present invention not only takes into account the clicks, attention, or deletion of the recommended user generated by the user during the recommendation, but also takes into account whether the user will form a two-way attention or interactive behavior within a period of time, as well as the behavior of not following or unfollowing after multiple recommendations. Therefore, it can form a more stable relationship between the recommending user and the recommended user, which is more beneficial for users to settle on the platform to form an active community that integrates content production and consumption and interaction with each other, and guide users to form a better, more stable and more active two-way interactive friendly relationship, while reducing the impact of negative recommendations on users. Secondly, when establishing a training model, the scheme disclosed in the present invention does not treat the behavior labels of each dimension equally, but models them through a Bayesian network based on the dependency between the behavior labels of each dimension during user use, and the recommendation accuracy is significantly better than the traditional estimation model. In addition, since different weight coefficients are set for labels used to indicate positive social relationship behaviors and labels used to indicate negative social relationship behaviors for different types of users, it is possible to accurately recommend users of interest to different types of users, further reducing the impact of negative recommendations on users and increasing the stickiness of the platform.
[0123] In an exemplary embodiment, a storage medium including instructions is also provided, such as a memory 802 including instructions, and the instructions can be executed by a processor of the device 600 to complete the above recommendation method. For example, the recommendation method includes the following steps:
[0124] Acquire specified behavior data generated by the target user during the development stage of the user relationship between the target user and the candidate user;
[0125] Making user recommendations to the target user based on the specified behavior data;
[0126] The user relationship development stage includes the stage when the user relationship between the target user and the candidate user is established and the stage after the user relationship is established;
[0127] The designated behavior data is predicted and determined based on historical behavior data of the target user, and represents at least one of an attention behavior and an interaction behavior between the target user and candidate users.
[0128] Alternatively, the storage medium may be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0129] Through the storage medium described in the embodiment of the present disclosure, the specified behavior data generated by the target user during the user relationship development stage between the target user and the candidate user can be input into a pre-trained training model to output a behavior label of at least one dimension between the target user and the candidate user, and then based on the behavior label of at least one dimension between the target user and the candidate user, a recommendation score between the target user and the candidate user is obtained, and a user recommendation is made to the target user based on the recommendation score. The specified behavior data can characterize the clicks, attention, deletion, refusal to follow, unfollowing, interaction and two-way attention between the target user and the candidate user, thus taking into account the problems that the system will encounter in each link of user recommendation. Compared with the problem that the user recommendation value only stays in the relationship establishment stage in the past, the scheme disclosed in the present invention not only takes into account the clicks, attention, or deletion of the recommended user generated by the user during the recommendation, but also takes into account whether the user will form a two-way attention or interactive behavior within a period of time, as well as the behavior of not following or unfollowing after multiple recommendations. Therefore, it can form a more stable relationship between the recommending user and the recommended user, which is more beneficial for users to settle on the platform to form an active community that integrates content production and consumption and interaction with each other, and guide users to form a better, more stable and more active two-way interactive friendly relationship, while reducing the impact of negative recommendations on users. Secondly, when establishing a training model, the scheme disclosed in the present invention does not treat the behavior labels of each dimension equally, but models them through a Bayesian network based on the dependency between the behavior labels of each dimension during user use, and the recommendation accuracy is significantly better than the traditional estimation model. In addition, since different weight coefficients are set for labels used to indicate positive social relationship behaviors and labels used to indicate negative social relationship behaviors for different types of users, it is possible to accurately recommend users of interest to different types of users, further reducing the impact of negative recommendations on users and increasing the stickiness of the platform.
[0130] The present disclosure also provides a computer program product, including instructions. When the computer program product is executed by a computer, the instructions cause the computer to execute the above-mentioned recommendation method. For example, the recommendation method includes the following steps:
[0131] Acquire specified behavior data generated by the target user during the development stage of the user relationship between the target user and the candidate user;
[0132] Making user recommendations to the target user according to the specified behavior data;
[0133] The user relationship development stage includes the stage when the user relationship between the target user and the candidate user is established and the stage after the user relationship is established;
[0134] The designated behavior data is predicted and determined based on historical behavior data of the target user, and represents at least one of an attention behavior and an interaction behavior between the target user and candidate users.
[0135] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0136] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. An information recommendation method, characterized in that: include: Determine candidate users associated with the target user based on the associated behavior data of the target user; wherein the associated behavior data includes at least one of the historical behavior data, location data, and social relationship data of the target user; Acquire designated behavior data generated by a target user during the development stage of a user relationship between the target user and a candidate user; the acquiring designated behavior data generated by a target user during the development stage of a user relationship between the target user and a candidate user comprises: obtaining a behavior label of at least one dimension between the target user and the candidate user according to at least one of data records of deletion, refusal to follow, and cancellation of follow generated by the target user during the development stage of a user relationship between the target user and the candidate user; wherein the behavior label of at least one dimension is at least one of a deletion rate, a refusal to follow rate, and a cancellation of follow rate; Making user recommendations to the target user based on the specified behavior data; The user relationship development stage includes a stage when the user relationship between the target user and the candidate user is established and a stage after the user relationship is established.
2. The method according to claim 1, characterized in that: According to the specified behavior data, user recommendations are made to the target user, including: Obtaining a recommendation score between the target user and the candidate user according to the behavior labels of at least one dimension between the target user and the candidate user; According to the recommendation scores between the target user and the candidate users, a user recommendation is made to the target user.
3. The method according to claim 2, characterized in that The obtaining, based on the behavior tags of at least one dimension between the target user and the candidate user, a recommendation score between the target user and the candidate user, comprises: A recommendation score between the target user and the candidate user is obtained according to the behavior tags of at least one dimension between the target user and the candidate user and the weight coefficient corresponding to the behavior tags of the at least one dimension.
4. An information recommendation device, characterized in that: include: A determination unit, configured to determine a candidate user associated with the target user based on the associated behavior data of the target user; wherein the associated behavior data includes at least one of the historical behavior data, location data, and social relationship data of the target user; The acquisition unit is configured to execute acquisition of designated behavior data generated by the target user during the development stage of the user relationship between the target user and the candidate user; the acquisition unit is configured to obtain a behavior label of at least one dimension between the target user and the candidate user according to at least one of the data records of deletion, refusal to follow, and cancellation of follow generated by the target user during the development stage of the user relationship between the target user and the candidate user; wherein the behavior label of at least one dimension is at least one of the deletion rate, refusal to follow rate, and cancellation of follow rate; A recommendation unit, configured to perform user recommendation to the target user according to the specified behavior data; The user relationship development stage includes a stage when the user relationship between the target user and the candidate user is established and a stage after the user relationship is established.
5. The device according to claim 4, characterized in that The recommendation unit is configured to obtain a behavior label of at least one dimension between the target user and the candidate user according to at least one of the data records of the target user deleting, refusing to follow, and canceling following the candidate user; Obtaining a recommendation score between the target user and the candidate user according to the behavior labels of at least one dimension between the target user and the candidate user; as well as According to the recommendation scores between the target user and the candidate users, a user recommendation is made to the target user.
6. The device according to claim 5, characterized in that The recommendation unit is configured to execute, based on the behavior tags of at least one dimension between the target user and the candidate user and the weight coefficient corresponding to the behavior tags of the at least one dimension, to obtain a recommendation score between the target user and the candidate user.
7. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the information recommendation method as claimed in any one of claims 1 to 3.
8. A storage medium, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the information recommendation method as claimed in any one of claims 1 to 3.
