Identifiability and estimation of recursive max-linear models
Nadine Gissibl, Claudia Klüppelberg, Steffen Lauritzen
Abstract
We address the identifiablity and estimation of recursive max-linear structural equation models represented by an edge weighted directed acyclic graph (DAG). Such models are generally unidentifiable and we identify the whole class of DAGs and edge weights corresponding to a given observational distribution. For estimation, standard likelihood theory cannot be applied because the corresponding families of distributions are not dominated. Given the underlying DAG, we present an estimator for the class of edge weights and show that it can be considered a generalized maximum likelihood estimator. In addition, we develop a simple method for identifying the structure of the DAG. With probability tending to one at an exponential rate with the number of observations, this method correctly identifies the class of DAGs and, similarly, exactly identifies the possible edge weights.
MSC 2010 subject classifications: Primary 60E15, 62H12; secondary 62G05, 60G70, 62-09
Keywords and phrases: Causal inference, Bayesian network, directed acyclic graph, extreme value theory, generalized maximum likelihood estimation, graphical model, identifiability, max-linear model, structural equation model.
Introduction
Establishing and understanding cause-effect relations is an omnipresent desire in science and daily life. It is especially important when dealing with extreme events, because they are mostly dangerous and very costly; knowing and understanding the causes of such events and their causal relations could help us to deal better with them. Examples include incidents at airplane landings (Gissibl et al. ), flooding in river networks (Asadi et al. , Engelke and Hitz ), financial risk (Einmahl et al. ), and chemical pollution of rivers (Hoef et al. ). Such applications, where extreme risks may propagate through a network, have been the motivation behind the definition of recursive max-linear (ML) models in Gissibl and Klüppelberg . Recursive ML models are structural equation models (SEMs) represented by a directed acyclic graph (DAG) and thereby obey the basic Markov properties associated with directed graphical models (Lauritzen , Lauritzen et al. ). Both SEMs (see for example Bollen , Pearl ) and directed graphical models (see for example Koller and Friedman , Lauritzen , Spirtes et al. ) are well-established concepts for the understanding and quantification of causal inference from observational data. We note that Hitz and Evans and Engelke and Hitz discuss graphical models for extremes that are based on undirected graphs.
Recursive ML models are defined by a DAG, a collection of edge weights, and a vector of independent innovations. Important research problems that are addressed for recursive SEMs are the question of identifiability of the coefficients and the associated DAG from the observational distribution. Although the true DAG and edge weights for a recursive ML model are not identifiable from the observational distribution, the so-called max-linear coefficient matrix is identifiable and determines the possible class of DAGs and edge weights uniquely.
We shall show that estimation and structure learning of recursive ML models can be done in a simple and efficient fashion by exploiting properties of the ratios between observable components of the model. For a sufficiently large number of observations, these ratios identify the true ML coefficient matrix with a probability that converges exponentially fast to 1. For the situation where the DAG is known, we show that our estimator can be considered a maximum likelihood estimator in an extended sense, originally introduced by Kiefer and Wolfowitz .
Our paper is organized as follows. In Section 2 we introduce the model class of recursive ML models and the notation used throughout. In Section 3 we discuss the identifiability of a recursive ML model from its observational distribution. Here we show distributional properties of the ratio between two components. Based on these properties, we suggest an identification method. Section 4 is then devoted to the estimation of recursive ML models where we assume the DAG to be known. We show that the proposed estimates are generalized maximum likelihood estimates (GMLEs) in the sense of Kiefer–Wolfowitz. The main part is here the derivation of a specific Radon-Nikodym derivative. In Section 5 we complement the theoretical findings on the identifiability of recursive ML models with an efficient procedure to learn recursive ML models from observations only, even when the DAG itself is also unknown. Section 6 concludes and suggests further directions of research.
Preliminaries — recursive max-linear models
where are the parents of node in . To highlight the DAG , we say that follows a recursive ML model on . Note that this is a slight variation of the original definition in . We shall refer to as the vector of innovations.
In the context of risk analysis, natural candidates for distributions of the innovations are extreme value distributions or distributions in their domain of attraction, resulting in a corresponding multivariate distribution (for details and background on multivariate extreme value models, see for example Beirlant et al. , de Haan and Ferreira , Resnick ).
Instead of we also write . Assigning the weight to every path and denoting the set of all paths from to by , the non-negative matrix with entries
is said to be the ML coefficient matrix of . This means for distinct , is positive if and only if there is a path from to ; in that case is the maximum weight of all paths from to , where the weight of a path is the product of all edge weights along this path. We say that a path from to whose weight equals is max-weighted.
The components of can also be expressed as max-linear functions of their ancestral innovations and an independent one; the corresponding ML coefficients are the entries of :
The matrix product allows us to represent the ML coefficient matrix of in terms of the weighted adjacency matrix of since (2.2) and (2.3) simply become
Identifiability of a recursive max-linear model
In this section we discuss the question of identifiability of the elements of a recursive ML model from the distribution of . Indeed we shall show the following:
Let be the distribution of following a recursive ML model. Then its ML coefficient matrix and the distribution of its innovation vector are identifiable from . Furthermore, the class of all DAGs and edge weights that could have generated by (2.1) can be obtained.
The remaining part of this section is devoted to proving Theorem 3.1, but first we shall consider a small example, illustrating the issues.
[The DAG and the edge weights are not necessarily identifiable] Consider a recursive ML model on the DAG depicted below with edge weights .
According to (2.1), the components of have the following representations
but also representations in terms of the innovations using (2.3) as
If we have for any that ; so we could also write
without changing the distribution of . This implies that if , follows a recursive ML model on with edge weights but it also follows a recursive model on the DAG depicted below with edge weights .
Consequently, we can neither identify nor the value from the distribution of . However, note that the ML coefficient is uniquely determined. If we however assume that , only and the edge weights represent in the sense of (2.1). Thus in this case the DAG and the edge weights are identifiable from the distribution .
As conclusion of Example 3.2, it is generally not possible to identify the true DAG and the edge weights underlying in representation (2.1) from , since several DAGs and edge weights may exist such that has this representation. The smallest DAG of this kind is the DAG that has an edge if and only if is the only max-weighted path from to . We call this DAG the minimum ML DAG of and note that this is uniquely determined from the ML coefficient matrix . All other DAGs representing are those that include the edges of and whose nodes have the same ancestors. The edge weights in the representation (2.1) of are only uniquely determined for edges contained in ; namely, by ; otherwise, may be any number in . We summarize these findings in the following theorem which is paraphrasing Theorems 5.3 and 5.4 of .
Suppose follows a recursive ML model with edge weights and ML coefficient matrix . Let be the minimum ML DAG of as described above. Then a DAG with associated weight matrix is a valid representation of if and only if
;
and have the same reachability matrix;
for ;
for ,
where and denote the parents of in and respectively.
Based on the above observations, we investigate the identifiability of the whole class of DAGs and edge weights representing the max-linear structural equations (2.1) of from . Since this class can be recovered from , it suffices to clarify whether is identifiable from . There are many ways to prove that this is indeed the case. The way we present in this section suggests a simple procedure to estimate from independent realizations of (see Algorithm 5.1 below). An alternative way can be found in Appendix 4.A.1 of .
which follows from the independence of the innovations and the fact that their distributions are atom-free.
where denotes the support of .
In Table 3.1 we summarize the results of Lemma 3.4: depending on the relationship between and in , the support and atoms of are shown.
Table 3.1 and the fact that for (cf. (2.2)) suggest the following algorithm to find from since we can identify the support of from . This proves the identifiability of from . In fact, it is sufficient to know for all with rather than the whole distribution .
[Find from ]
For all , set .
For all with , find :
So far we have shown that the ML coefficient matrix of can be obtained from . Since all DAGs and edge weights that represent in the sense of (2.1) can be determined from , the only quantities we do not know about yet but appear in the definition of are the innovations. In what follows we show that the distribution of the innovation vector is also identifiable from . For this, due to the identifiability of from and the independence of the innovations, it suffices to provide an algorithm that determines the distributions of the innovations from and . Note that also determines the ancestral relationships between any pair of nodes in that for any DAG representing if and only if .
We denote by the distribution function of the innovation . For this algorithm, we do not have to know the whole distribution ; it is enough to know the ML coefficient matrix and the univariate marginal distribution functions of .
Here we have used the convention that The correctness of Algorithm 3.6 follows from the independence of the innovations and representation (2.3).
Estimation with known directed acyclic graph
In the following we let denote the class of possible ML coefficient matrices of all recursive ML models on . For being a matrix with non-negative entries and diagonal elements we define . Then it holds that if and only if satisfies the following
[Illustration of (4.1)] To illustrate the above, consider the small network below
and a potential ML coefficient matrix with reduction , as given below.
where we have used that and are not ancestors of and is not a parent of . We wish to check whether for this particular DAG so we further calculate
Now readily implies that and .
A simple estimate of 𝑩𝑩\boldsymbol{B}
Next we discuss a sensible estimate of . Table 3.1 shows that for the minimal value that can be observed for the ratio is , which is an atom of . This suggests the following estimate of the ML coefficient matrix:
Davis and Resnick suggested such minimal observed ratios as estimates for parameters in max-ARMA processes. For sufficiently large, we can expect to observe the atoms for in the sample and, hence, to estimate the ML coefficients exactly. However, if is not large we may with positive probability have that is not an ML coefficient matrix of any recursive ML model on as the following simple example shows:
[ is not necessarily in ] Consider the DAG
and assume we observe . Then the matrix fails to satisfy (4.1) and hence is not an element of .
However, if we only estimate the ML coefficients corresponding to edges in and then compute an estimate based on Lemma 4.3 below this phenomenon cannot occur.
if and only if .
We first show that satisfies (4.2). It is immediate that . We have (, Proposition 1.6.10) that
It is easy to see directly that for and hence if is a solution to (4.2) we get by iteration, using that ,
and hence the solution to the equation is unique. ∎
Thus we may define the estimate by first calculating the matrix and then iterating the -matrix product as:
It then follows that and Lemma 4.3 yields that is the unique element of satisfying (4.3). By Lemma 3.4(b), we also have
Consequently, when using or as an estimate of , we never underestimate a ML coefficient; furthermore, the matrix always estimates more precisely than and since we always have , seems to be clearly preferable as an estimate of .
The following example shows how effective the estimate can be; in particular, does not necessarily need to be large.
[One observation may be enough to estimate exactly] Consider the DAG
and assume that the paths and are both max-weighted, which is equivalent to . If we observe the event
Let \boldsymbol{X}^{(t)}=\big{(}X_{1}^{(t)},\ldots,X_{n}^{(t)}\big{)} for be a sample from a recursive ML model on a DAG with ML coefficient matrix . Let and . It then holds that
First note that the events and are complementary and both have positive probability. Further, using that are independent and identically distributed yields
In conclusion, has the nice property to be ’geometrically consistent’ in the sense that the probability of converges exponentially fast to one.
The matrix 𝑩^bold-^𝑩\boldsymbol{\widehat{B}} is a generalized maximum likelihood estimate
As we found in the previous section, the estimate is preferable to the direct estimate as it will always be closer to the true value. In this section we further establish that is not just an ad hoc estimator, but can indeed be derived from likelihood considerations.
For and a fixed distribution of the innovation vector we let denote the probability measure induced by a recursive ML model on with ML coefficient matrix , i.e. the distribution of where . We shall denote the family of these probability measures by .
We cannot use standard maximum likelihood methods to estimate , since the family is not dominated (cf. Example 4.4.1 of ) and hence the standard likelihood function is not well defined. However, there exist generalizations of maximum likelihood estimation (GMLE) that cover the undominated case as well; Kalbfleisch and Prentice , Kiefer and Wolfowitz , and Scholz suggested such extensions. We essentially follow the Kiefer–Wolfowitz definition of a GMLE as also done, for example, by Gill et al. and Johansen . In the following we shall show that can be seen as a maximum likelihood estimate of in the extended sense introduced by Kiefer and Wolfowitz in .
where denotes a density of with respect to . Then we call a generalized maximum likelihood estimate of if
We begin with an example that shall help to get an idea and provide insights into the concepts and arguments we shall use in the general case. It is deliberately very detailed and although it deals with a very special case, it illustrates the main issues also for the general case.
[How to find a density and the associated GMLEs] For where , we show that the partition
We now use the density found to determine the GMLE of . The only ML coefficient we have to estimate is . As before we let be the minimal observed ratio of and let be the corresponding ML coefficient matrix from (4.3). Defining and using that , we obtain
Let now be an arbitrary potential GMLE of . Then satisfies the first condition in (4.4) if and only if
In summary, some is a GMLE of if and only if (4.7) and (4.8) are satisfied. We discuss the possible GMLEs of in detail.
is no GMLE: This follows directly from (4.7). Figure 2(b) shows a situation that contradicts (4.8), similarly to Figure 2(a) in (1).
In what follows we specify, for the general case, one density of with respect to that has a representation as in (4.6) and leads to as a GMLE of .
Let and define
is a density of with respect to .
We observe an interesting relation between the density (4.11) for and corresponding densities for subgraphs of .
[Local densities ] Consider the DAGs
This can be observed from Figure 3, where the densities are depicted as functions of and/or for all nine different orders between the ML coefficients in and .
Conversely, and can be derived from as follows:
which we learn from Figure 3 again.
We now extend the findings from Example 4.9 to the general case. Furthermore, we show that the densities are densities of regular conditional distributions.
Let and let follow corresponding recursive ML models on . For , let be the density given in (4.11) with respect to the DAG as well as and the ML coefficient matrices of recursive ML models on with edge weights and , respectively.
We have for given in (4.11)
The function can be computed from by
where we set .
Next, we show that is indeed a GMLE in the sense of . Note also that the GMLE is obtained by piecing together individual GMLEs corresponding to conditional distributions of any variable given its parents. Thus this is similar to what is obtained in cases where the distributions have densities with respect to a product measure, as the maximum of the likelihood function is then obtained by maximizing each conditional likelihood function for the density of a node given its parents.
Let \boldsymbol{x}^{(t)}=\big{(}x_{1}^{(t)},\ldots,x_{n}^{(t)}\big{)} for be a sample from a recursive ML model on a DAG with ML coefficient matrix unknown.
The matrix from (4.3) is a GMLE of .
For every , is a GMLE of the ML coefficients of a random vector following a recursive ML model on with edge weights .
For every and , is the only GMLE of the ML coefficient of a random vector following a recursive ML model on with edge weight .
Hence, for some with . Let now such that . As , we have implying that . The statement in (b) is a consequence of (a), and (c) has already been shown in Example 4.6. ∎
Figure 4 illustrates the DAGs in Theorem 4.11(b) or Proposition 4.10.
Learning the structure of a recursive max-linear model
In contrast to the assumptions in the previous section, we now assume independent realizations of following a recursive ML model but the underlying DAG is unknown. We know from previous discussions that it is not possible to recover and the true edge weights , and we therefore again focus on the estimation of .
Following Algorithm 3.5, it suffices for any pair of distinct to decide whether has a positive lower bound, alternatively a finite upper bound, and if so, to estimate the bound. Recall from Table 3.1 that, if there is such a bound, then it is an atom of . Since we can expect to observe atoms more than twice for sufficiently large, we propose the following estimation method.
[Find an estimate of from ]
For all , set .
if , then conclude , set ;
The second item summarizes two steps: the first is concerned with estimating the ancestors of the nodes, the second with estimating the ML coefficients.
Note that the estimate from Algorithm 5.1 is not necessarily a ML coefficient matrix of a recursive ML model. For example, the property that if (see, for example, Corollary 3.12 of ) is not guaranteed. Many modifications of are possible, and here we shall not discuss this in detail. Rather we notice that the probability that Algorithm 5.1 outputs the true ML coefficient matrix tends to one as . As in the case where the DAG is known — see Proposition 4.5 — this probability converges to one at an exponential rate.
Conclusion and outlook
We studied the identifiability of the elements of a recursive ML model from the distribution of . The associated DAG and the edge weights are not identifiable, however, the ML coefficient matrix is. In other words, we can identify the representation (2.3) but not (2.1). The class of all DAGs and edge weights that could have generated via (2.1) and the distribution of the innovation vector are identifiable from . As a consequence, we can recover , the class of the DAGs and edge weights, and the innovation distributions from realizations of .
We have shown that is a generalized maximum likelihood estimate. This is primarily of theoretical interest as it shows the estimate is not purely based on an ad hoc procedure. However, it opens up the possibility of going further, using likelihood theory, for example to study issues of likelihood ratio testing of hypothesis for specific values of the coefficients, or even for the presence or absence of edges in the underlying graph.
Parameter estimation and structure learning for recursive ML models seem to be challenging tasks because assumptions usually made in standard methods are not met. However, in both cases, can be estimated by a simple procedure. The key idea of our approach is to consider the observed ratios between any pair of components, i.e. to perform a transformation on the realizations. The transformed realizations or rather the distributional properties of the corresponding random variables make it possible to identify, with probability 1, the true whenever the number of observations is sufficiently large. It would be interesting to investigate the relationship between the performance of our procedures and the number of observations. Here, one possible question is how many observations are at least necessary to estimate exactly; see, Example 4.4. In addition it would be interesting to study estimation of the DAG structure for moderate sample sizes, where exact estimation is not guaranteed.
An important goal for future work is to apply the procedures to real-world data. However, it is unreasonable to expect any non-simulated data to follow a recursive ML model exactly, and the model should then be modified by adding appropriate noise terms. In particular we should not expect that we observe a minimal observed ratio more than twice, as we exploit in Algorithm 5.1. It seems to be more reasonable to expect values close to each other. We therefore want to develop methods based on accumulation points. It is hard to imagine noise models that would lead to simple exact likelihood analysis. One should then rather study the asymptotic precision of reasonable estimates and their behaviour under appropriate scaling, for example along the lines of .
Acknowledgements
We thank Justus Hartl for providing a first discussion about the different estimators suggested in this paper in his master’s thesis. NG acknowledges support by Deutsche Forschungsgemeinschaft (DFG) through the TUM International Graduate School of Science and Engineering (IGSSE). All authors benefited from financial support from the Alexander von Humboldt Stiftung.
References
Appendix A Appendix: some technical proofs
The proof is by induction on the number of nodes of . For the statement is clear. Assume now that has nodes and that the assertion holds with respect to DAGs with at most nodes. Furthermore, assume without loss of generality that is a terminal node (i.e., ). Since follows a recursive ML model on the DAG with ML coefficient matrix and is the ML coefficient matrix of a recursive ML model on this DAG as well, the induction hypothesis yields that
For every we have by (2.3) on that
Noting from the proof of Theorem 4.2 of that
we obtain from (A.2) on ,
From (3.1) we then finally observe that \bigcap_{i=1}^{d}\Omega_{i}\cap\big{(}\Omega_{1/2}^{1,d+1}\cup\Omega_{1/2}^{2,d+1}\big{)} and only differ by a set of probability zero, and, hence, (4.10) follows from (A.1). ∎
Proof of Theorem 4.8
We must verify properties (A)–(C) of (4.5).
(A) Since is finite, it suffices to show for every ,
The former is immediate by (4.9). By the same argument we have for the latter,
where we have used (2.3) and (3.1) for the last inequality and equality, respectively. Thus we have verified (A).
(C) We observe from the definition of and that
Since is a -null set by (A), this holds for the subset as well. ∎
Proof of Proposition 4.10
Denoting by , , the sets defining , we have for the corresponding sets of ,
From this we obtain (a) and (b). Now, to see (c) we reason as follows:
is a regular conditional distribution function of given . To see this, use (4.9) and the independence of the innovations to obtain
Since and share the same innovation vector, we have
and for this again by definition of (cf. (4.6) and the related discussion) that
Since is atom-free, this can be read directly from Figure 5.