A method and device for evaluating features affecting user retention

The causal inference algorithm is used to evaluate user characteristics and retention information, determine the key factors affecting user retention, solve the problem of low user retention rate in the Internet industry, and improve user retention rate.

CN112685674BActive Publication Date: 2024-09-24BIGO TECH PTE LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011613766.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-30
Publication Date
2024-09-24
Estimated Expiration
2040-12-30

AI Technical Summary

Technical Problem

The user retention rate in the Internet industry is low, and it is difficult to effectively evaluate and improve user retention rate with existing technology.

Method used

The causal inference algorithm combined with the feature evaluation method is used to collect and analyze the feature values ​​and retention information of user accounts to determine the key factors affecting user retention, thereby formulating targeted operational measures to improve the retention rate.

Benefits of technology

Use the causal inference algorithm to determine the causal effect of a single feature on user retention, find the key factors that affect user retention, and help the platform improve user retention rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure HDA0002875776100000011
    Figure HDA0002875776100000011
  • Figure HDA0002875776100000012
    Figure HDA0002875776100000012
  • Figure HDA0002875776100000021
    Figure HDA0002875776100000021
Patent Text Reader

Abstract

The present application discloses a method and device for evaluating features that affect user retention, wherein the method comprises: collecting the corresponding specified feature values ​​of each account in the current platform according to a plurality of specified feature variables; obtaining the retention information of each account, wherein the retention information is used to reflect whether the current account is a retention account; determining the intervention variable according to the collected specified feature values; and using a causal inference algorithm in combination with the retention information to determine the causal effect of the intervention variable on user retention. This embodiment uses a causal inference method to determine the impact of each feature variable on user retention, thereby quickly analyzing the key factors that affect user retention. After obtaining these key factors, the platform can improve these factors in a targeted manner through some customized strategies, thereby improving the user retention rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to data processing technology, and more particularly to a method and device for evaluating features that affect user retention. Background Art

[0002] In the Internet industry, users who start using an application within a certain period of time and continue to use the application after a period of time are considered to be retained, and the proportion of these users to the new users at that time is the retention rate. The concept of retention can be used to analyze the service effect of an application or website and determine whether the application or website can retain users. The retention rate actually reflects a conversion rate, that is, the process of converting unstable users in the early stage into active users, stable users, and loyal users. In general, if the platform does not take actions to increase the retention rate, the retention rate of new users will be at a relatively low level. Therefore, the platform needs to take targeted measures to increase the retention rate of users. Summary of the invention

[0003] The present application provides a method and device for evaluating features that affect user retention, so as to evaluate the key factors that affect user retention, and thus take targeted measures to increase the user retention rate.

[0004] In a first aspect, an embodiment of the present application provides a method for evaluating features that affect user retention, the method comprising:

[0005] According to multiple specified characteristic variables, collect the corresponding specified characteristic values ​​of each account in the current platform;

[0006] Obtaining the retention information of each account, where the retention information is used to reflect whether the current account is a retained account;

[0007] Determining intervention variables according to the collected specified characteristic values;

[0008] A causal inference algorithm is used in combination with the retention information to determine the causal effect of the intervention variable on user retention.

[0009] In a second aspect, an embodiment of the present application further provides a device for evaluating features that affect user retention, the device comprising:

[0010] The specified feature value collection module is used to collect the corresponding specified feature values ​​of each account in the current platform according to multiple specified feature variables;

[0011] A retention information acquisition module is used to obtain the retention information of each account, and the retention information is used to reflect whether the current account is a retention account;

[0012] An intervention variable determination module, used to determine the intervention variable according to the collected specified characteristic value;

[0013] A causal effect determination module is used to determine the causal effect of the intervention variable on user retention by using a causal inference algorithm in combination with the retention information.

[0014] In a third aspect, an embodiment of the present application further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the program.

[0015] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned method when executed by a processor.

[0016] This application has the following beneficial effects:

[0017] In this embodiment, after the corresponding specified feature values ​​of each account in the current platform and the retention information of each account are collected from historical data, a causal inference algorithm can be used to determine the causal effect of a single feature on user retention, and based on the causal effect of each feature on user retention, find the key factors affecting user retention. These key factors can be used to assist the platform in conducting targeted operations, thereby improving user retention rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a flow chart of an embodiment of a method for evaluating features that affect user retention provided in Embodiment 1 of the present application;

[0019] Figure 2 It is a flow chart of a method embodiment of determining the causal effect of an intervention variable on user retention provided in Embodiment 1 of the present application;

[0020] Figure 3 It is a structural block diagram of an embodiment of a feature evaluation device that affects user retention provided in Embodiment 2 of the present application;

[0021] Figure 4 It is a structural schematic diagram of an electronic device provided in Example 3 of the present application. DETAILED DESCRIPTION

[0022] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only the parts related to the present application, rather than all structures, are shown in the accompanying drawings.

[0023] Embodiment 1

[0024] Figure 1This is a flow chart of an embodiment of a method for evaluating features that affect user retention provided in Embodiment 1 of the present application. This embodiment can be applied to a server and may specifically include the following steps:

[0025] Step 110, based on a plurality of specified characteristic variables, collect the corresponding specified characteristic values ​​of each account in the current platform.

[0026] In one implementation, the designated feature variable may be a feature variable designated by the platform based on prior knowledge and having a certain impact on user retention, or may be a feature variable set based on actual business needs, which is not limited in this embodiment.

[0027] For example, for a live broadcast platform, the specified feature variables may include, but are not limited to: language features, country features, registration features, age features, gender features, device information, operator information, network information, etc. Among them, language features are used to describe the language used by the user; country features are used to describe the country (region) information on the user's registration information; registration features are used to describe whether the user is registered; age features are used to describe the user's age; gender features are used to describe the user's gender information; device information is used to describe the terminal model (such as mobile phone model) used by the user; operator information is used to describe the operator information of the network used by the user; network information is used to describe the network type frequently used by the user.

[0028] According to the specified characteristic variables, the specified characteristic values ​​corresponding to each account in the current platform can be collected from the historical data. For example, the characteristic values ​​corresponding to the language characteristics may include Chinese, English, French, German, Arabic, etc.; the characteristic values ​​corresponding to the country characteristics may include China, the United States, the United Kingdom, Germany, Russia, etc.; the characteristic values ​​corresponding to the registration characteristics may include registration, visitor, etc.; the characteristic values ​​corresponding to the age characteristics may include adults, minors, etc.; the characteristic values ​​corresponding to the gender characteristics may include male, female, etc.; the characteristic values ​​corresponding to the device information may include specific device models; the characteristic values ​​corresponding to the operator information may include specific operators such as China Mobile, China Unicom, and China Telecom; the characteristic values ​​corresponding to the network information may include 2g-4g, WI-FI, etc.

[0029] In one embodiment, after a series of specified feature values ​​of each account in the current platform are collected, these specified feature values ​​can be combined into a feature matrix. For example, the feature matrix can be represented by X, and the dimension of X can be dimX=(n, p), where n is the number of accounts in the current platform, and p is the number of specified feature values ​​of a single account. p1, ..., p n To express.

[0030] To facilitate subsequent fitting, in one example, the value of the specified feature variable (i.e., the specified feature value) can be expressed as a numerical value of 0 or 1. For example, when collecting data, the specified feature value can be determined in the form of options or lists. For example, if the specified feature variable is a language feature, then multiple language candidate items can be included under the language feature, and each candidate item includes two options, "yes" and "no". When "yes" is selected, the corresponding specified feature value is "1"; when "no" is selected, the corresponding specified feature value is "0".

[0031] Step 120, obtaining the retention information of each account, wherein the retention information is used to reflect whether the current account is a retention account.

[0032] In practice, the platform can define user retention judgment rules based on actual business needs or experience, so that the retention information of each account can be determined based on the retention judgment rules, that is, whether each account is a retained account. For example, if the retention judgment rule is set to set a time period, if there is no login record within the time period after the account is registered, the account is judged to be a lost account, otherwise, if the account has a login record within the time period, the account is judged to be a retained account. For example, if an account has not logged in within 15 days after registration, it is judged that the account is not retained.

[0033] In one example, the retained information can be represented by y, and the value of y can be 0 or 1. i =1, indicating that user i finally retains; conversely, if y i = 0, indicating that user i eventually churns. The dimension of y is dimy = (n, 1).

[0034] Step 130: determining intervention variables according to the collected designated characteristic values.

[0035] The goal of this embodiment is to analyze the impact of any single variable on retention improvement from historical data, and this single variable is the intervening variable mentioned in this embodiment, also known as the main variable, that is, the variable of concern (that is, needs to be explored) and has an impact on the target utility (that is, user retention).

[0036] The intervention variable can be represented by T, and its value can be 0 or 1. When T=1, it means "accepting the intervention", and when T=0, it means "not accepting the intervention".

[0037] In one embodiment, step 130 may further include the following steps:

[0038] Determine a target designated feature variable from the multiple designated feature variables; determine a target designated feature value from one or more designated feature values ​​corresponding to the target designated feature variable, and generate an intervention variable.

[0039] In this step, the intervening variable and the designated characteristic variable are not equivalent, and the intervening variable can be generated according to a characteristic value in a designated characteristic variable. In this embodiment, the target designated characteristic variable is the designated characteristic variable of interest, and the target designated characteristic value is one of all designated characteristic values ​​of the target designated characteristic variable.

[0040] For example, suppose the target specifies the feature variable p i The corresponding specified feature values ​​include but are not limited to: Chinese, English, French, German, Arabic, etc. According to the target specified feature variable, different specified feature values ​​can generate the following different intervention variables (similar to one-hot encoding):

[0041] T1: Whether to speak Chinese. 1 means speaking Chinese, 0 means not speaking Chinese;

[0042] T2: Whether to speak English. 1 represents speaking English, and 0 represents not speaking English.

[0043] Step 140, using a causal inference algorithm in combination with the retention information to determine the causal effect of the intervention variable on user retention.

[0044] In this embodiment, user retention is used as the target utility variable U, and the causal effect of the current intervention variable T on the target utility variable U is determined according to the causal inference algorithm, that is, the degree of influence of the change of the intervention variable T on the target utility variable U.

[0045] In one embodiment, Figure 2 As shown, step 140 may further include the following steps:

[0046] Step 140 - 1 , based on the intervention variable, obtain the first observed variable value corresponding to the account that receives the intervention, and obtain the second observed variable value corresponding to the account that does not receive the intervention.

[0047] In this step, after the intervention variable T is determined, it can be judged whether each account on the current platform is an account that accepts intervention or an account that does not accept intervention in real circumstances based on the intervention variable. An account that accepts intervention is an account that satisfies T=1, and an account that does not accept intervention is an account that satisfies T=0. For example, if T is "whether to speak Chinese (1 represents speaking Chinese, 0 represents not speaking Chinese)", an account that accepts intervention is an account that speaks Chinese (T=1), and an account that does not accept intervention is an account that does not speak Chinese (T=0).

[0048] The observed variable value of each account (including the first observed variable value and the second observed variable value) can be understood as the variable value of each account corresponding to the target utility variable in the real situation. In this embodiment, it is the variable value of the target utility variable of "user retention", that is, "whether to retain". For example, for T i =1 (i.e., the account that received intervention). Assuming that user i eventually churns, the value of its first observed variable = 0. For example, for T j =0 (i.e., the account does not receive intervention). Assuming that user j finally retains, the value of its second observed variable =1.

[0049] Step 140 - 2 , determining the first predictor variable value of the account that receives the intervention when the account does not receive the intervention, and determining the second predictor variable value of the account that does not receive the intervention when the account receives the intervention.

[0050] In one embodiment, the causal inference algorithm of this embodiment is based on the algorithm under the Rubin framework. The idea of ​​causal inference is closely related to "counterfactual reasoning". For an account that accepts intervention (T=1), the causal effect of the intervention on the target utility variable is related to the value of the target utility variable of the account when it does not accept intervention (T=0). Vice versa, for an account that does not accept intervention (T=0), the causal effect of the intervention on the target utility variable is related to the value of the target utility variable of the account when it accepts intervention (T=1), so that the interference of its variables can be eliminated. However, in practice, for a single account, usually only one of the actual occurrences of its acceptance of intervention or non-acceptance of intervention can be observed, but both cannot be observed at the same time. Therefore, in this step, another situation that cannot be observed can be predicted to obtain the corresponding predicted variable value.

[0051] Specifically, for the account that accepts the intervention, the actual situation that can be observed is the target utility variable value when it accepts the intervention, that is, the counterfactual situation of not accepting the intervention is not observable, so the target utility variable value of the account when it does not accept the intervention (that is, the first predictor variable value) can be predicted. Correspondingly, for the account that does not accept the intervention, the actual situation that can be observed is the target utility variable value when it does not accept the intervention, that is, the situation of accepting the intervention is not observable, so the target utility variable value of the account when it accepts the intervention (that is, the second predictor variable value) can be predicted.

[0052] In one implementation, a machine model may be used to simulate counterfactual reasoning to obtain the first prediction variable value and the second prediction variable value, and step 140-2 may further include the following steps:

[0053] Step 140-2-1, organize all accounts that receive intervention into an experimental sample set, and organize all accounts that do not receive intervention into a control sample set.

[0054] In this embodiment, the account that receives intervention (T i =1) as the experimental sample, and the accounts that do not receive intervention (T i =0) as the control sample (also called the control sample), then all experimental samples can constitute an experimental sample set, and all control samples can constitute a control sample set.

[0055] In one example, the experimental sample set may include not only accounts that accept intervention, but also designated feature values ​​and retention information corresponding to each account that accepts intervention. Similarly, the experimental sample set may include not only accounts that do not accept intervention, but also designated feature values ​​and retention information corresponding to each account that does not accept intervention.

[0056] Step 140-2-2: training a first machine model based on the experimental sample set, and training a second machine model based on the control sample set.

[0057] In this step, the experimental sample set is used to train the first machine model, and the control sample set is used to train the second machine model.

[0058] In one implementation, the first machine model may be obtained in the following manner:

[0059] According to the intervention variable, a target covariate is selected from the covariates, and the covariate includes: other designated feature variables among the designated feature variables except the designated feature variable corresponding to the intervention variable; based on the variable value corresponding to the target covariate of each account in the experimental sample set and the retention information of the account, a preset machine learning algorithm is used to train the first machine model.

[0060] Specifically, the experimental sample set may include intervention variables and covariates and corresponding variable values. Covariates are introduced to explain the causal effect of intervention variables, and it is hoped that the non-confounding hypothesis will hold true after their introduction. Covariates refer to variables related to the study other than intervention variables and target utility variables. In this embodiment, covariates may include: other specified feature variables in the specified feature variables other than the specified feature variables corresponding to the intervention variables. It can also be understood that the feature matrix X can be divided into intervention variables and covariates, that is, in, is a covariate.

[0061] In practice, in the target specified characteristic variable corresponding to the current intervention variable, variables generated by other specified characteristic values ​​other than the target specified characteristic value also belong to covariates. For example, if T1: whether to speak Chinese, 1 represents speaking Chinese, and 0 represents not speaking Chinese; T2: whether to speak English, 1 represents speaking English, and 0 represents not speaking English. If it is necessary to judge the impact of T1 on the target utility variable y, then T2 is also a covariate.

[0062] After the covariates are determined, one covariate can be selected as the target covariate. For the experimental sample set, the variable value corresponding to the target covariate of each account in the set and the retention information of the account can be used as sample data, and a preset machine learning algorithm is used to train the first machine model corresponding to the target covariate. The training goal is to estimate the target variable value of the intervention variable under the intervention condition by learning the correlation between the variable value corresponding to the target covariate of each account and the retention information of the account given the target covariate.

[0063] In other embodiments, the target covariate may be more than one, but multiple, or all of the covariates. The training target may be determined based on actual business needs, which is not limited in this embodiment.

[0064] In one example, the preset machine learning algorithm may include supervised learning methods, such as linear regression, random forest, support vector machine, XGBOOST, etc.

[0065] The training method for the second machine model is similar to that for the first machine model. For the control sample set, the variable value corresponding to the target covariate of each account in the set and the retention information of the account can be used as sample data, and the preset machine learning algorithm is used to train the second machine model. The training goal is to estimate the target variable value of the intervention variable without intervention by learning the correlation between the variable value corresponding to the target covariate of each account and the retention information of the account given the target covariate.

[0066] In this embodiment, the first machine model is used to estimate the target variable value of the account when it receives intervention when the target covariate is given. In one example, the first machine model can be defined as: μ1(x)=E[U(1)|X=x], where X=x represents the target covariate, and U(1) represents the potential result of the target utility variable at T=1; E[U(1)|X=x] represents the predicted value of the target utility variable when X=x and T=1, that is, the predicted value of the target utility variable when the current account receives intervention when the target covariate x is given.

[0067] The second machine model is used to estimate the target variable value of the account when no intervention is received when the target covariate is given. In one example, the second machine model can be defined as: μ0(x)=E[U(0)|X=x], where X=x represents the target covariate, and U(0) represents the potential result of the target utility variable at T=0; E[U(0)|X=x] represents the predicted value of the target utility variable when X=x and T=0, that is, when the target covariate x is given, the predicted value of the target utility variable when the current account does not receive intervention.

[0068] Step 140-2-3, using the second machine model to predict the first prediction variable value of each account in the experimental sample set without intervention.

[0069] In this step, for the experimental sample set, the target variable value of each sample under the intervention condition is observable, while the target variable value of each sample under the non-intervention condition is missing. Therefore, this embodiment can use the second machine model to predict the first prediction variable value of each account in the experimental sample set under the given target covariate and without the intervention. Specifically, the variable value of the target covariate of each account in the experimental sample set can be input into the second machine model respectively, and the second machine model performs prediction processing and outputs the first prediction variable value corresponding to each account.

[0070] Step 140-2-4, using the first machine model to predict the second prediction variable value of each account in the control sample set under the intervention condition.

[0071] In this step, for the control sample set, the target variable value of each sample without intervention is observable, while the target variable value of each sample under intervention is missing. Therefore, this embodiment can use the first machine model to predict the second predicted variable value of each account in the control sample set under the condition of given target covariates and intervention. Specifically, the variable value of the target covariate of each account in the control sample set can be input into the first machine model respectively, and the first machine model performs prediction processing and outputs the second predicted variable value corresponding to each account.

[0072] In one embodiment, after the second machine model predicts the first predicted variable value of each account in the experimental sample set without intervention, and the first machine model predicts the second predicted variable value of each account in the control sample set with intervention, in order to facilitate data fitting and reduce the error of the model output data, the first predicted variable value and the second predicted variable value can be processed for error, for example, adding corresponding error terms to the first predicted variable value and the second predicted variable value respectively. Then the first predicted variable value of the account that receives intervention without intervention can be expressed as: U(0) = μ0(X) + ∈(0), where ∈(0) is the error term; the second predicted variable value of the account that does not receive intervention with intervention can be expressed as: U(1) = μ1(X) + ∈(1), where ∈(1) is the error term.

[0073] Step 140 - 3 , determining the first causal effect of the account receiving the intervention based on the first observed variable value and the first predicted variable value.

[0074] In this step, after obtaining the target variable values ​​(i.e., the first observed variable value and the first predicted variable value) of each experimental sample in the experimental sample set in the two cases of receiving intervention and not receiving intervention, the difference in the target variable values ​​in these two cases can be calculated, and this difference can be used as the causal effect of the intervention variable of the sample on the target utility variable when the target covariate is given. In this embodiment, the difference between the first observed variable value and the first predicted variable value of the current account is calculated as the first causal effect.

[0075] For example, the first causal effect of each experimental sample can be expressed as: in, represents the first observed variable value of user i when receiving intervention; is the first predicted variable value of user i without intervention when the target intervention variable X is given and predicted by the second machine model; It represents the first causal effect of the current intervention variable on the target utility variable for user i.

[0076] In other embodiments, the first causal effect can also be expressed as calculating the expectation of the difference between the first observed variable value and the first predicted variable value of the current account, that is, E[D 1 |X=x].

[0077] Step 140 - 4 , determining the second causal effect of the account that does not receive intervention based on the second observed variable value and the second predicted variable value.

[0078] In this step, after obtaining the target variable values ​​(i.e., the second predicted variable value and the second observed variable value) of each control sample in the control sample set in the two cases of receiving intervention and not receiving intervention, the difference in the target variable values ​​in these two cases can be calculated, and this difference can be used as the causal effect of the intervention variable of the sample on the target utility variable when the target covariate is given. In this embodiment, the difference between the second predicted variable value and the second observed variable value of the current account is calculated as the second causal effect.

[0079] For example, the second causal effect of each control sample can be expressed as: in, represents the second observed variable value of user i without intervention; is the second predicted variable value of user i in the case of receiving intervention when the target intervention variable X is given and predicted by the first machine model; It represents the second causal effect of the current intervention variable on the target utility variable for user i.

[0080] In other embodiments, the second causal effect can also be expressed as calculating the expectation of the difference between the second observed variable value and the second predicted variable value of the current account, that is, E[D 0 |X=x].

[0081] Step 140-5, determining the causal effect of the intervention variable on user retention based on the first causal effect or the second causal effect of each account.

[0082] Once the first causal effect or second causal effect of each account is determined, the causal effect of the intervention variable on user retention can be determined in combination with the first causal effect or second causal effect of each account.

[0083] In one implementation, step 140-5 may further include the following steps:

[0084] Step 140-5-1, calculate the average value of all first causal effects as the first average causal effect of the experimental sample set.

[0085] In this step, after obtaining the first causal effect of each sample in the experimental sample set (i.e., the account that received the intervention), the average of the first causal effects of each sample in the experimental sample set can be calculated as the first average causal effect of the experimental sample set under the given target covariate. The first average causal effect can be understood as the average causal effect of T=1 on U under the given target covariate.

[0086] Step 140-5-2, calculating the average value of all second causal effects as the second average causal effect of the control sample set.

[0087] In this step, after obtaining the second causal effect of each sample in the control sample set (i.e., accounts that do not receive intervention), the average value of the second causal effect of each sample in the control sample set can be calculated as the second average causal effect of the control sample set under the given target covariate. The second average causal effect can be understood as the average causal effect of T=0 on U under the given target covariate.

[0088] It should be noted that in step 140-5-1 and step 140-5-2, the average causal effect is determined by calculating the average value of the causal effects in the set. In other embodiments, the average causal effect can also be determined by calculating the average expectation of the causal effects in the set. This embodiment does not limit this.

[0089] Step 140 - 5 - 3 , determining a propensity value, which is used to reflect the probability of the user accepting the intervention under a given target covariate.

[0090] In this embodiment, the propensity value can also be called the probability of the account accepting intervention, which can be defined as e(x)=P(T=1|X=x), that is, in a real scenario, when the target covariate X=x is given, the probability of the user accepting intervention is predicted, and T is the Bernoulli distribution of the service parameter e(x) given X=x, that is, T~Bernoulli(e(X)).

[0091] In one implementation, the propensity value may be determined in the following manner:

[0092] The variable value of the target covariate is input into the trained probability model, and the probability model outputs the predicted probability of the user accepting the intervention under the target covariate as the propensity value.

[0093] In this embodiment, a probability model may be pre-trained, the training goal of which is to predict the probability of receiving intervention when a target covariate is given. Then, the variable value of the current target covariate may be input into the probability model, and the probability value output by the probability model may be obtained as the propensity value.

[0094] Step 140-5-4, using the propensity value as a weight, weighted calculation is performed on the first average causal effect and the second average causal effect to obtain the causal effect of the intervention variable on user retention under a given target covariate.

[0095] In this step, after obtaining the propensity value, the first average causal effect and the second average causal effect can be weighted by using the propensity value as the weight to obtain the causal effect of the current intervention variable on user retention under a given target covariate, which can be expressed by the following formula:

[0096] τ(x)=e(x)τ0(x)+(1-e(x))τ1(x)

[0097] Among them, e(x) is the propensity score, τ0(x) is the second average causal effect, τ1(x) is the first average causal effect, x is the target covariate, and τ(x) is the causal effect of the intervention variable on user retention under the given target covariate.

[0098] In one implementation, if multiple target covariates are specified, that is, when there are multiple target covariates, step 140-5 may further include the following steps:

[0099] The average expectation of the causal effect corresponding to each target covariate is calculated to obtain the causal effect of the intervention variable on user retention.

[0100] In this embodiment, if there are multiple target covariates, to determine the causal effect of the current intervening variable on user retention, the average expected causal effects corresponding to the multiple target covariates can be calculated, and finally the causal effect of the intervening variable on user retention can be obtained.

[0101] When there are multiple intervention variables, this embodiment may also include the following steps:

[0102] According to the causal effect of each intervention variable on user retention, the intervention variable with the largest causal effect is selected as the key factor affecting user retention.

[0103] In this embodiment, when multiple intervention variables are specified, after obtaining the causal effect of each intervention variable on user retention, the multiple intervention variables can be sorted according to the size of the causal effect. The sorting results can be input into the subsequent matching algorithm to help calculate the total utility, and can also provide a basis for manual matching.

[0104] Furthermore, one or more intervening variables with the largest causal effect can be screened out based on the sorting results as the key factors that have the greatest impact on user retention, so that targeted operation strategies can be formulated based on the screened intervening variables to improve user retention rate.

[0105] In this embodiment, after the corresponding specified feature values ​​of each account in the current platform and the retention information of each account are collected from historical data, a causal inference algorithm can be used to determine the causal effect of a single feature on user retention, and based on the causal effect of each feature on user retention, find the key factors affecting user retention. These key factors can be used to assist the platform in conducting targeted operations, thereby improving user retention rate.

[0106] Embodiment 2

[0107] Figure 3 The structural block diagram of an embodiment of a feature evaluation device that affects user retention provided in the second embodiment of the present application may include the following modules:

[0108] The specified feature value collection module 310 is used to collect the corresponding specified feature values ​​of each account in the current platform according to multiple specified feature variables;

[0109] A retention information acquisition module 320 is used to acquire the retention information of each account, where the retention information is used to reflect whether the current account is a retention account;

[0110] An intervention variable determination module 330, configured to determine an intervention variable according to the collected specified characteristic value;

[0111] The causal effect determination module 340 is used to determine the causal effect of the intervention variable on user retention by using a causal inference algorithm in combination with the retention information.

[0112] In one embodiment, the intervention variable determination module 330 is specifically used to:

[0113] determining a target designated feature variable from the plurality of designated feature variables;

[0114] A target specified characteristic value is determined from one or more specified characteristic values ​​corresponding to the target specified characteristic variable to generate an intervention variable.

[0115] In one embodiment, the causal effect determination module 340 may further include the following submodules:

[0116] An observed variable value acquisition submodule, used to acquire, according to the intervention variable, a first observed variable value corresponding to an account that receives intervention, and to acquire a second observed variable value corresponding to an account that does not receive intervention;

[0117] A predictor variable value determination submodule, used to determine a first predictor variable value of the account receiving the intervention in the case of not receiving the intervention, and to determine a second predictor variable value of the account not receiving the intervention in the case of receiving the intervention;

[0118] A first causal effect determination submodule, configured to determine a first causal effect of the account receiving the intervention according to the first observed variable value and the first predicted variable value;

[0119] A second causal effect determination submodule, configured to determine a second causal effect of the account not receiving the intervention according to the second observed variable value and the second predicted variable value;

[0120] The user retention causal effect determination submodule is used to determine the causal effect of the intervention variable on user retention based on the first causal effect or the second causal effect of each account.

[0121] In one embodiment, the predictor variable value determination submodule may further include the following units:

[0122] A sample set organization unit, used to organize all accounts that receive intervention into an experimental sample set, and to organize all accounts that do not receive intervention into a control sample set;

[0123] A model training unit, configured to train a first machine model according to the experimental sample set, and to train a second machine model according to the control sample set;

[0124] A model prediction unit is used to use the second machine model to predict the first predicted variable value of each account in the experimental sample set when no intervention is received; and to use the first machine model to predict the second predicted variable value of each account in the control sample set when the intervention is received.

[0125] In one embodiment, the model training unit is specifically used to:

[0126] According to the intervention variable, a target covariate is selected from the covariates, wherein the covariate includes: other designated characteristic variables among the designated characteristic variables except the designated characteristic variable corresponding to the intervention variable;

[0127] Based on the variable value corresponding to the target covariate of each account in the experimental sample set and the retention information of the account, a preset machine learning algorithm is used to train the first machine model.

[0128] In one embodiment, the first causal effect determination submodule is specifically used to:

[0129] The difference between the first observed variable value and the first predicted variable value is calculated as the first causal effect.

[0130] In one embodiment, the user retention causal effect determination submodule may further include the following units:

[0131] A first average causal effect calculation unit, used to calculate the average of all first causal effects as the first average causal effect of the experimental sample set;

[0132] A second average causal effect calculation unit, used to calculate the average of all second causal effects as the second average causal effect of the control sample set;

[0133] a propensity value determination unit, used to determine a propensity value, wherein the propensity value is used to reflect the probability of the user accepting the intervention under a given target covariate;

[0134] A weighted calculation unit is used to perform weighted calculation on the first average causal effect and the second average causal effect using the propensity value as a weight, so as to obtain the causal effect of the intervention variable on user retention under a given target covariate.

[0135] In one implementation, the tendency value determination unit is specifically configured to:

[0136] The variable value of the target covariate is input into the trained probability model, and the probability model outputs the predicted probability of the user accepting the intervention under the target covariate as the propensity value.

[0137] In one embodiment, if there are multiple target covariates, the user retention causal effect determination submodule is further used to:

[0138] The average expectation of the causal effect corresponding to each target covariate is calculated to obtain the causal effect of the intervention variable on user retention.

[0139] In one embodiment, when there are multiple intervention variables, the device may further include the following modules:

[0140] The key factor determination module is used to select the intervention variable with the largest causal effect as the key factor affecting user retention based on the causal effect of each intervention variable on user retention.

[0141] It should be noted that the above-mentioned feature evaluation device that affects user retention provided in the embodiment of the present application can execute the method provided in the first embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.

[0142] Embodiment 3

[0143] Figure 4 A schematic diagram of the structure of an electronic device provided in Embodiment 3 of the present application is shown in FIG. Figure 4 As shown, the electronic device includes a processor 410, a memory 420, an input device 430, and an output device 440; the number of the processor 410 in the electronic device can be one or more. Figure 4 A processor 410 is taken as an example; the processor 410, the memory 420, the input device 430 and the output device 440 in the electronic device can be connected via a bus or other means. Figure 4 The example of connecting through bus is taken in the following.

[0144] The memory 420 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the method in the embodiment of the present application. The processor 410 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the memory 420, that is, implementing the above method.

[0145] The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area

[0146] The operating system and the application programs required for at least one function may be stored; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 420 may further include a memory remotely arranged relative to the processor 410, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0147] The input device 430 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the electronic device. The output device 440 may include a display device such as a display screen.

[0148] Embodiment 4

[0149] Embodiment 4 of the present application further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute the method in any one of the embodiments in Embodiment 1 when executed by a processor of a server.

[0150] Through the above description of the implementation method, the technicians in the relevant field can clearly understand that the present application can be implemented with the help of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0151] It is worth noting that in the embodiment of the above-mentioned device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.

[0152] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims

1. A method for evaluating features that affect user retention, characterized in that: The method comprises: According to multiple specified characteristic variables, collect the corresponding specified characteristic values ​​of each account in the current platform; Obtaining the retention information of each account, where the retention information is used to reflect whether the current account is a retained account; Determining intervention variables according to the collected specified characteristic values; Using a causal inference algorithm in combination with the retention information to determine the causal effect of the intervention variable on user retention; The using a causal inference algorithm in combination with the retention information to determine the causal effect of the intervention variable on user retention includes: According to the intervention variable, obtaining a first observed variable value corresponding to the account that receives the intervention, and obtaining a second observed variable value corresponding to the account that does not receive the intervention; Determine a first predictor variable value for the account that received the intervention when it did not receive the intervention, and determine a second predictor variable value for the account that did not receive the intervention when it received the intervention; Determining a first causal effect of the account receiving the intervention based on the first observed variable value and the first predictor variable value; Determining a second causal effect of the account not receiving the intervention based on the second observed variable value and the second predictor variable value; According to the first causal effect or the second causal effect of each account, the causal effect of the intervention variable on user retention is determined.

2. The method according to claim 1, characterized in that The step of determining the intervention variable according to the collected designated characteristic value comprises: determining a target designated feature variable from the plurality of designated feature variables; A target specified characteristic value is determined from one or more specified characteristic values ​​corresponding to the target specified characteristic variable to generate an intervention variable.

3. The method according to claim 1, characterized in that The determining of the first predictor variable value of the account receiving the intervention in the case of not receiving the intervention, and the determining of the second predictor variable value of the account not receiving the intervention in the case of receiving the intervention, comprises: Organize all accounts that received intervention into the experimental sample set, and organize all accounts that did not receive intervention into the control sample set; Training a first machine model according to the experimental sample set, and training a second machine model according to the control sample set; Using the second machine model to predict the first prediction variable value of each account in the experimental sample set without intervention; The first machine model is used to predict the value of the second predictor variable for each account in the control sample set under the intervention condition.

4. The method according to claim 3, characterized in that The step of training a first machine model according to the experimental sample set includes: According to the intervention variable, a target covariate is selected from the covariates, wherein the covariate includes: other designated characteristic variables among the designated characteristic variables except the designated characteristic variable corresponding to the intervention variable; Based on the variable value corresponding to the target covariate of each account in the experimental sample set and the retention information of the account, a preset machine learning algorithm is used to train the first machine model.

5. The method according to claim 4, characterized in that Determining the first causal effect of the account receiving the intervention according to the first observed variable value and the first predicted variable value includes: The difference between the first observed variable value and the first predicted variable value is calculated as the first causal effect.

6. The method according to claim 4 or 5, characterized in that: Determining the causal effect of the intervention variable on user retention according to the first causal effect or the second causal effect of each account includes: Calculate the average of all first causal effects as the first average causal effect of the experimental sample set; Calculating an average of all second causal effects as the second average causal effect of the control sample set; Determining a propensity score, wherein the propensity score is used to reflect the probability that the user will accept the intervention given the target covariate; The first average causal effect and the second average causal effect are weightedly calculated using the propensity value as a weight to obtain the causal effect of the intervention variable on user retention under a given target covariate.

7. The method according to claim 6, characterized in that Determining the tendency value includes: The variable value of the target covariate is input into the trained probability model, and the probability model outputs the predicted probability of the user accepting the intervention under the target covariate as the propensity value.

8. The method according to claim 6, characterized in that If there are multiple target covariates, determining the causal effect of the intervention variable on user retention based on the first causal effect or the second causal effect of each account also includes: The average expectation of the causal effect corresponding to each target covariate is calculated to obtain the causal effect of the intervention variable on user retention.

9. The method according to claim 1 or 2, characterized in that: When there are multiple intervening variables, after combining the retention information with a causal inference algorithm to determine the causal effect of the intervening variable on user retention, the method further includes: According to the causal effect of each intervention variable on user retention, the intervention variable with the largest causal effect is selected as the key factor affecting user retention.

10. A device for evaluating features affecting user retention, characterized in that: The device comprises: The specified feature value collection module is used to collect the corresponding specified feature values ​​of each account in the current platform according to multiple specified feature variables; A retention information acquisition module is used to obtain the retention information of each account, and the retention information is used to reflect whether the current account is a retention account; An intervention variable determination module, used to determine the intervention variable according to the collected specified characteristic value; A causal effect determination module, configured to determine the causal effect of the intervention variable on user retention by using a causal inference algorithm in combination with the retention information; The causal effect determination module includes the following submodules: An observed variable value acquisition submodule, used to acquire a first observed variable value corresponding to an account that receives intervention, and to acquire a second observed variable value corresponding to an account that does not receive intervention, based on the intervention variable; A predictor variable value determination submodule, used to determine a first predictor variable value of the account receiving the intervention in the case of not receiving the intervention, and to determine a second predictor variable value of the account not receiving the intervention in the case of receiving the intervention; A first causal effect determination submodule, configured to determine a first causal effect of the account receiving the intervention according to the first observed variable value and the first predicted variable value; A second causal effect determination submodule, configured to determine a second causal effect of the account not receiving the intervention according to the second observed variable value and the second predicted variable value; The user retention causal effect determination submodule is used to determine the causal effect of the intervention variable on user retention based on the first causal effect or the second causal effect of each account.

11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 9 is implemented.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.