Method, device and medium for data processing

By obtaining and analyzing observation sample data of multiple factors, estimating the distribution and optimizing the causal structure, the problem of difficulty in finding causal relationships in traditional methods is solved, and the effect of accurately discovering causal relationships is achieved without assuming data distribution and relationships. .

CN111861519BActive Publication Date: 2024-10-29NEC CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201910335036.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-04-24
Publication Date
2024-10-29
Estimated Expiration
2039-04-24

AI Technical Summary

Technical Problem

In the absence of intervention or randomized controlled experiments, it is often difficult to discover causal relationships between multiple factors only from the observation data of multiple factors. Traditional methods usually involve various assumptions, such as the data distribution is a Gaussian distribution or between factors. The relationship is linear, but actual data may follow any distribution, and the relationship may be nonlinear.

Method used

A scheme for data processing is proposed. By obtaining a set of observation samples of multiple factors, the distribution of the difference between the observed value and its estimated value of each factor is estimated. Based on these distributions, the causal structure of the causal relationship is determined, using B-sample Strip regression algorithm and kernel density estimation algorithm, combined with sparse regression algorithm, optimize the causal structure and avoid assumptions about data distribution and relationships between factors.

Benefits of technology

It achieves accurate and robust discovery of causal relationships between multiple factors without making any assumptions about data distribution and relationships between factors, improving the accuracy and robustness of causal discovery and having higher performance than traditional solutions. of precision and recall.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111861519B_ABST
    Figure CN111861519B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to methods, devices, and computer-readable storage media for data processing. A method for data processing includes obtaining a set of observation samples about multiple factors, and one observation sample in the set of observation samples includes corresponding observation values ​​of multiple factors. The method also includes, for each of the multiple factors, estimating the distribution obeyed by the difference between the observed value and the estimated value of the factor based on the set of observation samples. The method also includes determining a causal structure representing the causal relationship between the multiple factors based on at least the estimated distribution. Embodiments of the present disclosure also provide devices and computer-readable storage media capable of implementing the above methods. Embodiments of the present disclosure can accurately and robustly discover the causal relationship between multiple factors without making any assumptions about the data distribution and the relationship between the factors, and influence the observed value of the target factor based on the causal relationship.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of machine learning, and more particularly, to a method, apparatus, and computer-readable storage medium for data processing. Background Art

[0002] With the rapid development of information technology, the scale of data is growing rapidly. Under such background and trend, machine learning has received more and more attention. Among them, causal discovery has a wide range of applications in real life, such as in supply chain, healthcare, and retail. The causal discovery mentioned here refers to the discovery of causal relationships between multiple factors from sample data about multiple factors. For example, in the retail field, the results of causal discovery can be used to assist in the formulation of various sales strategies; in the healthcare field, the results of causal discovery can be used to assist in the formulation of treatment plans for patients, etc. Summary of the invention

[0003] Embodiments of the present disclosure provide a method, an apparatus, and a computer-readable storage medium for data processing.

[0004] In a first aspect of the present disclosure, a method for data processing is provided. The method comprises: obtaining an observation sample set about multiple factors, wherein one observation sample in the observation sample set includes corresponding observation values ​​of the multiple factors; for each of the multiple factors, estimating the distribution obeyed by the difference between the observed value of the factor and the estimated value of the factor based on the observation sample set, wherein the estimated value is determined based on the observed value of at least one other factor in the multiple factors and the influence of the at least one other factor on the factor; and determining a causal structure representing the causal relationship between the multiple factors based at least on the estimated distribution.

[0005] According to a second aspect of the present disclosure, a device for data processing is provided. The device includes at least one processing unit and at least one memory. The at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device performs actions, including: obtaining a set of observation samples about multiple factors, one observation sample in the set of observation samples includes corresponding observation values ​​of multiple factors; for each of the multiple factors, estimating the distribution obeyed by the difference between the observed value of the factor and the estimated value of the factor based on the set of observation samples, the estimated value is determined based on the observed value of at least one other factor in the multiple factors and the influence of at least one other factor on the factor; and determining a causal structure representing the causal relationship between the multiple factors based at least on the estimated distribution.

[0006] According to a third aspect of the present disclosure, a computer-readable storage medium is provided. The computer-readable storage medium has machine-executable instructions stored thereon. When the machine-executable instructions are executed by a device, the device performs the method described in the first aspect of the present disclosure.

[0007] The invention summary is provided to introduce a series of concepts in a simplified form, which will be further described in the specific embodiments below. The invention summary is not intended to identify the key features or essential features of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easy to understand through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] The objects, advantages and other features of the present invention will become more apparent from the following disclosure and claims. For illustrative purposes only, a non-limiting description of preferred embodiments is given with reference to the accompanying drawings, in which:

[0009] Figure 1A and Figure 1B A block diagram showing an example system for data processing according to an embodiment of the present disclosure is shown;

[0010] Figure 2 A schematic diagram for determining a causal relationship between multiple factors according to an embodiment of the present disclosure is shown;

[0011] Figure 3 A flowchart illustrating an example method according to an embodiment of the present disclosure is shown;

[0012] Figure 4 A flowchart illustrating an example method according to an embodiment of the present disclosure is shown;

[0013] Figure 5 A flowchart illustrating an example method according to an embodiment of the present disclosure is shown;

[0014] Figure 6 A flowchart illustrating an example method according to an embodiment of the present disclosure; and

[0015] Figure 7 A schematic block diagram of an example device that can be used to implement embodiments of the present disclosure is shown.

[0016] In the various drawings, the same or corresponding reference numerals represent the same or corresponding parts. DETAILED DESCRIPTION

[0017] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0018] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0019] In the embodiments of the present disclosure, the term "causal structure" generally refers to a structure that describes the causal relationship between various factors in a system. The term "factor" is also called a "variable". The term "observation sample" refers to a set of observations of multiple factors that can be directly observed, where the factors that can be directly observed are also called "observation variables".

[0020] As mentioned above, in real life, it is expected to quickly and accurately discover the causal relationship between a large number of observed variables.

[0021] In the field of customer service, in order to determine which factors will affect customer satisfaction with telecom operators, a large amount of customer consumption behavior data (such as customer age, monthly Internet traffic consumption, free traffic ratio, total monthly Internet traffic consumption, etc.), satisfaction survey data and operator strategy data can be collected. Each type of data collected is also called an observation value of a factor (or variable). By discovering the causal relationship between these factors, one or more factors that affect customer satisfaction can be determined. Furthermore, customer satisfaction with telecom operators can be improved by changing the observation value of one or more factors or formulating corresponding strategies for one or more factors.

[0022] In the health field, in order to determine the factors that affect the patient's blood pressure, a series of physiological indicators (i.e., observations of a series of factors) can be collected from a large number of patients, such as heart rate, cardiac output, allergy index, total peripheral vascular resistance, catecholamine release, blood pressure, etc. By discovering the causal relationship between these physiological indicators, the physiological indicators (i.e., factors) that affect the patient's blood pressure can be determined. Furthermore, the patient's blood pressure can be kept stable by influencing the physiological indicator or formulating corresponding strategies for the physiological indicator.

[0023] In the field of commodity sales, in order to determine the factors that affect the sales of a target commodity (e.g., umbrellas), external factor data (such as weather, season, temperature, date, store size, etc.), sales data of the commodity (such as sales of the commodity, price of the commodity, etc.), and sales data of one or more related commodities (e.g., ice cream) can be collected. Each type of data collected is used as an observation value of a factor. By discovering the causal relationship between these factors, one or more factors that affect the sales of the target commodity can be determined. Furthermore, the sales of the target commodity can be increased by changing the observed values ​​of the one or more factors or formulating corresponding strategies for the one or more factors.

[0024] In the field of software development, in order to determine the factors that affect the failure rate and / or software development cycle, information on various factors of software development can be collected, including but not limited to the overall information of software development (such as development cycle, resources invested in development, etc.) and information on each stage of software development. Information on each stage of software development can include, for example, information on the architecture stage (such as software architecture method, number of software architecture levels, etc.), information on the coding stage (such as code length, number of functions, programming language, number of modules, etc.), information on the testing stage (such as the accuracy or failure rate of unit testing, the accuracy or failure rate of black box testing, the accuracy or failure rate of white box testing, etc.), and information on the running stage after software release (such as the accuracy or failure rate of the running stage, etc.). Each type of data collected is regarded as the observed value of a factor. By discovering the causal relationship between these factors, one or more factors that affect the software development cycle and / or failure rate can be determined. Further, the software development cycle and / or failure rate can be reduced by changing the observed value of the one or more factors or formulating corresponding strategies for the one or more factors.

[0025] However, it is usually difficult to discover the causal relationship between multiple factors from the observational data of multiple factors without any intervention or randomized controlled experiments. Therefore, traditional causal relationship discovery methods based on observational data usually involve various assumptions, such as assuming that the data distribution is Gaussian or that the relationship between factors is linear. However, in practical applications, the data may follow any distribution, and the relationship between factors may be nonlinear.

[0026] According to an embodiment of the present disclosure, a scheme for data processing is proposed. The scheme can accurately and robustly discover the causal relationship between multiple factors without making any assumptions about the data distribution and the relationship between the factors, thereby being able to solve the above-mentioned problems and / or other potential problems. The embodiments of the present disclosure will be described in detail below in conjunction with the above-mentioned example scenarios. It should be understood that this is only for illustrative purposes and is not intended to limit the scope of the present invention in any way.

[0027] Figure 1A FIG. 1 shows an example block diagram of a system 100 for data processing according to an embodiment of the present disclosure. It should be understood that Figure 1A The system 100 shown is only an example in which the embodiments of the present disclosure may be implemented, and is not intended to limit the scope of the present disclosure. The embodiments of the present disclosure are also applicable to other systems or architectures.

[0028] like Figure 1A As shown, the system 100 may include a causal relationship determination device 120. The causal relationship determination device 120 may receive an observation sample set 110 about multiple factors, and determine a causal structure 130 representing the causal relationship between the multiple factors. Optionally, in some embodiments, the system 100 may further include an observation sample collection device ( Figure 1A ), for collecting observation sample sets 110 about multiple factors. The observation sample collection device can collect observation values ​​of multiple factors in real time, regularly or irregularly to obtain the observation sample set 110. In some embodiments, the observation sample collection device may include one or more collection units, each for collecting observation values ​​of different types of factors.

[0029] The observation sample set 110 may include observation samples of multiple factors related to one or more target factors. The observation sample set 110 may be represented as X={X1, X2, ..., X D}∈R N×D , where N represents the total number of observation samples in the observation sample set 110, D represents the total number of factors, and each observation sample in the observation sample set 110 includes a set of observation values ​​of D factors. Vector X i ∈R N (i∈[1,D]) represents the i-th factor (hereinafter also referred to as “factor i” or “factor X”). i ”). For example, And n∈[1,N]) represents the nth observation value of factor i. The causal structure 130 can be represented by a directed acyclic graph (DAG), where each node represents a factor and each directed edge represents a causal relationship, for example, edge "A→B" can represent that factor A is the cause of factor B.

[0030] Taking the above scenario about customer satisfaction of telecom operators as an example, for example, the target factor is "customer satisfaction", the factor set including D factors may include one or more of factors related to customer attributes (for example, customer level, customer number, etc.), factors related to customer behavior (for example, monthly Internet traffic consumption, ratio of free traffic, total cost of monthly Internet traffic consumption, etc.), factors related to customer feedback (for example, number of complaints, customer satisfaction) and strategic factors formulated for customers (for example, number of reminders for over-package, timing, etc.). Taking the factor "customer level" as an example, the vector X i can consist of N levels of customers, and It can represent the level of the nth customer among N customers. i ) as an example, vector X i It can be composed of the monthly Internet traffic consumed by N customers, and It can represent the monthly Internet traffic consumed by the nth customer among N customers. The causal structure 130 can, for example, indicate the causal relationship between factors such as customer level, monthly Internet traffic consumed, ratio of free traffic, total cost of monthly Internet traffic consumed, customer satisfaction, etc., such as which factors are the cause of the target factor "customer satisfaction".

[0031] Taking the above scenario about patient blood pressure as an example, for example, if the target factor is "blood pressure", the factor set including D factors may include heart rate, cardiac output, allergy index, total peripheral vascular resistance, catecholamine release, blood pressure, etc. Taking the factor "heart rate" as an example, the vector X i can be composed of the heart rates of N patients, and It can represent the heart rate of the nth patient among N patients. Taking the factor "cardiac output" as an example, the vector X i can be composed of the cardiac output of N patients, and It can represent the cardiac output of the nth patient among N patients. The causal structure 130 can, for example, indicate the causal relationship between factors such as heart rate, cardiac output, allergy index, total peripheral vascular resistance, catecholamine release, blood pressure, etc., such as which factors are the cause of the target factor "blood pressure".

[0032] Taking the above commodity sales scenario as an example, for example, the target factor is "target commodity sales volume", the factor set including D factors may include one or more of external factors (such as weather, season, temperature, date, store size, etc.), factors related to the sales behavior of the target commodity (such as umbrellas) (such as the sales volume of the target commodity, the price of the target commodity, etc.), factors related to the sales behavior of one or more related commodities (such as ice cream) (such as the sales volume of related commodities, the price of related commodities, etc.) and sales strategy factors for the target commodity (such as the number of promotions, frequency, etc.). Taking the factor "temperature" as an example, the vector X i can be composed of N days of temperatures, and It can represent the temperature on the nth day. Taking the factor "target product sales" as an example, the vector X i can be composed of the sales of umbrellas for N days, and It can represent the sales volume of umbrellas on the nth day. The causal structure 130 can, for example, indicate the causal relationship between factors such as weather, season, temperature, date, store size, target product sales volume, target product price, related product sales volume, and related product price, such as what factors are the cause of the target factor "target product sales volume".

[0033] Taking the above software development scenario as an example, for example, the target factor is "software development cycle" or "failure rate in software operation phase", the factor set including D factors may include one or more of the overall factors of software development (such as development cycle, resources invested in development, etc.) and factors in various stages of software development. Factors in various stages of software development may include, for example, factors in the architecture phase (such as software architecture method, number of software architecture levels, etc.), factors in the coding phase (such as code length, number of functions, programming language, number of modules, etc.), factors in the testing phase (such as the accuracy or failure rate of unit testing, the accuracy or failure rate of black box testing, the accuracy or failure rate of white box testing, etc.), and factors in the operation phase after software release (such as the accuracy of the operation phase, the failure rate of the operation phase, etc.). Taking the factor "development cycle" as an example, the vector X i can consist of N software product development cycles, and It can represent the development cycle of the nth software product. Taking the factor "code length" as an example, the vector X i can be composed of the code lengths of N software products, and It can represent the code length of the nth software product. The causal structure 130 can, for example, indicate the causal relationship between factors such as software development cycle, resources invested in development, architecture method, number of architecture levels, code length, number of functions, programming language, number of modules, correctness or failure rate of unit testing, correctness or failure rate of black box testing, correctness or failure rate of white box testing, correctness of the running stage, and failure rate of the running stage. For example, what factors are the cause of the target factor "development cycle", what factors are the cause of the target factor "failure rate of the running stage", etc.

[0034] Optionally, in some embodiments, the system 100 may further include a causal relationship presentation device ( Figure 1A ) for presenting a representation of the causal structure 130. In some embodiments, the causal relationship presentation device may present the representation of the causal structure 130 in different ways such as visual, auditory, etc. For example, the causal relationship presentation device may present the causal structure 130 in the form of graphics, charts, text, etc. In some embodiments, the causal relationship presentation device may present the entire representation of the causal structure 130, that is, the causal relationship between all factors. Alternatively, in some embodiments, the causal relationship presentation device may only present a representation of a portion of the causal structure 130, for example, the causal relationship associated with one or more target factors. In some embodiments, when the cause of the target factor includes multiple factors, the causal relationship presentation device may further present the corresponding importance of the multiple factors, for example, presenting the corresponding importance of the multiple factors in different colors and / or numerical values ​​representing different importance. The embodiments of the present disclosure are not limited in this respect.

[0035] Figure 1B FIG. 1 shows an example block diagram of a system 105 for data processing according to an embodiment of the present disclosure. The system 105 can, for example, apply and optimize Figure 1A The causal structure 130 shown. It should be understood that Figure 1B The system 105 shown is only one example in which the embodiments of the present disclosure may be implemented, and is not intended to limit the scope of the present disclosure. The embodiments of the present disclosure are also applicable to other systems or architectures.

[0036] like Figure 1B As shown, the system 105 may include an observation sample influencing device 140. The observation sample influencing device 140 may determine at least one factor as a cause of the target factor from a plurality of factors based on the causal structure 130. The observation sample influencing device 140 may influence the observed value of the target factor by changing the observed value of at least one factor, thereby obtaining a changed observation sample set 150. At least one observation sample in the changed observation sample set 150 includes a changed observed value of at least one factor.

[0037] Taking the above scenario about customer satisfaction of telecommunications operators as an example, the target factor is, for example, "customer satisfaction", and the causal structure 130 can, for example, indicate which factors are the cause of the target factor "customer satisfaction" (for example, reminders before the package runs out, preferential packages, etc.). The observation sample influencing device 140 can, for example, improve customer satisfaction with telecommunications operators by influencing and changing the observed values ​​of these factors, and / or formulating corresponding strategies for these factors (for example, providing more reminders to customers before the package runs out, providing customers with more preferential packages).

[0038] Taking the above scenario about the patient's blood pressure as an example, the target factor is, for example, "blood pressure", and the causal structure 130 can, for example, indicate which physiological indicators are the cause of the target factor "blood pressure". The observation sample influencing device 140 can, for example, stabilize the patient's blood pressure by influencing and changing these physiological indicators and / or formulating corresponding strategies for these physiological indicators.

[0039] Taking the above commodity sales scenario as an example, the target factor is, for example, "umbrella sales volume", and the causal structure 130 can, for example, indicate which factors are the cause of the target factor "umbrella sales volume" (for example, weather, the number of umbrellas available for sale, etc.). The observation sample influencing device 140 can, for example, improve the sales volume of the target commodity umbrella by influencing and changing these factors, and / or formulating corresponding strategies for these factors (for example, increasing the number of umbrellas available for sale when it rains).

[0040] Taking the above software development scenario as an example, the target factor is, for example, "development cycle", and the causal structure 130 can, for example, indicate which factors are the cause of the target factor "development cycle" (for example, the number of architecture levels, programming language, etc.). The observation sample influencing device 140 can, for example, reduce the software development cycle by influencing and changing these factors, and / or formulating corresponding strategies for these factors (for example, reducing the complexity of the software architecture, using a more friendly programming language, etc.). For another example, the target factor can be "software failure rate during operation", and the causal structure 130 can, for example, indicate which factors are the cause of the target factor "software failure rate during operation" (for example, code length, number of modules, etc.). The observation sample influencing device 140 can, for example, reduce the software failure rate during operation by influencing and changing these factors, and / or formulating corresponding strategies for these factors (for example, reducing code length, reducing the number of modules, etc.).

[0041] like Figure 1BAs shown, the system 105 may include a causal relationship optimization device 160. The causal relationship optimization device 160 may optimize the causal structure 130 based on the changed observation sample set 150, thereby improving the accuracy of the causal structure 130. In some embodiments, the causal relationship optimization device 160 may rediscover the causal relationship between multiple factors based on the changed observation sample set 150 (for example, similar to the process performed by the causal relationship determination device 120), thereby obtaining an optimized causal structure. In this way, the embodiments of the present disclosure can further improve the accuracy and robustness of causal discovery.

[0042] Despite Figure 1A The causal relationship determination device 120 shown in FIG. Figure 1B The observed sample influence device 140 and the causal relationship optimization device 160 are shown as being separated from each other, but it should be understood that this is only for the purpose of illustration and is not intended to limit the scope of the present disclosure. Figure 1A The causal relationship determination device 120 shown in FIG. Figure 1B The observed sample influence device 140 and the causal relationship optimization device 160 shown can be implemented in the same physical device or in multiple different physical devices. Figure 1A The causal relationship determination device 120 shown in FIG. Figure 1B The causal relationship optimization device 160 shown can be implemented as the same device. The embodiments of the present disclosure are not limited in this respect.

[0043] Figure 2 FIG. 1 is a schematic diagram for determining the causal relationship between multiple factors according to an embodiment of the present disclosure. Figure 2 It is assumed that the observed sample set 110 involves six factors 201, 202, 203, 204, 205 and 206, that is, the number of factors D is 6.

[0044] like Figure 2 As shown, the causal relationship determination device 120 may include, for example, a factor pair determination unit 121, a causal structure search unit 122, and a causal structure optimization unit 123. It should be understood that these units included in the causal relationship determination device 120 are merely exemplary and are not intended to limit the scope of the present disclosure. In some embodiments, the causal relationship determination device 120 may also include additional units not shown and / or may omit some of the units shown. For example, in some embodiments, the factor pair determination unit 121 and / or the causal structure optimization unit 123 may be omitted.

[0045] The observation sample set 110 includes a plurality of observation samples about factors 201, 202, 203, 204, 205 and 206. In the initial case, Figure 2 As shown in the observation sample set 110 in , there may be a causal relationship between any two factors.

[0046] In some embodiments, the observation sample set 110 may be input to the factor pair determination unit 121 to determine the factor pairs that may have a causal relationship among the multiple factors 201, 202, 203, 204, 205, and 206. It should be understood that the factor pair determination unit 121 may use any known or future developed method to determine the factor pairs that may have a causal relationship among the multiple factors 201, 202, 203, 204, 205, and 206. It is assumed that the multiple factor pairs that may have a causal relationship determined for the multiple factors 201, 202, 203, 204, 205, and 206 are as follows: Figure 2 As shown in 220.

[0047] In some embodiments, when the plurality of factor pairs 220 are determined, both the plurality of factor pairs 220 and the observation sample set 110 may be input into the causal structure search unit 122 to determine the causal relationship (i.e., one factor is the cause of another factor) between each of the plurality of factor pairs 220. It should be understood that not every factor pair in the plurality of factor pairs 220 has a causal relationship. The causal structure search unit 122 may output the searched causal structure 230 (hereinafter also referred to as "DAG 230").

[0048] Alternatively, in some embodiments, the factor pair determination unit 121 may be omitted. In this case, the observation sample set 110 may be directly input into the causal structure search unit 122. The causal structure search unit 122 may determine the causal relationship between any two factors in the multiple factors 201, 202, 203, 204, 205, and 206, thereby outputting a causal structure 230. It can be seen that the addition of the factor pair determination unit 121 can effectively narrow the search space of the causal relationship, thereby accelerating the discovery of the causal structure.

[0049] In some embodiments, when the causal structure 230 is determined, both the causal structure 230 and the observation samples 110 can be input into the causal structure optimization unit 123 to further optimize the causal structure 230. The causal structure optimization unit 123 can use any known or future developed method to optimize the causal structure 230. In some embodiments, for example, the causal structure optimization unit 123 can use a sparse regression algorithm to optimize the causal structure 230 determined by the causal structure search unit 122 to remove certain unreasonable edges from the DAG 230. In addition, the causal structure optimization unit 123 can also change the direction of certain edges in the DAG 230 and / or add some edges thereto, etc. The causal structure optimization unit 123 can output the optimized causal structure as the causal structure 130.

[0050] Alternatively, in some embodiments, the causal structure optimization unit 123 may be omitted. In this case, the causal structure search unit 122 may directly output the searched causal structure as the causal structure 130 .

[0051] like Figure 2 As shown, the causal structure 130 output by the causal relationship determination device 120 indicates, for example, that factor 201 is the cause of factor 206, factor 206 is the cause of factor 202 and factor 205, factor 202 is the cause of factors 203 and 205, factor 203 is the cause of factor 204, and factor 204 is the cause of factor 205. Assuming that the target factor is factor 205, it can be determined that the cause of the target factor 205 is factors 202, 204, and 206.

[0052] Figure 3 FIG. 3 is a flowchart of a method 300 for determining a causal relationship between multiple factors according to an embodiment of the present disclosure. For example, the method 300 may be performed as follows: Figure 1A The causal relationship determination device 120 shown is used to perform the above steps. It should be understood that the method 300 may also include additional actions not shown and / or may omit some of the actions shown. The scope of the present disclosure is not limited in this respect.

[0053] At block 310, the causal relationship determination device 120 obtains a set of observation samples about multiple factors (e.g., Figure 1A and Figure 2 An observation sample in the observation sample set includes corresponding observation values ​​of multiple factors.

[0054] At block 320, the causal relationship determination device 120 estimates, for each factor among the multiple factors, the distribution to which the difference between the observed value and the estimated value of the factor follows based on the observation sample set 110. In some embodiments, the estimated value of the factor may be determined based on the observed value of at least one other factor among the multiple factors and the influence of the at least one other factor on the factor.

[0055] In some embodiments, for each factor among multiple factors, the causal relationship determination device 120 can estimate the influence of at least one other factor on the factor, thereby estimating the distribution obeyed by the difference between the observed value and the estimated value of the factor based on the estimated influence, the observed value of the factor in the observation sample set 110, and the corresponding observed value of at least one other factor.

[0056] For example, for the jth factor among D factors (also called “factor j”), the vector X j can be expressed as:

[0057]

[0058] where j∈[1,D], represents the estimated effect of the kth factor (also called “factor k”) on the jth factor (also called “factor j”), represents the estimated value of factor j among D factors, ε j represents the residual between the observed value and the estimated value of factor j. The probability density distribution of the residual can be expressed as

[0059] In some embodiments, the causal relationship determination device 120 may use a B-spline regression algorithm to estimate For example, for each factor X k , can be expressed as:

[0060]

[0061] where c and α m are all real numbers, is a B-spline basis function. The number M of basis functions can be determined according to a preset hyperparameter (e.g., 10) and / or the number of different values ​​of each factor in the sample space (e.g., assuming that a factor may have a value range of [1,5] and is a natural number, then the number is 5). In some embodiments, for example, the number M of basis functions can be the smaller value of the preset hyperparameter (e.g., 10) and the number of unique values ​​of each factor.

[0062] In some embodiments, the causal relationship determination device 120 may use a kernel density estimation algorithm to estimate the residual εj Distribution For example, the causal relationship determination device 120 can use the kernel density estimation algorithm provided by the KernSmooth open source package to estimate the distribution of the above residuals. It should be understood that the causal relationship determination device 120 can also use any known or future developed method to estimate the distribution of the above residuals. The scope of the present disclosure is not limited in this respect.

[0063] At block 330 , the causal relationship determination device 120 determines a causal structure representing a causal relationship among the plurality of factors based at least on the estimated distribution.

[0064] In some embodiments, the causal relationship determination device 120 may generate an objective function for determining the causal structure based on the estimated distribution. For example, the objective function may be expressed as:

[0065]

[0066] It can be seen that the above objective function does not include a penalty term. In some embodiments, the causal relationship determination device 120 can determine the causal relationship between multiple factors by minimizing the objective function, that is:

[0067]

[0068] in, Represents the estimated causal relationship between multiple factors.

[0069] In some embodiments, the causal relationship determination device 120 (e.g., the causal structure search unit 122) can construct a D×D score matrix based on the estimated distribution to record the causal relationship scores associated with different factor pairs among the multiple factors. It should be understood that since "factor k→factor j" and "factor j→factor k" indicate different causal relationships, the two represent different factor pairs. For example, the element e(k,j) in the score matrix (e.g., representing the element in the kth row and jth column) can represent the likelihood that element k is element j. The causal relationship between multiple factors can be represented by a DAG, for example, which includes multiple nodes corresponding to multiple factors. The causal structure search unit 122 can add one or more directed edges indicating the causal relationship between factors to the DAG through multiple iterations based on the score matrix, thereby obtaining a DAG representing the causal relationship between multiple factors.

[0070] Figure 4 FIG. 4 is a flowchart of a method 400 for determining a causal structure according to an embodiment of the present disclosure. For example, the method 400 may be used as Figure 3 An example implementation of block 330 in FIG. 400 may be performed by: Figure 1AThe causal relationship determination device 120 (eg, the causal structure search unit 122) is used to perform the method 400. It should be understood that the method 400 may also include additional actions not shown and / or may omit some of the actions shown. The scope of the present disclosure is not limited in this respect.

[0071] At block 410, the causal relationship determination device 120 may determine a plurality of causal relationship scores (i.e., a D×D score matrix) associated with a plurality of factor pairs in a plurality of factors based on the estimated distribution. For example, an element e(k, j) in the score matrix may indicate the likelihood that element k is element j. In a specific implementation, for example, an element e(k, j) in the score matrix may be a negative log-likelihood, i.e., a lower score indicates a higher likelihood that factor k is factor j. For example, in the initial case, e(k, j) may be expressed as:

[0072]

[0073] At block 420, the causal relationship determination device 120 may determine the factor pair (i.e., factor k→factor j) associated with the maximum likelihood (e.g., the element e(k, j) with the lowest score) by comparing the multiple causal relationship scores in the score matrix. For example, the factor pair may indicate that factor k (also referred to as the "first factor") is the cause of factor j (also referred to as the "second factor"). Then, at block 430, the causal relationship determination device 120 may add an edge from the first node corresponding to the first factor to the second node corresponding to the second factor to the DAG representing the causal relationship.

[0074] As Figure 2 Taking the example shown in the figure as an example, Table 1 shows a 6×6 example score matrix:

[0075] Table 1: Example score matrix

[0076] factor <![CDATA[ 201 ]]> <![CDATA[ 202 ]]> <![CDATA[ 203 ]]> <![CDATA[ 204 ]]> <![CDATA[ 205 ]]> <![CDATA[ 206 ]]> <![CDATA[ 201 ]]> -- 1 / 2 1 1 1 1 / 3 <![CDATA[ 202 ]]> 1 / 2 -- 1 / 4 1 / 2 1 / 3 1 / 2 <![CDATA[ 203 ]]> 1 / 2 1 / 2 -- 1 1 / 2 1 / 3 <![CDATA[ 204 ]]> 1 1 1 -- 1 / 6 1 / 2 <![CDATA[ 205 ]]> 1 1 1 / 3 1 -- 1 / 2 <![CDATA[ 206 ]]> 1 1 / 2 1 / 2 1 / 2 1 / 4 --

[0077] As can be seen from the score matrix shown in Table 1, the factor pair associated with the maximum likelihood (ie, the lowest score 1 / 6) is factor 204 → factor 205, so it can be added to the DAG (eg, Figure 2 The DAG 230 shown adds an edge from the node corresponding to factor 204 to the node corresponding to factor 205 to indicate that factor 204 is a cause of factor 205.

[0078] In block 440, the causality determination device 120 may update one or more causality scores associated with the second factor in the plurality of causality scores. In the above example, the causality determination device 120 may update one or more causality scores associated with factor 205. Specifically, the causality determination device 120 may recalculate the respective elements in the 5th column in the score matrix as shown in Table 1. For example, e(1,5) may be updated to the likelihood (e.g., negative log likelihood) that the combination of factors 201 and 204 is the cause of factor 205, e(2,5) may be updated to the likelihood that the combination of factors 202 and 204 is the cause of factor 205, e(3,5) may be updated to the likelihood that the combination of factors 203 and 204 is the cause of factor 205, e(4,5) may be updated to zero, and e(6,5) may be updated to the likelihood that the combination of factors 206 and 204 is the cause of factor 205. Furthermore, since it has been determined that factor 204 is the cause of factor 205, that is, factor 205 cannot be the cause of factor 204, e(5,4) may be updated to "--" to indicate that e(5,4) need not be considered in the next iteration.

[0079] In some embodiments, the score associated with factor j may be calculated as follows:

[0080]

[0081] In the above example, when updating e(1,5), j=5 and k∈[1,4] in formula (6); when updating e(2,5), j=5 and k∈[2,4] in formula (6); when updating e(3,5), j=5 and k∈[3,4] in formula (6); when updating e(6,5), j=5 and k∈[6,4] in formula (6).

[0082] In block 450, the causal relationship determination device 120 determines whether the number of iterations reaches a threshold number. In some embodiments, the threshold number can be determined based on the number of multiple factor pairs. For example, for D factors, the number of different factor pairs is D(D-1), then the threshold number can be D(D-1) / 2. This is because, when factor k is determined to be the cause of factor j, it can be determined at the same time that factor j is not the cause of factor k. That is, the corresponding element in the score matrix can be updated to "--" to indicate that factor j → factor k does not need to be considered in the next iteration.

[0083] like Figure 4 As shown, when the number of iterations has not reached the threshold number, the method 400 may proceed to 420 to perform the next round of iterations. Otherwise, the causal relationship determination device 120 may output a DAG indicating the causal relationship between the multiple factors.

[0084] The above description and experiments prove that the embodiments of the present disclosure can accurately and robustly discover the causal relationship between multiple factors without making any assumptions about the data distribution and the relationship between the factors. Compared with the traditional solution, the causal structure discovered by the embodiments of the present disclosure has a higher accuracy and recall rate, and is closer to the actual causal relationship between multiple factors.

[0085] Figure 5 FIG. 5 is a flowchart of a method 500 for influencing an observed value of a target factor according to an embodiment of the present disclosure. For example, the method 500 may be performed as follows: Figure 1B The method 500 is performed by the observation sample influencing device 140 shown. In some embodiments, the method 500 may be performed after the method 300. It should be understood that the method 500 may also include additional actions not shown and / or may omit certain actions shown. The scope of the present disclosure is not limited in this respect.

[0086] At block 510, the observation sample influencing device 140 determines at least one factor as a cause of the target factor from the multiple factors based on the causal structure. Then, at block 520, the observation sample influencing device 140 influences the observed value of the target factor by changing the observed value of the at least one factor. In some embodiments, for example, the observation sample influencing device 140 may influence the observed value of the target factor by influencing and changing the at least one factor and / or formulating a corresponding strategy for the at least one factor.

[0087] Taking the above scenario about customer satisfaction of telecommunications operators as an example, the target factor is, for example, "customer satisfaction". The observed sample influencing device 140 can determine which factors are the cause of the target factor "customer satisfaction" based on the causal structure 130 (for example, reminders before the package runs out, preferential packages, etc.). The observed sample influencing device 140 can further improve customer satisfaction with telecommunications operators by influencing and changing these factors, and / or formulating corresponding strategies for these factors (for example, providing more reminders to customers before the package runs out, providing customers with more preferential packages).

[0088] Taking the above scenario about the patient's blood pressure as an example, the target factor is, for example, "blood pressure". The observed sample influencing device 140 can determine which physiological indicators are the cause of the target factor "blood pressure" based on the causal structure 130. The observed sample influencing device 140 can further stabilize the patient's blood pressure by influencing and changing these physiological indicators and / or formulating corresponding strategies for these physiological indicators.

[0089] Taking the above commodity sales scenario as an example, the target factor is, for example, "umbrella sales volume". The observed sample influencing device 140 can determine which factors (e.g., weather, the number of umbrellas available for sale, etc.) are the cause of the target factor "umbrella sales volume" based on the causal structure 130. The observed sample influencing device 140 can further improve the sales volume of the target commodity umbrella by influencing and changing these factors, and / or formulating corresponding strategies for these factors (e.g., increasing the number of umbrellas available for sale when it rains).

[0090] Taking the above software development scenario as an example, the target factor is, for example, "development cycle". The observation sample influencing device 140 can determine which factors (for example, the number of architecture levels, programming language, etc.) are the cause of the target factor "development cycle" based on the causal structure 130. The observation sample influencing device 140 can further reduce the software development cycle by influencing and changing these factors, and / or formulating corresponding strategies for these factors (for example, reducing the complexity of the software architecture, using a more friendly programming language, etc.). For another example, the target factor can be "software failure rate during operation". The observation sample influencing device 140 can determine which factors (for example, code length, number of modules, etc.) are the cause of the target factor "software failure rate during operation" based on the causal structure 130. The observation sample influencing device 140 can further reduce the software failure rate during operation by influencing and changing these factors, and / or formulating corresponding strategies for these factors (for example, reducing code length, reducing the number of modules, etc.).

[0091] Figure 6 FIG. 6 is a flowchart of a method 600 for optimizing causal relationships according to an embodiment of the present disclosure. For example, the method 600 may be performed as follows: Figure 1B The method 600 may be performed by the causal relationship optimization device 160 shown in the figure. In some embodiments, the method 600 may be performed after the method 500. It should be understood that the method 600 may also include additional actions not shown and / or may omit certain actions shown. The scope of the present disclosure is not limited in this respect.

[0092] At box 610, the causal relationship optimization device 160 obtains a changed set of observation samples about multiple factors. In some embodiments, at least one observation sample in the changed set of observation samples may include a changed observation value of at least one factor (e.g., at least one factor is the cause of the target factor). Then, at box 620, the causal relationship optimization device 160 may optimize the causal structure based on the changed set of observation samples. In some embodiments, for example, the causal relationship optimization device 160 may rediscover the causal relationship between multiple factors based on the changed set of observation samples 150 (e.g., similar to the process performed by the causal relationship determination device 120), thereby obtaining an optimized causal structure. In this way, the embodiments of the present disclosure can further improve the accuracy and robustness of causal discovery.

[0093] Figure 7 Schematic block diagram of an example device 700 that can be used to implement embodiments of the present disclosure is shown. Figure 1A The causal relationship determination device 120 shown in FIG. Figure 1B The observation sample influence device 140 and / or the causal relationship optimization device 160 shown can be implemented by the device 700. As shown, the device 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) 702 or computer program instructions loaded from a storage unit 708 to a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0094] A number of components in the device 700 are connected to the I / O interface 705, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a disk, an optical disk, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0095] The processing unit 701 may be configured to perform the various processes and processes described above, such as methods 300, 400, 500, and / or 600. For example, in some embodiments, the methods 300, 400, 500, and / or 600 may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as the storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the CPU 701, one or more steps in the methods 300, 400, 500, and / or 600 described above may be performed.

[0096] The present disclosure may be a system, method and / or computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present disclosure.

[0097] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0098] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0099] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0100] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0101] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0102] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0103] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.

[0104] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for data processing, comprising: Acquire an observation sample set about a plurality of factors, wherein one observation sample in the observation sample set includes corresponding observation values ​​of the plurality of factors, wherein the plurality of factors include at least one of the following: a factor related to customer attributes, a factor related to customer behavior, a factor related to customer feedback, and a strategy factor formulated for a customer; For each factor of the plurality of factors, estimating, based on the set of observation samples, a distribution obeyed by a difference between an observed value of the factor and an estimated value of the factor, the estimated value being determined based on an observed value of at least one other factor of the plurality of factors and an influence of the at least one other factor on the factor; as well as A causal structure representing a causal relationship among the multiple factors is determined based at least on the estimated distribution, wherein the causal structure represents at least an influence of at least one factor among the multiple factors on a target factor, the target factor including the factor related to customer feedback.

2. The method according to claim 1, further comprising: determining, based on the determined causal structure, the at least one factor that is a cause of the target factor from among the plurality of factors; as well as The observed value of the target factor is affected by changing the observed value of the at least one factor.

3. The method according to claim 2, further comprising: Acquire a changed observation sample set about the plurality of factors, at least one observation sample in the changed observation sample set including a changed observation value of the at least one factor; as well as The causal structure is optimized based on the changed set of observation samples.

4. The method of claim 1, wherein estimating the distribution comprises: estimating said effect of said at least one other factor on said factor; as well as The distribution is estimated based on the influence, the observed value of the factor in the set of observation samples, and the observed value of the at least one other factor.

5. The method of claim 4, wherein estimating the impact comprises: The influence was estimated using a B-spline regression algorithm.

6. The method of claim 4, wherein estimating the distribution comprises: A kernel density estimation algorithm is used to estimate the distribution. The method of claim 1 , wherein the distribution is different from a Gaussian distribution.

8. The method of claim 1, wherein determining the causal structure comprises: Based on the distribution, generating an objective function for determining the causal structure, wherein the objective function does not include a penalty term; as well as The causal structure is determined by minimizing the objective function.

9. The method of claim 1, wherein the causal structure is represented by a directed acyclic graph, the directed acyclic graph comprising a plurality of nodes corresponding to the plurality of factors, and determining the causal structure comprises: determining, based on the distribution, a plurality of causality scores associated with a plurality of factor pairs in the plurality of factors, wherein the causality score for a first factor pair in the plurality of factor pairs indicates a likelihood that one factor in the first factor pair is a cause of another factor; as well as Iteratively perform the following operations until the number of iterations reaches a threshold number: determining a second factor pair of the plurality of factor pairs associated with a maximum likelihood by comparing the plurality of causality scores, the second factor pair indicating that a first factor of the second factor pair is a cause of a second factor of the second factor pair; adding to the directed acyclic graph an edge from a first node corresponding to the first factor to a second node corresponding to the second factor; as well as One or more causality scores of the plurality of causality scores associated with the second factor are updated.

10. The method of claim 9, wherein the threshold number is determined based on the number of the plurality of factor pairs.

11. The method according to claim 9, further comprising: Two factors that may have a causal relationship are determined from the multiple factors as one of the multiple factor pairs.

12. The method according to claim 9, further comprising: The edges in the directed acyclic graph are optimized using a sparse regression algorithm.

13. A device for data processing, comprising: at least one processing unit; as well as at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the apparatus to perform actions comprising: Acquire an observation sample set about a plurality of factors, wherein one observation sample in the observation sample set includes corresponding observation values ​​of the plurality of factors, wherein the plurality of factors include at least one of the following: a factor related to customer attributes, a factor related to customer behavior, a factor related to customer feedback, and a strategy factor formulated for a customer; For each factor of the plurality of factors, estimating, based on the set of observation samples, a distribution obeyed by a difference between an observed value of the factor and an estimated value of the factor, the estimated value being determined based on an observed value of at least one other factor of the plurality of factors and an influence of the at least one other factor on the factor; as well as A causal structure representing a causal relationship among the multiple factors is determined based at least on the estimated distribution, wherein the causal structure represents at least an influence of at least one factor among the multiple factors on a target factor, the target factor including the factor related to customer feedback.

14. The apparatus according to claim 13, wherein the actions further comprise: determining, based on the determined causal structure, the at least one factor that is a cause of the target factor from among the plurality of factors; as well as The observed value of the target factor is affected by changing the observed value of the at least one factor.

15. The apparatus of claim 14, wherein the actions further comprise: Acquire a changed observation sample set about the plurality of factors, at least one observation sample in the changed observation sample set including a changed observation value of the at least one factor; as well as The causal structure is optimized based on the changed set of observation samples.

16. The apparatus of claim 13, wherein estimating the distribution comprises: estimating said effect of said at least one other factor on said factor; as well as The distribution is estimated based on the influence, the observed value of the factor in the set of observation samples, and the observed value of the at least one other factor.

17. The apparatus of claim 16, wherein estimating the impact comprises: The influence was estimated using a B-spline regression algorithm.

18. The apparatus of claim 16, wherein estimating the distribution comprises: A kernel density estimation algorithm is used to estimate the distribution.

19. The apparatus of claim 13, wherein the distribution is different from a Gaussian distribution.

20. The apparatus of claim 13, wherein determining the causal structure comprises: Based on the distribution, generating an objective function for determining the causal structure, the objective function not including a penalty term; and The causal structure is determined by minimizing the objective function.

21. The apparatus of claim 13, wherein the causal structure is represented by a directed acyclic graph, the directed acyclic graph comprising a plurality of nodes corresponding to the plurality of factors, and determining the causal structure comprises: determining, based on the distribution, a plurality of causality scores associated with a plurality of factor pairs in the plurality of factors, wherein the causality score for a first factor pair in the plurality of factor pairs indicates a likelihood that one factor in the first factor pair is a cause of another factor; as well as Iteratively perform the following operations until the number of iterations reaches a threshold number: determining a second factor pair of the plurality of factor pairs associated with a maximum likelihood by comparing the plurality of causality scores, the second factor pair indicating that a first factor of the second factor pair is a cause of a second factor of the second factor pair; adding to the directed acyclic graph an edge from a first node corresponding to the first factor to a second node corresponding to the second factor; as well as One or more causality scores of the plurality of causality scores associated with the second factor are updated.

22. The apparatus of claim 21, wherein the threshold number is determined based on the number of the plurality of factor pairs.

23. The apparatus of claim 21, wherein the actions further comprise: Two factors that may have a causal relationship are determined from the multiple factors as one of the multiple factor pairs.

24. The apparatus of claim 21, wherein the actions further comprise: The edges in the directed acyclic graph are optimized using a sparse regression algorithm.

25. A computer-readable storage medium having machine-executable instructions stored thereon, which when executed by a device cause the device to perform the method according to any one of claims 1-12.

Citation Information

Patent Citations

  • Method and apparatus for training causal model

    CN108629418A

  • Reliability measures for statistical prediction of geophysical and geological parameters in geophysical prospecting

    US20010044698A1