Abstract
The bulk of causal inference studies rule out the presence of interference between units. However, in many real-world scenarios, units are interconnected by social, physical, or virtual ties, and the effect of the treatment can spill from one unit to other connected individuals in the network. In this paper, we develop a machine learning method that uses tree-based algorithms and a Horvitz–Thompson estimator to assess the heterogeneity of treatment and spillover effects with respect to individual, neighborhood, and network characteristics in the context of clustered networks and interference within clusters. The proposed network causal tree (NCT) algorithm has several advantages. First, it allows the investigation of the heterogeneity of the treatment effect, avoiding potential bias due to the presence of interference. Second, understanding the heterogeneity of both treatment and spillover effects can guide policymakers in scaling up interventions, designing targeting strategies, and increasing cost-effectiveness. We investigate the performance of our NCT method using a Monte Carlo simulation study and illustrate its application to assess the heterogeneous effects of information sessions on the uptake of a new weather insurance policy in rural China.
Keywords: Causal inference, interpretable machine learning, interference, social networks, heterogeneous effects
1. Introduction.
1.1. Motivation.
According to Cox (1958), interference occurs if one’s outcome is affected by the treatment of other individuals. In behavioral interventions, interference may arise due to social and virtual interactions. In marketing, the exposure to an advertisement might indirectly affect other individuals due to social influence on consumption choices (Parshakov, Naidenova and Barajas (2020)) or due to the propagation of the advertisement to nonexposed users through social media (Chae et al. (2017)). In the presence of interference, the effect of the treatment of other units on one’s outcome is usually referred to as spillover effect. Investigating spillovers is crucial for understanding the full impact of an intervention at the population level. Information about spillover effects can guide public funds allocation and decisions about how best to deliver interventions. In fact, the presence of beneficial spillover effects allows treating a lower percentage of the population because the untreated individuals would still benefit from the treatment received by others. Furthermore, heterogeneous spillover effects could be leveraged by designing targeting strategies aimed at making the interventions more cost-effective. When spillovers are not present, this can be achieved by targeting those with the highest treatment effect. In fact, in the field of personalized medicine, it is well known that individuals with different characteristics might respond differently to the treatment (see, e.g., Murphy (2003), Chakraborty and Murphy (2014), Kosorok and Laber (2019), Kent et al. (2020)). In the presence of interference, we also have that different individuals might be more or less susceptible to the treatment received by others. Therefore, both the treatment and the spillover effects may be heterogeneous.
A targeting (or seeding) strategy aims to deliver the intervention to certain individuals so that the impact on the overall population is maximized (see, e.g., Valente (2012), Kim et al. (2015), VanderWeele and Christakis (2019), Montes et al. (2020)). Previous work has designed seeding strategies either by using information on the network structure and simplified diffusion processes typically excluding heterogeneity (see, e.g., Kempe, Kleinberg and Tardos (2003)) or by applying optimization algorithms to weighting nonparametric estimators, which are meant to estimate the overall effect of hypothetical targeting strategies without an investigation of the underlying mechanisms (Viviano (2024)).
Here, we take a different perspective by assessing the heterogeneity of susceptibility to direct and indirect exposure to treatment. An assessment of the heterogeneity of treatment and spillover effect is crucial not only for designing a cost-effective roll-out of the intervention within the targeted population, but it can also allow a generalization of its impact to other populations.
1.2. Contributions.
In this paper, we bridge the gap between the two strands of causal inference literature that focus on interference and heterogeneous causal effects1 by proposing a new algorithm for the interpretable discovery and estimation of heterogeneous treatment and spillover effects with respect to potentially a large number of characteristics, including individual and network features. Our method is designed for randomized experiments with individual-level randomization affected by the presence of clustered network interference; that is, units are organized in a clustered structure with no interactions between clusters and a network of connections within clusters, for example, friendship networks within schools. In this setting spillover effects are confined within clusters and are assumed to take place on network interactions. We introduce a novel methodology capable of simultaneously discovering and estimating heterogeneity in both treatment and spillover effects. Through the introduction of a novel composite splitting function, our approach facilitates a comprehensive exploration of heterogeneity and enables the simultaneous identification of regions in the covariate space where there is heterogeneity in both treatment and spillover effects, that is, in the individual’s response to their own treatment and to the treatment of their social ties. As far as we are aware, no prior study has provided such a comprehensive framework.
Our proposed method, network causal tree (NCT), builds upon the causal trees proposed by Athey and Imbens (2016). We first contribute to the existing literature on interference by developing an unbiased estimator for conditional treatment and spillover effects. We extend the Horvitz–Thompson estimator in Aronow and Samii (2017) to conditional causal effects under clustered network interference. This estimator is then used in our NCT algorithm to choose the binary splits that maximize heterogeneity and to finally estimate the heterogeneous causal effects within the selected subpopulations. Our work further extends the theoretical properties of the Horvitz–Thompson estimator developed by Aronow and Samii (2017) to encompass conditional leaf-specific effects in a clustered network setting.
In addition, we extend causal trees to settings with interference by modifying the splitting criterion to target treatment and/or spillover effects. To use the selected partition of the covariate space and the estimated treatment and spillover effects to guide policies, heterogeneous subpopulations should be identified based on the causal effects that will be part of the decision rule. For instance, a policy that assigns treatment to those who would benefit the most from it requires the discovery of subpopulations with heterogeneous treatment effects. Alternatively, a policy designed to target those who will respond to both their own treatment and their neighbors’ treatment must identify subpopulations with high treatment and spillover effects. Hence, the proposed NCT methodology is optimized to detect heterogeneity in treatment and spillover effects: (i) either simultaneously or (ii) separately. Indeed, by reworking the criterion function of the seminal causal trees algorithm to account for interference, we allow the algorithm to detect heterogeneity in the treatment and/or spillover effects based on the specific needs of the researcher.
We conduct a simulation study to investigate the performance of the proposed algorithm with respect to two dimensions: its ability (i) to correctly identify the actual heterogeneous subpopulations and (ii) to precisely estimate the conditional treatment and spillover effects. While the latter performance assessment is quite standard in the literature, the former is critical for interpretable algorithms for heterogeneous causal effects (Bargagli-Stoffi, De Witte and Gnecco (2022)). Finally, we apply the proposed NCT algorithm to a randomized experiment conducted in China to assess the impact of information sessions on the purchase of a new weather insurance policy (Cai, De Janvry and Sadoulet (2015)). Besides estimating the sample average treatment and spillover effects, our aim is to detect strata of the population where one or both effects are heterogeneous and estimate these effects within these strata. The proposed NCT is implemented in the NetworkCausalTree open-source R package, which can be found at https://github.com/fbargaglistoffi/NetworkCausalTree.
The remainder of the paper is organized as follows. In Section 2 we introduce the motivating application of the paper and the empirical setting. In Section 3 we introduce the notation, setting, and assumptions that we employ throughout the paper. In Section 4, we define the conditional causal effects in a general partition of the covariate space and develop a Horvitz–Thompson estimator. Section 5 presents the proposed NCT algorithm. We then conduct a simulation study to assess the performance of the algorithm and the estimator under different scenarios in Section 6, and we illustrate the application of the network causal tree on a randomized experiment in Section 7. Section 8 concludes the paper with a discussion of the proposed algorithm and directions for further research.
2. Motivating application.
2.1. Agricultural insurance policies against extreme weather events.
In 2021 alone, worldwide, there were 432 disasters related to extreme weather events that killed 10,492 people and incurred nearly US$ 252 billion in damages (Centre for Research on the Epidemiology of Disasters (CRED) (2022)). Climate-related disasters are expected to increase in frequency and severity in the future due to global warming (Ebi et al. (2021)), posing an increasing burden on vulnerable communities (Lal, Alavalapati and Mercer (2011), Rogers and Xue (2015), Huq et al. (2015)). Asia, particularly China (Zhao (2020)), is often the most severely impacted continent: in 2021, it suffered 40% of all world’s disasters (Centre for Research on the Epidemiology of Disasters (CRED) (2022)). In China, rural communities have suffered the highest costs: in recent decades, weather hazards and disasters have affected about a quarter to a third of arable land (Liu et al. (2010)). Against this backdrop, agricultural insurance policies play a key role by reducing agricultural production risks and providing economic support to farmers (Barnett and Mahul (2007)). Therefore, enhancing insurance uptake by understanding the mechanisms influencing farmers’ decisions have become critical. Recent studies have looked at either: (i) the determinants of farmers’ insurance purchase decisions (Giné, Townsend and Vickery (2008), Gaurav, Cole and Tobacman (2011), Cole et al. (2013), Cai and Song (2017), Cai, De Janvry and Sadoulet (2015), Sibiko and Qaim (2020), Dercon et al. (2014)) or at (ii) the effectiveness of training sessions on insurance uptake (Sibiko and Qaim (2020), Dercon et al. (2014)), including spillover effects through peer influence and the spread of information (Cai, De Janvry and Sadoulet (2015)). However, none of these studies has produced a comprehensive and data-driven investigation of the heterogeneous effectiveness both at the individual level for those receiving the intervention and at the community level for those exposed to the information through spillover. However, this task is crucial, as it enables a deeper understanding of the policies and can guide more effective interventions.
The methodology proposed in this paper addresses this shortcoming. By identifying the variables driving the heterogeneity of both the treatment and spillover effects and estimating these effects, the proposed NCT will be able to identify those who are more likely to respond to training sessions and purchase weather insurance policies as a result of participating in these sessions as well as to identify those who are more likely to respond to the influence and information provided by their friends who have attended the training sessions.
2.2. Empirical setting: Randomized experiment in rural China.
We use data from a randomized experiment designed to assess the impact of intensive information sessions to promote the uptake of a new weather insurance policy among rice farmers in rural China (Cai, De Janvry and Sadoulet (2015)). The experiment, conducted in rural villages in south-east China, had a factorial design with three factors: (i) intensive vs. simple information sessions, (ii) time of attendance (round 1 or 2), and (iii) additional information provided on previous purchase decisions of other village members. In the main analysis, we focus on the effects of the intensive information session at round 1, including the direct effect on those who receive it and the spillover effect of having friends who did. At baseline, rice farmers participating in the study were also asked to identify up to five of their friends among other participants. This network collection gives rise to a binary and directed network in each village, forming a clustered network.
In this setting, interference is likely to arise. In fact, households receiving intensive information sessions on the insurance policy may share what they have learned with untreated households in their friendship network. In addition, those who purchase the policy in response to the information received may encourage their friends to do the same.
3. Clustered network interference and unit-level randomization.
3.1. Notation and setting.
Let us consider a sample of units organized in separate clusters. Let be the cluster indicator, and let be the unit indicator in each cluster . Let us now consider a connection structure such that units belonging to the same cluster might share a link, whereas units belonging to different clusters are not connected. This clustered network structure is represented by a graph , where defines the set of nodes and defines the set of edges (links), which is in turn an ensemble of disjoint subgraphs, , . The adjacency matrix corresponding to graph is a block-diagonal matrix with blocks, , , where each element is equal to 1 if there is a link between unit and unit in cluster , that is, if . Elements in off the blocks are equal to zero, indicating no links between units belonging to different clusters. In our weather insurance application, the subgraph represents the friendship network among farmers in village (see Figure H.1).
Let be a binary variable representing the treatment assigned to unit in cluster , and let be the observed outcome. We denote by and the treatment and outcome vectors in each cluster . Similarly, and denote the treatment and outcome vectors in the whole sample. In our empirical application, the outcome is the indicator for the insurance uptake by household in village . Given the factorial design, the definition of the binary treatment variable depends on the factorial combination of interest. In the main analysis, presented in Section 7, the treatment variable equals 1 if household in village received an intensive information session at round 1 and 0 otherwise. Moreover, for each unit , we observe a vector of covariates (or pretreatment variables) that are not influenced by the treatment assignment. The vector of covariates might include individual characteristics (e.g., age, education, sex, socioeconomic status,...) and cluster-level characteristics (e.g., cluster size, location,...) as well as network characteristics representing aggregated individual characteristics (e.g., average age or proportion of males and females,...) or the network topology (e.g., degree, centrality, transitivity,... ).
Panel (a) of Figure 1 provides a graphical intuition on the clustered network structure.
FIG. 1.
Panel a) Clustered network structure with individual treatment. Edges indicate links between units, within each cluster. Colors refer to the individual treatment: grey-colored nodes represent treated units, and white-colored vertices indicate untreated units. Panel b) Partition of the covariate space with connected units in one cluster.
3.2. Clustered network interference.
Following the potential outcome framework (Rubin (1974), Holland (1986)), we denote by the potential outcome that unit in cluster would experience if the treatment vector in the whole sample were , with . Under the assumption of no interference, the potential outcome could be indexed only by the individual treatment assignment . In combination with the assumption of consistency (see Assumption 2 below), this assumption is known as Stable Units Treatment Value Assumption (SUTVA) (Rubin (2008)). The no-interference assumption is violated in many real-world scenarios, as may be the case in our empirical application.
In this paper we focus on a particular type of interference: clustered network interference. As we will show later, focusing on this type of interference is critical to ensure asymptotic properties of the estimator for conditional causal effects as well as to allow the network causal tree to divide the sample into training (or discovery) set and estimation set (and testing set, if applicable).
Clustered network interference implies that: (i) interference between clusters is ruled out, that is, one’s outcome may only be affected by the treatment received by units belonging to the same cluster; (ii) one’s outcome is affected by a weighted function of the treatment status of potentially all units in their own cluster, with weights depending on the presence and possibly the value of network links.
Let be the vector that collects the treatment status of all units in cluster , except unit . Let be a function that maps a cluster assignment vector to an exposure value. Without loss of generality, we define it as a function of the dot product between the cluster assignment vector and a vector of weights , which in turn depends on the adjacency matrix and the covariate matrix , that is, . For instance, the function could result in the number or proportion of treated units in a cluster. In this case the weight vector would be equal to or , respectively. Alternatively, we could use the adjacency matrix to compute the geodesic distance between each pair of nodes in cluster and let . The function is similar to the effective treatments function in Manski (2013) and the exposure mapping function in Aronow and Samii (2017), although here it applies only to the cluster treatment vector. To simplify notation, throughout we will omit the weight vector in the function . We can now formalize the clustered network interference assumption as follows.
Assumption 1 (Clustered Network Interference).
Given a function , , , and , such that , the following equality holds: .
Assumption 1 states that the outcome of unit in cluster depends on the individual treatment and a function of the treatment status of the other members of cluster —that is, —regardless of the specific treatment status of each member. This assumption can be viewed as intermediate between: (i) assuming no interference and (ii) making no assumptions about the nature of interference. The partial interference and the stratified interference in Hudgens and Halloran (2008) are special cases of the clustered network interference assumption, with and , respectively. Let , referred to as network exposure throughout. Under Assumption 1 each unit has potential outcomes, which we can write in terms of individual treatment and network exposure as , representing the potential outcome of unit under and .
We denote by the set of units defining the network exposure, that is, the set of units whose treatment is assumed to affect one’s potential outcome through . Formally, , that is, it is the set such that if , then . When the weight function is such that elements if , that is, units that are not directly connected to unit receive a weight equal to zero, then interference is limited to the neighborhood of each unit, with (Forastiere, Airoldi and Mealli (2021)). In most of the literature on spillover effects, the set is either the cluster (Hudgens and Halloran (2008)) or the network neighborhood (Forastiere, Airoldi and Mealli (2021)). Alternative specifications are also possible and might involve higher-order neighbors.
We also assume the following consistency assumption.
Assumption 2 (Consistency).
This assumption rules out different versions of the treatment and different ways in which a value of the network exposure can affect the outcome of a unit. Under a finite sample perspective, we assume that the potential outcome is fixed but unknown, except for the observed . Therefore, the only source of randomness in the potential outcomes is given by the treatment random assignment and the consequent random network exposure.
For the purpose of assessing effect heterogeneity using tree-based methods, we will further consider a discrete exposure mapping function by making the following assumption.
Assumption 3 (Discrete Network Exposure).
There exists a discrete exposure mapping function such that Assumption 1 holds and is known and well specified.
This assumption implies that the network exposure is a discrete variable. For instance, we can define a binary network exposure based on a threshold function applied to the number of treated neighbors,
| (1) |
where is a threshold. In our simulation study as well as in the main analysis of the application, we have chosen the following definition: , that is, the network exposure is 1 if at least one network neighbor is treated. In the empirical application, we also vary the threshold , to assess the robustness of the results. As a consequence, both individual treatment and network exposure are defined as binary variables and . It follows that the support of the joint treatment variable is finite and comprises four possible realizations: .
A discrete network exposure is crucial for our causal tree algorithm, at least in the version proposed in this paper. Indeed, the algorithm relies on the presence of enough observations for each treatment and exposure value to allow the estimation of the causal effects.2
3.3. Unit-level randomization and induced marginal and joint distributions.
In this work, we consider an experimental design with a unit-level randomization of the treatment, which is independent between clusters but might be dependent within them. Therefore, the treatment vector is a random vector with probability distribution and the following assumption holds.
Assumption 4 (Independent treatment allocation between clusters).
, where is the treatment vector in each cluster .
We denote by the known unit-level probability that is equal to 1 under the experimental design in place.
Since network exposure is a deterministic function of the cluster assignment vector , then the randomization distribution induces, together with the definition of the function , a probability distribution of the vector of network exposures G in the whole sample. Hence, the probability for a unit to be exposed to a specific value of network exposure , given the individual treatment , denoted by , is known and can, in principle, be computed from the probability distribution . Note that we can drop the dependency from the individual treatment and write when the randomization is independent between units.
Let be the domain of the joint individual and network exposure status, that is, . Let denote the marginal probability for unit of being assigned to individual treatment and being exposed to the network status . The following holds:
| (2) |
This marginal probability is a crucial component of the Horvitz–Thompson estimator for causal effects under network interference. For instance, if the experimental design is a Bernoulli trial with unit-level probability and the network exposure is defined by a threshold function on the neighborhood, as in Equation (1), then the joint probability could be computed as follows:
| (3) |
where is the number of neighbors (degree) of unit .
To deal with well-defined potential outcomes, we must assume that each unit has a nonzero probability of exposure to each .
Assumption 5 (Positivity).
.3
The estimator that we propose below also requires the so-called pairwise exposure probabilities. Given specific exposure conditions and , a pairwise exposure probability, denoted by , quantifies the probability that the two events and occur, that is, . In general, we have
| (4) |
In the event that both units are exposed to the same condition , we denote the pairwise exposure probability by .
In the case of an experimental design assigning treatment independently between clusters, under the clustered network interference the two events and , with , are independent and . In the case of a Bernoulli trial and the network exposure defined on the neighborhood only, this is also true for units and belonging to the same cluster, that is, , but are not connected and do not share neighbors. When instead they are connected and/or share some neighbors, their joint treatment will be dependent.
4. Conditional treatment and spillover effects and Horvitz–Thompson estimator.
4.1. Conditional treatment and spillover effects.
Our ultimate goal is to detect the regions of the covariate space exhibiting heterogeneity in the causal effects and estimate the causal effects of interest in these heterogeneous regions. In this section we will focus on the definition and estimation of conditional treatment and spillover effects. We will assume that the heterogeneous regions that we want to investigate have already been identified, either a priori according to subject-matter knowledge or accounting to data-driven methods.
Let us denote with a partition of the covariate space into nonoverlapping regions: , where , and with being a function that maps each vector of the covariate space into a region. Let be the size of each region , with , and let be the subset of units belonging to region in cluster , with . In the machine learning literature, these nonoverlapping regions are referred to as nodes. For consistency, throughout we will use this terminology, regardless of whether the partition has been a priori defined or is the result of a tree-based algorithm. In addition and to ease notation, we will drop the reference to the partition from the mapping function .
When units are organized in a network, it is worth noting that a partition of the covariate space divides the sample units into subpopulations according to similarities in their characteristics, regardless of their network distance. Hence, two connected units might belong to different regions of the partition. However, in a homophilous network, where the probability of forming a link depends on the similarity in certain features and, hence, connected units are likely to share similar characteristics, a partition of the covariate space is also likely to cluster connected units together (see panel (b) of Figure 1).
Given a partition , we now define conditional average potential outcomes under each individual treatment and network exposure condition . For the subset of units with covariate vectors that are mapped to the same region by the function , we define the leaf-specific average potential outcome under treatment and exposure condition as follows:
| (5) |
Note that is a sample average; that is, it is the average potential outcome for all units in sample with a covariate vector mapped to the same region .
Leaf-specific conditional average causal effect (CACE) can be defined by comparing average potential outcomes under two different conditions,
| (6) |
We denote by the set of possible contrasts. For instance, if both the individual treatment and the network exposure are binary, then . We define as leaf-specific treatment effects causal contrasts that keep the network exposure fixed at a level while changing the individual treatment from to . These represent the causal effects of receiving the treatment while the network exposure is kept fixed at . For instance, in the weather insurance application, may represent, for farmers with similar characteristics (e.g., older than 50 years old and educated), the average effect on insurance uptake of directly receiving the intensive information session at round 1 vs. receiving the simple session at round 1 or any type of session at round 2, while no friend has received the intensive session at round 1.
On the contrary, we define as leaf-specific spillover effects causal contrasts that keep the individual treatment fixed at a level while changing the network exposure from to . These spillover effects can be seen as causal effects of a change in the treatment status of other units such that the network exposure also changes, while the individual treatment status is kept fixed. For instance, in our empirical application may represent, for farmers with similar characteristics (e.g., older than 50 years old and educated) and who have received the simple information session at round 1 or any type of session at round 2, the average spillover effect on insurance uptake of having at least one friend who has received the intensive session at round 1.
It should be emphasized that corresponds to a unit-level intervention setting the treatment and network exposure of each unit to specific values, as opposed to population-level hypothetical interventions as in Hudgens and Halloran (2008).4
4.2. Estimator for leaf-specific CACE.
Here we develop a Horvitz–Thompson estimator for leaf-specific conditional average causal effects. The derivation of the proposed estimator builds upon the estimator for average causal effects under network interference proposed by Aronow and Samii (2017).
Following Horvitz and Thompson (1952) and Aronow and Samii (2017), a design-based estimator for the leaf-specific average potential outcome under individual treatment and network exposure , , can be expressed as
| (7) |
where denotes the probability of a given unit that belongs to the leaf (in a partition ) to be exposed to the treatment condition .
The variance estimator of can be expressed as
| (8) |
This expression extends the variance estimator derived in Aronow and Samii (2017) (equation 7) to the case of conditional average potential outcomes and clustered network interference. In fact, the second term in (8) includes the covariance between the individual treatment and network exposure of two units belonging to the same leaf . Under an experimental design with independent treatment allocation between clusters and under clustered interference, such covariance between two units belonging to different clusters is zero, and the second term should be restricted to units in the same cluster as . In addition, the covariance between the joint treatment of two units is nonzero if the set of units defining the network exposure—–for example, the unit’s neighborhood—is shared between them or includes them. Formally, let . If , the joint treatment of units and will be dependent and . Two units belonging to the same leaf are more likely to have intersecting sets and (e.g., shared neighbors) if the sets are homogeneous, that is, units belonging to these sets share similar characteristics. Settings with homophilous networks are investigated in the Supplementary Material.
An estimator for the leaf-specific conditional average causal effect of the exposure condition compared to the configuration can be written as
| (9) |
The estimated variance of the estimator can be decomposed as follows:
| (10) |
with the covariance estimator taking the following expression for the case when :
| (11) |
Further details about the variance estimator of leaf-specific CACE can be found in the Supplementary Material.
4.2.1. Properties of the Horvitz–Thompson estimator.
Here we will describe the properties of the Horvitz–Thompson estimator of leaf-specific causal effects. Asymptotic results will rely on a growth process that is commonly assumed with cluster data. In particular, we consider a sequence of nested samples of size , where consists of separate clusters of size , . We let the sample size by letting the number of clusters go to infinity—that is, —while the cluster size , remains fixed.
Proposition 1 (Unbiasedness).
Under Assumptions 1, 2, 3, 4, and 5, then
and
Proof. Proof in the Supplementary Material. □
The unbiasedness of the estimator of leaf-specific CACE is conditional on the partition and the function . When building causal trees to assess the heterogeneity of causal effects, we will rely on this property to derive the splitting criterion and to estimate leaf-specific causal effects.
Proposition 2 (The variance estimator of is unbiased).
Under Assumptions 1, 2, 3, 4, and 5, if , then
The proof follows directly from the unbiasedness of the Horvitz–Thompson estimator. A conservative estimator for the case when for some units can be found in the Supplementary Material.
Proposition 3 (The variance estimator of is conservative).
Under Assumptions 1, 2, 3, 4, and 5, then
A proof follows from Aronow and Samii (2017).
Proposition 4 (Consistency of the estimator).
Consider the asymptotic regime where the number of clusters go to infinity—that is, —while the cluster size remains bounded, that is, for some constant . In addition, assume that . Then under Assumptions 1, 2, 3, 4, and 5, as
Proof. Proof in the Supplementary Material. □
Note that cluster network interference (Assumption 1) and independent treatment allocation between clusters (Assumption 4 ) ensure that the amount of dependence across units is limited. This limited independence is the condition required to ensure consistency (Aronow and Samii (2017)),
This is guaranteed, given that the joint treatment is independent between units in different clusters, that is, , and given that the cluster size is bounded.
Proposition 5 (Asymptotic Normality).
Given Assumptions 1, 2, 3, 4, and 5, then
An independent treatment allocation between clusters (Assumption 4) and the clustered network interference (Assumption 1) also ensure the limited dependence condition required in Aronow and Samii (2017), or asymptotic normality. This condition allows us to rely on a central limit theorem derived via Stein’s method (Chen and Shao (2004)) to achieve the asymptotic normality of the estimator. The variance estimators will depend on the size of the sample belonging to leaf in each cluster—that is, —and the maximum conditional degree,
Given that these quantities are bounded, we can show that
that is, the rate of convergence will be , with (the proof follows that of Aronow and Samii (2017)).
It is worth noting that, thanks to the asymptotic growth assumed here, Proposition 5 would still hold if the covariate vector included network covariates defined both at the cluster-level or at the individual-level. This result would allow us to investigate the heterogeneity of causal effects with respect to network characteristics, including variables that represent the network structure.
5. Network causal trees for heterogeneous causal effects under clustered network interference.
In the previous section, we have introduced an estimator for causal effects conditional on subpopulations of units defined by a partition of the covariate space . Here we develop a data-driven machine learning algorithm to identify the partition aimed at investigating the heterogeneity in the effects of interest.
Our proposed algorithm—named network causal tree (NCT)—builds upon the causal tree (CT) algorithm introduced by Athey and Imbens (2016), which in turn finds its roots in the classification and regression tree (CART) algorithm (Friedman et al. (1984)). CART is a widely used nonparametric method to partition the feature space. It relies on a tree-based algorithm that recursively splits the sample. In particular, trees are constructed by partitioning the observations from the root, containing all the observations in the learning samples, into two child nodes. This procedure is repeated until the tree reaches the final nodes, which are called leaves. Because each node is always split into two subnodes, these trees are known as binary trees. Binary trees are called regression trees when the outcome is a continuous variable, while they are called classification trees when the outcome is categorical. The purpose of tree construction is to identify heterogeneities in the relationship between the observed outcome and the features to best predict the outcome variable. Therefore, splits are made with the aim of minimizing the prediction error.
Building on CART, Athey and Imbens (2016) developed a causal decision tree algorithm with the aim of detecting the heterogeneity of causal effects. In particular, they modified the splitting function to minimize the estimation error of conditional effects. Moreover, Athey and Imbens (2016) introduced honest inference by using a subsample to build the tree (training or discovery sample) and a separate subsample to perform inference (estimation sample). Our proposed NCT differs from the standard causal tree algorithm in two critical aspects: (i) it detects and estimates heterogeneous causal effects—treatment and spillover effects—in the presence of clustered network interference, and (ii) it detects heterogeneity with respect to more than one effect at the same time through a composite splitting criterion. In this section we describe and motivate the splitting criteria for our NCT algorithm (Section 5.1) and its detailed structure (Section 5.2).
5.1. Splitting criteria.
Here we present the different criteria that may rule the splitting procedure of NCT, targeted to single effects or multiple effects.
5.1.1. Single splitting criteria.
Let be the space of partitions. Given a causal effect , we can use recursive splitting to look for the best partition with respect to a splitting criterion . Formally,
| (12) |
Given our goal of describing the relationship between the causal effect and the covariate space and detecting subsets that exhibit a high level of heterogeneity, we can define a splitting criterion that maximizes accuracy in the prediction of conditional effects in the whole sample . This translates into the minimization of the expected value of the mean square error (MSE),
| (13) |
where the expected value is taken over the sampling distribution. When this splitting criterion is used to select the partition , we maximize the function in (13) evaluated in the sample used to build the tree, that is, the training set. In this case, in the machine learning literature, the objective function is referred to as the in-sample splitting function, and we denote this by .
Although the true causal effect is unknown, we can use the training data to estimate the EMSE for the in-sample splitting rule. Thanks to the unbiasedness of the estimator , following Athey and Imbens (2016), we can estimate the EMSE as follows:
| (14) |
where is the subset of clusters belonging to the training set and is its sample size. The maximization of this splitting function in (14) results in the maximization of the heterogeneity across leaves. In fact, if two subpopulations and have a different causal effect , that is, , a partition that splits them would yield a higher than the partition that combines the two subpopulations into one leaf (a proof can be found in the Supplementary Material).
To avoid using the same information for selecting the partition and for the estimation, Athey and Imbens (2016) propose to estimate the effects in a separate sample from the one used to build the tree. They call this an honest causal tree. We denote by the estimation set and by the training set (or discovery set), which is used to build the tree by evaluating the splitting function. The training set and the estimation set are here obtained by taking two random subsets and of the clusters in . Hence, and . This random split of the sample avoids any dependencies between training and estimation subsamples. In this honest version, the splitting function can be estimated as follows:
| (15) |
where . The proof follows from Athey and Imbens (2016). In (15) we can see that the splitting function is such that splits will be chosen so to maximize the heterogeneity across leaves as well as to minimize the average variance in the estimated effects. The idea is to identify the most heterogeneous partitions while introducing a penalization term that corrects the objective function to minimize the leaf-specific variation in the estimated effect. This penalization term has also the effect of reducing the depth of the tree because leaves with a small number of observations will exhibit a higher variance. Hence, the final depth of the tree will depend on the sample size as well as on the randomization design and the exposure mapping function. In addition to this penalization, we will also add a stopping rule based on a minimum number of observations for each condition and that we are comparing. This stopping rule is necessary to avoid leafs where the effect cannot be estimated because there are no observations with observed treatment equal to the values or .
5.1.2. Composite splitting criterion.
We now introduce a composite splitting rule targeted to multiple causal estimands. When interference is in place, targeting strategies might involve both treatment and spillover effects. For example, we could increase the effect in the population by providing the treatment to those who would benefit from it—that is, with a nonzero treatment effect—and by not giving the treatment to those who would benefit from other people being treated, namely, units with high spillover effects. For instance, a vaccine should be distributed to those at high risk of getting infected (e.g., individuals who are often in crowded spaces) even if those in close contact were immune, and hence who would benefit more from directly receiving the vaccine. On the contrary, those who are in contact with a low number of people and can greatly benefit from having one of these contacts vaccinated could be left without the vaccine, at least in the early stages of the distribution.
For these kinds of targeting strategies involving more than one causal effect, we must partition the population into subgroups that show a high level of heterogeneity in all estimands of interest. Building a separate tree for each causal effect would provide us with different partitions that cannot be used for the design of multieffect strategies. Therefore, we propose a composite splitting function that would result in a tree that maximizes heterogeneity in all the causal estimands of interest. This composite objective function is a weighted average of the effect-specific splitting functions,
| (16) |
where is a customized weight for each estimand and is the estimated effect in the whole sample. Each effect , where , contributes to the global objective function according to a specific weight is proportional to a customized weight , which is set by the researcher according to the extent to which the estimand is of interest and is normalized by the estimated effect in the whole sample to rule out any dependence on the magnitude of the effect. The composite criterion requires that at least two of the four weights are strictly greater than zero. A similar composite objective function can be derived from the splitting functions for the honest causal trees,
| (17) |
Algorithm 1.
Overview of the NCT algorithm
| • | Inputs: (i) observed data ; (ii) global adjacency matrix , which comprises the cluster-specific blocks ; (iii) experimental design; (iv) vector of weights , where ; (v) tree parameters: maximum depth and minimum size. |
| • | Outputs: (1) a partition if the covariate space, and (2) point estimates, standard errors, and confidence intervals of the conditional average causal effects: |
| 1. Step 0 (Preliminaries): Compute and both the marginal and joint exposure probabilities and . Then randomly assign clusters to discovery and estimation samples. | |
| 2. Step 1 (Tree Discovery): Using the discovery sample, build a tree according to the in-sample splitting criterion and stop when either the tree has reached its maximum depth or any additional split would generate leaves, that are not sufficiently representative of the four exposure conditions. | |
| 3. Step 2 (Estimation): Use the Horvitz–Thompson estimator on the estimation sample to estimate the leaf-specific CACE and their standard errors in each leaf. |
5.2. Network causal tree (NCT) algorithm.
Compared with the standard HCT algorithm, the main novelties of NCT are the introduction of interference and the possibility of including more than one effect. Specifically, the extent to which each effect , with , contributes to the determination of the tree is specified by the weight .
Here, we describe the key steps of the NCT algorithm. After some preliminaries, the algorithm consists of two main steps. The first step is concerned with the selection of the partition—that is, the tree—while the second step is concerned with the estimation of causal effects within each leaf of the detected partition. These key steps are reported in Algorithm 1. Further details on the algorithm, including the recursive partitioning based on the splitting functions and the stopping rules, can be found in the Supplementary Material.
6. Simulation study.
Our algorithm provides an interpretable method to detect and estimate heterogeneous effects in the presence of clustered network interference. In this section we evaluate, through a set of simulations, the performance of the proposed algorithm with respect to both discovery and estimation. In particular, we investigate its ability to correctly identify the actual heterogeneous subpopulations, comparing the use of single or composite splitting functions, and we assess the performance of the Horvitz–Thompson estimator for leaf-specific treatment and spillover effects. Although the latter performance assessment is quite standard in the literature, the former is critical for the development of interpretable algorithms for heterogeneous causal effects (Bargagli-Stoffi and Gnecco (2020), Bargagli-Stoffi et al. (2020)).
We evaluate the performance of the algorithm and the estimator in settings that differ with respect to three main factors: (1) the structure of the heterogeneity, (2) the magnitude of the effect heterogeneity, and (3) the number of clusters. In the Supplementary Material, we also consider three additional factors: (4) the correlation structure in the covariate matrix, (5) the presence of homophily in the network structure, and (6) a mixture of continuous and discrete covariates. Regarding the structure of the heterogeneity, we are particularly interested in settings where the structure of the causal tree representing heterogeneity is different for each causal effect. In particular, causal trees differ if they have different nodes corresponding to the split of a feature, that is, if covariates driving the heterogeneity are different or if they have different terminal leaves where the causal effect is heterogeneous, that is, nonzero. We call causal rules these heterogeneous terminal nodes.
For each simulation scenario, we simulated samples and applied our NCT algorithm to detect subpopulations with heterogeneous causal effects (or causal rules) and to estimate our causal effects of interest. To evaluate the performance of our composite splitting function under different settings splits rely on either effect-specific splitting criteria or on the composite function.
All simulations are performed under Bernoulli trials—that is, the treatment is randomly assigned independently to each unit with a fixed probability . In our simulation study, we also assume that interference only takes place at the neighborhood level, and we choose to define the network exposure as —that is, the network exposure of unit is 1 if at least one neighbor is treated. A binary network exposure together with a binary individual treatment results in a joint treatment with four categories—that is, . The binary definition of network exposure is chosen to allow the growth of deeper trees. Given that the minimum size requirement stops the algorithm when the number of units in a child leaf is not enough to estimate a conditional causal effect, a joint treatment with four categories ensures that this stopping condition is unlikely to be met during the first few splits.
In addition, the assumption of neighborhood interference allows the computation of the marginal and joint probabilities without the need for intensive estimation procedures. In fact, the approximate algorithm for estimating the marginal and joint probabilities proposed by Aronow and Samii (2017) is computationally demanding and could not be incorporated into our simulation study. However, in the case of Bernoulli trial and network exposure defined as from above, the probability can be computed using the formula in (3) while the joint probability is simply the product of and if the two units and are independent. On the contrary, if and overlap the joint treatment of the units and will be dependent, that is, . In this case the joint probability can still be readily computed using combinatorics formulas on two overlapping sets.
6.1. Data generating process.
For each simulation , we generated clusters and simulated, within each cluster, Erdoős–Rényi random graphs (Erdős and Rényi (1959)) with nodes and a fixed probability (0.01) to observe a link. Given the definition of the network exposure, we removed isolated nodes from the analysis to make the Assumption 5 hold. and any of the 10 covariates were sampled from independent Bernoulli distributions with probability 0.5: and .
In the simulation study, we focus on two main effects: (i) the pure treatment effect and (ii) the pure spillover effect . To simplify notation, we denote by the treatment effect and by the spillover effect. After setting the value of these two conditional effects for each unit with covariates (depending on the simulation scenarios), we generated the four different potential outcomes: ; ; , and . Finally, the observed outcome is given by
We now detail how we varied the three factors (1), (2), and (3). We simulated two different scenarios with different heterogeneity structure (1). In the first scenario, we have
Hence, in this scenario the heterogeneity driving variables (HDV), that is, and , are the same for both the treatment effect and the spillover effect , and the two causal rules overlap. In the second scenario, we introduce a change in the drivers of the heterogeneity in the following way:
Thus, in the second scenario, the heterogeneity drivers are different for the two causal effects. Specifically, we have: and for the treatment effects and and for the spillover effects. In addition, we have two causal rules for the treatment effect, namely, and and two different causal rules for the spillover effect, namely, and . For each structural scenario, we varied the magnitude of the effect: . Figure E.1 in the Supplementary Material graphically represents the two simulation scenarios.
Moreover, we changed the number of clusters keeping their size fixed to . For each scenario we built three NCTs: one tree implementing the composite splitting rule for the treatment and spillover effects as in (17) (with ), one tree using the singular splitting rule for the treatment effect as in (15), and a third tree using the singular splitting rule for the spillover effect as in (15).
6.2. Results.
We evaluate the performance of our NCT with respect to two dimensions: (i) its ability to correctly identify the actual heterogeneous subpopulations and (ii) its performance in the estimation of the leaf-specific treatment and spillover effects. More details on the performance measures can be found in Section E of the Supplementary Material.
We start by analyzing the ability of the algorithm to correctly detect the heterogeneous subgroups in the first simulation scenario, that is, when the heterogeneity is the same for the two causal effects of interest. Figure 2 reports the average number of correctly discovered heterogeneous causal rules with the composite splitting rule or effect-specific splitting rules targeted to the treatment effect or the spillover effect, in the case of 10, 20, and 30 clusters. Given that in this scenario the causal rules defining the heterogeneity are the same for both effects, all the splitting rules, targeted to a single effect or to both effects, have a similar performance and are able to detect the two heterogeneous leaves with a success rate that gets higher as the effect size increases. In addition, as the number of clusters grows the minimum effect size allowing the algorithm to optimally discover all the heterogeneous subpopulations gets lower.
FIG. 2.
Simulation results for correctly discovered leaves in the first scenario with 2 correct leaves and 10, 20, and 30 clusters, respectively.
Table 1 reports the results for the first scenario for the performance of the estimator in the correctly detected leaves in the case of 30 clusters. Results for the cases of 10 and 20 clusters are reported in the Supplementary Material. We only report the results of the estimation procedure on the tree built with the composite splitting rule, as the splitting rule would only affect the identification of the heterogeneous subpopulations but not the estimation of the causal effects once these subpopulations are correctly detected. The estimator is able to estimate the heterogeneous treatment and spillover effects without bias and its precision grows as the number of clusters increases. Interestingly, NCT provides more accurate estimates of the heterogeneous spillover effects than the treatment effects. This is due to the larger number of units with than those with , by definition of the network exposure (by design, units with are, on average, 50% more than units with ). The higher precision in the estimation of the spillover effects is also reflected in the identification of the heterogeneous subgroups, which is more accurate when splits are targeted to the minimization of the MSE of the spillover effect (Figure 2).
Table 1.
Simulation results for the first scenario (30 clusters)
| Effect Size | Treatment Effects |
||||||
|---|---|---|---|---|---|---|---|
| MSE | Bias | Coverage | |||||
|
| |||||||
| 0 | 0.140 | 0.166 | −0.146 | 0.170 | 0.034 | 0.143 | 0.929 |
| 1 | 1.027 | 0.210 | −1.024 | 0.210 | 0.041 | 0.025 | 0.969 |
| 2 | 2.021 | 0.302 | −2.014 | 0.304 | 0.088 | 0.017 | 0.953 |
| 3 | 2.984 | 0.410 | −2.989 | 0.407 | 0.152 | −0.014 | 0.950 |
| 4 | 3.982 | 0.519 | −3.979 | 0.518 | 0.246 | −0.019 | 0.959 |
| 5 | 4.962 | 0.634 | −4.978 | 0.637 | 0.362 | −0.030 | 0.957 |
| 6 | 6.021 | 0.761 | −6.064 | 0.758 | 0.486 | 0.043 | 0.962 |
| 7 | 6.986 | 0.875 | −7.030 | 0.884 | 0.689 | 0.008 | 0.950 |
| 8 | 7.940 | 0.987 | −8.012 | 1.015 | 0.978 | −0.024 | 0.966 |
| 9 | 8.951 | 1.105 | −9.104 | 1.137 | 1.125 | 0.027 | 0.962 |
| 10 | 10.023 | 1.244 | −10.058 | 1.270 | 1.430 | 0.040 | 0.955 |
|
| |||||||
| Spillover Effects |
|||||||
| MSE | Bias | Coverage | |||||
|
| |||||||
| 0 | 0.116 | 0.141 | −0.106 | 0.150 | 0.020 | 0.110 | 0.929 |
| 1 | 1.020 | 0.170 | −1.017 | 0.171 | 0.026 | 0.018 | 0.963 |
| 2 | 2.004 | 0.225 | −2.006 | 0.223 | 0.040 | 0.005 | 0.973 |
| 3 | 2.990 | 0.292 | −2.995 | 0.292 | 0.065 | −0.007 | 0.975 |
| 4 | 3.997 | 0.368 | −3.998 | 0.368 | 0.101 | −0.003 | 0.982 |
| 5 | 4.986 | 0.445 | −4.986 | 0.444 | 0.137 | −0.014 | 0.979 |
| 6 | 6.041 | 0.528 | −6.012 | 0.525 | 0.185 | 0.026 | 0.986 |
| 7 | 6.944 | 0.603 | −6.983 | 0.606 | 0.247 | −0.037 | 0.976 |
| 8 | 8.003 | 0.687 | −7.957 | 0.688 | 0.297 | −0.020 | 0.981 |
| 9 | 9.022 | 0.770 | −9.006 | 0.770 | 0.391 | 0.014 | 0.981 |
| 10 | 9.965 | 0.848 | −9.961 | 0.851 | 0.492 | −0.037 | 0.987 |
For the second scenario with different causal rules for each causal effect, we only report the results for simulations with 30 clusters. Figure F.1 in the Supplementary Material depicts the average number of correctly discovered heterogeneous causal rules with the composite splitting rule or effect-specific splitting rules targeted to the treatment effect or the spillover effect.
When we are interested in building a tree that can represent the heterogeneity of all causal effects simultaneously (left panel), the composite splitting rule NCT is able to correctly identify all the heterogeneous causal rules (four in this example), while the other two NCT, targeted to either the treatment effect or the spillover effect, only detect the two leaves where the corresponding causal effect is heterogeneous. This is even more clear when looking at the other two plots, where we depict the ability to detect just the treatment effect rules (central panel) and the spillover effect rules (right panel). Indeed, when we are interested in subgroups that are heterogeneous with respect to only one causal effect, both the effect-specif splitting rule targeted to that effect or the composite splitting function can be used and perform similarly, while the use of the effect-specific splitting rule targeted to the other effect results in poor detection of the correct causal rules. The results from this second scenario show the clear added value of the composite splitting rule. Indeed, when the HDVs are different for treatment and spillover effects implementing this splitting rule enables the researcher to correctly spot all the true causal rules simultaneously. Finally, Table 3 in the Supplementary Material shows how the Horvitz–Thompson estimator performs well in estimating the conditional treatment and spillover effects in the two corresponding heterogeneous leaves.
7. Empirical application.
Our motivating application concerns the investigation of the effectiveness of intensive training sessions to promote agricultural insurance policies against extreme weather and the data-driven identification of the determinants of the heterogeneous response among farmers, when training sessions were directly received by them (treatment effect) or when training sessions were received by their friends (spillover effect). In this application it is critically important to consider network interference to avoid biased estimates of the effect of training sessions which may lead to flawed policy evaluations. Furthermore, understanding spillovers is essential to grasp the degree to which untreated households gain from the intervention, as a result of interacting with treated farmers and being indirectly motivated to adopt the insurance policy. Furthermore, investigating the heterogeneity in the treatment and spillover effects may play a pivotal role by fostering a deeper understanding of the policies and creating opportunities for targeted interventions that aim to optimize their cost-effectiveness.
This section is structured as follows: Section 7.1 introduces the data used in the application and the notation; Section 7.2 presents the results for the heterogeneous direct and spillover effect analyses via NCT, particularly exploring results for a network exposure defined as having at least one friend that attended the intensive information session. In the Supplementary Material, a more detailed overview of the data is available in Section H, and additional findings are available in Section I. In particular, Section I.1 describes the results for a network exposure defined as having two or more treated friends, and Section I.2 presents the investigation of causal effects and their heterogeneities for the subset of households that received the information session at a delayed time with respect to the initial roll-out of the treatment.
7.1. Data and notation.
We utilize data obtained from a factorial randomized experiment conducted to evaluate the effects of an intensive information session on the adoption of a new weather insurance policy among farmers in rural China, first analyzed by Cai, De Janvry and Sadoulet (2015). The dataset comprises households, distributed across distinct villages. Households located in the same village are linked according to a village-specific network, while between-villages connections are ruled out. The observed friendship network is represented in Figure H.1 in the Supplementary Material.
The experiment was conducted under the hypothesis that improving farmers’ understanding of the new weather insurance would reinforce its take-up. Two types of information sessions were offered: simple sessions that took around 20 minutes and provided an introduction to the insurance contract or intensive sessions that took around 45 minutes and covered a more in-depth explanation of the insurance and its expected benefits. In addition to the type of information session, farmers were randomized to receive the session in one of two rounds, scheduled a few days apart. The purpose of this delay was to allow for information sharing by first-round participants in order to investigate the spillover effect across friends. Second-round participants were further randomized to a third factor with three levels representing the amount of additional information provided on previous purchases by first-round participants: (i) no additional information, (ii) overall take-up rate in their village, and (iii) a detailed list of those who purchased the insurance.
According to this factorial design, different combinations of the three factors may be compared. For instance, the researcher may be interested in assessing the effect of being exposed to intensive information sessions, with no delays. Here treated households are those who receive intensive information sessions in the first round, and untreated households are all those households who either receive intensive sessions at the delayed time or receive simple training sessions (this definition of the treatment is employed in the main analysis proposed by Cai, De Janvry and Sadoulet (2015)). The detailed characterization of the type of interven tion assigned to the farmers’ households can be summarized by an indicator with six categories representing the specific combination of the three factors: (i) if the household living in village receives a simple information session at round 2 with additional information, on the insurance take-up; (ii) if it receives a simple information session at round 2 without additional information; (iii) if it receives an intensive information session at round 2 with additional information; (iv) if it receives an intensive information session at round 2 without additional information; (v) if it receives a simple session at round 1; (vi) if it receives an intensive information session at round 1. Here we evaluate the effects of intensive information sessions received at round 1 on insurance take-up. Thus, in this analysis, the treatment variable equals 1 if household in village received an intensive information session on the promoted insurance policy at round 1—that is, if —while it equals 0 otherwise, that is, if .
In this setting, interference could take place because the information received in the intensive information session might be transferred to network contacts or because the adoption of the policy in response to the information received may influence the adoption among friends. We assume that exposure to the network treatments can only occur from network neighbors. That is, we exclude the impact from higher-order neighbors, for example, friends of friends. Note that in Cai, De Janvry and Sadoulet (2015) the only significant spillover effect is from immediate friends. In particular, we define the network exposure according to the following rule: . Hence, is equal to 1 if household in village has at least one friend who received the intensive information at round 1 and 0 otherwise. To assess the robustness of the results, we further vary the threshold defining the binary network exposure (see Supplementary Material Section I.1 for further details).
We dropped from the analysis the 68 households without any friends. The total number of remaining households is 4, 518, residing in 47 villages. Among them, 977 families were assigned to the intensive training sessions in the first round, while 3, 586 belonged to the control group, that is, received the simple session in the first round or any type of information session in the second round. 2053 households do not have any treated friends—that is, —while 2, 465 of them undertake friendship relationships with at least one treated household, that is, . The outcome variable represents the insurance uptake and equals 1 if the household residing in village purchased the insurance after the information session. At the end of the experiment, 2, 498 families chose not to accept the proposed insurance policy, while 2, 020 were positively persuaded by the session and accepted the weather insurance.
To evaluate the heterogeneity of treatment and spillover effects, we included in the analysis all the observed characteristics that could plausibly drive the heterogeneity: three dummies representing the household’s production area (reg1, reg2, and reg3, respectively), a binary variable which equals 1 if the head of the household is at least 50 years old (age), a binary variable which is equal to one if the household’s head is male (male), a binary variable that takes the value 1 if in the household there are more than four members (hsize), a binary variable being 1 if the household’s head has successfully completed high school (educ), a binary variable distinguishing families who are strongly worried about weather phenomena (prdis), which is equal to 1 if the perceived probability of a weather disaster happening in the coming year exceeds 0.30, which corresponds to the median of that variable in the sample of households, an indicator representing the household’s risk aversion (averse), an indicator for whether the household was impacted by any weather disaster in the prior year (dis), an indicator measuring the trust in the government (trust), and a binary variable that equals 1 if the household has received payouts from other insurance products before (repay).
7.2. Empirical results.
In this section we present the most relevant empirical findings, with the individual treatment defined as receiving the intensive information session at round 1—that is, —and the network exposure defined as having at least one treated friend. Figures 3 and 4 report the trees built targeting single effects and multiple effects, respectively. In each node we report from top to bottom the estimates of the main treatment and spillover effects and the size of the selected subpopulations. Colors represent the sign and the magnitude of the main treatment effect or of the main spillover effect : blue nodes are those where the estimated main treatment effects are positive, while green nodes are those where the estimated main spillover effects are positive; in both cases the darker is the color the stronger is the magnitude of the effect of interest; negative effects are colored in white. Twenty-seven villages are randomly assigned to the training set, while the remaining villages are allocated to the estimation set only. Furthermore, we have set the maximum depth at 3 to maintain a high level of interpretability, while we have set at 20 the minimum number of units that must be present in the child leaves for each of the four exposure conditions. We can see that, in the whole sample, receiving an intensive information session at round 1 has a positive effect on insurance take-up , while the spillover effect of having at lest one friend who received the intensive session at round 1 is positive but not statistically significant. The most relevant heterogeneity drivers are: the production area (specifically, living in the third area), the sex of the head of the household, risk aversion, the trust in the government, and the perceived probability of disaster. However, the estimated tree slightly changes under different specifications of the splitting rule. Figure 3 represents the trees targeted to single effects: in particular, the left side figure shows the tree targeted to the treatment effect while the right side figure shows the one targeted to the spillover effect , respectively. Note that the colors of the nodes refer to the magnitude of the effect to which the two trees are targeted; hence, in the tree on the left, the colors of the nodes represent the magnitude of the treatment effect, while in the tree on the right they are related to the magnitude of the estimated spillovers. The NCT targeted to the treatment effect shows that the most important variables driving the heterogeneity of the treatment effect are the production area, risk aversion, sex, and the perceived probability of disaster. The intensive session at round 1 appears to be particularly effective in the subpopulation of households where the head is a female and she is risk averse, and in the one where the head of the household is a male who lives in the third region. Moreover, even households with a male head not living in the third production area and worried about possible weather disasters highly benefit from the intervention. We can speculate that households who are more worried about possible disasters benefit less from an intensive information session because even less information would prompt them to purchase weather insurance.
FIG. 3.
Network causal trees targeted to single effects: NCT targeted to the main treatment effect (left) and NCT targeted to the main spillover effect (right). Each node reports—from top to bottom—the estimate of the main treatment effect with its standard error, the estimate of the main spillover effect with its standard error, and the size of the selected subpopulation. In the left side, figure nodes are colored according to the magnitude of the estimated main treatment effect (in shades of blue). In the right side, figure nodes are colored according to the magnitude of the estimated main spillover effect (in shades of green). In both figures, white nodes represent negative effects.
FIG. 4.
Network causal trees targeted to multiple effects: NCT targeted to the main treatment effect and the main spillover effect (left) and NCT targeted to all the effects (right). Each node reports—from top to bottom—the estimate of the main treatment effect with its standard error, the estimate of the main spillover effect with its standard error, and the size of the selected subpopulation. In both figures, nodes are colored according to the magnitude of the estimated main treatment effect (in shades of blue). White nodes represent negative effects.
When looking at the tree targeted to the spillover effect , living in the third region is still the main characteristic determining the heterogeneity of the spillover effect. In this partitioning, the households that are more responsive to the intensive session received by at least one of their friends in the first round are those who live in the third production area, and whose head is a female. However, the algorithm shows that also farmers living in the first production area are highly responsive to the intensive training sessions on the policy received by at least one of their friends in the first round. Yet spillovers are rarely statistically significant in the leaves. In the subpopulations identified by this tree, the estimated treatment effects are also positive and statistically significant.
Figure 4 depicts the partition selected using a composite splitting function targeted to multiple causal effects. Specifically, the left side figure refers to the network causal tree targeted to both and such that each component contributes to determining the objective function with equal weight (0.5), while the right side figure is related to the tree that has been built assigning equal weight to all the four effects in . Note that here colors refer to the magnitude of the treatment effects in both figures. In this application the composite tree, which considers both and , coincides with the tree based on all effects simultaneously. Here the subpopulation where the treatment is more effective is the one including households whose head is a female who trusts the government and who is risk-averse. These households are also those who are more responsive to the intensive session received by at least one of their friends at first round.
In Section I of the the Supplementary Material, we report the results of additional analyses. In particular, Section I.1 presents results of the analysis implemented with the threshold defining the network exposure set at 2. This scenario allows us to check the robustness of the results obtained in the main analysis presented in this section with respect to a different specification of the network exposure. Results suggest that the main findings remain stable, but the ranking of the most important heterogeneity drivers slightly differs. Furthermore, in Section I.2 we assess whether the spillover effect of being exposed to the intensive training sessions received by friends varies depending on the time in which households are exposed to training sessions themselves. We find positive and statistically significant spillover effects on those households that receive training sessions (intensive or simple) at a delayed time.
8. Conclusions.
In this paper we have introduced a new algorithm to estimate heterogeneous causal treatment and spillover effects in the presence of clustered network interference. The proposed network causal tree bridges the gap between two streams of literature: causal inference under interference and tree-based methods for the interpretable discovery of heterogeneous subpopulations.
The proposed NCT algorithm is able both to identify the relevant sources of heterogeneity and to consistently estimate the conditional treatment and spillover effects. We have introduced a composite splitting function that allows researchers to simultaneously detect the subpopulations where both treatment and spillover effects are heterogeneous. Our simulation study shows that the use of such a composite splitting rule is also able to correctly detect the subpopulations where only one effect is heterogeneous. Therefore, the selected partition of the population can be used to design strategies whose objective function incorporates multiple effects but can also be used a posteriori to target subgroups maximizing either a treatment or a spillover effect. However, targeting strategies may, in principle, rely also on the heterogeneity of spillover effects with respect to the characteristics of the treated individuals. To this end, new causal estimands could be defined, and their heterogeneity should be investigated and incorporated in the design of complex targeting rules.
When applied to real-world data, the NCT algorithm provided useful insights on the effectiveness and its heterogeneity of intensive training sessions among Chinese rural households on the uptake of a weather insurance policy. The main findings on average causal effects presented here, that is, a positive effect of directly receiving the intensive information session at round 1 and positive spillover effect in the subsample of households receiving the training at a delayed time, are consistent with those reported by Cai, De Janvry and Sadoulet (2015), despite the use of different estimators and different definitions of the network exposure mapping. In contrast to Cai, De Janvry and Sadoulet (2015) who did not find relevant heterogeneities in the effects, our methodology, due to its use of the design-based nonparametric estimator and its data-driven identification of the subgroup with heterogeneous effects, allows us to appreciate significant differences across subpopulations. We found that the main characteristics that drive the heterogeneity of the treatment effect are the production area, the sex of the farmer, and the risk aversion, while the heterogeneity in spillovers (that result to be highly significant in the subsample of households receiving training at a delayed time) is mostly driven by the sex of the owner, the trust in the government, the risk aversion, and the perceived probability of a weather disaster.
The proposed algorithm may suffer from the limitations common to (single) tree-based methods: instability to the random allocation of units in the training sample, the potential impact of outlier observations in the node-specific estimations, and the difficulty of modeling very smooth outcomes. However, (single) tree-based algorithms, thanks to their high interpretability, are suitable for the interpretable discovery of heterogeneous subpopulations, which play a crucial role in policy design. Moreover, we did not find instability in either the detection or the estimation of heterogeneous effects in the Monte Carlo simulations. The proposed algorithm could be extended to tree-based ensemble methods, following Wager and Athey (2018) and Athey, Tibshirani and Wager (2019). By averaging the estimates from multiple trees, this extension could enhance estimation precision, particularly in the presence of a highly smoothed outcome, at the cost of reduced interpretability (see Bargagli-Stoffi et al. (2020) for a discussion on this trade-off). In addition, our approach might be rearranged to deal with settings where clusters are not prespecified but are detected by data-driven algorithms, for example, community detection algorithms (Fortunato (2010)).
Here we assume that the network exposure variable is discrete, with the performance of the algorithm being affected by the number of categories resulting from the exposure mapping function. In our simulation study and application, we have used a binary neighborhood exposure, which allowed us to grow deeper trees, reduce the number of possible causal effects, and have enough observations for each exposure condition to maintain the variance in a reasonable range. However, alternative specifications could be used. We acknowledge the possibility of a misspecified network exposure variable due to a misspecification of the exposure mapping function that would make Assumption 1 hold. Even though it has been shown that, when the exposure mapping function is misspecified, the Horvitz–Thompson estimator would still be unbiased for the individual average potential outcome marginalized over the distribution of the true network exposure (or the whole treatment vector), given the misspecified network exposure (Aronow and Samii (2017), Sävje (2024)), the existence of some level of heterogeneity in the marginalizing distribution would give rise to spurious heterogeneity in the estimated causal effects. This is true whenever we simplify the definition of an exposure for the purpose of heterogeneity investigation. However, in the case of randomized experiments, when the misspecification is on the network exposure, any heterogeneity in its distribution would be due to the dependence of the true network exposure from network properties and a possible correlation between these and other covariates. Then if we include network properties in our network causal tree, the only spurious heterogeneity would be found in these features. In the motivating application, we also explore variations in the definition of the exposure mapping by changing the threshold determining an indirect exposure to the intervention. In our study we observe consistent results when defining the network exposure using thresholds of one or two treated neighbors, although there were minor differences in the factors influencing heterogeneity. This indicates that our main findings remain robust despite variations in the specification of the network exposure. In practice, we strongly encourage practitioners to perform robustness checks by varying the threshold defining the network exposure. Consistency across different thresholds increases confidence in the conclusions, empowering practitioners to make informed policy recommendations. On the other hand, if the key findings vary significantly across different thresholds, indicating a higher level of complexity of the interference mechanism and its heterogeneity, we recommend defining a categorical network exposure. More complex definitions of network exposure, possibly resulting in a continuous variable, would require some methodological adjustments. We leave this extension to future work.
Supplementary Material
Supplement to “Heterogeneous treatment and spillover effects under clustered network interference” (DOI: 10.1214/24-AOAS1913SUPP; .pdf). Please find the Supplementary Materials at Bargagli-Stoffi, Tortú and Forastiere (2025). Appendix A, provides a comprehensive literature review. Appendix B includes details on the proofs of Proposition 1 (Unbiasedness), and Proposition 4 (Consistency of the estimator). This section also introduces Proposition 6 and its proof. Proposition 6 demonstrates that the maximization of this splitting function results in the maximization of the heterogeneity across leaves. Appendix C details the variance estimator of leaf-specific CATE. Appendix D provides further details on the Network Causal Tree algorithm. Appendices E, F and G provide details on the performance measures for the Monte Carlo simulations, on the main simulation results and on the results obtained further simulation scenarios, respectively. Appendices H and I focus on the empirical analysis, with Appendix H providing expanded descriptives and Appendix I presenting NCT results in two additional empirical scenarios, respectively. R code is available as a supplement and can also be found at https://github.com/fbargaglistoffi/NetworkCausalTree.
Acknowledgments.
The first author is also affiliated with Harvard University. We thank the Editor, the Associate Editor, and the reviewers for their constructive comments that improved the quality of this paper. This work was supported by NIH award R01MH134715, the Alfred P. Sloan Foundation Grant G-2020-13946, the VPR—Harvard University grant on “Climate Change Solutions Fund,” and the Harvard Data Science Initiative Postdoctoral Research Fund Award.
Footnotes
For a comprehensive overview of this literature, please refer to the Supplementary Material, Bargagli-Stoffi, Tortú and Forastiere (2025).
Depending on the stopping rule, which might rely on the accuracy of the estimation of conditional effects or on the number of observations (see Section 5), if the sample size is not large enough with respect to the number of categories of the network exposure and/or its distribution is nonuniform and highly skewed, the network causal tree algorithm might result in a tree with low depth and low granularity, that is, with highly heterogeneous causal effects even within the terminal leaves. Therefore, the maximum number of categories allowed for the network exposure depends on the sample size, the number of covariates, and their nature as well as on the extent of heterogeneity in causal effects.
When for some units, then the average potential outcomes and causal effects involving these values and must be restricted to the subset of units for whom . For instance, if the network exposure is defined as in equation (1), then the positivity assumption is violated for units that cannot be exposed to a value , that is, those with a degree lower than the threshold , and the analysis involving this value must exclude these units.
If one is interested in assessing the heterogeneity of the average response to the network exposure resulting from a hypothetical treatment allocation, our approach could be extended to marginalized causal effects as the ones in Forastiere, Airoldi and Mealli (2021).
REFERENCES
- ARONOW PM and SAMII C. (2017). Estimating average causal effects under general interference, with application to a social network experiment. Ann. Appl. Stat 11 1912–1947. MR3743283 10.1214/16-AOAS1005 [DOI] [Google Scholar]
- ATHEY S. and IMBENS G. (2016). Recursive partitioning for heterogeneous causal effects. Proc. Natl. Acad. Sci.USA 113 7353–7360. MR3531135 10.1073/pnas.1510489113 [DOI] [PMC free article] [PubMed] [Google Scholar]
- ATHEY S, TIBSHIRANI J. and WAGER S. (2019). Generalized random forests. Ann. Statist 47 1148–1178. MR3909963 10.1214/18-AOS1709 [DOI] [Google Scholar]
- BARGAGLI-STOFFI FJ, CADEI R, LEE K. and DOMINICI F. (2020). Causal rule ensemble: Interpretable discovery and inference of heterogeneous treatment effects. ArXiv preprint. Available at arXiv:2009.09036. [DOI] [PMC free article] [PubMed]
- BARGAGLI-STOFFI FJ, DE WITTE K. and GNECCO G. (2022). Heterogeneous causal effects with imperfect compliance: A Bayesian machine learning approach. Ann. Appl. Stat 16 1986–2009. MR4455908 10.1214/21-aoas1579 [DOI] [Google Scholar]
- BARGAGLI-STOFFI FJ and GNECCO G. (2020). Causal tree with instrumental variable: An extension of the causal tree framework to irregular assignment mechanisms. Int. J. Data Sci. Anal 9 315–337. [Google Scholar]
- BARGAGLI-STOFFI FJ, TORTÚ C. and FORASTIERE L. (2025). Supplement to “Heterogeneous treatment and spillover effects under clustered network interference.” 10.1214/24-AOAS1913SUPP [DOI] [PMC free article] [PubMed]
- BARNETT BJ and MAHUL O. (2007). Weather index insurance for agriculture and rural areas in lower-income countries. Amer. J. Agric. Econ 89 1241–1247. [Google Scholar]
- CAI J, DE JANVRY A. and SADOULET E. (2015). Social networks and the decision to insure. Am. Econ. J. Appl. Econ 7 81–108. [Google Scholar]
- CAI J. and SONG C. (2017). Do disaster experience and knowledge affect insurance take-up decisions? J. Dev. Econ 124 83–94. [Google Scholar]
- CENTRE FOR RESEARCH ON THE EPIDEMIOLOGY OF DISASTERS (CRED) (2022). Disaster Year in Review (2021). CRED Crunch 60, Center for the Research on the Epidemiology of Disasters, Brussels, Belgium. [Google Scholar]
- CHAE I, STEPHEN AT, BART Y. and YAO D. (2017). Spillover effects in seeded word-of-mouth marketing campaigns. Mark. Sci 36 89–104. [Google Scholar]
- CHAKRABORTY B. and MURPHY S. (2014). Dynamic treatment regimes. Annu. Rev. Stat. Appl 1 447–464. [DOI] [PMC free article] [PubMed] [Google Scholar]
- CHEN LHY and SHAO Q-M (2004). Normal approximation under local dependence. Ann. Probab 32 1985–2028. MR2073183 10.1214/009117904000000450 [DOI] [Google Scholar]
- COLE S, GINÉ X, TOBACMAN J, TOWNSEND R, TOPALOVA P. and VICKERY J. (2013). Barriers to household risk management: Evidence from India. Am. Econ. J. Appl. Econ 5 104–135. 10.1257/app.5.1.104 [DOI] [PMC free article] [PubMed] [Google Scholar]
- COX DR (1958). Planning of Experiments. A Wiley Publication in Applied Statistics Wiley, New York. MR0095561 [Google Scholar]
- DERCON S, HILL RV, CLARKE D, OUTES-LEON I. and TAFFESSE AS (2014). Offering rainfall insurance to informal insurance groups: Evidence from a field experiment in Ethiopia. J. Dev. Econ 106 132–143. [Google Scholar]
- EBI KL, VANOS J, BALDWIN JW, BELL JE, HONDULA DM, ERRETT NA, HAYES K, REID CE, SAHA S. et al. (2021). Extreme weather and climate change: Population health and health system implications. Annu. Rev. Public Health 42 293. [DOI] [PMC free article] [PubMed] [Google Scholar]
- ERDŐS P. and RÉNYI A. (1959). On random graphs. I. Publ. Math. Debrecen 6 290–297. MR0120167 10.5486/pmd.1959.6.3-4.12 [DOI] [Google Scholar]
- FORASTIERE L, AIROLDI EM and MEALLI F. (2021). Identification and estimation of treatment and interference effects in observational studies on networks. J. Amer. Statist. Assoc 116 901–918. MR4270033 10.1080/01621459.2020.1768100 [DOI] [Google Scholar]
- FORTUNATO S. (2010). Community detection in graphs. Phys. Rep 486 75–174. MR2580414 10.1016/j.physrep.2009.11.002 [DOI] [Google Scholar]
- FRIEDMAN JH, OLSHEN RA, STONE CJ et al. (1984). Classification and Regression Trees. Wadsworth & Brooks, Belmont, CA. [Google Scholar]
- GAURAV S, COLE S. and TOBACMAN J. (2011). The randomized evaluation of financial literacy on rainfall insurance take-up in Gujarat. ILO Microins. Innov. Facil. Res. Paper 1
- GINÉ X, TOWNSEND R. and VICKERY J. (2008). Patterns of rainfall insurance participation in rural India. World Bank Econ. Rev 22 539–566. [Google Scholar]
- HOLLAND PW (1986). Statistics and causal inference. J. Amer. Statist. Assoc 81 945–970. MR0867618 [Google Scholar]
- HORVITZ DG and THOMPSON DJ (1952). A generalization of sampling without replacement from a finite universe. J. Amer. Statist. Assoc 47 663–685. MR0053460 [Google Scholar]
- HUDGENS MG and HALLORAN ME (2008). Toward causal inference with interference. J. Amer. Statist. Assoc 103 832–842. MR2435472 10.1198/016214508000000292 [DOI] [PMC free article] [PubMed] [Google Scholar]
- HUQ N, HUGÉ J, BOON E. and GAIN AK (2015). Climate change impacts in agricultural communities in rural areas of coastal Bangladesh: A tale of many stories. Sustainability 7 8437–8460. [Google Scholar]
- KEMPE D, KLEINBERG J. and TARDOS E. (2003). Maximizing the spread of influence through a social network. In Proceedings of the Ninth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 137–146.
- KENT DM, PAULUS JK, VAN KLAVEREN D, D’AGOSTINO R, GOODMAN S, HAYWARD R, IOANNIDIS JP, PATRICK-LAKE B, MORTON S. et al. (2020). The predictive approaches to treatment effect heterogeneity (PATH) statement. Ann. Intern. Med 172 35–45. [DOI] [PMC free article] [PubMed] [Google Scholar]
- KIM D, HWONG A, STAFFORD D, HUGHES D, O’MALLEY J, FOWLER J. and CHRISTAKIS N. (2015). Social network targeting to maximise population behaviour change: A cluster randomised controlled trial. Lancet 386 145–153. [DOI] [PMC free article] [PubMed] [Google Scholar]
- KOSOROK MR and LABER EB (2019). Precision medicine. Annu. Rev. Stat. Appl 6 263–286. MR3939521 10.1146/annurev-statistics-030718-105251 [DOI] [PMC free article] [PubMed] [Google Scholar]
- LAL P, ALAVALAPATI JR and MERCER ED (2011). Socio-economic impacts of climate change on rural United States. Mitigation and Adaptation Strategies for Global Change 16 819–844. [Google Scholar]
- LIU B, LI M, GUO Y. and SHAN K. (2010). Analysis of the demand for weather index agricultural insurance on household level in Anhui, China. Agric. Agric. Sci. Proc 1 179–186. [Google Scholar]
- MANSKI CF (2013). Identification of treatment response with social interactions. Econom. J 16 S1–S23. MR3030060 10.1111/j.1368-423X.2012.00368.x [DOI] [Google Scholar]
- MONTES F, JARAMILLO AM, MEISEL JD, DIAZ-GUILERA A, VALDIVIA JA, SARMIENTO OL and ZARAMA R. (2020). Benchmarking seeding strategies for spreading processes in social networks: An interplay between influencers, topologies and sizes. Sci. Rep 10 3666. [DOI] [PMC free article] [PubMed] [Google Scholar]
- MURPHY SA (2003). Optimal dynamic treatment regimes. J. R. Stat. Soc. Ser. B. Stat. Methodol 65 331–366. MR1983752 10.1111/1467-9868.00389 [DOI] [Google Scholar]
- PARSHAKOV P, NAIDENOVA I. and BARAJAS A. (2020). Spillover effect in promotion: Evidence from video game publishers and eSports tournaments. J. Bus. Res 118 262–270. [Google Scholar]
- ROGERS S. and XUE T. (2015). Resettlement and climate change vulnerability: Evidence from rural China. Glob. Environ. Change 35 62–69. [Google Scholar]
- RUBIN DB (1974). Estimating causal effects of treatments in randomized and nonrandomized studies. J. Educ. Psychol 66 688. [Google Scholar]
- RUBIN DB (2008). Comment: The design and analysis of gold standard randomized experiments [MR2655714. J. Amer. Statist. Assoc 103 1350–1353. MR2655717 10.1198/016214508000001011 [DOI] [Google Scholar]
- SÄVJE F. (2024). Causal inference with misspecified exposure mappings: Separating definitions and assumptions. Biometrika 111 1–15. MR4704553 10.1093/biomet/asad019 [DOI] [Google Scholar]
- SIBIKO KW and QAIM M. (2020). Weather index insurance, agricultural input use, and crop productivity in Kenya. Food Secur. 12 151–167. [Google Scholar]
- VALENTE TW (2012). Network interventions. Science 337 49–53. 10.1126/science.1217330 [DOI] [PubMed] [Google Scholar]
- VANDERWEELE TJ and CHRISTAKIS NA (2019). Network multipliers and public health. Int. J. Epidemiol 48 1032–1037. [DOI] [PMC free article] [PubMed] [Google Scholar]
- VIVIANO D. (2024). Policy targeting under network interference. Rev. Econ. Stud
- WAGER S. and ATHEY S. (2018). Estimation and inference of heterogeneous treatment effects using random forests. J. Amer. Statist. Assoc 113 1228–1242. MR3862353 10.1080/01621459.2017.1319839 [DOI] [Google Scholar]
- ZHAO W. (2020). Extreme weather and climate events in China under changing climate. Nat. Sci. Rev 7 938–943. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.




