Manuscript Offprint
arXiv:2610.03101Invariance of Clustering Operations in Causal Effect Identification
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Clustering variables in causal graphs reduces the size of the graph and simplifies causal inference. However, arbitrary clustering can alter crucial causal relations among variables and lead to erroneous conclusions. While the identifiability of a causal effect in the clustered graph implies the identifiability in the original graph under mild conditions, nonidentifiability in clustered graph does not imply nonidentifiability in the original graph without further assumptions. When both identifiability and nonidentifiability are preserved, the clustering operation is called identification invariant. We present a broad class of clustering operations that are identification invariant based on conditions related to the c-components of the original graph. Finally, we demonstrate use of the results in practical settings.
Keywords: causal inference, graph theory, identifiability, cluster
1 Introduction
A causal model is a simplified representation of real causal mechanisms. It is unnecessary and often practically unfeasible to describe lower level causal mechanisms when the interest lies in a higher level. Clustering variables, such as genetic factors, job history or health status, and representing them with a single vertex in a directed acyclic graph (DAG) enables modeling high-level causal relationships without specifying the detailed structure within the cluster. Applying Occam's razor, a causal model should be “as coarse as possible but not coarser”.
In addition to high-level causal modeling, clustering of variables in causal graphs is beneficial in other ways. Clustering reduces the size of a graph, making it easier to comprehend the visual representation. Clustering may also speed up identification algorithms and simplify the identifying functionals (Tikka et al., 2023). Assumptions on clusters may provide useful information for causal discovery algorithms (Madaleno et al., 2026, and references therein).
In the literature, clustering in graphical models has been approached from several perspectives and under diverse terminology. Clusters may be referred to as groups (Wahl et al., 2024), super-nodes (Tennant et al., 2021), partitions (Madaleno et al., 2026), macro variables (Ferreira and Assaad, 2025) or vector variables (Ninad et al., 2025). Clustering may be called coarsening (Madaleno et al., 2026), summarization (Zeng et al., 2025) or (an instance of) causal abstraction (Rubenstein et al., 2017; Beckers and Halpern, 2019).
©2026 Jani Nykänen, Otto Tabell, Santtu Tikka and Juha Karvanen.
License: CC-BY 4.0, see https://creativecommons.org/licenses/by/4.0/.
Graphs that contain clustered variables may be called cluster graphs or C-DAGs (Anand et al., 2023). Clustering is relevant for all areas of causal inference and has recently gained attention especially in causal discovery. Madaleno et al. (2026, Appendix A) summarizes the current state of the art in causal discovery. Existing approaches differ in whether the clusters are assumed to be known beforehand (e.g. Wahl et al., 2024; Göbler et al., 2025) or if they are learned jointly with the causal structure (e.g. Massidda et al., 2024; Madaleno et al., 2026).
This paper focuses on the impact of clustering on the identifiability of causal effects. This topic has previously been studied in settings where (a) both the original and the clustered graph are acyclic (Tikka et al., 2023; Tabell et al., 2026; Anand et al., 2023); (b) the original graph is acyclic but the clustered graph may contain cycles (Ferreira and Assaad, 2025; Yvernes et al., 2026); and (c) both graphs may be cyclic (Ferreira and Assaad, 2026). In all settings, under mild assumptions, it has been shown that if a causal effect is identifiable in the clustered graph, then the corresponding effect is identifiable in the original graph. Anand et al. (2023); Ferreira and Assaad (2025, 2026); Yvernes et al. (2026) consider macro causal effects, that is, effects of entire clusters on other clusters, and establish the converse identifiability result only relative to the class of compatible graphs: nonidentifiability in the clustered graph implies nonidentifiability in some graph that yields the clustered graph, but not necessarily in the graph at hand.
Tikka et al. (2023) and Tabell et al. (2026) use a special class of clusters called transit clusters and consider effects not involving the clustered variables, and determine when nonidentifiability in the clustered graph implies nonidentifiability in the original graph, i.e., when identification invariance holds. Such an approach has a clear advantage: we may conclusively evaluate the identifiability of given causal effects merely with the clustered graph. The downside is that the converse result requires stricter conditions related to the cluster: the mild conditions described above—more precisely, acyclicity of the clustered graph—are insufficient for establishing identification invariance. This is illustrated by Figures 1b and 1c, where a causal effect is identifiable in the original graph but not in the clustered graph. To rule out such settings, transit clusters impose rather strict conditions on how the cluster connects to its parents and children.
In this paper, our aim is to continue in the line of research of identification invariance. Our starting point is the observation that identifiability always transfers from the clustered graph to the original graph, provided that the clustering operation does not create cycles. Establishing identification invariance therefore reduces to a single question: when does nonidentifiability in the clustered graph imply nonidentifiability in the original graph? As nonidentifiability from the joint observed distribution is equivalent to the presence of a graphical structure called a hedge (Shpitser and Pearl, 2006; Shpitser, 2023), this amounts to finding conditions under which clustering cannot create a hedge that is not already present in the original graph. We present a class of clusters that we call coherent, which generalizes the class of transit clusters, and we then present a class of identification invariant clustering operations for coherent clusters based on conditions related to c-components (Tian and Pearl, 2002; Shpitser and Pearl, 2006). These results, in turn, generalize some of the earlier identifiability results by Tikka et al. (2023), thus widening the applicability of clustering approaches related to identification invariance.
The article is organized as follows. In Section 2, we introduce some essential preliminary definitions and notation. We proceed to define clustering in Section 3 and consider properties of clustering operations. In Section 4 we study the effect of clustering on identifiability of causal effects, focusing on determining universally identification invariant clustering operations. We demonstrate the use of identifiability results in Section 5. Concluding thoughts are offered in Section 6.
-
, , and denote the parents, children, ancestors and descendants of the vertices of in , respectively. The subscript can be omitted if the underlying graph is clear from the context. If the set is included in the respective sets, then the asterisk is omitted (e.g., ). If , then the curly brackets are omitted (e.g., ).
-
denotes the induced subgraph of , where contains those edges of that have both endpoints in . denotes an induced edge subgraph obtained from by removing incoming edges to and outgoing edges of (if no edges incoming to or outgoing of are removed, then the corresponding symbol is omitted, i.e., or ).
We study DAGs induced by structural causal models.
Definition 1 (Structural causal model). A structural causal model (SCM) is a tuple consisting of the following objects:
• A vector of observed random variables , indexed by the set V.
• A vector of unobserved random variables , indexed by the set .
- A family of functions such that each is a map from the state space of to the state space of , where and , such that forms a map from the state space of to the state space of . Accordingly, each random variable is defined by the corresponding structural equation .
• A joint probability distribution p of the unobserved variables .
We only consider recursive SCMs, i.e., models where the unique solution of in terms of is obtained by recursively substituting each in each function with their corresponding functional representation with respect to . Unobserved vertices that are present in exactly one structural equation are called dedicated error terms, and the set of dedicated error terms is denoted by . Correspondingly, we use to denote the set of unobserved variables that are present precisely in two structural equations. We focus solely on semi-Markovian causal models, where each unobserved variable can be present in at most two structural equations, that is, . A motivation for this is described below.
An SCM induces a causal graph, that is, a DAG , where the vertices correspond with the indexing sets of the random variables in , and the directed edges in point from the members of and to . The dedicated error terms are omitted from the causal graphs, i.e., all members of have exactly two children in .
Vertices of V and U are called observed and unobserved vertices (of ), respectively. Moreover, unobserved vertices with two children are presented in figures using bidirected (dashed) arcs without specifying the unobserved vertex itself. A bidirected path is a path that consists solely of bidirected arcs, that is, a path of the type , where and . If one does not restrict oneself to semi-Markovian causal models, then the induced DAG can have unobserved vertices with more than two children, in which case one can apply latent projection (Verma, 1993) to project the induced DAG into a DAG where each unobserved vertex has exactly two children. An alternative way to formulate such models is to use acyclic directed mixed graphs (AD-MGs, Richardson, 2003; Richardson et al., 2023), which explicitly allow bidirected arrows in graphs.
An intervention , where , on a model forces the variables to take specific values . The intervention creates a submodel , which is defined as follows:
Definition 2 (Submodel). A submodel of a structural causal model obtained from an intervention is an SCM , where the new set of functions is obtained from by replacing the functions by constant functions that output the corresponding value in .
The marginal distribution of in is called the interventional distribution, and it is denoted by . The causal effect of on is defined as . Identifiability is an important property of causal effects, and it is defined as follows:
Definition 3 (Identifiability). Given a causal graph and two disjoint sets , the causal effect is identifiable from in if it is uniquely computable from in every causal model that induces .
Since we are only interested in causal effects that are identifiable from the joint distribution, we henceforth simply say that a causal effect is identifiable in without specifying the distribution . Furthermore, we restrict ourselves to study identifiability from positive distributions, that is, distributions that satisfy for all value assignments , which ensures that all causal effects and identifying functionals are well-defined.
Given a (non)identifiable causal effect, operations that modify causal graphs and preserve the (non)identifiability of the given causal effect (or a family of causal effects) are called identification invariant (Tabell et al., 2026). A formal definition of this property is given below.
Definition 4 (Identification invariance). Suppose an operation that maps a causal graph to a causal graph .
Then:
-
is identification invariant for a causal effect if the causal effect is either identifiable in and or nonidentifiable in and .
-
is identification invariant for a family of causal effects if the operation is identification invariant for each effect .
An important graphical structure associated with identifiability of causal effects is the c-component.
Definition 5 (c-component). A causal graph is a c-component if for every there exists a bidirected path , where the notation denotes a fork for some .
In other words, a causal graph is a c-component if and only if a subset of the bidirected arcs forms a spanning tree over all observed vertices in the graph (Shpitser and Pearl, 2006). A c-tree is a special type of c-component used to characterize identifiability of direct effects.
Definition 6 (c-tree). A causal graph is a c-tree if is a c-component and every observed vertex has at most one child. If there is a vertex such that , then is y-rooted c-tree
A c-forest generalizes the concept of a c-tree by allowing a root set instead of a single root vertex.
Definition 7 (c-forest). A causal graph is a c-forest with a root set if is a c-component and every observed vertex has at most one child.
Two c-forests with a special relation form a hedge, which characterize identifiability of general causal effects.
Definition 8 (Hedge). Let be disjoint sets in a causal graph . A pair is a hedge for the causal effect provided that:
(1) and are R-rooted c-forests, where ;
(2) , and ; and
(3)
The identification algorithm ID by Shpitser and Pearl (2006) is a sound and complete algorithm that verifies whether a causal effect is identifiable from in a causal graph, and outputs its identifying formula if identifiability holds. The importance of hedges stems from the fact that ID algorithm fails only if it detects a hedge for the studied causal effect, that is, nonidentifiability is equivalent to the presence of a hedge.
Proposition 9 (Shpitser (2023, Proposition 1)). A causal effect is identifiable in a causal graph if and only if there does not exist a hedge for in .
3 Clustering in Causal Graphs
We are interested in reducing the size of a DAG by replacing a vertex set (i.e., a cluster) by a single vertex — an operation which we call clustering. In this section we give a rigorous definition of clustering. As an important class of clusters, we introduce coherent clusters and study their properties. The effect of clustering on identifiability of causal effects is further studied in Section 4.
Clustering of a vertex set is defined as follows:
Definition 10 (Clustering). Let be a causal graph. Clustering a vertex set induces a causal graph such that:
• , where the vertex represents the set .
-
, that is, all unobserved vertices whose both children are in are excluded from .
-
is obtained from by removing all edges connected to (including the edges , where ), and adding new edges connecting to in the following way:
-
the edge is in if and only if there is a and an edge in .
-
the edge is in if and only if there is a and an edge in .
Given an SCM that induces a causal graph , then there exists a causal model which induces the clustered graph such that can be constructed from by replacing the set of variable with a single vector-valued variable that has members of as its components, and modifying the structural equations of and its children accordingly. Furthermore, is necessarily semi-Markovian, because by the definition of clustering the unobserved vertices in the clustered graph cannot have more than two children.
We note that if there is a whose both children are in the set , then after clustering the vertex has only one child, namely the vertex , and by convention we omit unobserved vertices with only one child (i.e., the dedicated error terms) in causal graphs, which is the reason why such unobserved vertices are not included in .
Moreover, we disallow clustering of unobserved vertices (i.e., ) for the following reasons. First, if one clusters an unobserved vertex whose other child is not in the clustered set, then it is not always clear whether the vertex representing the cluster should be considered an observed or an unobserved vertex. Second, if one only clusters those unobserved vertices whose both children are in the cluster, then they become dedicated errors terms in the clustered model, so they are implicitly clustered together with their children in the clustering operation. Third, this way we do not need to specify the unobserved variables in the graphs, and we can denote them by bidirected arcs to increase visual clarity.
In the case of clustering, the operation appearing in the definition of identification invariance (Definition 4) is the clustering operation , where is the original graph and is the graph induced by clustering of the given vertex set . We are especially interested in those clustering operations that are identification invariant for all causal effects not involving variables of the clustered set, a property which we call universal identification invariance. Formally we define this property as follows:
Definition 11 (Universal identification invariance). Suppose a vertex set in a causal graph . The clustering of is universally identification invariant if the operation is identification invariant for all causal effects such that and .
We introduce the following notation for clusters that are augmented with their unobserved parents whose both children are inside the cluster. This notation is useful when considering the parents of the cluster, since often we want to include only those unobserved parents whose other child is outside the cluster.
Definition 12. Suppose a vertex set in a causal graph . We define
We proceed to define clustering equivalent vertex sets.
Definition 13 (Clustering equivalent vertex sets). Suppose a set of vertices in a causal graph , and let be the graph induced by the clustering of with the vertex representing the set . Vertex sets and are called clustering equivalent provided that and if and only if .
In this paper we define clustering as a graph operation that outputs a causal graph, that is, a DAG. However, without further restrictions, Definition 10 allows clustering operations that induce directed cycles, an example of which is provided in Figure 1a. Furthermore, arbitrary clustering can introduce new directed connections not present in the original graph, with a possible side effect that a causal effect that is identifiable in the original graph may not be identifiable in the clustered graph. Examples of such scenarios are provided in Figures 1b and 1c.
To remedy the abovementioned cases, we introduce a coherent vertex set for which we ensure that there exists a directed path from every parent of the set to every child of the set such that the path goes directly through the set. Formally, we define coherence as follows.
Definition 14 (Coherence). A set of vertices in a causal graph is coherent provided that for all and there exists a directed path such that and .
We say that a clustering operation is coherent if the clustering is applied to a coherent set of vertices in G. In the following lemma we show that coherent clustering does not create directed cycles or new directed connections not present in the original graph. Additionally, we show that a directed path can intersect a coherent cluster at most once, that is, there is at most one maximal subpath that consists solely of vertices of the cluster. The proof of the lemma is presented in Appendix A.

(a) Clustering the set creates a directed cycle in the clustered graph.

(b) Clustering the vertex sets forms a new directed path , which also renders the causal effect nonidentifiable.

(c) is not coherent, because in every path from to a the non-endpoint vertices are not contained in . Consequently identifiability of is lost in clustering of .
Figure 1: Examples of clustering operations with undesired side effects.
Lemma 15. Let be a coherent cluster in a causal graph , and let be the graph obtained by clustering the set with the vertex representing the set . Then:
(i) Clustering of T does not create directed cycles, that is, is a DAG.
(ii) If a directed path , where and , contains members of , then the vertices form a subpath of . In other words, each directed path can intersect a coherent vertex set at most once.
(iii) For all it holds . Consequently are connected via a directed path in if and only if they are connected via a directed path in .
Transit clusters (Tikka et al., 2023, see Appendix C for the definition) are coherent because by definition there is a directed path from any parent of the cluster to any child of the cluster. However, the opposite does not apply, that is, all coherent clusters are not necessarily transit clusters. Figure 2a shows an example of a transit cluster that indeed satisfies coherence, while Figure 2b presents a coherent cluster that is not a transit cluster. Comparing these two figures one observes that coherence requires significantly fewer edges than a transit cluster, but coherence also allows inclusion of bidirected arcs that would be prohibited by the conditions of a transit cluster, which is because transit clusters impose strong assumptions on incoming edges to the cluster.
On the other hand, coherence is not a property enforced in the settings of Anand et al. (2023); Ferreira and Assaad (2025, 2026) or Yvernes et al. (2026). This directly relates to the goal of this paper to maintain the identification invariance of the clustering operation.

(a) The set is a coherent cluster that is also a transit cluster.

(b) The set is coherent, but not a transit cluster.
Figure 2: Examples of coherent clusters (Definition 14).
We focus on identification invariance via coherent clusters, which is discussed more explicitly in the following section.
4 Identification Invariance of Clustering Operations
In this section we study clustering operations that are universally identification invariant, that is, clustering operations that preserve identifiability of those causal effects that do not involve the variables of the clustered set. We establish sufficient conditions for universal identification invariance of clustering operations based on the c-components of the original graph. In the end of this section we study identification invariance of iterated clustering operations. The proofs of this section are presented in Appendix B.
Throughout this section, we say that if is a causal effect in a causal graph , then the corresponding causal effect in the clustered graph is , provided that . We denote by and distributions Markov-relative to and , respectively.
Do-calculus (Pearl, 1995) consists of operations that allow manipulation of interventional distributions. Anand et al. (2023) show that the rules of do-calculus are also valid in the clustered graph. This has the following consequences: First, if the clustering operation does not create directed cycles, then for each causal effect that is identifiable in the clustered graph, the corresponding causal effect is identifiable in the original graph. In particular this result holds if the clustering operation is coherent due to Lemma 15 (i), but the result is also valid without the coherence assumption. Second, we can derive an identifying functional for the causal effect in the original graph from any identifying functional for the corresponding causal effect in the clustered graph. We present these results using our notation below.
Lemma 16. Let be disjoint sets in a causal graph . Suppose a set of vertices such that the graph induced by the clustering of is a DAG. If the causal effect is identifiable in with an identifying functional (that is, ), then is identifiable in with a functional , which is obtained from by replacing by the vector .
An analogous result for transit clusters is proven by Tikka et al. (2023, Theorem 33). Lemma 16 has the following implication: to obtain identification invariance of a clustering operation, it suffices to ensure that nonidentifiability of a causal effect in the clustered graph implies nonidentifiability of the same effect in the original graph. This is achieved by connecting identification invariance to the existence of hedges.
Theorem 17. Assume a vertex set in a causal graph such that the graph induced by the clustering of is a DAG. Given disjoint sets , the following conditions are equivalent:
• The clustering operation is identification invariant for .
• If there is a hedge for in , then there is a hedge for in .
According to Theorem 17, to establish sufficient conditions for universal identification invariance of clustering operations, we need to find conditions such that clustering does not create hedges not present in the original graph. An example of a situation like this is provided in Figure 3a. To avoid such scenarios, we need additional assumptions on the c-components of the clusters. Sufficient conditions for transit clusters (Tikka et al., 2023, Definition 4) are proposed by Tikka et al. (2023), and we aim to establish similar results for clusters that are merely coherent. As a reminder, since transit clusters are coherent, the results we establish in this section are also applicable to transit clusters.
A transit cluster that does not have any unobserved parents (excluding those unobserved vertices whose both children are inside the clustered set) is called plain according to Tikka et al. (2023). This concepts generalizes directly to coherent clusters.
Definition 18 (Plainness). A coherent cluster in a causal graph is plain if , that is, the cluster does not have any unobserved parents that have one child in the cluster and one child outside the cluster.
Plain clusters are characterized by the property that all bidirected arcs connected to the cluster are always disconnected from the vertices outside the cluster, implying that all c-components involving vertices of a plain cluster are strictly within in the cluster. An example of a plain cluster is provided in Figure 3b.
We proceed to show that clustering a plain vertex set is a universally identification invariant operation.
Theorem 19. Suppose a plain cluster in a causal graph . Then clustering of T is a universally identification invariant operation.
Tikka et al. (2023) also define a congested transit cluster, which is a transit cluster where each vertex in the cluster belongs to the same c-component. However, for clusters that are merely coherent such a condition does not guarantee universal identification invariance of the clustering operation. This is demonstrated in Figure 3c, which presents a coherent

(a) Clustering the coherent cluster does not preserve the identifiability of the causal effect .

(b) is a plain cluster since there is no bidirected arc connecting to .

(c) Every vertex of the cluster belongs to the same c-component, but is not a transit cluster. Clustering the set renders the causal effect nonidentifiable in the clustered graph.

(d) is a c-coherent cluster with . However, is not c-isolated due to the presence of a bidirected arc from to .

(e) is a c-isolated cluster with , but is not c-coherent, because is not a c-component.

(f) is not c-isolated due to the lack of coherence. Accordingly identifiability of is lost in clustering of .
Figure 3: Various causal graphs that demonstrate under which conditions universal identification invariance of the clustering operation holds (green), but also when this property is lost (red).
cluster whose members belong to the same c-component, and yet, the clustering operation is not universally identification invariant. Thus, instead of attempting to generalize the concept of a congested transit cluster, we introduce a comparable condition, which we call c-coherence.
Definition 20 (c-coherence). A coherent cluster in a causal graph is c-coherent if there exists a vertex such that:
• and
- for each , it either applies that , or there exists a directed path in such that and the graph induced by the vertex set is a c-component.
The presence of the vertex in Definition 20 has the following implications: First, if there is an edge in the clustered graph , where the vertex represents the cluster , then in the original graph we have the edge . In particular this holds if . Consequently, all bidirected arcs connecting to are always connected to . An example of a c-coherent cluster is provided in Figure 3d, where .
Second, the assumption on the paths from to ensures that for each path in the clustered graph , where and , there is a corresponding path in such that . Furthermore, if the original path belongs to the same c-component — or even to the same c-forest — in , then so does the corresponding path in .
We next show that clustering a c-coherent cluster is also a universally identification invariant operation.
Theorem 21. Suppose a c-coherent cluster in a causal graph . Then the clustering of T is a universally identification invariant operation.
The definition of c-coherence has strong assumptions on the directed paths inside the cluster. These assumptions can be relaxed by requiring that there are no bidirected paths (i.e., paths that consist solely of bidirected arcs) from the vertex to the descendants of the cluster, a property which we call c-isolation.
Definition 22 (c-isolation). A coherent cluster in a causal graph is c-isolated if there exists a vertex such that , and for each c-component in it either holds or , that is, there is no bidirected path from to .
In practice it suffices to verify that there is no bidirected path from to in (or equivalently no bidirected path from to in ), because each bidirected arc connecting to necessarily connects to by the assumption .
An example of a c-isolated cluster is provided in Figure 3e. The set is c-isolated, because there is no bidirected path connecting to the set , but is not c-coherent, because the only directed path from to is , but the subgraph is not a c-component. In Figure 3d, the vertex set is not c-isolated, because there is a bidirected arc from to . However, if one removes this arc, then becomes both c-coherent and c-isolated, illustrating that these two conditions are not mutually exclusive.
If in the definition of coherence (Definition 14) one requires that only the observed parents are connected to via specific paths, then c-isolation no longer guarantees universal identification invariance. This can be seen in Figure 3f, where each directed path from the unobserved vertex denoted by the bidirected arc between and goes through the vertex . Even though there is no bidirected paths from to its descendants, the clustering operation renders the causal effect nonidentifiable in the clustered graph.
The similarities and differences of c-coherence and c-isolation can be summarised as follows: Unlike plainness (Definition 18), both c-coherence and c-isolation allow bidirected arcs connecting T and , and in both conditions all bidirected arcs connected to T have to connect to a single vertex . Unlike c-isolation, c-coherence allows bidirected arcs from T to its descendants, but one needs additional assumptions on how the vertex connects to the children of the cluster, because otherwise clustering can create a hedge not present in the original graph. For c-isolated clusters one does not need to know anything about the paths inside the cluster, because c-isolation always ensures that if the vertex t representing the cluster T in the clustered graph belongs to a hedge, then t is necessarily in the root set.
We proceed to show that clustering a c-isolated vertex set is a universally identification invariant operation.
Theorem 23. Suppose a c-isolated set in a causal graph . Then clustering of T is a universally identification invariant operation.
The three conditions presented above, namely plainness, c-coherence and c-isolation, do not provide complete conditions to assess universal identification invariance. Instead, the purpose is to provide sufficient conditions that are relatively straightforward to verify from the original graph. To obtain a complete condition, one would need to impose conditions specific to each graph — or alternatively apply Theorem 17 and verify whether a presence of a hedge in the clustered always implies a presence of a hedge in the original graph G for each causal effect not involving the variables of the clustered set.
Examples of clustering operations whose universal identification invariance cannot be deduced using the graphical conditions from Section 4 are presented in Figure 4, where clustering of the vertex sets marked in green are universally identification invariant, but neither cluster is plain, c-coherent or c-isolated. The cluster in Figure 4a is not plain due to the lack of coherence, and while the cluster in Figure 4b is coherent, it is neither c-coherent nor c-isolated because there are bidirected arcs connecting vertices outside the cluster to two different vertices of the cluster.
The following result shows how identification invariance allows us to make conclusions about the nonidentifiability of causal effects.
Theorem 24. Suppose a cluster in a causal graph such that clustering of in induces a DAG. Let be a graph obtained from by removing a subset , the edges connected to , and a subset of edges , , so that clustering of is a universally identification invariant operation in . Let be the graph induced by clustering of in . If a causal effect , where , is not identifiable in , then is not identifiable in .
As an example of application of Theorem 24, we consider again Figure 4. Removing the edges and in Figure 4a makes the vertex set coherent and plain. We observe that each causal effect of on the variables , and is nonidentifiable in the graph obtained by removing the aforementioned edges and clustering

(a) satisfies other conditions of plainness, but not coherence.

(b) The coherent cluster is not c-coherent or c-isolated, because there are two different vertices inside the cluster that are connected to vertices outside the cluster via bidirected arcs.
Figure 4: Examples of clusters (marked in green) for which the corresponding clustering operation is universally identification invariant, but none of the clusters is plain, c-coherent or c-isolated.
of . It follows from Theorems 19 and 24 that the corresponding causal effects are also nonidentifiable in the original graph.
In Figure 4b, the cluster becomes c-coherent if the bidirected arc between and is removed. Studying the graph where the bidirected arc is removed and the set is clustered, we see that the causal effects of on the variables and are not identifiable. Theorems 21 and 24 imply that the corresponding causal effects are not identifiable in the original graph either.
We next show that if one applies multiple successive clustering operations that are identification invariant for a given causal effect, then the total clustering operation is also identification invariant for the given effect.
Theorem 25 (Iterative clustering). Let be disjoint sets in a causal graph . Suppose a family of graphs for , and vertex sets such that and is obtained from by clustering the set for all . Denote by a distribution Markov relative to such that , and assume that for all
• the graph is a DAG, and
- the operation that clusters the set in the graph is an identification invariant operation for the causal effect .
Then the iterated clustering operation is identification invariant for the causal effect .
Consequently, iterating multiple universally identification invariant clustering operations is also a universally identification invariant operation, as shown in the following corollary.
Corollary 26. Suppose an iterated clustering operation
defined as in Theorem 25. If the operation is universally identification invariant for all , then the iterated operation is identification invariant for each causal effect not involving variables for any .
An example how Theorem 25 can be applied in practice is provided in Section 5.
5 Demonstration
In this section we demonstrate how one can apply the identification results established in Section 4 in practice. We use a causal graph adapted from Evandt et al. (2017), but for illustrative purposes we have included bidirected arcs not present in the original graph. Explanation for different variables in the model is provided in Table 1 in Appendix E.
In practice, we are typically interested in a certain family of causal effects. Accordingly, the clustering operations should not contain variables of the causal effects of interest. In this demonstration, we assume that we are interested in how demography, socioeconomic status and population density ( , and , respectively) affect sleep medication use . The family of causal effects we are interested in is then the set
Based on the structure of the graph in Figure 5a, we propose the following candidates for clustered sets: and . While other clustering options are possible, these particular choices enable us to apply identifiability results from Section 4. We perform clustering as follows:
(1) The vertex set is c-isolated in since each parent of the cluster (both observed and unobserved) is also a parent of the vertex , and there are no bidirected paths from to its descendants. Clustering of yields a graph , which is displayed in Figure 5b.
(2) The vertex set is c-coherent with in the clustered graph since is a parent of each child of the cluster. Clustering of in yields a graph , which is present in Figure 5c.
(3) We notice that we can further cluster the c-isolated vertex set in , which yields the graph presented in Figure 5d.
According to Theorems 21 and 23 and Corollary 26, the iterated clustering operation described above is universally identification invariant. Based on this information we make the following conclusions:

(a) The original graph .

(b) A graph obtained from by clustering the c-isolated vertex set (here ).
(c) A graph obtained from clustering the c-coherent vertex set in (notice that is c-isolated in , but not in ).

(d) A graph obtained from by clustering the c-isolated vertex set .
Figure 5: Graphs modeling how different factors affect sleep medication use (adapted from (Evandt et al., 2017), additional bidirected arcs included). Color-coding is applied to highlight different clusters of interest: Vertices belonging to the cluster and the cluster are marked in green and blue, respectively. Bidirected arcs are highlighted with blue for clarity.
- Causal effects , where , are nonidentifiable in , because the corresponding causal effects are nonidentifiable in .
• The causal effect is identifiable in with a functional
(5.1)
The corresponding causal effect is identifiable in , and applying Lemma 16 iteratively one obtains an identifying functional by first replacing by the vector , and then replacing and by the vectors and , respectively:
6 Discussion
We studied the role of clustering in causal effect identification from a theoretical viewpoint. We defined coherent clustering operations, which prevent clustering from creating directed cycles or introducing spurious directed paths. Whenever the clustering operation does not create a directed cycle, any causal effect that is identifiable in the clustered graph is identifiable in the original graph as well, and the identifying functional can be obtained from the clustered graph by a simple substitution. This reduces the problem of identification invariance: it suffices to determine when nonidentifiability in the clustered graph implies nonidentifiability in the original graph, or equivalently, when clustering cannot create a hedge that is not already present. We established three conditions based on c-components under which no such hedge is created, namely plainness, c-coherence and c-isolation, each of which renders the clustering of a coherent cluster identification invariant for all causal effects not involving the clustered variables.
These results widen the range of settings in which identification invariance can be used in practice. Coherent clusters generalize transit clusters: they impose no requirement that all members of the cluster that have observed parents outside the cluster must have the same observed parents outside the cluster. An analogous result applies to the children of the cluster. In Section 5, we illustrated the practical applicability of the results.
Each of the three conditions, plainness, c-coherence and c-isolation, is sufficient but not necessary for universal identification invariance, and clustering operations exist that are identification invariant without satisfying any of them (e.g., Figure 4). The conditions presented here were chosen to be structural properties of the cluster that can be readily verified from the original graph. Characterizing structural conditions that are both necessary and sufficient remains an open question. The conditions may also be relaxed if invariance is sought only for a smaller family of causal effects (e.g., just one specific causal effect), and in such a setting even the coherence assumption may not be needed, as long as new directed paths are not formed between the variables of the causal effects under study.
We also required that clustering preserves acyclicity. Allowing clustering to create directed cycles could be a potential next step in future research. In this setting, cycles in the clustered graph does not need to correspond to any cycle in the original graph, and identification has been studied through the do-calculus applied directly to the clustered graph (Ferreira and Assaad, 2025; Yvernes et al., 2026). Imposing conditions for identification invariance appears considerably harder in this case: the characterization of nonidentifiability itself has to be modified, as an ordinary hedge no longer detects the nonidentifiability that a cluster-level cycle induces (Ferreira and Assaad, 2025).
Our focus has been on the theoretical properties of clustering operations. These properties provide a basis for future algorithmic solutions that could, for instance, detect a subset of coherent clusters or verify plainness, c-coherence and c-isolation of a cluster.
Acknowledgments and Disclosure of Funding
Jani Nykänen and Juha Karvanen were supported by the Research Council of Finland (grant no. 368935 to JK). Otto Tabell was supported by the Finnish Doctoral Program Network in Artificial Intelligence (AI-DOC, Decision VN/3137/2024-OKM-6).
Appendix A. Proofs for Section 3 (Clustering in Causal Graphs)
Lemma 15. Let be a coherent cluster in a causal graph , and let be the graph obtained by clustering the set with the vertex representing the set . Then:
(i) Clustering of T does not create directed cycles, that is, is a DAG.
(ii) If a directed path , where and , contains members of , then the vertices form a subpath of . In other words, each directed path can intersect a coherent vertex set at most once.
(iii) For all it holds . Consequently are connected via a directed path in if and only if they are connected via a directed path in .
Proof Case (i): Let us assume a directed cycle in . Without loss of generality we can assume that , because the cycle necessarily contains other vertices than just the vertex , that is, if there is a directed path from to that contains the vertex , then there is a directed path from to as well. Furthermore, cannot be an unobserved vertex since unobserved vertices do not have parents.
Suppose first that the cycle does not include the vertex . In this case exactly the same cycle exists in , which contradicts the property that causal graphs are DAGs. On the other hand, if the cycle does contain the vertex , then the cycle has a subpath such that and (if the cycle is , then one lets ). Applying Definition 14 for and yields a directed cycle
in , where . This again contradicts the property that is a DAG.
Case (ii): Let us claim the opposite: there is a directed path , where and , that intersects the set at least twice. In other words, there are at least two subpaths and in such that and . However, then in we have the path
which contains a directed cycle , contradicting (i).
Case (iii): Let us fix a . To show the first inclusion, we assume a vertex . Now there is a directed path in . If the path does not contain the vertices of , then exactly the same path exists in , and if the path does have at least one vertex of , then by (ii) it contains exactly one subpath such that and . By the definition of clustering we can replace this subpath by to obtain a directed path from to in . This shows that .
To show the other inclusion, suppose that . Directed paths from to that do not contain the vertex exist in as well. If there is a directed path that contains the vertex , then the path contains exactly one subpath such that , because otherwise there would be a directed cycle . We replace this subpath by any path such that , which is enabled by Definition 14. This yields .
The second assertion follows immediately, because there is a directed path from to if and only if is an ancestor of
Appendix B. Proofs for Section 4 (Identification Invariance of Clustering Operations)
Theorem 17. Assume a vertex set in a causal graph such that the graph induced by the clustering of is a DAG. Given disjoint sets , the following conditions are equivalent:
• The clustering operation is identification invariant for .
• If there is a hedge for in , then there is a hedge for in .
Proof " :" If there is a hedge for in , then by Proposition 9 the causal effect is nonidentifiable in . It follows from the definition of identification invariance and Proposition 9 that there is a hedge for the corresponding causal effect in .
” :” If the causal effect is identifiable in , then by Lemma 16 the corresponding causal effect is also identifiable in . On the other hand, if is nonidentifiable in , then it follows from Proposition 9 that is not identifiable in either.
If the causal effect is identifiable in , then there cannot be a hedge in by Proposition 9, hence by the assumption there cannot be a hedge in , either, because that would imply the presence of the hedge in . Finally, if is nonidentifiable in , then cannot be identifiable in , because that would violate Lemma 16.
Theorem 19. Suppose a plain cluster in a causal graph . Then clustering of T is a universally identification invariant operation.
Proof Let us fix disjoint sets . In the following we denote by the graph induced by the clustering of , and we let be the vertex representing the set . According to Theorem 17, it suffices to show that the presence of a hedge in implies the presence of a corresponding hedge in .
We claim that exactly the same hedge exists in , that is, is a hedge for in . We show that the conditions (1)–(3) of Definition 8 hold:
(1) There cannot be a bidirected arc connecting to , because otherwise in there would be a fork such that , and , implying and contradicting the plainness assumption. This has the following implications: all c-components in (excluding the single vertex c-component that consists solely of the vertex ) are also present in , and there cannot be a c-component that contains the vertex and some other vertex in . Thus, because is disjoint from and , neither nor can contain the vertex . It follows that and are c-forests in .
We still need to validate that and have the same root set. Let be the root set of the c-forests in , and the root set in . Since the vertex is excluded from the c-forests, it necessarily holds , so applying Lemma 15 (iii) yields . This verifies that is the root set of both and .
(2) This is apparent because and .
(3) According to Lemma 30 in Appendix D we have the inclusion
where we used the property to get the first inclusion.
We conclude that is a hedge in .
Theorem 21. Suppose a c-coherent cluster in a causal graph . Then the clustering of T is a universally identification invariant operation.
Proof Let be disjoint. We denote by be the graph induced by the clustering of , and by the vertex representing the set . According to Theorem 17, it suffices to show that if there is a hedge in , then we can always find a corresponding hedge in . We assume that the hedge in contains the vertex , because otherwise exactly the same hedge exists in , which is proven similarly to in the proof of Theorem 19.
Let us denote the root set of by . We construct the hedge as follows: If , then we replace by the vertex provided by Definition 20 in both c-forests, which is enabled by the property that . The root set in is then . On the other hand, if is not in the root set, then it has exactly one child in . By Definition 20 there is a directed path such that and the graph is a c-component. We replace the vertex by this c-component in . If is also present in , then we perform the same substitution in as well. The root set remains the same, that is, .
We prove that is a hedge by showing that the conditions (1)–(3) of Definition 8 are satisfied:
(1) We observe that the assumption ensures that if there is a bidirected arc connecting to in , then in there is a corresponding bidirected arc connecting to . Furthermore, belongs to each of the c-components we formed by replacing by the directed path from to . Bidirected arcs between vertices outside the cluster are unaffected. Consequently, and are c-components, and since in the substitutive path each observed vertex has exactly one child, and are in fact c-forests.
We still need to show that is the root set of the c-forests. Let us first consider the case . In this case the only modification we made to the c-forests was to replace by , and since has exactly the same parents as , it is apparent that is the root set. In the case it follows from Lemma 15 (iii) that for all , which then implies that is the root set of both c-forests also in .
(2) Since is disjoint from , it follows from the identities and that , and .
(3) We exploit Lemma 30 in Appendix D and the property to get
If , then also , so it follows immediately that . On the other hand, if , then . To show that , we first observe that because , there is a directed path for some in . Applying Definition 20 we find a corresponding path in for some . Recalling that , this path also exists in . Thus, .
We conclude that is a hedge for the causal effect in .
Theorem 23. Suppose a c-isolated set in a causal graph . Then clustering of T is a universally identification invariant operation.
Proof Let be disjoint sets. We denote by the graph induced by clustering of , and we let be the vertex representing the set . According to Theorem 17, it suffices to show that the presence of a hedge in implies the presence of a corresponding hedge in . If the hedge in does not contain the vertex , then exactly the same hedge exists in , which can be seen using a similar argument as in the proof of Theorem 19.
Let us then suppose that the vertex is present at least in the larger c-forest . Because there cannot be a c-component which contains both and its descendants, is necessarily in the root set . We construct a hedge in by replacing by in where it is necessarily present, and also in in the case . The root set is then . This construction yields a hedge because we only modify the root set by replacing one vertex with another one with similar properties, i.e., all bidirected arcs connecting to also connect to by the assumption that .
Theorem 24. Suppose a cluster in a causal graph such that clustering of in induces a DAG. Let be a graph obtained from by removing a subset , the edges connected to , and a subset of edges , , so that clustering of is a universally identification invariant operation in . Let be the graph induced by clustering of in . If a causal effect , where , is not identifiable in , then is not identifiable in .
Proof As clustering of is a universally identification invariant operation in , nonidentifiability in implies nonidentifiability in . The original graph can be obtained from by adding the vertices and the edges that were removed. Inserting latent variables or new edges to cannot render a nonidentifiable causal effect identifiable, and therefore the causal effect is not identifiable from in .
Theorem 25 (Iterative clustering). Let be disjoint sets in a causal graph . Suppose a family of graphs for , and vertex sets such that and is obtained from by clustering the set for all . Denote by a distribution Markov relative to such that , and assume that for all
• the graph is a DAG, and
- the operation that clusters the set in the graph is an identification invariant operation for the causal effect .
Then the iterated clustering operation is identification invariant for the causal effect .
Proof We prove the claim by induction. In the case the iterated clustering operation corresponds to clustering a single set, hence the identification invariance follows from the assumptions. Next suppose that the assertion holds for , that is, the causal effect is identifiable in if and only if the corresponding causal effect is identifiable in . On the other hand, the operation that maps to is assumed to be identification invariant for , that is, the causal effect is identifiable in if and only if is identifiable in . Combining these two equivalence relations implies that the iterated operation is identification invariant for the given causal effect.
Corollary 26. Suppose an iterated clustering operation
defined as in Theorem 25. If the operation is universally identification invariant for all , then the iterated operation is identification invariant for each causal effect not involving variables for any .
Proof Each individual clustering operation is identification invariant for all causal effects not involving the variables of the corresponding cluster , so in particular the operation is identification invariant for all causal effects not involving variables of any , . The assertion then follows from Theorem 25.
Appendix C. Transit Cluster
A transit cluster (Tikka et al., 2023) is a special type of a coherent cluster that is uniquely determined by its receivers and emitters, which we define below.
Definition 27 (Receiver). For a set of vertices in a causal graph , the set of receivers is the set
that is, the set of all vertices of T that have parents outside the vertex set T (excluding those unobserved parents whose both children are in T).
We note that receivers also include those vertices that have an unobserved parent whose other child is outside the cluster, that is, vertices that are connected via a bidirected arc to a vertex outside the cluster.
Definition 28 (Emitter). For a set of vertices in a causal graph , the set of emitters is the set
that is, the set of all vertices of T that have children outside the vertex set T.
A transit cluster is defined as follows:
Definition 29 (Transit cluster). A set of vertices in a causal graph is a transit cluster if the following conditions hold:
(T1) For all pairs of receivers it holds (i.e., all receivers have the same parents).
(T2) For all pairs of emitters it holds (i.e., all emitters have the same children).
(T3) For all vertices there exists a receiver or an emitter such that and or and are connected via an undirected path in the subgraph , which is obtained from by removing all incoming edges to and all outgoing edges from .
(T4) If , then for all there exists an such that .
(T5) If , then for all there exists an such that .
Definition 29 deviates slightly from the definition of a transit cluster used by Tikka et al. (2023) and Tabell et al. (2026) since we only allow clustering of observed vertices. However, if T is a transit cluster according to Definition 29, then the augmented cluster (i.e., the set T with all unobserved vertices whose both children are in T) is considered a transit cluster in the aforementioned articles.
Appendix D. Auxiliary Results
In coherent clustering "similar" hedges in the original and the clustered graph also share a similar root set, a property which is continuously exploited in the proofs of Section 4. A more precise statement is presented below.
Lemma 30. Let be disjoint sets in a causal graph . Suppose a coherent cluster , and let be the graph induced by the clustering of with a vertex representing . Then .
Proof "⊆": Let . Then there is a directed path in such that and . By Lemma 15 (ii) the vertices in the path that belong to form a subpath. Since , we can replace this subpath by the vertex to obtain a path connecting to in . Thus, .
"⊆:" Let . Again there is a directed path in , where and . This path can have at most one occurrence of the vertex , because otherwise there would be a directed cycle in . We use Definition 14 to replace the vertex in the path by a subpath such that in . Since , the substitutive path also exists in , hence .
Appendix E. Explanation of Variables in the Demonstration Example
Table 1 provides explanation of variables appearing in the graphs of Figure 5 in Section 5.
| Vertex | Variable |
|---|---|
| Demography | |
| Socioeconomic status | |
| Noise sensitivity | |
| Chronic diseases | |
| Lifestyle | |
| Population density | |
| Neighborhood noise | |
| Rail traffic noise | |
| Road traffic noise | |
| Noise annoyance | |
| Sleep medication use |
Table 1: Explanation of variables in Figure 5.
References
T. V. Anand, A. H. Ribeiro, J. Tian, and E. Bareinboim. Causal effect identification in cluster DAGs. Proceedings of the AAAI Conference on Artificial Intelligence, 37(10):12172–12179, 2023. doi: 10.1609/aaai.v37i10.26435.
S. Beckers and J. Y. Halpern. Abstracting causal models. Proceedings of the AAAI Conference on Artificial Intelligence, 33(01):2678–2685, 2019. doi: 10.1609/aaai.v33i01.33012678.
J. Evandt, B. Oftedal, N. H. Krog, S. Skurtveit, P. Nafstad, P. E. Schwarze, E. Skovlund, D. Houthuijs, and G. M. Aasvang. Road traffic noise and registry based use of sleep medication. Environmental health, 16(1), 2017.
S. Ferreira and C. K. Assaad. Identifying macro causal effects in a C-DMG over ADMGs. Transactions on Machine Learning Research, July 2025.
S. Ferreira and C. K. Assaad. Identifying macro causal effects in C-DMGs over DMGs. Advances in Neural Information Processing Systems, 38:110831–110852, 2026.
K. Göbler, T. Windisch, and M. Drton. Nonlinear causal discovery for grouped data. In Proceedings of the Forty-First Conference on Uncertainty in Artificial Intelligence, UAI '25. JMLR.org, 2025.
F. Madaleno, P. Misra, and A. Markham. Coarsening causal DAG models. arXiv preprint arXiv:2601.10531, 2026.
R. Massidda, S. Magliacane, and D. Bacciu. Learning causal abstractions of linear structural causal models. In Proceedings of the Fortieth Conference on Uncertainty in Artificial Intelligence (UAI), volume 244 of Proceedings of Machine Learning Research, pages 2486–2515. PMLR, July 2024.
U. Ninad, J. Wahl, A. Gerhardus, and J. Runge. Causal discovery on vector-valued variables and consistency-guided aggregation. arXiv preprint arXiv:2505.10476, 2025.
J. Pearl. Causal diagrams for empirical research. Biometrika, 82(4):669–710, 1995. doi:10.1093/biomet/82.4.669.
T. Richardson. Markov properties for acyclic directed mixed graphs. Scandinavian Journal of Statistics, 30(1):145–157, 2003. doi: https://doi.org/10.1111/1467-9469.00323. URL https://onlinelibrary.wiley.com/doi/abs/10.1111/1467-9469.00323.
T. Richardson, R. J. Evans, J. M. Robins, and I. Shpitser. Nested Markov properties for acyclic directed mixed graphs. The Annals of Statistics, 51(1):334–361, 2023.
P. K. Rubenstein, S. Weichwald, S. Bongers, J. M. Mooij, D. Janzing, M. Grosse-Wentrup, and B. Schölkopf. Causal consistency of structural equation models. In Proceedings of the Conference on Uncertainty in Artificial Intelligence (UAI), 2017.
I. Shpitser. When does the ID algorithm fail? arXiv preprint arXiv:2307.03750, 2023. URL https://arxiv.org/abs/2307.03750.
I. Shpitser and J. Pearl. Identification of joint interventional distributions in recursive semi-Markovian causal models. In Proceedings of the 21st National Conference on Artificial Intelligence (AAAI), pages 1219–1226, 2006.
O. Tabell, S. Tikka, and J. Karvanen. Clustering and pruning in causal data fusion. Journal of Machine Learning Research, 27(175):1–56, 2026. URL http://jmlr.org/papers/v27/25-1140.html.
P. W. Tennant, E. J. Murray, K. F. Arnold, L. Berrie, M. P. Fox, S. C. Gadd, W. J. Harrison, C. Keeble, L. R. Ranker, J. Textor, G. D. Tomova, M. S. Gilthorpe, and G. T. H. Ellison. Use of directed acyclic graphs (DAGs) to identify confounders in applied health research: review and recommendations. International Journal of Epidemiology, 50(2): 620–632, 2021. doi: 10.1093/ije/dyaa213.
J. Tian and J. Pearl. A general identification condition for causal effects. In Eighteenth National Conference on Artificial Intelligence, pages 567–573. American Association for Artificial Intelligence, 2002.
S. Tikka, J. Helske, and J. Karvanen. Clustering and structural robustness in causal diagrams. Journal of Machine Learning Research, 24(195):1–32, 2023.
T. S. Verma. Graphical aspects of causal models. Technical report, Department of Computer Science, University of California, Los Angeles, 1993. R-191.
J. Wahl, U. Ninad, and J. Runge. Foundations of causal discovery on groups of variables. Journal of Causal Inference, 12(1):20230041, 2024. doi: doi:10.1515/jci-2023-0041. URL https://doi.org/10.1515/jci-2023-0041.
C. Yvernes, E. Devijver, A. Ribeiro, M. Clausel, and E. Gaussier. Relaxing partition admissibility in cluster-DAGs: a causal calculus with arbitrary variable clustering. Advances in Neural Information Processing Systems, 38:72492–72525, 2026.
A. Zeng, M. Cafarella, B. Kenig, M. Markakis, B. Youngmann, and B. Salimi. Causal DAG summarization. Proceedings of the VLDB Endowment, 18(6):1933–1947, 2025.