Content recommendation method and device, computer equipment and medium

By obtaining user characteristics and behavior data, customized intervention operations are implemented for different users, which solves the problem of difficulty in providing personalized recommendations in existing recommendation systems and improves the accuracy of recommendations and user experience.

CN118733872APending Publication Date: 2024-10-01SHUXING TECH (BEIJING) CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410744562.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

It is difficult for existing recommendation systems to provide personalized and targeted video recommendations, resulting in low user experience and low retention rates.

Method used

By obtaining the user characteristics of the target user, the target intervention operation in the predetermined characteristic dimension is determined, and based on the behavioral data in multiple characteristic dimensions, the target recommended content is selected from the set of content to be recommended and recommended to the user.

Benefits of technology

It improves the accuracy of content recommendations and user experience, and increases user engagement and retention rates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733872A_ABST
    Figure CN118733872A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a content recommendation method and device, computer equipment and a medium, and the method comprises the steps: obtaining user features of a target user, and determining a target intervention operation of a predetermined feature dimension applied to the target user based on the user features; determining a to-be-recommended content set, and obtaining behavior data generated by the to-be-recommended content in the to-be-recommended content set under a plurality of feature dimensions; the plurality of feature dimensions comprise a predetermined feature dimension; determining target recommendation content from the to-be-recommended content set based on behavior data generated by the to-be-recommended content in the to-be-recommended content set under the plurality of feature dimensions and the target intervention operation, and recommending the target recommendation content to the target user; personalized recommendation can be provided, and the content recommendation accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the rapid development of computer technology and Internet technology, more and more content has been added, and the recommendation system has also developed rapidly. The recommendation system can extract relevant data from the massive content and make recommendations. However, when the recommendation system makes recommendations, it usually recommends data with higher popularity. As user needs and requirements become higher and higher, users hope that multimedia platforms can recommend videos that are more in line with their needs, that is, to provide users with more targeted recommendations. Therefore, how to recommend more accurate data to users has become a research hotspot for data recommendation. Summary of the invention

[0003] The embodiments of the present application provide a content recommendation method, apparatus, computer device, and medium, which can provide personalized recommendations and improve the accuracy of content recommendations.

[0004] The first aspect of the embodiment of the present application discloses a content recommendation method, the method comprising:

[0005] Acquire user characteristics of a target user, and determine a target intervention operation of a predetermined characteristic dimension to be applied to the target user based on the user characteristics;

[0006] Determine a set of content to be recommended, and obtain behavior data generated by the content to be recommended in the set of content to be recommended under multiple feature dimensions; the multiple feature dimensions include the predetermined feature dimension;

[0007] Based on the behavior data generated by each to-be-recommended content under multiple feature dimensions and the target intervention operation, target recommended content is determined from the to-be-recommended content set, and the target recommended content is recommended to the target user.

[0008] A second aspect of an embodiment of the present application discloses a content recommendation device, the device comprising:

[0009] a determination unit, configured to obtain user characteristics of a target user, and determine a target intervention operation of a predetermined characteristic dimension to be applied to the target user based on the user characteristics;

[0010] an acquisition unit, configured to determine a set of content to be recommended, and acquire behavior data generated by the content to be recommended in the set of content to be recommended under multiple feature dimensions; the multiple feature dimensions include the predetermined feature dimension;

[0011] The recommendation unit is used to determine target recommended content from the set of content to be recommended based on the behavior data generated by each content to be recommended under multiple feature dimensions and the target intervention operation, and recommend the target recommended content to the target user.

[0012] A third aspect of an embodiment of the present application discloses a computer device, comprising a processor and a memory, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method of the first aspect above.

[0013] A fourth aspect of an embodiment of the present application discloses a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the method of the first aspect.

[0014] The fifth aspect of the embodiments of the present application discloses a computer program product or a computer program, wherein the computer program product or the computer program comprises program instructions, and when the program instructions are executed by a processor, the method of the first aspect is implemented.

[0015] In an embodiment of the present application, user characteristics of the target user can be obtained, and target intervention operations of predetermined feature dimensions to be applied to the target user can be determined based on the user characteristics; a set of content to be recommended can also be determined, and behavioral data generated by the content to be recommended in the set of content to be recommended under multiple feature dimensions can be obtained; the multiple feature dimensions include a predetermined feature dimension; further, based on the behavioral data generated by each content to be recommended under multiple feature dimensions and the target intervention operation, target recommended content can be determined from the set of content to be recommended, and the target recommended content can be recommended to the target user; by implementing the above method, in content recommendation, customized, personalized and targeted intervention operations of feature dimensions are implemented for different users, and then the behavioral characteristics under various feature dimensions and the intervention operations under predetermined feature dimensions can be comprehensively utilized to realize data recommendation, so as to realize personalized and targeted content recommendation, provide users with more accurate data, so as to improve the accuracy of content recommendation, and effectively improve user experience, and further improve user engagement and retention rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0017] Figure 1It is a schematic diagram of a framework of a content recommendation system provided in an embodiment of the present application;

[0018] Figure 2 It is a flowchart of a content recommendation method provided in an embodiment of the present application;

[0019] Figure 3 is a flowchart of another content recommendation method provided in an embodiment of the present application;

[0020] Figure 4 It is a flowchart of another content recommendation method provided in an embodiment of the present application;

[0021] Figure 5 is a structural diagram of a content recommendation device provided in an embodiment of the present application;

[0022] Figure 6 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0023] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0024] An embodiment of the present application proposes a content recommendation scheme, the principle of which is as follows: user characteristics of a target user can be obtained, and target intervention operations of predetermined feature dimensions imposed on the target user can be determined based on the user characteristics; a set of content to be recommended can also be determined, and behavioral data generated by each content to be recommended in the set of content to be recommended under multiple feature dimensions can be obtained; and then, based on the behavioral data generated by each content to be recommended under multiple feature dimensions and the target intervention operations, target recommended content can be determined from the set of content to be recommended, and the target recommended content can be recommended to the target user.

[0025] By implementing the above method, in content recommendation, customized, personalized and targeted intervention operations in feature dimensions are implemented for different users, and then the behavioral characteristics under various feature dimensions and the intervention operations under predetermined feature dimensions can be comprehensively utilized to realize data recommendation, so as to realize personalized and targeted content recommendation, provide users with more accurate data, so as to improve the accuracy of content recommendation, and effectively improve user experience, and further improve user participation and retention rate.

[0026] In a specific implementation, the execution subject of the above-mentioned content recommendation scheme can be a computer device, which can be a terminal or a server. The terminal mentioned here can be a smart phone, tablet computer, laptop computer, desktop computer and other devices; the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms, etc.

[0027] It should be noted that when the computer device is a server, the embodiment of the present application provides a content recommendation system, such as Figure 1 As shown, the content recommendation system includes at least one terminal and at least one server; the terminal can obtain user characteristics of the target user and upload the obtained user characteristics to the server (i.e., a computer device), so that the computer device can adopt a content recommendation scheme and implement content recommendation based on the user characteristics, such as determining target recommended content for the target user based on the user characteristics, and then recommending the corresponding target recommended content to the target user.

[0028] Based on the content recommendation solution provided above, the embodiment of the present application provides a content recommendation method, which can be executed by the computer device mentioned above. Figure 2 , the content recommendation method includes but is not limited to the following steps:

[0029] S201, obtaining user characteristics of a target user, and determining a target intervention operation of a predetermined characteristic dimension to be applied to the target user based on the user characteristics.

[0030] The target user may refer to any user who logs into the target application. The target user may specifically refer to an old user, a new user, or a new user in a broad sense of the target application. A new user in a broad sense refers to a returning user who has been lost for a specified period of time (such as more than 28 days), or a user who returns to the target application after being interrupted for more than a specified period of time. The target application refers to an application that can recommend content, such as a browser, an information flow application, an educational application, a multimedia playback application, and so on. Activity here may refer to whether the target application has been logged in. If the user has logged in to the target application on a certain day, it is understood that the user is active on that day. If the user has not logged in to the target application on a certain day, it is understood that the user is inactive on that day.

[0031] The user characteristics may include the target user's gender, age, historical active days, interest preferences, etc. The historical active days may refer to the total number of days the target user was active in the first historical time period. The first historical time period may refer to a time period before the current time and separated from the current time by a first preset time length (e.g., 30 days, 40 days, etc.), and the current time here may refer to the moment when the acquisition demand for acquiring the user characteristics of the target user is detected.

[0032] In one implementation, the triggering condition for executing step S201 may be that there is a demand for content recommendation for the target user, that is, when the demand for content recommendation for the target user is detected, the user characteristics of the target user may be obtained. In one embodiment, if it is detected that the target user logs into the target application, it may be determined that there is a demand for content recommendation for the target user; or, if it is detected that the target user refreshes the content on the target application after logging into the target application, it may be determined that there is a demand for content recommendation for the target user.

[0033] Generally, the user's activity, participation, content interaction, and social interaction on the target application will directly affect the user's loyalty to the target application and willingness to continue using it. Based on this, it can be seen that for a series of specific behavioral characteristics of users on the target application, such as clicks, attention, likes, comments, favorites, and sharing, these behavioral characteristics will be closely correlated with the user retention rate on the target application, that is, these behavioral characteristics will affect the user retention rate. Among them, the user retention rate can measure the key indicator of whether the target application can keep users continuing to use it. It can reflect the user's loyalty and satisfaction with the target application, that is, whether the user can continue to use the target application.

[0034] It is understandable that the user's behavioral characteristics can reveal the user's real needs and interests. If these needs are not met, the user retention rate may be affected. To a certain extent, these behavioral characteristics are correlated with the user retention rate. For example, the more frequent the user's interaction with the target application (such as the above-mentioned clicks, attention and other interactive behaviors), the closer the relationship network formed between the user and the target application, which helps to improve the user retention rate. In an embodiment of the present application, it is possible to consider content recommendation from the perspective of these behavioral characteristics, while ensuring personalized recommendations and improving the user retention rate as much as possible. Based on this, it can be seen that the multiple feature dimensions here may include: any two or more of the click dimension, attention dimension, like dimension, comment dimension, collection dimension and sharing dimension. The embodiment of the present application mainly describes the relevant aspects by taking multiple feature dimensions including click dimension, attention dimension, like dimension, comment dimension, collection dimension and sharing dimension as an example. The following is a brief introduction to various feature dimensions:

[0035] Click: The content that users click on indicates their interests. Content with high click frequency often attracts users to explore more deeply, thus increasing the user's activity in the target application.

[0036] Follow: Users choose to follow, indicating a long-term interest in a topic or individual. This helps create a stable user base, promotes social interaction, and thus enhances user stickiness.

[0037] Likes: Users’ likes reflect their positive feedback on the content. The number of likes can be used as an indicator of the popularity of the content and help the recommendation system better understand user preferences.

[0038] Comments: Users can express their interest in the content by commenting on it, and can also express their participation and opinions on the topic. Comments can increase community activity and promote interaction between users.

[0039] Collection: Users’ collection of content indicates their recognition of the long-term value of information. Collection behavior helps us understand users’ long-term interests and preferences, which is important for building personalized recommendations.

[0040] Sharing: Users sharing content on social networks indicates a high degree of recognition of the content and willingness to recommend it to others. Sharing behavior can not only expand the audience range of the content, but also provide important clues about the influence of the content to the recommendation system.

[0041] It should be understood that the recommendation system of the current target application will sort each content when recommending content, so as to realize content recommendation based on the sorting results; wherein, the sorting operation is usually realized by using a formula to calculate the recommendation score of each content, and then using the recommendation score to sort each content. The formula used for the recommended sorting of content can usually include the above feature dimensions (such as clicks, attention, likes, comments, favorites and shares) to make full use of these feature dimensions in the recommendation system to realize the recommended sorting of content. By considering these feature dimensions for recommendation sorting, the user experience can also be greatly improved, and the user participation and retention rate can be increased. Among them, the weight coefficients (influence coefficients) corresponding to each feature dimension can also be involved in the above-mentioned formulas. Then, the weight coefficient of a content under each feature dimension also affects the recommendation score required for the content to be recommended and sorted.

[0042] Based on the above considerations, the embodiments of the present application focus on how to intervene in the weight coefficients of these feature dimensions, that is, how to determine the weight coefficients of these feature dimensions. Among them, the influence coefficient of a feature dimension involved in the embodiments of the present application can be understood as the weight coefficient for the feature dimension when recommending content; for example, assuming that the feature dimension is the click dimension, the influence coefficient under the click dimension is the weight coefficient for the click volume when recommending content.

[0043] In one implementation, a prediction model may be called to determine the influence coefficients of target users under multiple feature dimensions. The prediction model is obtained by training an Uplift Modeling (Uplift Modeling). Here, prediction is implemented by a prediction model, which can effectively improve the intelligence and automation of prediction.

[0044] In one embodiment, the specific implementation of calling the prediction model to implement the determination operation can be: calling the prediction model to process the user characteristics of the target object to obtain the target intervention operation of the predetermined feature dimension imposed on the target user, and then based on the target intervention operation, determining the corresponding influence coefficients under multiple feature dimensions after the target intervention operation of the predetermined feature dimension is imposed on the target user.

[0045] In one possible implementation, a prediction model may be called to process user features to obtain a first influence probability corresponding to each feature dimension of the target user after intervention operations in multiple feature dimensions are respectively applied, and a second influence probability after no intervention operations in any feature dimension are applied. After obtaining these influence probabilities, a target intervention operation in a predetermined feature dimension applied to the target user may be selected from the intervention operations in multiple feature dimensions based on the first influence probability and the second influence probability corresponding to each feature dimension, and then the influence coefficients corresponding to the target user in multiple feature dimensions may be determined based on the target intervention operation.

[0046] In one embodiment, the specific implementation of the above-mentioned determination of the target intervention operation can be described as follows: the computer device can respectively calculate the difference between the first influence probability and the second influence probability corresponding to each feature dimension to obtain the difference corresponding to each feature dimension; after obtaining these differences, the maximum difference can be determined from the differences corresponding to each feature dimension, and the intervention operation of the feature dimension corresponding to the maximum difference can be determined as the target intervention operation of the predetermined feature dimension imposed on the target user.

[0047] In summary, the embodiments of the present application can use the Uplift model for modeling, so as to use the Uplift model to estimate the gain or impact of a specific intervention on a specific user. Unlike the traditional prediction model, the prediction model used in the embodiments of the present application can focus on predicting the relative effect of the intervention operation, rather than just the probability of the result. This model makes the recommendation system more flexible when adjusting the weights of the ranking formula factors. For example, the traditional prediction model here can be a linear regression model. This model has the limitation of linear assumptions, which causes this model to usually fail when dealing with nonlinear relationships; and in high-dimensional data scenarios, traditional prediction models often do not work well and require complex dimensionality reduction or feature selection steps; in addition, traditional prediction models have limited ability to handle complex interactions between variables, have high requirements for data quality, and are sensitive to outliers and missing values. For large-scale content sets, traditional prediction models may also face challenges in computational efficiency.

[0048] S202, determining a set of content to be recommended, and obtaining behavior data generated by the content to be recommended in the set of content to be recommended under multiple feature dimensions.

[0049] Among them, the multiple feature dimensions include the aforementioned predetermined feature dimensions.

[0050] The content set to be recommended may be determined from a resource library, which includes a large amount of content. In one embodiment, the content set to be recommended may be all the content in the resource library, or may be part of the content in the resource library, which is not limited. For example, in the case of part of the content, the part of the content may be selected from the resource library in a random selection manner, or may be selected from the resource library using relevant feature parameters.

[0051] Among them, the characteristic parameter may include: the content type of the content to which the intervention operation of the target characteristic dimension is applied in the second historical time period, the number of times the content is recommended in the second historical time period, etc. One or more of the above. Here, the execution subject of the intervention operation of the target characteristic dimension applied to the content may be the target user, or all users on the target application, or some users, without limitation. The second historical time period may refer to a time period before the current time and separated from the current time by a second preset time length (e.g., 5 days, 7 days), and the current time here may refer to the moment when the content recommendation demand is detected. The target characteristic dimension may refer to any one or more of the click dimension, the attention dimension, the like dimension, the comment dimension, the collection dimension, and the sharing dimension. For the convenience of description, the intervention operation of the click dimension may be referred to as a click operation, the intervention operation of the attention dimension may be referred to as a attention operation, the intervention operation of the like dimension may be referred to as a like operation, the intervention operation of the comment dimension may be referred to as a comment operation, the intervention operation of the collection dimension may be referred to as a collection operation, and the intervention operation of the sharing dimension may be referred to as a sharing operation.

[0052] In one embodiment, when the characteristic parameters may include: the content type of the content to which the intervention operation of the target characteristic dimension was applied within the second historical time period, the specific implementation of determining the content set to be recommended from the resource library may be: the computer device may obtain the target content type of the content to which the intervention operation of the target characteristic dimension was applied within the second historical time period, and after obtaining the target content type, the content corresponding to the target content type may be filtered out from the resource library, and the collection of the filtered content may be used as the content set to be recommended.

[0053] In a possible implementation, after the target content type related to the intervention operation of the target feature dimension is acquired, the content corresponding to the target content type can be directly filtered out from the resource library, so that the set of the filtered content is used as the content set to be recommended.

[0054] For example, assuming that the target feature dimension is the click dimension, if the target user has applied an intervention operation of the click dimension (i.e., a click operation) to the content of the film and television type in the second historical time period, then the content set to be recommended may be a collection of content in the resource library whose target content type is the film and television type; if the target user has applied a click operation to the content of the education type and the technology type in the second historical time period, then the content set to be recommended may be a collection of content in the resource library whose content types are the education type and the technology type. For another example, assuming that the target feature dimension is the click dimension and the like dimension, if the target user has applied a click operation and a like operation to the content of the technology type in the second historical time period, then the content set to be recommended may be a collection of content in the resource library whose content type is the film and television type.

[0055] In a possible implementation, the number of content types related to the intervention operation of the target feature dimension obtained above may be multiple. In order to reduce the data range, these content types can be screened. For example, the screening can be based on the number of intervention operations of the target feature dimension. In this case, the number of intervention operations of the target feature dimension under each content type can be counted, and then the various content types can be sorted in order from large to small in number to obtain the sorting result for the content type, and the content types in the top L positions in the sorting result can be used as the target content type; or, multiple content types with a number greater than a threshold number can be used as the target content type, and the threshold number can be pre-set, and its specific value is not limited. After the target content type is obtained based on the above method, the content corresponding to the target content type can be directly screened out from the resource library, so that the set of screened content is used as the content set to be recommended. Among them, L is a positive integer greater than or equal to 1, and the specific value is not limited.

[0056] For example, assuming that the target feature dimension is the click dimension, and the content types related to the intervention operation with the click dimension include film and television type, technology type, music type, education type, and aviation type, and L is 3; the number of times these content types are subjected to the corresponding click operation can be counted, such as the number of times the film and television type, technology type, music type, education type, and aviation type are subjected to click operations are 20, 10, 15, 50, and 45 respectively, then the sorting results based on the number of times are education type, aviation type, film and television type, music type, and technology type, then the final target content types are education type, aviation type, and film and television type, that is, the content corresponding to these three content types can be directly filtered out from the resource library, and the set of filtered content can be used as the content set to be recommended.

[0057] It is understandable that the user's intervention operations on the content in the target application can express the user's interests and preferences to a certain extent. The above method can then be used to selectively select the content that the user is more interested in, so that content recommendations can be made directly from these contents of interest, thereby achieving more targeted and personalized content recommendations.

[0058] In one embodiment, in the case where the characteristic parameter may include the number of times the content is recommended in the second historical time period, the specific implementation of determining the content set to be recommended from the resource library may be: the computer device may obtain the number of times each content in the resource library is recommended in the second historical time period, so as to select the content set to be recommended from the resource library based on the number of times each content is recommended. For example, each content may be sorted in order from high to low in terms of the number of times to obtain a corresponding sorting result, and the set of content in the top M positions in the sorting result may be used as the content set to be recommended; wherein M is a positive integer greater than 1. For another example, content with a number of times greater than a preset number may be used as content to be recommended to obtain a content set to be recommended; wherein the preset number of times may be pre-set, and its specific value is not limited.

[0059] Through the above method, it can be seen that the selected content set to be recommended is the content that has been recommended more times. It can be understood that the more times the content is recommended, the more it can be said to a certain extent that the content is popular data on the target application. Then, through the above method, the final content recommendation can be made from the more popular content to attract users to conduct more in-depth exploration, thereby increasing the user's activity in the target application.

[0060] In one embodiment, when the feature parameters may include: the content type of the content to which the target user was subjected to the intervention operation with the target feature dimension within the second historical time period, and the number of times the content was recommended within the second historical time period, the specific implementation of determining the content set to be recommended from the resource library may be: the computer device may obtain the content type of the content to which the intervention operation with the target feature dimension was applied within the second historical time period; then, the content corresponding to the content type is filtered out from the resource library, so as to use the set of filtered content as the first candidate content set; finally, the number of times each content in the first candidate content set is recommended within the second time period may be obtained, so as to select the content set to be recommended from the first candidate content set based on the number of times each content is recommended.

[0061] Alternatively, the specific implementation of determining the content set to be recommended from the resource library based on the above two feature parameters can also be: the computer device can obtain the number of times each content in the resource library is recommended within the second time period, so as to select a second candidate content set from the resource library based on the number of times each content is recommended; then, the content type of the content to which the intervention operation with the target feature dimension is applied within the second historical time period can be obtained from the second candidate content set; finally, the content corresponding to the content type can be filtered out from the second candidate content set, so as to use the collection of the filtered content as the recommended content set.

[0062] In summary, the content set for subsequent content recommendation can be screened out from the resource library based on feature parameters in multiple dimensions, so as to effectively enhance the rationality and reliability of content recommendation.

[0063] Among them, the behavioral data under multiple feature dimensions may include: the number of clicks under the click dimension, the number of likes under the like dimension, the number of comments under the comment dimension, the number of collections under the collection dimension, and the number of shares under the sharing dimension.

[0064] In one implementation, after determining the set of content to be recommended, the computer device may also obtain the behavior data generated by each content to be recommended in the set of content to be recommended under multiple feature dimensions. As described above, based on the understanding of the behavior data under multiple feature dimensions, for any content to be recommended, the computer device may obtain the number of clicks, likes, comments, favorites, and shares of the content to be recommended.

[0065] The obtained behavior data may refer to the behavior data generated in the target historical time period, that is, the computer device may obtain the behavior data generated in multiple feature dimensions for each content to be recommended in the set of content to be recommended in the target historical time period. The target historical time period here may refer to a time period before the current time and with a preset time interval target (e.g., 17 days, 20 days, etc.) from the current time.

[0066] The behavior data may be generated for the target user or for the global users on the target application, that is, it is not limited to which user the behavior data is generated by. For example, if the behavior data is for the target user, the computer device may obtain the behavior data generated by the target user for each content to be recommended in the recommended content set under multiple feature dimensions.

[0067] S203, based on the behavior data generated by the to-be-recommended content in the to-be-recommended content set under multiple feature dimensions and the target intervention operation, determine the target recommended content from the to-be-recommended content set, and recommend the target recommended content to the target user.

[0068] In one implementation method, the influence coefficients corresponding to the target intervention operation in multiple feature dimensions after the target intervention operation in a predetermined feature dimension is applied to the target user can be determined based on the target intervention operation; after obtaining these influence coefficients, the target recommended content can be determined from the set of content to be recommended based on these influence coefficients and the behavioral data generated by each content to be recommended in multiple feature dimensions.

[0069] Among them, the intervention operation of a feature dimension can be associated with the influence coefficients corresponding to multiple feature dimensions, and the influence coefficients corresponding to each feature dimension associated with the intervention operations of different feature dimensions are different. For example, the influence coefficients corresponding to the click dimension, attention dimension, like dimension, comment dimension, collection dimension and sharing dimension associated with the intervention operation of one feature dimension are A1, A2, A3, A4, A5, A6 respectively, and the influence coefficients corresponding to the click dimension, attention dimension, like dimension, comment dimension, collection dimension and sharing dimension associated with the intervention operation of another feature dimension are B1, B2, B3, B4, B5, B6 respectively.

[0070] Among them, the influence coefficients corresponding to each feature dimension can be coefficients that have a correlation relationship with the user retention rate on the target application. The influence coefficients corresponding to each feature dimension associated with the intervention operation of a feature dimension can be pre-set, and the principle of setting is as follows: when the growth rate between the intervention operation of a certain feature dimension (such as the intervention operation of the click dimension) and the user retention shows a high positive correlation, the influence coefficient corresponding to the feature dimension can be adjusted more significantly, that is, the influence coefficient corresponding to the feature dimension is set to a larger value, and the influence coefficients corresponding to other feature dimensions are set to smaller values. For example, assuming that the feature dimension is the click dimension, the influence coefficient corresponding to the click dimension can be set to a larger value, and the influence coefficients corresponding to the attention dimension, the like dimension, the comment dimension, the collection dimension, and the sharing dimension are set to smaller values. This means that if the data shows that the increase in the intervention operation of a certain feature dimension significantly promotes the improvement of the user retention rate, the weight of the feature dimension in the recommendation algorithm will be increased. This method ensures that the weight adjustment strategy is both data-driven and targeted to maximize the user retention effect.

[0071] Based on the above description, it can be known that the target intervention operation can be associated with a reference coefficient combination related to multiple feature dimensions, and this reference coefficient combination includes influence coefficients corresponding to multiple feature dimensions; the reference coefficient combination related to multiple feature dimensions here is also a combination of influence coefficients under multiple feature dimensions. Then, after determining the target intervention operation, the corresponding influence coefficients under multiple feature dimensions can be determined based on the information related to the target intervention operation (that is, the reference coefficient combination) after applying the target intervention operation of the predetermined feature dimension to the target user.

[0072] Based on the above description, it can be known that the influence coefficient under each feature dimension can be predicted for different users, so as to implement customized, personalized and targeted intervention strategies for different users, and then various behavioral characteristics and the influence coefficient under the feature dimension can be comprehensively utilized to realize data recommendation, so as to realize personalized and targeted content recommendation and provide users with more accurate data.

[0073] In one embodiment, for the intervention operation of any feature dimension, the intervention operation of any feature dimension may also be associated with a reference coefficient combination related to multiple feature dimensions under multiple reference user attributes, that is, one reference user attribute may correspond to one reference coefficient combination. The reference user attribute is not limited, for example, the reference user attribute may refer to the duration of the user's use of the target application (or the number of historical active days), for example, the duration may be 1 day, 7 days, 28 days, etc., that is, different reference coefficient combinations may correspond to the reference user attributes of 1 day, 7 days, and 28 days.

[0074] In this case, the computer device can obtain the inherent user attributes of the target user, and can match the inherent user attributes with various reference user attributes. If the inherent user attributes can match a reference user attribute, the reference coefficients corresponding to the reference user attributes that match the inherent user attributes can be combined as the corresponding influence coefficients in multiple feature dimensions after the target intervention operation of the predetermined feature dimension is applied to the target user. From the above description, it can be seen that under the intervention operation of a dimensional feature, the relevant user attributes of the user can be used to perform fine-grained division again, that is, under an intervention operation strategy, different reference coefficient combinations can be configured for different user attributes.

[0075] For example, when the booking feature dimension is the click dimension, if the historical active days is 1, the corresponding reference coefficient combination is combination 1; if the historical active days is 7, the corresponding reference coefficient combination is combination 2, and if the historical active days is 15, the corresponding reference coefficient combination is combination 3. Exemplarily, if the target user is an inherent user attribute with the historical active days being 7, the corresponding reference coefficient combination is combination 2, and the values ​​included in combination 2 are the influence coefficients of the target user under multiple feature dimensions.

[0076] In one embodiment, considering the behavior data and corresponding influence coefficients generated based on multiple feature dimensions, the principle of determining whether to determine the content to be recommended in the content to be recommended set as the target recommended content is similar, so any content to be recommended in the content to be recommended set is taken as an example for relevant explanation.

[0077] For any content to be recommended in the set of content to be recommended, the recommendation score of the content to be recommended can be determined based on the behavior data of the content to be recommended in each of the multiple feature dimensions and the corresponding influence coefficient. In one embodiment, the value indicated by the behavior data in each feature dimension can be multiplied by the corresponding influence coefficient to obtain multiple product operation results; after obtaining the multiple product operation results, the sum of the multiple product operation results can be used as the recommendation score of the content to be recommended.

[0078] For example, in mathematical terms, the specific implementation of determining the recommendation score of a content to be recommended can refer to the following formula (1).

[0079] S=X1×a1+X2×a2+X3×a3+X4×a4+X5×a5+X6×a6(1)

[0080] Among them, S represents the recommendation score of the content to be recommended, X1, X2, X3, X4, X5, and X6 represent the number of clicks in the click dimension, the number of likes in the like dimension, the number of comments in the comment dimension, the number of collections in the collection dimension, and the number of shares in the sharing dimension respectively; a1, a2, a3, a4, a5, and a6 represent the influence coefficient in the click dimension, the influence coefficient in the like dimension, the influence coefficient in the comment dimension, the influence coefficient in the collection dimension, and the influence coefficient in the sharing dimension respectively.

[0081] In summary, the embodiments of the present application comprehensively consider the user's behavioral characteristics such as clicks, attention, likes, comments, collections and shares when recommending content. In order to optimize the user experience and improve the retention rate, a series of intervention measures are proposed, namely, adjusting the weight parameters (influence coefficients) of these features. In addition, in order to avoid bias against specific user groups through unified weight adjustments, the embodiments of the present application use uplift modeling to analyze and understand the specific impact of these interventions on user retention, identify the best intervention operation for each user, and select the highest-ranked strategy to implement the intervention. In general, it may be necessary to combine real data that reflects the user's true preferences to accurately adjust the weight parameters in the recommendation ranking.

[0082] It can also be seen from the above formula (1) that appropriately adjusting the weight parameters (influence coefficients) in the recommendation system will directly affect the accuracy of the recommendation, so that the recommendation system can more accurately capture the user's interests and behavior patterns. Then, through the prediction method of the influence coefficient proposed in the embodiment of the present application, the user loss of the target application can be effectively reduced, while attracting more users to continue to participate, effectively improving the overall activity and user satisfaction of the target application, and creating a more attractive social and sharing space for the target application. In addition, personalized and targeted intervention strategies can also be provided for users who have not been active for a long time, so as to effectively improve the target application experience and retention rate. In general, the embodiment of the present application proposes a user retention optimization solution, the core of which is to implement customized intervention measures for different users to achieve personalized and targeted content recommendations.

[0083] After determining the recommendation score of each to-be-recommended content in the above manner, the target recommended content can be determined from the to-be-recommended content set based on the recommendation score of each to-be-recommended content; the specific implementation thereof can be seen in the following manner:

[0084] In one embodiment, the recommended contents may be sorted in descending order of recommendation scores to obtain a sorting result for the recommended contents, and target recommended contents may be further determined from the recommended contents set based on the sorting result. For example, the recommended contents in the top N positions in the sorting result may be used as target recommended contents; wherein N is a positive integer, and its specific value is not limited.

[0085] In one embodiment, the recommendation score of each to-be-recommended content may be compared with a preset threshold, and the to-be-recommended content corresponding to the recommendation score being greater than the preset threshold may be used as the target recommended content. The preset threshold may be pre-set, and its specific value is not limited.

[0086] In one implementation, there may be multiple target recommended contents. It is understandable that when multiple target recommended contents are displayed on the interface of the terminal, there is usually a corresponding display order. For example, assuming that it is necessary to update the recommended content displayed on the interface by sliding up and down, the closer the recommended content is to the top of the interface, the earlier the display order of the recommended content will be. Correspondingly, the closer the recommended content is to the bottom of the interface, the later the display order of the recommended content will be.

[0087] Based on this, it can be known that the specific implementation of recommending target recommended content to target users can be: determining the display order of target recommended content to target users according to the recommendation score of the target recommended content, and displaying the target recommended content according to the display order of the target recommended content. Among them, the recommendation score is positively correlated with the display order, that is, the higher the recommendation score of a target recommended content, the higher the display order of the target recommended content, and the lower the recommendation score of a target recommended content, the lower the display order of the target recommended content.

[0088] In an embodiment of the present application, the user characteristics of the target user are obtained, and the target intervention operation of the predetermined feature dimension imposed on the target user can be determined based on the user characteristics; the set of content to be recommended can also be determined, and the behavior data generated by the content to be recommended in the set of content to be recommended under multiple feature dimensions can be obtained; the multiple feature dimensions include the predetermined feature dimensions; further, based on the behavior data generated by each content to be recommended under multiple feature dimensions and the target intervention operation, the target recommended content can be determined from the set of content to be recommended, and the target recommended content can be recommended to the target user. Through the above method, in content recommendation, customized, personalized and targeted intervention operations of feature dimensions are implemented for different users, and then the behavioral characteristics under various feature dimensions and the intervention operations under the predetermined feature dimensions can be comprehensively utilized to realize data recommendation, so as to realize personalized and targeted content recommendation, provide users with more accurate data, improve the accuracy of content recommendation, and effectively improve user experience, and further improve user participation and retention rate.

[0089] See also Figure 3 , is a flowchart of another content recommendation method provided by an embodiment of the present application. The present application embodiment is mainly described with a computer device as the execution subject, and mainly describes the process of obtaining a prediction model by training a gain model; see Figure 3 The content recommendation method may include but is not limited to the following steps:

[0090] S301, constructing training samples of the gain model by using a randomized controlled experiment.

[0091] Among them, the training sample may include sample user characteristics of the sample user and label information of the sample user; the sample user may be a user who uses the target application, or a user who performs browsing operations on the content on the target application; the sample user characteristics of the sample user refer to the user characteristics of the sample user, and the user characteristics can be understood as mentioned above and will not be repeated here; the label information of the sample user can be used to indicate whether the sample user is an active user of the target application.

[0092] In the embodiment of the present application, a randomized controlled trial (RCT) is used to construct the training samples of the gain model, where the training samples may involve training samples for the experimental group and training samples for the control group. In the randomized controlled trial, participants (i.e., sample users) may be randomly assigned to the experimental group and the control group. This randomized process ensures that the probability of each participant being assigned to any group is equal, thereby reducing selection bias. The training samples in the control group may refer to data that do not accept any intervention operation of a feature dimension or accept standard intervention operations under a certain feature dimension, while the training samples in the experimental group may refer to data that accept the tested intervention operation. The existence of the control group allows researchers to compare the effects of the intervention operation. In the randomized controlled trial, by randomly assigning sample users to different intervention operations, it is possible to more effectively determine which intervention operations are most effective in improving user retention rates, while reducing the interference of other non-intervention operations. In summary, in the training process of the prediction model implemented by the randomized controlled trial in the embodiment of the present application, reasonable experimental design and population diversion can be used, and known and unknown confounding variables can be effectively controlled by random assignment, thereby reducing selection and measurement bias. Because randomization controls for confounding factors, differences in effects observed between the experimental and control groups are more likely to be due to the intervention itself.

[0093] Based on this, it can be known that an experimental group and a control group can be constructed in each feature dimension in multiple feature dimensions, so that the experimental group and the control group constitute training samples of the training gain model.

[0094] Among them, considering that the principle of constructing the training samples of the experimental group under each feature dimension in multiple feature dimensions is similar, a training sample of the experimental group is described here by taking any feature dimension as an example. Among them, the experimental group under any feature dimension may include: sample user features of the first sample user and label information of the first sample user; the first sample user may include: users who have applied any feature dimension intervention operation to the content on the target application within the first time period; the label information may be used to indicate whether the first sample user is an active user of the target application at a second time after the content has been subjected to any feature dimension intervention operation; the second time is a time later than the first time period.

[0095] Among them, the control group includes: user characteristics of the second sample users and label information of the second sample users; the second sample users include: users who have not imposed any intervention operation of multiple feature dimensions on the content on the target application within the first time period; the label information is used to indicate whether the second sample user is an active user of the target application at the second time after the content has not been subjected to any intervention operation of multiple feature dimensions.

[0096] Among them, it should be understood that in constructing the above-mentioned experimental group and control group, information corresponding to multiple sample users (such as sample user characteristics, label information, etc.) will be needed for construction, that is, multiple sample users will be involved here, and the first sample user and the second sample user in constructing the experimental group and the control group are randomly selected from these multiple sample users.

[0097] S302: Train the gain model using training samples to obtain a prediction model.

[0098] In one implementation, considering that when training the gain model, the processing principle of conducting a control experiment using the training samples in the experimental group under any feature dimension and any training sample in the control group is consistent, the training process is specifically described below using the experimental group and the control group under any feature dimension as an example.

[0099] Based on this, for the experimental group under any feature dimension, the sample user characteristics of the first sample user can be input into the gain model to obtain the first intervention probability corresponding to any feature dimension after the intervention operation of any feature dimension is applied to the first sample user, and the sample user characteristics of the second sample user can be input into the gain model to obtain the second intervention probability after the intervention operation of multiple feature dimensions is not applied to the second sample user. After obtaining these two intervention probabilities, the gain model can be trained based on these two intervention probabilities.

[0100] In one embodiment, the specific implementation of training the gain model based on these two intervention probabilities can be: the gain probability after applying an intervention operation of any feature dimension to the first sample user can be determined based on the first intervention probability and the second intervention probability; for example, the difference between the first intervention probability and the second intervention probability can be used as the gain probability after applying an intervention operation of any feature dimension to the first sample user; after obtaining the gain probability, the gain model can be trained based on the label information of the first sample user and the gain probability to obtain a prediction model. For example, a loss function can be used to calculate the model loss value of the gain model based on the label information of the first sample user and the gain probability, and then the gain model can be trained based on the model loss value to obtain a prediction model, such as optimizing the model parameters of the gain model in the direction of reducing the model loss value to obtain a prediction model. Among them, the loss function can be a cross entropy loss function, or other functions, which are not limited to this.

[0101] In one implementation, after the gain model is trained to obtain a prediction model, the prediction model can also be tested to evaluate the model effect of the prediction model. In a specific implementation, for the above-mentioned training samples, data segmentation can be performed to divide the training samples into training samples and test samples, that is, some training samples can be selected in advance from a large number of training samples as test samples to obtain a test sample set, that is, the test sample set can include multiple test samples. Use the trained model to predict each individual in the test set and calculate the expected results under different intervention conditions. Uplift is usually trained by comparing the prediction results of the same individual under different intervention conditions.

[0102] In one embodiment, the Qini curve can be used to evaluate the prediction model and analyze the results. The Qini curve can help optimize the intervention strategy and improve the effectiveness of decision-making by analyzing the gain effects of different user groups. The Qini curve is similar to the gain curve. It takes into account the impact of the non-intervention group. The Qini value calculates the cumulative difference between the intervention group and the intervention group, which is more suitable for evaluating causal effects. It directly compares the difference in effect between intervention and non-intervention. The closer the curve is to the upper right corner, the more effective the model is.

[0103] In one implementation, the gain model can be a model constructed using any of the algorithms such as Tweedie Distribution-based Random Forest, Multi-processing Gradient Boosting Forest, Causal Forest, Pairwise Learning, and cross-validation-based methods such as KMUP (K-means Clustering and Uplift Modeling), DMUP (Doubly Robust Model with PaIR-Learning), etc. In an embodiment of the present application, the gain model can be constructed based on the Multi-processing Gradient Boosting Forest algorithm. The Multi-processing Gradient Boosting Forest algorithm combines the flexibility of gradient boosting and the robustness of random forests. Through these characteristics, the constructed gain model has a better model effect.

[0104] The gain model constructed by the multi-processing gradient boosting forest algorithm can gradually build a decision tree model through gradient boosting, using the branching structure of the tree to capture the complex relationship between features (such as sample user features) and results (such as label information), while using the random forest strategy in each step to enhance the diversity and robustness of the model. During the training process of the gain model, the gain model will learn the impact of different treatments (such as intervention operations on different feature dimensions implemented on different sample users) on the outcome variable.

[0105] It should be understood that the multi-processing gradient boosting forest algorithm can be specifically designed to handle nonlinear and complex relationships. This algorithm performs well in capturing nonlinear features and complex interactions in data, enabling it to effectively process high-dimensional feature spaces. Through its built-in automatic feature selection mechanism, the algorithm can identify and prioritize the most influential features while reducing the interference of irrelevant or redundant features, which is important for building efficient and accurate prediction models. In addition, it has stronger robustness to outliers and noise, which means that it can still maintain good performance in the presence of data irregularities. In addition, it can also process large amounts of data quickly, which is particularly valuable when processing large-scale data sets. Based on this, it can be seen that the method of Uplift modeling based on multi-processing gradient boosting forests under the embodiment of the present application can provide a prediction model with better model effect, so that the prediction model can be used to predict the influencing parameters. It can provide higher reliability and accuracy, thereby improving the content recommendation effect and providing more targeted and personalized recommendations for different users.

[0106] To better understand the content recommendation method proposed in the embodiment of the present application, the following Figure 4 Further explanation. In a specific implementation, relevant technical personnel can determine the sample users and relevant information of the sample users required for training the gain model (Uplift model) from the target application; the sample users can be all users or part of the users on the target application, without limitation, and the relevant information of the sample users can include sample user features of the sample users and label information corresponding to the sample users. Then, these sample users can be divided into an experimental group and a control group (or blank group) according to a randomized controlled experiment (RCT) method (or random classification method), wherein the experimental group can include intervention groups corresponding to the intervention operations of the six feature dimensions, such as intervention group 1, intervention group 2, intervention group 3, intervention group 4, intervention group 5, and intervention group 6, respectively.

[0107] Then, the gain model can be trained using the experimental group and the control group. Here, the multi-processing gradient boosting forest algorithm can be used to train the gain model. During the training process, the gain model can be used to predict the corresponding expected results, that is, to calculate the expected results under different intervention operations for sample users, and then the expected results and label information can be used to train the gain model, wherein the expected results can include the gain probability of the sample user under each intervention operation. Among them, during the training process, the Qini curve can be used to evaluate the prediction model. After completing the training of the gain model, that is, after obtaining the prediction model, the prediction model can be used to predict the optimal intervention strategy required in the content recommendation scenario (such as the target intervention operation mentioned above). The optimal intervention strategy is also the best weighting scheme when performing recommendation sorting, so that the prediction model can be used to achieve personalized weighting to optimize the content sorting link in the recommendation system.

[0108] The above method embodiments are all examples of the method of the present application. The description of each embodiment has its own focus. For parts not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. For example, after training the prediction model, the user characteristics of the target user can be obtained, and the influence coefficient of the target user under multiple feature dimensions based on the prediction model can be used to implement content recommendation for the target user based on the influence coefficient, which will not be repeated here.

[0109] In the embodiment of the present application, a training sample of the gain model can be constructed by a randomized controlled experiment to achieve the diversion of sample users through random allocation, effectively control known and unknown confounding variables, thereby reducing selection and measurement bias, thereby improving the effectiveness and reliability of model training, and also improving the model effect of the model. Then, when using a model with better model effect for related predictions, the prediction accuracy and reliability can also be effectively improved.

[0110] See also Figure 5 , Figure 5 : is a schematic diagram of the structure of a content recommendation device provided in an embodiment of the present application. The content recommendation device described in this embodiment includes:

[0111] A determination unit 501 is used to obtain user characteristics of a target user, and determine a target intervention operation of a predetermined characteristic dimension to be applied to the target user based on the user characteristics;

[0112] The acquisition unit 502 is used to determine a set of content to be recommended, and acquire behavior data generated by the content to be recommended in the set of content to be recommended under multiple feature dimensions; the multiple feature dimensions include the predetermined feature dimension;

[0113] The recommendation unit 503 is used to determine target recommended content from the set of content to be recommended based on the behavior data generated by the content to be recommended in multiple feature dimensions in the set of content to be recommended and the target intervention operation, and recommend the target recommended content to the target user.

[0114] In one implementation, the multiple feature dimensions include: any two or more of a click dimension, an attention dimension, a like dimension, a comment dimension, a favorite dimension, and a share dimension; the determining unit 501 is specifically configured to:

[0115] Calling the prediction model to process the user features, obtaining a first impact probability corresponding to each feature dimension of the target user after intervention operations of the multiple feature dimensions are respectively applied, and a second impact probability after no intervention operation is applied to any feature dimension;

[0116] Based on the first influence probability and the second influence probability corresponding to each feature dimension, a target intervention operation of a predetermined feature dimension to be applied to the target user is selected from the intervention operations of the multiple feature dimensions.

[0117] In one implementation, the determining unit 501 is specifically configured to:

[0118] Calculate the difference between the first influence probability and the second influence probability corresponding to each feature dimension respectively, and obtain the difference corresponding to each feature dimension;

[0119] A maximum difference is determined from the differences corresponding to each feature dimension, and the intervention operation of the feature dimension corresponding to the maximum difference is determined as a target intervention operation of the predetermined feature dimension imposed on the target user.

[0120] In one implementation, the multiple feature dimensions include: any two or more of a click dimension, an attention dimension, a like dimension, a comment dimension, a collection dimension, and a sharing dimension; the behavior data under the multiple feature dimensions include: the number of clicks under the click dimension, the number of likes under the like dimension, the number of comments under the comment dimension, the number of collections under the collection dimension, and the number of shares under the sharing dimension; the recommendation unit 503 is specifically used to:

[0121] Based on the target intervention operation, determining the influence coefficients corresponding to the multiple feature dimensions respectively after the target intervention operation of the predetermined feature dimension is applied to the target user;

[0122] For any content to be recommended in the set of content to be recommended, based on the behavior data of the content to be recommended in each of the multiple feature dimensions and the corresponding influence coefficient, determine a recommendation score for the content to be recommended;

[0123] The target recommended content is determined from the set of contents to be recommended based on the recommendation score of each content to be recommended in the set of contents to be recommended.

[0124] In one implementation, the target intervention operation is associated with a reference coefficient combination related to the multiple feature dimensions under multiple reference user attributes; the recommendation unit 503 is specifically configured to:

[0125] Acquire inherent user attributes of the target user;

[0126] The reference coefficients corresponding to the reference user attributes matching the inherent user attributes are combined as the influence coefficients corresponding to the multiple feature dimensions respectively after the target intervention operation of the predetermined feature dimension is applied to the target user.

[0127] In one implementation, the training process of the prediction model includes:

[0128] A training sample of a gain model is constructed by a randomized controlled experiment; the training sample includes sample user characteristics of a sample user and label information of the sample user, the sample user is a user who uses a target application, and the label information is used to indicate whether the sample user is an active user of the target application;

[0129] The gain model is trained using the training samples to obtain a prediction model.

[0130] In one implementation, the determining unit 501 is specifically configured to:

[0131] Constructing an experimental group and a control group in each feature dimension of the plurality of feature dimensions, wherein the experimental group and the control group constitute training samples of the training gain model;

[0132] The experimental group under any feature dimension includes: sample user features of a first sample user and label information of the first sample user; the first sample user includes: a user who has applied an intervention operation of any feature dimension to content on a target application within a first time period; the label information is used to indicate whether the first sample user is an active user of the target application at a second time after the intervention operation of any feature dimension is applied to the content; the second time is a time later than the first time period;

[0133] The control group includes: user characteristics of the second sample users and label information of the second sample users; the second sample users include: users who have not imposed any intervention operation of any of multiple feature dimensions on the content on the target application within a first time period; the label information is used to indicate whether the second sample user is an active user of the target application at a second time after the content has not been subjected to any intervention operation of any of the multiple feature dimensions.

[0134] In one implementation, the gain model is a model constructed based on a multi-processing gradient boosting forest algorithm; the determining unit 501 is specifically used to:

[0135] For the experimental group of any one of the feature dimensions, the sample user characteristics of the first sample user are input into the gain model to obtain a first intervention probability corresponding to any one of the feature dimensions after the intervention operation of any one of the feature dimensions is applied to the first sample user, and the sample user characteristics of the second sample user are input into the gain model to obtain a second intervention probability for the second sample user after the intervention operation of multiple feature dimensions is not applied;

[0136] Based on the first intervention probability and the second intervention probability, determining a gain probability for the first sample user after applying the intervention operation of any one of the feature dimensions;

[0137] The gain model is trained based on the label information of the first sample user and the gain probability to obtain a prediction model.

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

[0139] See also Figure 6 , Figure 6 6 is a schematic diagram of a computer device provided in an embodiment of the present application. The computer device includes: a processor 601 and a memory 602. Optionally, the computer device may also include a network interface 603. The processor 601, the memory 602 and the network interface 603 may exchange data.

[0140] The processor 601 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0141] The memory 602 may include a read-only memory and a random access memory, and provide program instructions and data to the processor 601. A portion of the memory 602 may also include a non-volatile random access memory. When the processor 601 calls the program instructions, it is used to execute:

[0142] Acquire user characteristics of a target user, and determine a target intervention operation of a predetermined characteristic dimension to be applied to the target user based on the user characteristics;

[0143] Determine a set of content to be recommended, and obtain behavior data generated by the content to be recommended in the set of content to be recommended under multiple feature dimensions; the multiple feature dimensions include the predetermined feature dimension;

[0144] Based on the behavior data generated by the to-be-recommended content in the to-be-recommended content set under multiple feature dimensions and the target intervention operation, target recommended content is determined from the to-be-recommended content set, and the target recommended content is recommended to the target user.

[0145] In one implementation, the multiple feature dimensions include: any two or more of a click dimension, an attention dimension, a like dimension, a comment dimension, a favorite dimension, and a share dimension; the processor 601 is specifically configured to:

[0146] Calling the prediction model to process the user features, obtaining a first impact probability corresponding to each feature dimension of the target user after intervention operations of the multiple feature dimensions are respectively applied, and a second impact probability after no intervention operation is applied to any feature dimension;

[0147] Based on the first influence probability and the second influence probability corresponding to each feature dimension, a target intervention operation of a predetermined feature dimension to be applied to the target user is selected from the intervention operations of the multiple feature dimensions.

[0148] In one implementation, the processor 601 is specifically configured to:

[0149] Calculate the difference between the first influence probability and the second influence probability corresponding to each feature dimension respectively, and obtain the difference corresponding to each feature dimension;

[0150] A maximum difference is determined from the differences corresponding to each feature dimension, and the intervention operation of the feature dimension corresponding to the maximum difference is determined as a target intervention operation of the predetermined feature dimension imposed on the target user.

[0151] In one implementation, the multiple feature dimensions include: any two or more of a click dimension, an attention dimension, a like dimension, a comment dimension, a collection dimension, and a sharing dimension; the behavior data under the multiple feature dimensions include: the number of clicks under the click dimension, the number of likes under the like dimension, the number of comments under the comment dimension, the number of collections under the collection dimension, and the number of shares under the sharing dimension; the processor 601 is specifically used to:

[0152] Based on the target intervention operation, determining the influence coefficients corresponding to the multiple feature dimensions respectively after the target intervention operation of the predetermined feature dimension is applied to the target user;

[0153] For any content to be recommended in the set of content to be recommended, based on the behavior data of the content to be recommended in each of the multiple feature dimensions and the corresponding influence coefficient, determine a recommendation score for the content to be recommended;

[0154] The target recommended content is determined from the set of contents to be recommended based on the recommendation score of each content to be recommended in the set of contents to be recommended.

[0155] In one implementation, the target intervention operation is associated with a reference coefficient combination related to the multiple feature dimensions under multiple reference user attributes; the processor 601 is specifically configured to:

[0156] Acquire inherent user attributes of the target user;

[0157] The reference coefficients corresponding to the reference user attributes matching the inherent user attributes are combined as the influence coefficients corresponding to the multiple feature dimensions respectively after the target intervention operation of the predetermined feature dimension is applied to the target user.

[0158] In one implementation, the training process of the prediction model includes:

[0159] A training sample of a gain model is constructed by a randomized controlled experiment; the training sample includes sample user characteristics of a sample user and label information of the sample user, the sample user is a user who uses a target application, and the label information is used to indicate whether the sample user is an active user of the target application;

[0160] The gain model is trained using the training samples to obtain a prediction model.

[0161] In one implementation, the processor 601 is specifically configured to:

[0162] Constructing an experimental group and a control group in each feature dimension of the plurality of feature dimensions, wherein the experimental group and the control group constitute training samples of the training gain model;

[0163] The experimental group under any feature dimension includes: sample user features of a first sample user and label information of the first sample user; the first sample user includes: a user who has applied an intervention operation of any feature dimension to content on a target application within a first time period; the label information is used to indicate whether the first sample user is an active user of the target application at a second time after the intervention operation of any feature dimension is applied to the content; the second time is a time later than the first time period;

[0164] The control group includes: user characteristics of the second sample users and label information of the second sample users; the second sample users include: users who have not imposed any intervention operation of any of multiple feature dimensions on the content on the target application within a first time period; the label information is used to indicate whether the second sample user is an active user of the target application at a second time after the content has not been subjected to any intervention operation of any of the multiple feature dimensions.

[0165] In one implementation, the gain model is a model constructed based on a multi-processing gradient boosting forest algorithm; the processor 601 is specifically configured to:

[0166] For the experimental group of any one of the feature dimensions, the sample user characteristics of the first sample user are input into the gain model to obtain a first intervention probability corresponding to any one of the feature dimensions after the intervention operation of any one of the feature dimensions is applied to the first sample user, and the sample user characteristics of the second sample user are input into the gain model to obtain a second intervention probability for the second sample user after the intervention operation of multiple feature dimensions is not applied;

[0167] Based on the first intervention probability and the second intervention probability, determining a gain probability for the first sample user after applying the intervention operation of any one of the feature dimensions;

[0168] The gain model is trained based on the label information of the first sample user and the gain probability to obtain a prediction model.

[0169] The present application also provides a computer storage medium in which program instructions are stored. When the program is executed, it may include: Figure 2 or Figure 3 Part or all of the steps of the content recommendation method in the corresponding embodiment.

[0170] It should be noted that, for the above-mentioned various method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.

[0171] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0172] The embodiment of the present application also provides a computer program product or computer program, which includes program instructions, and when the program instructions are executed by a processor, some or all of the steps in the above method can be implemented. For example, the program instructions are stored in a computer-readable storage medium. The processor of the computer device reads the program instructions from the computer-readable storage medium, and the processor executes the program instructions, so that the computer device executes the steps performed in the embodiments of the above methods.

[0173] The above is a detailed introduction to a content recommendation method, device, computer equipment and medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A content recommendation method, It is characterized in that The method comprises: Acquire user characteristics of a target user, and determine a target intervention operation of a predetermined characteristic dimension to be applied to the target user based on the user characteristics; Determine a set of content to be recommended, and obtain behavior data generated by the content to be recommended in the set of content to be recommended under multiple feature dimensions; the multiple feature dimensions include the predetermined feature dimension; Based on the behavior data generated by the to-be-recommended content in the to-be-recommended content set under multiple feature dimensions and the target intervention operation, target recommended content is determined from the to-be-recommended content set, and the target recommended content is recommended to the target user.

2. The method according to claim 1, It is characterized in that The multiple feature dimensions include: any two or more of a click dimension, an attention dimension, a like dimension, a comment dimension, a favorite dimension, and a share dimension; the target intervention operation of the predetermined feature dimension to be applied to the target user based on the user characteristics includes: Calling the prediction model to process the user features, obtaining a first impact probability corresponding to each feature dimension of the target user after intervention operations of the multiple feature dimensions are respectively applied, and a second impact probability after no intervention operation is applied to any feature dimension; Based on the first influence probability and the second influence probability corresponding to each feature dimension, a target intervention operation of a predetermined feature dimension to be applied to the target user is selected from the intervention operations of the multiple feature dimensions.

3. The method according to claim 2, It is characterized in that The selecting, based on the first influence probability and the second influence probability corresponding to each feature dimension, a target intervention operation of a predetermined feature dimension to be applied to the target user from the intervention operations of the multiple feature dimensions includes: Calculate the difference between the first influence probability and the second influence probability corresponding to each feature dimension respectively, and obtain the difference corresponding to each feature dimension; A maximum difference is determined from the differences corresponding to each feature dimension, and the intervention operation of the feature dimension corresponding to the maximum difference is determined as a target intervention operation of the predetermined feature dimension imposed on the target user.

4. The method according to claim 1, It is characterized in that The multiple feature dimensions include: any two or more of the click dimension, the attention dimension, the like dimension, the comment dimension, the collection dimension and the sharing dimension; the behavior data under the multiple feature dimensions include: the click volume under the click dimension, the like volume under the like dimension, the comment volume under the comment dimension, the collection volume under the collection dimension and the sharing volume under the sharing dimension; The determining target recommended content from the set of content to be recommended based on the behavior data generated by the content to be recommended in multiple feature dimensions in the set of content to be recommended and the target intervention operation includes: Based on the target intervention operation, determining the influence coefficients corresponding to the multiple feature dimensions respectively after the target intervention operation of the predetermined feature dimension is applied to the target user; For any content to be recommended in the set of content to be recommended, based on the behavior data of the content to be recommended in each of the multiple feature dimensions and the corresponding influence coefficient, determine a recommendation score for the content to be recommended; The target recommended content is determined from the set of contents to be recommended based on the recommendation score of each content to be recommended in the set of contents to be recommended.

5. The method according to claim 4, It is characterized in that The target intervention operation is associated with a reference coefficient combination related to the multiple feature dimensions under multiple reference user attributes; the determining, based on the target intervention operation, the corresponding influence coefficients under the multiple feature dimensions after applying the target intervention operation of the predetermined feature dimension to the target user, includes: Acquire inherent user attributes of the target user; The reference coefficients corresponding to the reference user attributes matching the inherent user attributes are combined as the influence coefficients corresponding to the multiple feature dimensions respectively after the target intervention operation of the predetermined feature dimension is applied to the target user.

6. The method according to claim 2, It is characterized in that The training process of the prediction model includes: A training sample of a gain model is constructed by a randomized controlled experiment; the training sample includes sample user characteristics of a sample user and label information of the sample user, the sample user is a user who uses a target application, and the label information is used to indicate whether the sample user is an active user of the target application; The gain model is trained using the training samples to obtain a prediction model.

7. The method according to claim 6, It is characterized in that The method of constructing the training samples of the gain model by randomized controlled experiment includes: Constructing an experimental group and a control group in each feature dimension of the plurality of feature dimensions, wherein the experimental group and the control group constitute training samples of the training gain model; The experimental group under any feature dimension includes: sample user features of a first sample user and label information of the first sample user; the first sample user includes: a user who has applied an intervention operation of any feature dimension to content on a target application within a first time period; the label information is used to indicate whether the first sample user is an active user of the target application at a second time after the intervention operation of any feature dimension is applied to the content; the second time is a time later than the first time period; The control group includes: user characteristics of the second sample users and label information of the second sample users; the second sample users include: users who have not imposed any intervention operation of any of multiple feature dimensions on the content on the target application within a first time period; the label information is used to indicate whether the second sample user is an active user of the target application at a second time after the content has not been subjected to any intervention operation of any of the multiple feature dimensions.

8. The method according to claim 7, It is characterized in that The gain model is a model constructed based on a multi-processing gradient boosting forest algorithm; the gain model is trained using the training samples to obtain a prediction model, including: For the experimental group of any one of the feature dimensions, the sample user characteristics of the first sample user are input into the gain model to obtain a first intervention probability corresponding to any one of the feature dimensions after the intervention operation of any one of the feature dimensions is applied to the first sample user, and the sample user characteristics of the second sample user are input into the gain model to obtain a second intervention probability for the second sample user after the intervention operation of multiple feature dimensions is not applied; Based on the first intervention probability and the second intervention probability, determining a gain probability for the first sample user after applying the intervention operation of any one of the feature dimensions; The gain model is trained based on the label information of the first sample user and the gain probability to obtain a prediction model.

9. A content recommendation device, It is characterized in that include: a determination unit, configured to obtain user characteristics of a target user, and determine a target intervention operation of a predetermined characteristic dimension to be applied to the target user based on the user characteristics; an acquisition unit, configured to determine a set of content to be recommended, and acquire behavior data generated by the content to be recommended in the set of content to be recommended under multiple feature dimensions; the multiple feature dimensions include the predetermined feature dimension; The recommendation unit is used to determine target recommended content from the set of content to be recommended based on the behavior data generated by the content to be recommended in multiple feature dimensions in the set of content to be recommended and the target intervention operation, and recommend the target recommended content to the target user.

10. A computer device, It is characterized in that The method comprises a processor and a memory, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method according to any one of claims 1 to 8.

11. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 8.

Citation Information

Cited By

  • Intervention measure acquisition method for high-loss-risk customers and related equipment

    CN119693053A

  • A method for obtaining intervention measures for customers with high churn risk and related equipment

    CN119693053B