Max-linear models on directed acyclic graphs
Nadine Gissibl, Claudia Klüppelberg
Introduction
Graphical models are a popular tool to analyze and visualize the conditional independence properties between random variables (see e.g. Koller and Friedman and Lauritzen ). Each node in the graph indicates a random variable, and the absence of an edge between two nodes represents a conditional independence property between the corresponding variables. We focus on directed graphical models, also called Bayesian networks, where edge orientations come along with an intuitive causal interpretation. The conditional independence among the random variables, which is induced by a directed acylic graph (DAG), can be explored using the (directed) Markov property: each variable is conditionally independent of its non-descendants (excluding the parents) given its parents (cf. , Chapter 3.2).
Despite many areas of applications for directed graphical models, ranging from artificial intelligence, decision support systems, and engineering to genetics, geology, medicine, and finance (see e.g. Pourret et al. ), graphical modelling of random vectors has mainly been limited to discrete and Gaussian distributions; see e.g. . In the context of risk assessment, risk exposures are usually modelled by continuous variables, however, the assumption of Gaussianity leads invariably to severe underestimation of large risks and therefore to unsuitable models.
Recursive structural equation models (recursive SEMs) offer a possibility to construct directed graphical models; cf. Bollen , Pearl and Spirtes et al. . For a given DAG with nodes and edges define
where denotes the parents of node in and is a real-valued measurable function; are independent noise variables. Thus, a recursive SEM is specified by an underlying causal structure in terms of a DAG , the functions , and the distributions of for . In this setting, the distribution of is uniquely defined by the distributions of the noise variables and, denoting by the non-descendants of node ,
i.e., the distribution of is Markov relative to (see Theorem 1.4.1 and the related discussion in Pearl ). Recently, recursive linear SEMs and generalisations in a Gaussian setting have received particular attention; see Bühlmann et al. , Ernest et al. and references therein).
Our focus is not on sums but on maxima, where natural candidates for the noise distributions are the extreme value distributions or distributions in their domain of attraction (see e.g. Resnick ). We introduce a recursive SEM, which is to the best of our knowledge new. Define a recursive max-linear (ML) model on a DAG by
with independent non-negative random variables and positive weights for all and .
In this paper we investigate structural properties as well as graph properties of a recursive ML model on a DAG . We will show that is a max-linear (ML) model (for background on ML models in the context of extreme value theory see e.g. de Haan and Ferreira , Chapter 6) in the sense that
with as in (1.3), and is a matrix with non-negative entries. We call max-linear (ML) coefficient matrix of and its entries max-linear (ML) coefficients.
The ML coefficients of can be determined by a path analysis of . Throughout we write , if there is an edge from to in . We assign a weight to every path , which is the product of the edge weights along multiplied by the weight of the noise variable (a concept, which goes back to Wright ):
We will show that the ML coefficients are given for by
where is the set of paths from to and the ancestors of .
From (1.6) it is clear that not all paths are needed for representing as ML model (1.4). This perception leads to a complexity reduction of the model in different ways and in different situations. For every specific component of only those paths with terminal node , which carry the maximum weight, are relevant for its representation (1.4), and we call them max-weighted paths. All other paths can be disposed of without changing this representation. It is even sufficient to consider one max-weighted path in from every ancestor of to . Consequently, can be represented as component of a recursive ML model on a polytree with node set and with the same weights and noise variables as in the original representation (1.3).
However, in general none of these individual polytrees represents all components of in the sense of (1.3) simultaneously. Still there may be subgraphs of and weights such that all components of have representation (1.3), and we present all such possible subgraphs and weights. In particular, we characterize the smallest subgraph of this kind, which we call minimum max-linear (ML) DAG of , and point out its prominent role.
We are also interested in all DAGs, which represent as a recursive ML model, and show how the corresponding weights in representation (1.3) can be identified from the ML coefficient matrix of . In this context, we also give necessary and sufficient conditions on a matrix to be the ML coefficient matrix of any recursive ML model.
It is a simple but important observation that there is a natural order between the components of ; from (1.3) we see immediately that holds for all and . For every component of and some , we find lower and upper bounds in terms of . Often we do not need all components of to compute the best bounds of in terms of components of . If , then an upper and lower bound is given by itself; otherwise, for a lower bound, we only need to consider a component of if , but no max-weighted path from to passes through some node in . A similar result and concept applies for the upper bound of . Thus, the max-weighted paths also lead in this context indirectly to a complexity reduction. We will also use the max-weighted ancestors of in to obtain a minimal representation of in terms of and noise variables.
Our paper is organized as follows. In Section 2 we discuss the max-linearity of a recursive ML model and express its ML coefficient matrix in terms of a weighted adjacency matrix of a corresponding DAG. Section 3 introduces the important notion of a max-weighted path and studies its consequences for the ML coefficients. In Section 4 we give necessary and sufficient conditions for a ML model being a recursive ML model on a given DAG. Section 5 is devoted to the minimum ML DAG of as the DAG with the minimum number of edges within the class of all DAGs representing in the sense of (1.3). In Section 6, given a set of node variables, we investigate which information can be drawn for the other components of . This results in lower and upper bounds for the components. Finally, we derive a minimal representation for the components of as max-linear functions of a subset of node variables and certain noise variables.
Max-linearity of a recursive max-linear model
For a recursive ML model on a DAG , given by (1.3), we derive its max-linear representation (1.4). We start with our leading example, the diamond-shaped DAG depicted below.
[Max-linear representation of a recursive ML model] Consider a recursive ML model with DAG
and weights for and . We obtain for the random variables , , and :
Thus satisfies (1.4) with ML coefficient matrix
i.e., the ML coefficients satisfy (1.6). Moreover, is an upper triangular matrix, since is well-ordered (cf. Remark 2.3(ii)).
The following result shows that such a representation can be obtained in general: every component of a recursive ML model has a max-linear representation in terms of its ancestral noise variables and an independent one. It also provides a general method to calculate the ML coefficients by a path analysis as described in (1.5) and (1.6).
Let be a recursive ML model with DAG , and let be the matrix with entries as defined in (1.6). Then
i.e., is the ML coefficient matrix of .
We know that every DAG may be well-ordered (see Remark 2.3(ii)). Hence, without loss of generality we assume throughout this proof that is well-ordered. We prove the identity (2.1) by induction on the number of nodes of . For we have by (1.3)
where the last equality holds by (1.6). Suppose that (2.1) holds for a recursive ML model of dimension ; i.e.,
Now consider a -variate recursive ML model, and note that for every we have , since is well-ordered. Thus, in order to verify (2.1) for the nodes , it suffices to consider the subgraph . Due to the induction hypothesis, (2.1) holds for and, hence, also for . So we can use this hypothesis and (A.1) to obtain
Observe that every path from some to is of the form for some , or an edge corresponding to . From (1.5), the path has weight , and the edge has weight . This yields
where we have used that for and . ∎
By (1.6) the ML coefficient of is different from zero if and only if . This information is contained in the reachability matrix of , which has entries
If the -th entry of is equal to one, then is reachable from .
Let be a DAG with reachability matrix .
The ML coefficient matrix is a weighted reachability matrix of ; i.e., .
Every DAG can be well-ordered, which means that the set of nodes is linearly ordered in a way compatible with such that implies (see e.g. Appendix A of Diestel ). If is well-ordered, then and are upper triangular matrices.
Finding the ML coefficient matrix from and the weights in (1.3) by a path analysis as described in (1.5) and (1.6) would be very inefficient. We may, however, compute by means of a specific matrix multiplication.
The matrix product allows us to present the problem of characterising representation (2.1) from (1.3) in terms of , involving the weighted adjacency matrix of .
Let be a recursive ML model with DAG and weights for and as in (1.3). Furthermore, define the matrices
Then the ML coefficient matrix of from Theorem 2.2 has representation
For we know from (1.6) that . Hence, . Now assume that . First we show that, if has a path of length (a path consisting of edges) from node to node , then the -th entry of the matrix is equal to the maximum weight of all paths of lengths from to , otherwise it is zero. The proof is by induction on .
An edge , which is the only path of length , has the weight . Since the -th entry of the matrix is given by , the statement is true for .
Denote by and the -th entry of and , respectively. As , the -th entry of is given by . We obtain from the induction hypothesis and (1.5) that is zero, if does not contain a path of length from to or the edge ; otherwise it is equal to the maximum weight of all paths which consist of a path of length from to and the edge . Since every path of length from to is of this form for some , the -th entry of is indeed equal to the maximum weight of all paths of length from to if there exists such a path, otherwise it is zero.
Finally, recall from (1.6) that for and the ML coefficient is equal to the maximum weight of all paths from to , and note that due to acyclicity, a path in is at most of length . Thus, if then the -th entry of is equal to , otherwise it is zero. Since by (1.6), and for , the ML coefficient matrix is given by
The following has been shown in the proof of Theorem 2.4.
If has a path of length from to , the -th entry of the matrix is equal to the maximum weight of all paths of length from to , otherwise the entry is zero.
Summarizing the noise variables of into the vector , the representation (2.1) of can be written by means of the product as
Consequently, the definition of the matrix product modifies and extends the definition given in Wang and Stoev [18, Section 2.1, Eq. (2)].
Max-weighted paths and submodels
Given a recursive ML model with DAG , weights for and , and ML coefficient matrix , we investigate the paths of , their particular weights, relations between the ML coefficients, and an induced subgraph structure.
From (1.6) and (2.1) we know that a path from to , whose weight is strictly smaller than does not have any influence on the distribution of . This fact suggests the following definition.
Let be a recursive ML model with DAG , ML coefficient matrix , and path weights as in (1.5). We call a path from to a max-weighted path (in ) if .
A prominent example, where all paths are max-weighted, is the following.
[Polytree] A polytree is a DAG whose underlying undirected graph has no cycles; polytrees have at most one path between any pair of nodes. Thus, assuming that is a recursive ML model on a polytree, all paths must be max-weighted.
The next example emphasizes the importance and consequences of max-weighted paths, which we will investigate in more detail in the next sections.
[Max-weighted path, graph reduction] Consider a recursive ML model with DAG
weights , and ML coefficient matrix . We distinguish between two situations: (1) If , then the edge is the unique max-weighted path from to . (2) If, however, , then and the path is max-weighted. We obtain in this case
Thus, is also a recursive ML model on the DAG
Here is the DAG with minimum number of edges such that is its reachability matrix.
We present some immediate consequences of the path weights in (1.5) and the definition of max-weighted paths.
If there is only one path between two nodes, it is max-weighted.
Every subpath of a max-weighted path is also max-weighted.
Every path, which results from a max-weighted path by replacing a subpath with another max-weighted subpath, is also max-weighted.
To find for some and the ML coefficient it suffices to know the weight of and the edge weights along one arbitrary max-weighted path from to , since every max-weighted path from to has the same weight. This allows us to represent every component of as component of a recursive ML model on a subgraph of . For this purpose, we introduce the following definition.
Let be a subgraph of , and denote by the parents of node in . Define
with the same weights and noise variables as for in representation (1.3). We call the resulting recursive ML model recursive ML submodel of induced by .
We summarize some immediate properties of .
Let with ancestors in . Denote by the ML coefficient matrix of .
Every path in has the same weight (1.5) as in .
A path of , which is in a max-weighted path, is also in max-weighted.
For , has one in max-weighted path from to if and only if .
has at least one in max-weighted path from every to if and only if .
By Remark 3.4(ii), for every , there exists a polytree of with node set , which has exactly one in max-weighted path from every ancestor of to . There may even exist several such polytrees (cf. Example 3.8 below). We learn from the construction of and Remark 3.4(ii) that indeed every path of is in max-weighted. Therefore, some component of coincides by Remark 3.6(iv) with the corresponding one of the recursive ML submodel of induced by if and only if has at least one path from every ancestor of in to . By construction of this property holds obviously for . We summarize this result as follows.
Let be a recursive ML model with DAG and ML coefficient matrix . For some and in let be a polytree with node set such that has one in max-weighted path from every to . Let be the recursive ML submodel of induced by . Then for all , which have the same ancestors in and , we have .
We discuss the recursive ML model from Example 2.1 in the context of Definition 3.1 and Proposition 3.7.
[Continuation of Example 2.1: max-weighted paths, polytrees, conditional independence] We identify all max-weighted paths ending in node . By Remark 3.4(i), the paths and are max-weighted. For the weights of the paths from node to we have three situations:
In the first situation, both paths from to , and , are max-weighted. Thus, there are two different polytrees having one in max-weighted path from every ancestor of to , namely,
In the second situation, the path is the unique max-weighted path from to and, hence, is the unique polytree as in Proposition 3.7 for node 4. The third case is symmetric to the second, such that is also such a unique polytree.
Now let and be the recursive ML submodels of induced by and . If the path is max-weighted, we have by Proposition 3.7 that
We know that the distributions of , , and are Markov relative to , , and , respectively. For a DAG, the local Markov property as specified in (1.2), is by Proposition 4 of Lauritzen et al. equivalent to the global Markov property (for a definition see Corollary 3.23 of ). Using this property we find
Thus, if the path is in max-weighted, we have by (3.1) that . Accordingly, if is max-weighted, holds by (3.2). Since the only conditional independence property encoded in by the (global) Markov property is , we can identify additional conditional independence properties of from the polytrees in Proposition 3.7.
(i) Assume the situation of Proposition 3.7. Let be the set of all nodes in , which have the same ancestors in and . Since the distributions of and are Markov relative to and , respectively, conditional independence properties of are encoded in and of in . By Proposition 3.7, the conditional independence properties between subvectors of , which we can read off from , hold also between the corresponding subvectors of . Since missing edges correspond to conditional independence properties, and is a subgraph of , we can often identify additional conditional independence properties of from . (ii) From (i) or Example 3.8 we learn that a recursive ML model with DAG is in general not faithful; i.e., not all conditional independence properties are encoded in by the (global) Markov property.
As can be seen from Example 3.8, any reduction of a recursive ML model depends on the existence of max-weighted paths that pass through some specific node. The following result shows how we can obtain this information from its ML coefficient matrix.
Let be the ML coefficient matrix of a recursive ML model on the DAG . Let further , and , and recall from Remark 2.3(i) that .
There is a max-weighted path from to , which passes through some node in if and only if
No max-weighted path from to passes through some node in if and only if
First assume that . Thus no path, hence also no max-weighted path, from to passes through some node in , and it suffices to verify (b). Since the right-hand side of (3.4) is zero if and only if , and the ML coefficient is positive, (b) is proven for this case.
Now assume that , which implies that there is a path from to passing through . If or , there is obviously a max-weighted path from to passing through or and (3.3) is always valid.
Next assume that and that as well as are max-weighted paths from to and from to . Denote by the path from to consisting of the subpaths and . By (1.5) and the definition of a max-weighted path we obtain
Since is max-weighted if and only if , and this is not the case if and only if , we have shown (a) and (b) for the situation of . In particular, it follows that for all .
Assume now that contains more than one element, and that a max-weighted path from to passes through some node . We know from above that this is equivalent to
which is again equivalent to (3.3). Similarly, we obtain (b). ∎
Recall the matrix product from (2.2). We obtain from (Remark 2.3(i)) that for
is the -th entry of the matrix with . Thus, we may decide whether there is a max-weighted path between two nodes that passes through some node in by comparing the entries of the matrices and . Such use of the matrix product can be made at various points throughout the paper, for instance in Remark 5.2(i), Theorem 5.3, and Lemma 6.3(b).
From Theorem 3.10, recalling from Remark 2.3(a) that , we obtain an important property of the ML coefficients.
For all , , and , . Indeed, holds for all .
We learn immediately from (1.3) that for all and . From Corollary 3.12 we find such inequalities also for components, whose nodes are not connected by an edge but by a path of arbitrary length.
For all and , we have .
Note that . Using the max-linear representation (2.1) of and as well as Corollary 3.12, we obtain
ML coefficients leading to a recursive ML model on a given DAG
Recall the definition of a (general) ML model given in (1.4). From Theorem 2.2 we know that every recursive ML model is max-linear. In this section we provide necessary and sufficient conditions on a ML model to be a recursive ML model on a given DAG .
It can be shown that every ML model, which is a recursive SEM as given in (1.1) with unspecified functions , must be a recursive ML model. That a recursive ML model on is also a recursive SEM follows immediately from its recursive definition. To summarize, a ML model can be represented as a recursive SEM (1.1) with DAG if and only if it has a recursive ML representation (1.3) relative to the same DAG .
We investigate below, when a ML coefficient matrix as in (1.4) is the ML coefficient matrix of a recursive ML model with given DAG . Motivated by Remark 2.3(i) in what follows we assume that is the reachability matrix of . In our investigation the DAG with the minimum number of edges, such that , will play an important role. This has already been indicated in Example 3.3.
We give a general definition of the DAG with minimum number of edges that represents the same reachability relation as a given DAG.
Let be a DAG. The DAG is the transitive reduction of if the following holds:
has a path from node to node if and only if has a path from to , and
there is no graph with less edges than satisfying condition (a).
Since we work with finite DAGs throughout, the transitive reduction is unique and is also a subgraph of the original DAG. The transitive reduction of a DAG can be obtained by successively examining its edges, in any order, and deleting an edge , if the original DAG contains a path from to which does not include this edge. For these properties and further details see e.g. Aho et al. . In what follows we need the notion of , the parents of in .
We present necessary and sufficient conditions on to be the ML coefficient matrix of a recursive ML model on .
Let be a DAG with reachability matrix and a ML model as in (1.4) with ML coefficient matrix such that . Define
Then is a recursive ML model on if and only if the following fixed point equation holds:
First we investigate the fixed point equation (4.1) and compute the -th entry of . By definition, together with , it is equal to
We have for and for . Moreover, for , using that , we obtain . Thus, taking also the matrix into account, (4.1) is equivalent to
for all . To summarize, the fixed point equation (4.1) is satisfied if and only if for all the following identities hold:
Thus it suffices to show that, under the conditions above, is a recursive ML model on if and only if (4.2) and (4.3) hold for all .
First assume that is a recursive ML model on , and let and . Since every path from to passes through at least one parent node of , there must be a max-weighted path from to passing through some node in . Using (3.3) with and noting that , we find for Eq. (4.2) and for Eq. (4.3).
For the converse statement, assume that (4.2) and (4.3) hold. For we have , such that the right-hand side of (4.3) is equal to . Thus (4.3) holds for all . Since , we have . We split up the index set and use (4.2) in the first place and (4.3) for all in the second place to obtain
Interchanging the first two maximum operators by (A.1) yields
In the proof of Theorem 4.2 we have shown that under the required conditions the fixed point equation (4.1) holds if and only if (4.2) and (4.3) hold. We summarize this in part (a) of the following corollary. Part (b) has also been verified in the proof of Theorem 4.2. The final statement is based on the fact that for we have if and only if .
(a) Assume the situation of Theorem 4.2. Then is a recursive ML model on if and only if for every ,
(b) Let be a recursive ML model with DAG and ML coefficient matrix . Then for every and ,
Moreover, the right-hand side is equal to 0 if and only if .
By (4.4) and (4.5) exactly those ML coefficients , such that is an edge in , do not have to meet any specific conditions apart from being positive.
In summary, given a DAG with node set , both Theorem 4.2 and Corollary 4.3(a) characterize all ML coefficient matrices of any recursive ML model possible on as all non-negative matrices that are weighted reachability matrices of and satisfy (4.1), equivalently (4.4) or (4.5). If we can verify these two properties for a non-negative matrix , then it is the ML coefficient matrix of a recursive ML model on , and for weights in its representation (1.3) are given by for and .
Graph reduction for a recursive max-linear model
From Proposition 3.7 we know that every component of a recursive ML model with DAG satisfies (1.3) on a subgraph of . These subgraphs, however, usually vary from one vector component to another. On the other hand, we know from Example 3.3 that the whole vector may also be a recursive ML model on a subgraph of . This raises the question of finding the smallest subgraph of such that is a recursive ML model on this DAG. We define and characterize this unique minimal DAG before we point out its prominent role in the class of all DAGs representing in the sense of (1.3).
Let be a recursive ML model with DAG and ML coefficient matrix . We call the DAG
the minimum max-linear (ML) DAG of .
We summarize some properties of as follows.
(i) By Theorem 3.10(b) the minimum ML DAG contains exactly those edges of , where no max-weighted path from to passes through some node in . This means that has an edge if and only if it is the only max-weighted path from to in . The DAG can be obtained from by deleting an edge , if contains a max-weighted path from to , which does not include this edge. The algorithm is by comparison of the ML coefficients: for all and remove the edge from if
Note the analogy to finding the transitive reduction of below Definition 4.1. (ii) The minimum ML DAG is a subgraph of the original DAG . Recall that the transitive reduction of is also a subgraph of and that every edge in is the only – and hence also max-weighted – path from to in . Thus, the transitive reduction is also a subgraph of . In summary, we have . This implies that the DAGs and have the same reachability matrix .
The method described in Remark 5.2(i) determines from and . Indeed, we can also identify directly from without knowing .
Let be a recursive ML model with ML coefficient matrix . Then the minimum ML DAG of can be represented as
in particular, is identifiable from .
Let be a DAG, which describes in the sense of (1.3). Since (Remark 2.3(i)) we have
We show that the edge set in (5.2) coincides with as defined in (5.1). Assume first that is contained in the edge set in (5.2). Such a DAG exist by the definition of a recursive ML model. Since the right-hand side of (5.3) is non-negative, we must have and, hence, . By Theorem 3.10(b) no max-weighted path from to passes through some node in . Thus the edge must be the only max-weighted path from to and, hence, by Remark 5.2(i) it must be an edge as in (5.1).
For the converse, let . Since by Remark 5.2(i) this edge is the only max-weighted path from to , there is no max-weighted path passing through some node in . This is by Theorem 3.10(b) equivalent to (5.3) and belongs to the edge set in (5.2). ∎
We characterize all DAGs and specify all weights such that satisfies (1.3). The minimum ML DAG of is the smallest DAG of this kind and has unique weights in representation (1.3) in the sense that all irrelevant weights are set to zero. We can add edges into with weights representing again in the sense of (1.3) as long as the graph represents the same reachability relation as . As a consequence, to find by a path analysis as described in (1.6) it suffices to know and the weights in representation (1.3) relative to .
Let be a recursive ML model with ML coefficient matrix . Let further be the minimum ML DAG of and be the parents of node in .
The minimum ML DAG of is the DAG with the minimum number of edges such that satisfies (1.3). The weights in (1.3) are uniquely given by and for and .
Every DAG with node set that has at least the edges of and the same reachability matrix as represents in the sense of (1.3) with weights given for all by
There are no further DAGs and weights such that has representation (1.3).
(a) Let be a DAG and for and weights such that has representation (1.3). By Remark 5.2(ii) is a subgraph of .
First we prove that is a recursive ML model on with weights for and by showing that all components of coincide with those of the recursive ML submodel of induced by (see Definition 3.5). By Remark 3.6(iv), it suffices to verify for all and that has one in max-weighted path from to . Among all max-weighted paths from to in , let be one with maximal length, and assume that includes an edge, say , which is not contained in . The DAG has by Remark 5.2(i), however, a max-weighted path from to , which does not include the edge . Note that consists of more edges than the path . Thus by replacing in the edge by we obtain by Remark 3.4(iii) a max-weighted path from to consisting of more edges than . Since this a contradiction to the fact that has maximal length among all max-weighted paths from to , must be in .
Since every edge in is by Remark 5.2(ii) the only max-weighted path from to in , we have by Definition 3.1 and (1.5) that , which implies , and these weights are uniquely given. For the same reason there cannot be a DAG such that has representation (1.3) with less edges than .
(b) From Remark 5.4(ii) every DAG that represents in the sense of (1.3) must have the same reachability matrix as and must contain at least the edges of . By (1.5) and (1.6) the weights in representation (1.3) of have to satisfy for all and .
It remains to show that satisfies (1.3) relative to a DAG with the properties and weights for and (the parents in ) as in the statement of (b). Note that the DAG is a subgraph of and both DAGs have the same reachability relation. Since is by part (a) a recursive ML model on , we may use Corollary 3.13 with the ancestors in : for every and , since is an ancestor of in and , we have
With this we obtain from representation (1.3) of relative to that
which is (1.3) relative to with weights for and . ∎
As explained before Theorem 5.4 we can add edges into , while keeping the same reachability relation and still having representation (1.3) for . In what follows we will use the DAG with the maximum number of edges with these properties.
Let be a DAG. The transitive closure of is the DAG with edge if and only if has a path from to .
The transitive reduction is essentially the inverse operation of the transitive closure: for the transitive reduction one reduces the number of edges and for the transitive closure one adds edges, while maintaining the identical reachability relation. The transitive reduction of a DAG is a subgraph of , and is again a subgraph of the transitive closure. Moreover, all DAGs with the same reachability matrix have the same transitive reduction and the same transitive closure and, therefore, the same ancestors and descendants.
The following is an immediate consequence of Theorem 5.4(b).
The recursive ML model is also a recursive ML model on the transitive closure of every DAG with reachability matrix .
We use this corollary to obtain necessary and sufficient conditions on a ML coefficient matrix as in (1.4) to be the ML coefficient matrix of a recursive ML model. In contrast to Theorem 4.2 and Corollary 4.3(a) we do not require that belongs to a specific given DAG.
Let be a ML model as in (1.4) with ML coefficient matrix such that is the reachability matrix of some DAG. Define
where denotes the identity matrix. Then is a recursive ML model if and only if the following fixed point equation holds:
Let be the transitive closure of a DAG with node set and reachability matrix . First we show that is a recursive ML model if and only if the fixed point equation holds. By Corollary 5.6 is a recursive ML model if and only if it is a recursive ML model on . Thus, by Theorem 4.2 it suffices to show that is equal to the weighted adjacency matrix A_{0}=\Big{(}\frac{b_{ij}}{b_{ii}}\mathbf{1}_{{\rm pa}(j)}(i)\Big{)}_{d\times d} (the parents in ) of . We denote by for the ancestors of node in , and observe from the definition of that for all . Since is a weighted reachability matrix of , we obtain
It remains to show that . By the definition of the matrix product in (2.2) the -th entry of is equal to
which is the th entry of the matrix . ∎
A non-negative symmetric matrix is by Theorem 5.7 a ML coefficient matrix of a recursive ML model if and only if it is a weighted reachability matrix of a DAG and satisfies (5.4). Assume that we have verified these properties for a matrix . In order to find now all recursive ML models which have ML coefficient matrix we can first use (5.2) to derive the minimum ML DAG from and then Theorem 5.4(b) to find all DAGs and weights as in (1.3) such that (1.6) holds.
Backward and forward information in a recursive max-linear model
In this section we apply our previous results to investigate, which components in a given node set of are relevant for maximal information on some other component.
We know already from Corollary 3.13 that for all and so that for some node set and all ,
The values of the bounds in (6.1) can often be found as the maximum and minimum over a smaller number of nodes. We illustrate this by the following example.
[Continuation of Examples 2.1 and 3.8: bounds] For and we find by (6.1) the lower bound
We discuss the lower bound in (6.2) and distinguish between two cases.
First assume that the path is max-weighted, which is by Theorem 3.10(a) equivalent to . From Corollary 3.13 we obtain
Therefore, the lower bound of in (6.2) is always .
Now assume that the path is not max-weighted. Since this is the only path from to passing through node , this is by Theorem 3.10(b) equivalent to . From the max-linear representation (2.1) of and we have if and only if
A node is relevant for the lower bound in (6.1) if no max-weighted path from to passes through some other node in . Observe that this includes the observation made in Example 6.1. The nodes in the upper bound of (6.1) have a similar characterization. We present a formal definition of these particular ancestors and descendants, characterize them below in Lemma 6.3, and give an example afterwards.
We call a node lowest max-weighted ancestor of in , if no max-weighted path from to passes through some node in . We denote the set of the lowest max-weighted ancestors of in by .
We call a node highest max-weighted descendant of in , if no max-weighted path from to passes through some node in . We denote the set of the highest max-weighted descendants of in by .
For we find that the only lowest max-weighted ancestor and the only highest max-weighted descendant of in is the node itself. For a simple characterization of and is given next; this allows us to identify these nodes via the ML coefficient matrix of .
If , then .
(a) follows immediately from the definition. (b) Since , we have by Definition 6.2(a) that . For we know from Theorem 3.10(b) that no max-weighted path from to passes through some node in if and only if
where we have used for the equality that . Similarly, we obtain (6.4). ∎
[Continuation of Examples 2.1, 3.8, 6.1: ] In order to find the lowest max-weighted ancestors of node in , first observe that the only max-weighted path from to does not pass through any node in . Therefore, we have by Definition 6.2(a) that . For node we consider – as in Example 6.1 – two cases and use (6.3):
If , then .
If , then .
Comparing this with Example 6.1 shows that the lower bound of is indeed always realized by some lowest max-weighted ancestor of node 4 in .
We prove that the lower and upper bounds in (6.1) are always realized by some lowest max-weighted ancestor and highest max-weighted descendant in , respectively. For the lower bound this is based on the fact that between all nodes in and their ancestors in there is always a max-weighted path, which contains a lowest max-weighted ancestor in . For the upper bound we use the existence of a max-weighted path between all nodes and their descendants in that passes through some highest max-weighted descendant in . Before we state the modified lower and upper bounds in Proposition 6.6, we provide a useful characterization for a path analysis, which includes these statements.
has a max-weighted path from to passing through some node in if and only if it has a max-weighted path from to passing through some node in .
has a max-weighted path from to passing through some node in if and only if it has a max-weighted path from to passing through some node in .
We only show (a), since (b) can be proved analogously. Assume that a max-weighted path from to passes through some node in . Since , there is obviously also a max-weighted path from to that passes through some node in .
For the converse, we may assume that , since by Lemma 6.3(a) for and hence every max-weighted path contains a node in . Among all max-weighted paths from to let be one with maximum number of nodes in . Denote by the lowest node on contained in ; i.e., the subpath of from to contains no other node of . Assume that . Since and , there is by Definition 6.2(a) a max-weighted path from to that passes through some node with . Thus by replacing in the subpath from to by we obtain by Remark 3.4(iii) a max-weighted path from to containing more nodes in than . This is however a contradiction. Hence, , and is a max-weighted path from to that passes through some node in . ∎
Note from Definition 6.2(a) that . To show the first equality take some . Observe from Lemma 6.3(a) that and, hence, . By Lemma 6.5(a) there must be a max-weighted path from to , which passes through some node . By (3.3) and Corollary 3.13, we obtain
Since for all there exists some such that (6.6) holds, the first equality of (6.5) follows. The second equality may be verified analogously. ∎
So far, for every component of , we have identified a lower and upper bound in terms of the components of . However, we cannot say anything about the quality of the bounds. For instance, we do not know in which situation a component attains one of the bounds. We clarify this by writing all components of as max-linear functions of and certain noise variables. There are many such representations, since we can always include non-relevant ancestral components with appropriate ML coefficients as we know from Theorem 5.4(b). To find the relevant components of and noise variables we focus on those with the minimum number of components of and the minimum number of noise variables. For we denote by the set of all such that no max-weighted path from to passes through some node in . By Theorem 3.10(b) we have
Since if and only if there is a max-weighted path from to passing through some node in , we have by Theorem 3.10(a)
Let be a recursive ML model with DAG and ML coefficient matrix , and let . Let be the lowest max-weighted ancestors of node in as in Definition 6.2(a), and define . Then for every ,
This representation of as a max-linear function of and noise variables involves the minimum number of components of and the minimum number of noise variables.
We distinguish between nodes and . For we know from Lemma 6.3(a) that . Furthermore, we have , since and every path, hence also every max-weighted path, from some to passes through some node in , namely itself. Thus we obtain (6.9). The second statement is obvious.
Now assume that , and note that in this case . Applying the first equality in (6.5) and (2.1) as well as (A.2) in a second step to interchange the first two maximum operators, we have
We split up the set into and as well as the set into and to obtain that the right-hand side of (6.9) is equal to
Noting that when using (6.8) and (6.7) yields for the right-hand side of (6.9)
In order to verify that for (6.9) is the representation of with the minimum number of components of and the minimum number of noise variables, we prove that each term on the right-hand side of (6.9) has to appear, since otherwise some noise variable in representation (2.1) would have a weight strictly less than . We compare the noise variables of the right-hand sides of (6.9) and (6.10). Since does not appear in (6.10), it has to to appear in (6.9). For it follows from (6.7) that if appears in (6.10), then with a coefficient strictly less than . The maximum over must therefore appear in (6.9). Definition 6.2(a) implies that no max-weighted path from to passes through some node in . Thus observe from (6.10) and (3.4) that only the term provides with the weight on the right-hand side of (6.9) and the term has to appear on the right-hand side of (6.9). ∎
We use Theorem 6.7 to obtain for every component a minimal representation in terms of the components of and independent noise variables.
Let be the minimum ML DAG of as in Definition 5.1 with parents of node in . Then for all we have and
and observe from this and (6.3) that . Since every path from to passes through some node in , there is always a max-weighted path from to containing some node of . Hence, . Thus we obtain by Theorem 6.7 the first equality in (6.11). For the second, recall from Theorem 5.4(a) that for . ∎
Representation (6.11) complements Theorem 5.4(a); we find again that the minimum ML DAG yields the minimal representation of as a recursive ML model.
The following example illustrates Theorem 6.7.
[Continuation of Examples 2.1, 3.8, 6.1, and 6.4: minimal representation of by ] We consider again and . Obviously, there are max-weighted paths from and to passing through some node in . Hence, . Since no max-weighted path from to passes through or , we have . In Example 6.4 we have already determined the set depending on the ML coefficients. Thus we distinguish again between two cases:
If , then . We want to remark that the conditional independence properties of are reflected in this representation: from Example 3.8 we know that . So it is obvious that does not appear in the minimal representation of as max-linear function of and .
If , then . In particular, is possible with positive probability; in (1) this is not possible (see Example 6.1).
In both representations all random variables have to appear, but no other ones are needed. Hence, we have indeed derived the minimal representation of in terms of and .
For and we have . Similarly as above we obtain that and . It remains to discuss node , which gives rise to the same two cases as above:
If the path is max-weighted, then
If the path is not max-weighted, then
Such minimal representations become relevant, when is partially observed. If, for example, is observed, then the prediction problem of can be solved by the observations of and by conditional simulation of the relevant noise variables; see . In case (1) we need to simulate , whereas in case (2) are needed. We will discuss such prediction problems in a follow-up paper.
Appendix A Auxiliary lemma
Let be a DAG and . For non-negative functions for we have for all ,
Since we take maxima, we only have to prove that each combination of nodes on the left-hand side appears also on the right-hand side and vice versa. In order to prove (A.1), it suffices to show that
By observing that and if and only if this equivalence is obvious. Eq. (A.2) is proved in the same way. ∎
Acknowledgements
We thank Steffen Lauritzen for fruitful discussions and his constructive suggestions, which improved our manuscript. Nadine Gissibl had the pleasure of spending two months at the Seminar for Statistics of the ETH Zurich. She wants to thank all colleagues there for a very pleasant time. She also gratefully acknowledges support from the TUM Graduate School’s International School of Applied Mathematics.