WorksComputer Science
Causal Discovery Under Hard Selection Bias: A New Robust Score-Matching Approach
Abstract
Selection bias is a difficult yet widespread problem in causal discovery, occurring whenever non-random selection processes lead to data that is not representative of the underlying populations. Due to its practical importance, related works have been proposed to address the problem under local [Versteeg et al., 2022] or interventional settings [Dai et al., 2025a], but general algorithms for observational data remain elusive. In this paper, we focus on truncated data (hard selection), and provide a general result for Additive Noise Models (ANM). We show that score-based methods are a surprisingly suitable candidate due to a special property of the score function (): deterministic truncation preserves both the score of the joint distribution as well as the Jacobian of the score. While established score-matching algorithms still fail in most settings, we actively leverage this observation to propose a new method for causal discovery that is robust under truncated data with ANMs. Overall, our approach offers a general, robust solution that is agnostic to external information about the selection process and still achieves comparable performance to the state-of-the-art approaches when selection is not present.
Introduction
Identifying causal relationships from observational data is a fundamental problem in many scientific disciplines. However, selection bias can significantly distort the observed data distribution, leading to incorrect inference about causal relationships [14, 15]. Selection bias occurs when the data collected is not representative of the underlying population due to a non-random selection process, e.g., in epidemiological studies where only patients with certain traits (socio-economic or health factors) are recorded [40, 41], or in molecular biology where only transcripts in cells that are highly expressed are measured and included in the study [11].
Some methods have been developed to address this problem in causal discovery, but they often rely on access to interventional data [9, 18], or only focus on a local structure (with three or four variables) [12, 43]. The seminal work FCI [37] and its variants [7] recover the causal graph under latent variables and selection bias up to a Markov equivalence class without further interpretation. Recent studies based on Functional Causal Models (FCMs) by Zhang et al. [ [44] have shown that if we know the location of the selection variable, i.e., if it is only outcome-dependent, then we can identify the full causal graph under certain assumptions. Beyond these specific, partial solutions, a general approach for selection bias in causal discovery for observational data is missing.
In this paper, we investigate the case of hard selection bias: the densities of (some or all) observed variables are truncated, meaning that under selection, we do not observe data on certain parts of the (true) support at all. We begin by showing a surprising yet simple result: regardless of the location of selection, causal asymmetry persists under hard selection bias within the score function of the data (). This introduces an opportunity, as the score function has been a central component in a rich line of work on causal discovery [28, 20, 21]. Unfortunately, we find that while the SCORE [28] algorithm for non-linear additive Gaussian noise is robust to hard selection bias, the more general extensions [21] are not. To this end, we propose a novel score-based method for causal discovery, and to our knowledge, it is the first general causal discovery method that is robust to hard selection, without relying on any external information about the selection process. Our contributions are as follows:
Contribution We evaluate the existing score function method—SCORE [28], DAS [20], NoGAM [21]—and show that they can be surprisingly robust to hard selection bias (§ 3). However, failures persist: to tackle these cases, we propose a new method (§ 4) based on the conditional rank of the Hessian log density (), which is fully robust to hard selection bias under all Additive Noise Model (ANM) settings, with the only exception being the linear Gaussian case (see Table 1 for a summary). We provide a practical estimation algorithm for our method in § 5, and demonstrate its effectiveness through extensive synthetic and real-world [25] experiments in § 6.
| ANM Assumption | LiNGAM | CAM-UV | SCORE | NoGAM | CHess (Ours) |
| Nonlinear Gaussian | |||||
| Linear non-Gaussian | |||||
| Nonlinear non-Gaussian | |||||
| Hard Selection (Truncation) |
Table 1. Identifiability guarantees of causal discovery methods across ANM assumptions. denotes full DAG identifiability; denotes no guarantee. LiNGAM [33, 34] only deals with linear non-Gaussian ANMs, SCORE [28] requires nonlinear mechanisms with Gaussian noise. NoGAM [21] extends SCORE to arbitrary noise distributions. CAM-UV [19] additionally handles latent confounders under nonlinear separable (CAM) assumptions. SCORE can handle latent hard selection bias in both Gaussian and non-Gaussian cases, which is not discussed in the original paper but is one of the surprising findings in this work (). Our method (CHess) is the only method that is resilient to hard selection under all the above ANMs. Linear Gaussian models are known to be not identifiable beyond the Markov equivalence class [Peters and Bühlmann, 2014] thus omitted in the table.
Preliminaries and Problem Setup
Problem Setting: Hard Selection and What We Know about it
We consider a set of random variables generated by a restricted additive noise model (ANM):
where are causal mechanisms, are mutually independent noise terms with strictly positive densities, and the model satisfies the restricted ANM identifiability condition [5]. The associated causal graph is a DAG.
In the remainder of the paper, we assume the Markov and faithfulness conditions for the DAG and the distribution [37]. We say two nodes and are -separated by a set of nodes in if every path between them is blocked by , and a path is blocked by conditioning on if the path contains a non-collider node in or a collider node that is not in and has no descendant in . For a full definition, please refer to the Appendix.
Hard Selection (Truncation) We observe biased data from , where . The selection mechanism is unknown and can be dependent on an arbitrary subset of . Here we focus on the hard selection (truncation) case, which is the scenario where the selection mechanism is deterministic and only data points in a subset of the support of are observed, i.e. for a set with .
Causal Discovery under Selection Bias Given the biased observational data from , the goal is to recover the causal graph under the original distribution . This is a challenging problem that has been studied in the causal discovery literature in local causal discovery [43], interventional settings [9, 18], latent variable settings [10], etc. However, to the best of our knowledge, no method has been developed in the general setting to tackle selection bias for causal discovery only with observational data. For a comprehensive review of the related work, please refer to Appendix § 10.
Given the generality of the problem, we focus on the following question in this paper:
Can we find properties of the original distribution preserved under hard selection, and how can we leverage them for robust causal discovery?
We take the first step to answer this question by revisiting the score function and score-matching based causal discovery methods, and show its potentials.
The Blessing of Score Functions
In this section, we look at the score function (§ 3.1) and review score-matching for causal discovery (§ 3.2). Then in § 3.3, we present the advantage of using the score directly for causal discovery under truncation, and an example showing a failure case, which motivates our proposed method in the next section (§ 4).
Score Preservation
Consider the score of the selected distribution . The selected density satisfies
because of Bayes’ rule. Take the derivative, for ,
The score is exactly preserved at every observed data point.
Remark 1 (Score preservation under hard selection). This is an important and nontrivial observation that we leverage in this paper for developing a novel score-based method for causal discovery under hard selection. The same argument also applies to the second-order score , which is also preserved under hard selection, i.e. (in the interior of ). This aligns with the local geometrical nature of the score, which characterizes the curvature of the log-density pointwise, and which is preserved under truncation.
Remark 2 (Boundary effect). One might notice that the score is only preserved in the interior of , and not on its boundary, where we have an extra term in the score due to the derivative of the indicator function. This boundary effect can be problematic for score estimation: [28, 21] show that we can use Stein identity [39] for score estimation, which relies on a vanishing boundary condition on , i.e. as , for any testing function . However, under truncation, the selected density does not necessarily satisfy this condition. In practice, we propose to use the diffusion score matching method [30], which is more robust to boundary effects. We will discuss this in more detail in § 4.
Revisiting Score-Matching
We provide a review of the score-matching based causal discovery methods. The score component for node decomposes as:
where is the score function of the -th noise distribution and denotes the children of in .
Sink Identification For a sink node (with ):
Under Gaussian noise, Rolland et al. [ [28] propose the variance test (Proposition 1) as sink node identification method criterion:
Proposition 1 (Gaussain case: Variance test [28]). Let be generated by a restricted ANM (1) with mutually independent Gaussian noise terms.
For a sink node, , and . Therefore, .
Extending beyond Gaussian noise, Montagna et al. [ [21] construct the regression residual test (Proposition 2) as sink-node identification method criterion:
Proposition 2 (Non-Gaussain case: Residual test [21]). Let be generated by a restricted ANM (1) with mutually independent non-Gaussian noise terms. For any ,
For a sink node, , which equals the centered noise for a true sink node. This means for a sink node (without selection bias), the score of can be perfectly predicted from the residual .
Edge (neighbor) Identification The Markov equivalence graph can be constructed by reading the conditional independence of pairs of random variables as shown by Spantini et al., [36]; Montagna et al. [20], in Proposition 3.
Proposition 3 ([36, 20]). Let be generated by a restricted ANM (1) with mutually independent noise terms. For any ,
When Score-Matching is Surprisingly Resilient and When it is Not
How does score-matching behave under hard selection? In this subsection, we show that for sink-node identification under truncation, Proposition 1 and 3 still hold (modified as Proposition 4 and 8), but Proposition 2 fails in general. Unlike other causal discovery methods that rely on conditional independence tests that are susceptible to hidden selection variables, the score-matching based methods are surprisingly resilient to hard selection bias. However, the residual test relies not only on the score, but also on the structure underlying the density, which can be distorted by selection bias. This motivates us to leverage the score directly for causal discovery, without relying on the residual or any graphical assumptions.
The first fold: Variance test still holds Under nonlinear ANM and Gaussian noise assumptions, the result in Proposition 1 can be directly extended to truncated data, as stated in Proposition 4.
Proposition 4 (Gaussian case: Variance test under truncation). Let be generated by a restricted ANM (1) with mutually independent Gaussian noise terms, and let denote a deterministic selection for a truncation region .
This implies that with data from , we can still identify the sink nodes by checking the variance of the Hessian log-density, which is an additional outcome not realized before. The proof directly relies on the score preservation property in (2).
Similarly, the result from Proposition 3 naturally extend to testing for skeleton discovery, as shown in Appendix § 9.
The second fold: Residual test fail Under hard selection, the selected (observed) residual is:
If the selection is only a function of a single node, then the biased residual is still a function of . This is a special case where the residual test still holds, which is elaborated in Appendix § 9. But in general, when we do not know whether the selection is only a function on a single node or not, the residual test fails as in Example 1.
Example 1 (Failure case). Consider a sink node with parent . If the selection mechanism depends on both and some (e.g., ), conditioning on induces dependence between and , so . Note that the score is preserved, but the residual is a biased proxy for , and the residual test incorrectly rejects the true sink.
How do we surpass the issue? Our proposal: exploit the score directly for causal asymmetry. The residual test fails because it depends on the global structure of the density, while the score is a local property of the density at each data point, and is preserved under truncation (2). Therefore, we need to exploit this property of the score directly for a novel method for causal discovery. Since we have seen that Proposition 3 remains true under selection, the remaining challenge is to identify the sink nodes given the skeleton.
Causal Discovery Method Robust to Hard Selection
We present our main result in three-fold: we first introduce the intuition of the method in § 4.1, then in § 4.2 we give the main theoretical result under linear ANM assumptions (with non-Gaussian noise) in Proposition 6 and the more general result for non-linear ANM in Proposition 9.
Intuition and Definitions
As shown in the example in § 3.3, the residual test [21] fails under hard-selected data in general (in non-Gaussian noise cases).
Intuition: Asymmetry of Number of Independent Noise Sources. The key intuition is that the score of a sink node has exactly one independent noise term that contributes to it, after conditioning on all its neighbors1, while a non-sink node has independent noise terms. Consider the graph in Figure 1, the path between a non-sink node and the noise of its child is opened by conditioning on its child, while the argument does not apply to a sink node that does not have child terms.

Figure 1. In the subgraph, the sink node is only d-connected to its own noise after conditioning on , while is d-connected to and after conditioning on .
Algebraic Connection: To translate the number of independent noises into an algebraic criterion, we consider the score function . The main observation is that if we take the gradient of the score on node w.r.t. all noise terms2, we obtain a vector that has contributions from multiple source directions. The conditional rank (conditioning on all neighbors of ) of the variance of such a vector’s outer product indicates the number of independently varying factors, e.g., for a sink node the rank is 1 (for non-Gaussian noise), which we use as an identification rule to distinguish a sink node from a non-sink node.
In light of the intuition and algebraic connection above, we formally define the Conditional Hessian outer product matrices in Definition 1.
Definition 1 (Conditional Hessian outer product matrix). For each node , define the -th Hessian row vector evaluated at :
We define the conditional gradient outer product matrix as:
where denotes the set of neighbors of .
Hessian Row Structure: sinks vs. Non-sinks The Hessian row is the gradient of the score component . By the chain rule applied to (3):
where is the noise term at node , so and is the -th standard basis vector. For a sink node, the whole summation term over all children vanishes, so only has one noise term direction contributed by :
Such direction is a constant vector if the mechanism is linear, or a varying vector function of .
In the following section, we will formalize the intuition for the linear ANM case first: under linearity, ③ vanishes and non-sink node has noise term directions contributed by in (11), while sink node only has one noise term direction contributed by in (12).
Main Results: from Linear to Nonlinear ANM
First, we present the result under linear ANM with non-Gaussian noise, which clearly illustrates the intuition of the method and the algebraic connection between the number of independent noise terms and the rank of . Then we present the more general result for nonlinear ANM with both Gaussian and non-Gaussian noise.
For a linear ANM, the decomposition (11) simplifies to a combination of noise term directions (only terms ① and ② remain, and , is a constant vector). The rank of then directly counts the number of independent noise terms that contribute to the variance of after conditioning on the neighbors of : conditioning on the parents of blocks the contribution of the noise terms from the upstream (parents), while conditioning on the children of still keeps the contribution of the noise terms of the children.
Proposition 5 (Connection between Conditional Rank and Independent Noise Terms in Linear ANM). Under a linear non-Gaussian ANM, the rank of equals the number of independent noise terms contributes to by conditioning on for generic :
where the noise index set .
Proof Sketch. The proof consists of two main steps: (1) express as a sum of rank-1 outer products weighted by the variance of the noise terms; (2) show that the vectors corresponding to different noise terms are linearly independent, so the rank of the sum equals the number of noise terms.
To illustrate the intuition of Proposition 5, we present the following example of a chain structure, where the sink node has only one independent noise term while the non-sink node has two independent noise terms after conditioning on its neighbors.
Example 2 (Number of Independent Terms in Chain). Consider a chain , where , , with non-Gaussian noise.
Illustration of Example 2. For non-sink and , both have two independent noise terms that contribute to their score function after conditioning on their neighbors, thus the rank of the conditional outer product matrix and (Eqn. (10)) is 2, while has rank 1. The reason is that, for source node , conditioning on its neighbor (child in this case) induces dependency of on , thus leading to the direction of and a non-affine transformation of , while for a sink node , conditioning on its neighbor (parent in this case) will only leave a single direction term contributed by . A formal proof is provided in Appendix § 8.§ 2.
Proposition 6 (Conditional Rank Test for Sink Identification (Linear)). Let be generated by a restricted linear ANM (1) with independent noise terms. Then for generic :
(a) Sink. If is a sink (i.e., ), then .
(b) Non-sink. If is not a sink (i.e., ), then .
Therefore, a node is a sink if and only if .
Proof sketch. This is a direct consequence of Proposition 5 and the fact that the rank of is invariant to conditioning on (since the noise terms are independent of , so the variance of does not change after conditioning).
More generally, for the nonlinear ANM, the rank gap between sink and non-sink nodes still exists, because the decomposition (11) contains an additional mechanism curvature term, and this term is generally linearly independent of the noise term directions. Due to space limit, we present the informal Proposition 7 and the full proposition under nonlinear ANM in the Appendix (Proposition 9).
Proposition 7 (Informal Conditional Rank Test for Sink Identification (Nonlinear)). Let be generated by a restricted nonlinear ANM (1) with independent noise terms. Then the rank gap of for generic between sink and non-sink node still exists and is at least one.
For a summary of the rank values for sink vs. non-sink nodes across different ANM settings, see Table 2. In particular, the rank gap between sink and non-sink nodes exists (thus sink nodes are identifiable) in all settings except for the linear Gaussian case, where all nodes have rank 0.
| Setting | Sink rank | Non-sink rank | Gap |
| Linear Gaussian | 0 | 0 | 0 (not identifiable) |
| Linear non-Gaussian | 1 | ||
| Nonlinear Gaussian | 0 | ||
| Nonlinear non-Gaussian | 1 |
Table 2. Rank of for sink vs. non-sink nodes across different ANM settings.
Remark 3 (Practical Usage of Proposition 6 and Table 2). Without knowledge about the type of ANM and type of noise one is dealing with, a result could either imply a sink node in a linear non-Gaussian model, or a non-sink node in a nonlinear Gaussian model. In practice, for either case, we do not bother to distinguish the model / noise types, but only take the node that has the minimal rank to be the current sink node (and we perform this procedure iteratively), i.e., as long as a gap exists.
Discussion of Unconditional Hessian Rank Test Why do we need the conditioning on the neighbors? Can we just use the unconditional Hessian outer product matrix to identify sink nodes? The short answer is yes, but it requires strong structural constraints. In Appendix § 9.§ 3, we introduce the Unconditional Rank Test. However, it requires stronger structural assumptions (involving the number of and ) since the noise coming from the parents is not blocked by conditioning on the neighbors anymore. On the other hand, the Conditional Hessian Rank Test proposed in Proposition 6 is free from the structural assumptions and thus more practical.
Estimation
In this section, we present a practical estimation procedure for causal discovery based on the conditional Hessian rank test. This procedure involve 4 main steps: (1) estimation of Hessian log-density (), (2) use the estimated Hessian to estimate the conditional variance matrix , (3) compute the rank of to identify sinks, and (4) . The overall algorithm is provided in Algorithm 1 and more details on the estimation procedure in Appendix § 12.§ 2.
Score and Hessian Estimation Estimation of the score function (and its Jacobian) is a well-studied problem in statistics and machine learning, e.g., the Stein estimator [39, 28, 21], the kernel density estimator (KDE) [31], and most recently a diffusion model based estimator [30]. In this paper, we apply the commonly used Stein-estimator, and also a diffusion model based estimator, because it does not rely on a strictly positive density while both Stein and KDE estimators suffer when (See Remark 2).
Remark 4. (Practical Estimation of ) In practice, we use a residual estimator as a proxy, where is the residual of using to estimate . The residual estimator shares a similar spirit with the estimation method in NoGAM [21], which also uses the residual of a regression to estimate the noise. Further details are discussed in the Appendix § 9.§ 4
Experiments
Given the proposed method, we conduct experiments to evaluate its performance on both synthetic (§ 6.1) and real-world (§ 6.2) datasets. The goal is to show that (1) for general causal discovery, the proposed method performs competitively with state-of-the-art baselines, and (2) in the presence of hard selection bias, the proposed method outperforms all baselines that do not explicitly account for selection bias.
Synthetic Experiments
Data generation. We generate Erdős–Rényi DAGs with nodes and target average degree 2.0. We consider three SEM regimes: (1)Linear non-Gaussian (Linear-nG). (2)Nonlinear Gaussian (MLP-G): , with and a randomly initialised 1-hidden-layer MLP. (3)Nonlinear non-Gaussian (MLP-nG). Same MLP mechanism as MLP-G but with Gumbel or log-normal noise as in Linear-nG.
Selection mechanism. We add latent selection variables . We simulate the hardest case of selection bias where the selection mechanism depends on all observed variables. Each is a random linear combination with coefficients , and we keep the samples where for all simultaneously, where is the empirical quantile, being the retaining fraction. After applying the selection mechanism, we keep sample sizes (from an initial pool of samples) to avoid the interference of different sample sizes on the performance.
Baselines. We compare against constraint-based methods PC and FCI [37, 38], score-based methods GES [6], permutation-based method GraSP [17], and LiNGAM-family estimators ICA-LiNGAM [33] and DirectLiNGAM [34], together with score-matching baselines SCORE [28], DAS [20], NoGAM [21], CAM [5], and DiffAN [30]. We report F1 of the arrow on the estimated DAG with part of the baselines due to space limit4, with one selection variables as a function of all observed variables. We also include sensitivity analysis with varying selection fraction , selection shape in Appendix § 13.
Results. In the absence of selection bias (), the proposed method performs competitively with the baselines across all SEM regimes, and outperforms all baselines when hard selection bias is present (in the linear-nG regime, the LiNGAM baselines sometimes outperform even when selection bias is present, which is discussed in Appendix § 13).
| , gumbel | , gumbel | |||||
| fraction | ||||||
| SCORE | 0.57 () | 0.37 () | 0.41 () | 0.65 () | 0.46 () | 0.45 () |
| DAS | 0.57 () | 0.37 () | 0.41 () | 0.66 () | 0.48 () | 0.49 () |
| NoGAM | 0.81 () | 0.40 () | 0.40 () | 0.78 () | 0.47 () | 0.45 () |
| CAM | 0.31 () | 0.18 () | 0.19 () | 0.23 () | 0.22 () | 0.19 () |
| DirectLiNGAM | 0.99 () | 0.64 () | 0.65 () | 0.98 () | 0.56 () | 0.54 () |
| DiffAN | 0.40 () | 0.31 () | 0.29 () | 0.33 () | 0.25 () | 0.25 () |
| CHess (Stein) | 0.90 () | 0.76 () | 0.70 () | 0.72 () | 0.59 () | 0.51 () |
| CHess (DiffAN) | 0.81 () | 0.71 () | 0.72 () | 0.64 () | 0.49 () | 0.64 () |
Table 3. F1 (Arrow) for Linear-nG (gumbel), and
Real-world experiments
Dataset. We use the protein-signalling dataset of Sachs et al. [ [29], loaded through the cdt package, which yields 7466 samples over proteins and a verified ground-truth DAG. To probe robustness to selection bias in severe cases, we apply the selection mechanism as in § 6.1 with , . After selection, there are 373 samples, so we apply random downsampling to samples for the non-selection bias setting to avoid the interference of different sample sizes with pruning pamareter for a fair comparison.
Results. In both cases with and without selection bias, our method outperforms the baselines. Because Sachs essentially provide perturbation data and we aggregate all the data, the result should be interpreted with care. In addition, we provide results on separate sub-datasets in Appendix § 13.§ 4, with varying selection strengths and shapes. Overall, these experiments consistently demonstrate that the proposed method achieves competitive performance compared with other baselines.
Conclusion
In this paper, we have presented a novel approach to address the challenges of hard selection bias in causal discovery. Our method leverages the strengths of the score function, which is preserved under hard selection, allowing us to effectively identify causal relationships even in
| Method | () | |
| SCORE | 0.28 () | 0.29 () |
| DAS | 0.19 () | 0.23 () |
| NoGAM | 0.29 () | 0.30 () |
| CAM | 0.40 () | 0.28 () |
| PC | 0.25 () | 0.23 () |
| FCI | 0.13 () | 0.14 () |
| GES | 0.25 () | 0.22 () |
| GRaSP | 0.28 () | 0.22 () |
| ICA-LiNGAM | 0.27 () | 0.30 () |
| DirectLiNGAM | 0.30 () | 0.33 () |
| DiffAN | 0.30 () | 0.19 () |
| CHess (Stein) | 0.42 () | 0.32 () |
| CHess (DiffAN) | 0.41 () | 0.38 () |
Table 4. F1 (Arrow) on Sachs Dataset for (downasmpled) and
the presence of selection bias, while all baseline methods suffer under selection. We have demonstrated the effectiveness of our approach through experiments on both synthetic and real-world datasets.
Limitations and Future Work. First, our method assumes hard selection bias, which may not always be the case in real-world scenarios. Future work could explore extensions of our method to handle soft (non-deterministic) selection bias. Additionally, although we provide the theoretical result that the score function is preserved under hard selection, in practice, we found that it is hard to estimate when the truncation is severe. Therefore, further research is needed to develop more robust estimation techniques for the score-matching based causal discovery.
Examples and Definitions
Definitions
Definition 2. (Markov Condition (Spirtes et al. [ [37], Pearl [ [22])) Given a DAG and distribution over the variable set , every variable in is probabilistically independent of its non-descendants given its parents in .
Definition 3. (Faithfulness Assumption (Spirtes et al. [ [37], Pearl [ [22])) Given a DAG and distribution over the variable set , there are no independencies between variables that are not entailed by the Markov Condition.
Illustrative Example: Linear Chain
Example 2. (Number of Independent Terms in Chain). Consider a chain , where , , with non-Gaussian noise.
The noise gradients are
Non-sink has : . . Conditioning on gives :
In general, and are distinct nonlinear functions of , i.e. is not an affine transformation of under non-Gaussian noise assumption (). Then the conditional matrix has the form
i.e. the components of span a 2-dimensional function space, thus .
Non-sink has : . Conditioning on gives :
Components involve and which are generally independent functions. Following the same argument as for , also has .
Sink has : . . Therefore:
so,
Therefore, the sink is uniquely identified as the only node with , .
Proofs
Preservation of Skeleton Discovery
Proposition 8. Let be generated by a restricted ANM (1) with mutually independent noise terms and let denote a deterministic selection for a truncation region . For any ,
The proof of Proposition 8 directly follows of the preservation of score function under hard selection (truncation).
Proofs of Conditional Hessian Rank Characterization
Proposition 5 (Connection between Conditional Rank and Independent Noise Terms in Linear ANM). Under a linear non-Gaussian ANM, the rank of equals the number of independent noise terms contributes to by conditioning on for generic .
where the noise index set .
Proof. Let be generated by a linear additive noise model
where are mutually independent, non-Gaussian, with strictly positive smooth densities . Let and , and assume for all (equivalent to non-Gaussianity).
Compute Hessian row . Differentiating the score function with respect to gives:
where we define (a fixed vector in because of linearity). Thus depends on exactly the noise indices .
By rewriting the coefficients as if , and if , we have:
where , and is deterministic, constant in , independent of .
So the target matrix can be expressed as:
where .
For the selected data, it is
and .
Note that in (16), selection acts only inside , and the eigenvalues of do differ from the untruncated ones, but it does not influence the rank.
So has full column rank in general, so .
Proposition 6 (Conditional Rank Test for Sink Identification (Linear)). Let be generated by a restricted linear ANM (1) with independent noise terms. Then for generic :
(a) Sink. If is a sink (i.e., ), then .
(b) Non-sink. If is not a sink (i.e., ), then .
Therefore, a node is a sink if and only if .
Proof. Part (a): Sink Since is a sink, where is a fixed vector under the linear model. Therefore:
which is a scalar multiple of the same rank-1 matrix for every . Taking the expectation over and applying the law of total variance:
Since by non-Gaussianity, .
Proposition 9 (Conditional Rank Test for Sink Identification (Nonlinear)). Let be generated by a restricted nonlinear ANM (1) with independent noise terms. Then:
(a) Sink. If is a sink (i.e., ), then:
(b) Non-sink. If is not a sink (i.e., ), then:
Therefore, a node is a sink if and only if when the noise is non-Gaussian, and when the noise is Gaussian.
Proof. Part (a): Sink. Let be a sink, so and . By (11), the Hessian row reduces to
There are two terms: and in this equation. For , conditioning on fixes to a constant vector
where is the -th standard basis vector. The exogenous noise remains free (not determined by the conditioning). Thus the only remaining random quantity is the scalar , and
The conditional covariance is
When noise is non-Gaussian, is non-constant, so , and (as its -th entry is 1). Therefore .
When noise is Gaussian, is constant, so and .
Part (b): Non-sink. Let be a non-sink with at least one child . We condition on , which partitions as .
Remind that the Hessian row for a non-sink is computed as:
First term in (20): conditioning on fixes
The noise remains free.
Child terms in (20): For child , the structural equation reads . Under the conditioning and , the child noise becomes a function of :
Overall, substituting into (20) and using that all , , and are deterministic functions once is fixed, the conditional Hessian row has the form
where , are deterministic scalars/vectors and collects the mechanism curvature terms (also deterministic functions of through ).
Finally, consider the number of independent functions. The conditional Hessian row (22) is a vector-valued function of the single scalar . Its components include at least two functionally distinct terms:
, arising from the own-noise contribution, and
, arising from the -th child noise.
For the conditional rank to equal 1, every component of must be an affine function of a single “base function” . In particular, restricting to the entries at positions and , this requires the existence of constants , such that
Since , this is a smooth invertible (generically) reparametrization of . Equation (23) then asserts that and are affinely related.
For non-Gaussian noise, under the restricted ANM identifiability condition [24], the noise score functions and are non-constant nonlinear functions of their arguments. The composition introduces an additional nonlinearity through the mechanism . Formally, the set of for which the affine relation (23) holds is contained in the zero set of the analytic function and has measure zero.
Therefore, for Lebesgue-almost every , the components of span at least a 2-dimensional function space, and .
For Gaussian noise, and are constant, so is composed of a linear combination of the base functions , so .
Proofs of Unconditional Hessian Rank Test
The following method introduces the rank test of unconditional Hessian outer product matrix for sink identification, but no conditioning on the neighbors means that we are not blocking the contribution of noise terms from the upstream (parents) of , thus the rank of is determined by the number of parents and children of instead of just the number of children. A particular challenge is to distinguish a sink node with parents from a source node with the same number of children, as in Example 3.
Example 3 (Unconditional Rank Test Failure). Consider a chain , where the unconditional rank of is 2, but the rank of is also 2. Therefore, we cannot distinguish the sink node from the non-sink node by just looking at the rank of .
More generally, the following result (Proposition 10) characterizes the rank of for sink vs. non-sink nodes under both linear and nonlinear ANM.
Proposition 10 (Unconditional Rank). Let be generated by a restricted ANM (1) with mutually independent non-Gaussian noise terms (i.e., is non-constant for each ).
(a) sink: If is a sink with parents, then for linear mechanisms, . For nonlinear mechanisms, .
(b) Non-sink: If has parents and children, then for linear mechanisms, . For nonlinear mechanisms, and generically .
If is a sink node, it is identifiable if and only if for every non-sink node , , (i.e. there exists a rank gap between a sink node and all non-sink nodes).
Proof sketch. For a sink : the decomposition (11) reduces to . If is linear, then is a constant vector , and every is parallel to . Thus , which has rank 1. If is nonlinear, varies with and spans at most dimensions (the entries corresponding to ). For a non-sink with child : contains an additional term with coefficient (independent of since ) multiplying the direction . Since has a non-zero entry at position , it is linearly independent of . The two independent random coefficients times two linearly independent directions produce a matrix of rank (linear case), or of rank at least (nonlinear case).
Under non-Gaussianity, is non-constant, preventing the random coefficients from collapsing to scalars (which would happen for Gaussian noise where is constant).
Under Gaussianity but with non-linear mechanisms, is constant, but the mechanism curvature term is generally non-zero and linearly independent of , so the rank gap still exists.
| Setting | sink rank | Non-sink rank | Gap |
| Linear + Gaussian | (not identifiable) | ||
| Linear + non-Gaussian | |||
| Nonlinear + Gaussian | |||
| Nonlinear + non-Gaussian |
Table 5. Rank of for sink vs. non-sink nodes across different ANM settings.
Remark 5 (Comparing Conditional and Unconditional Rank Test). The unconditional rank test in Proposition 10 imposes stronger conditions on the graph structure, since it requires that for all non-sink nodes for sink-node identification. A tree-like structure (where a non-sink node has more than one child and a sink node has at most one parent) satisfies this condition, but more general graphs may not. In contrast, the conditional rank test in Proposition 6 and 9 does not require such a degree constraint, since conditioning on the neighbors blocks the contribution of the parents, thus only counting the number of noise terms that directly feed into the score of .
Proofs of Consistent Estimator of
Conditional Variance Matrix Estimation In Algorithm 2, we directly estimate via a local kernel-weighted covariance estimator. In practice, when the ANM is linear non-Gaussian or nonlinear Gaussian, we find that the residual-based estimator is more robust to estimation errors in the Hessian, as a direct estimator of relies on selecting the number of conditional neighbors and the kernel bandwidth, thus suffers more from estimation errors.
Specifically, we define the test statistic as as a proxy, where is the residual of using to estimate , i.e. is a regressor of on approximating .
Proposition 11 (Consistent Estimator of ). Under a linear non-Gaussian or nonlinear Gaussian ANM, is a consistent estimator of if is a consistent estimator of .
Proof. The proof of Proposition 11 relies on the law of total variance: . We first show that , and then by the continuous mapping theorem, If in as , then .
By the tower property, we can expand , so
On the other hand,
When the ANM is linear non-Gaussian or nonlinear Gaussian, the local and averaged conditional matrix coincide, i.e. for generic . As is in the proof of Proposition 10, for a sink node , the geometrical factorization of the target matrix , where . In the linear case, is a constant vector that does not rotate with . Therefore the aggregation is an aggregation of rank 1 matrices that has the same eigenvector, therefore its value is preserved after pooling for linear ANM. In the nonlinear-Gaussian case, thus gives 0 rank of the matrix, and the rotation of also does not matter.
Related Works
Causal Discovery and Inference under Selection Bias There are limited works on causal discovery under selection bias, and they either focus on local causal structure learning [43], or assuming access to interventional data [9, 18], or assuming sequential data [46], or performing discovery at latent variable level [10] with linear Gaussian assumption. In contrast, we focus on learning the full causal structure among observed variables under selection bias, without requiring interventional or structural assumptions on the selection mechanism, and allowing for nonlinear and non-Gaussian mechanisms.
Causal Inference under Selection Bias Selection bias is a well-known problem in causal inference, and there are various methods to address it, such as [3, 1, 2, 8, 4], which characterizes conditions under which causal effects remain identifiable despite selection bias. Subsequent works extended this approach by developing testable implications of selection mechanisms [8] and providing adjustment criteria. Additionally, Van der Zander et al. [ [42], Jaber et al. [ [16] developed causal effect identification results under Markov equivalence classes (MEC) which takes into account the potential presence of latent selections. Selection bias has been studied extensively in economics Heckman [ [13] and epidemiology Robins et al. [ [27]. Selection bias has been studied extensively in economics Heckman [ [13] and epidemiology Robins et al. [ [27]. However, these works primarily focus on correcting the bias rather than causal structure learning, which is the focus of our work.
Algorithm
Main Algorithm
The overall algorithm for causal discovery via the Conditional Hessian Rank Test (CHess) is outlined in Algorithm 1.
Algorithm 1 Causal discovery via Conditional HessianRank Test (CHess)
Require: Data (potentially from truncated distribution )
Ensure: Causal DAG
Estimate Hessian: Compute at each data point (e.g., via Stein estimator or kernel score matching on the truncated data).
while do
MEC recovery: For all pairs , test for conditional independence [20]. Recover skeleton via Proposition 8.
Sink identification: For each , find its neighbor and estimate its conditional Hessian matrix rank via Algorithm 2.
▷ Smallest estimated rank = sink
Orient edges: Orient all edges adjacent to as incoming.
; update Hessian estimates for the reduced variable set.
DAS pruning: a final pruning step that is robust to hard selection [20].
end while
return
Algorithm for Conditional Hessian Matrix Estimation
The algorithms used for estimating and sink node identification. We present two alternative algorithms for estimating the conditional Hessian matrix rank: (1) Algorithm 2 is a conditional rank estimator based on local averaging, used for nonlinear non-Gaussian ANMs and (2) Algorithm 3 is a residual rank estimator based on regression, used for linear non-Gaussian ANMs and nonlinear Gaussian ANMs.
Algorithm 2 Conditional Rank Estimation: Kernel-Weighted Local Covariance
Require: Data ; neighborhood sets from MEC recovery; number of reference points ; bandwidth .
Ensure: Identified sink node .
for each node do
Select reference points in the support of ▷ e.g., -means centroids
for do
Compute weights: , ,
Compute .
Compute .
Compute eigenvalues
▷ effective rank at
end for
▷ aggregate over reference points
end for
▷ smallest conditional effective rank = sink
return
More Details on the Experiments
Datasets
Synthetic Dataset The binary adjacency is sampled by drawing edges uniformly over all possible indices. For linear SEM, we generate edge weights uniformly from , and per-node noise variances are drawn i.i.d. from . For each configuration we sample observations and average over 20 seeds. And the datas are generated Algorithm 3 Residual Rank Estimator
Require: Data ; neighborhood sets from MEC recovery Ensure: Identified sink node
for each candidate node do
for do
Compute ▷ estimate Hessian rows
end for
Fit ▷ estimate conditional mean via regression
for do
▷ compute residuals
end for
▷ form conditional outer-product matrix
Compute eigenvalues of
▷ effective rank
end for
return
as: , with drawn from a Gumbel or log-normal distribution. For nonlinear SEM, we use a one-layer MLP with 64 hidden units and a sigmoid activation: , where the entries of and are drawn i.i.d. from with each entry’s sign flipped independently with probability .
Sachs [29] Dataset The Sachs data [29] is a single-cell biological dataset in order to estimate protein interactions. It consists of nine files, each with one interventional context and the same set of variables , , , , , , , , , , , representing the measurements of different biochemical concentrations. There are between 700 and 900 data points in each file, for a total of 7466 data points. The data is continuous and very skewed, shifting far away from our assumptions of Gaussian distributions. Following Ramsey and Andrews [ [26], we apply log transformation to the data.
DREAM4 Dataset We consider the in-silico Size-10 sub-challenge of DREAM45 [25, 32], which provides five ground-truth gene regulatory networks of genes each.
Estimation Method
Diffusion model-based score estimation [30] sidesteps the boundary problem by learning the score via denoising score matching with noise level . We use diffusion probabilistic models (DPMs) to learn to reverse a diffusion process, by starting with noise and recovery data distribution to be estimated. A DPM is trained with the denoising score matching objective:
where , with . The key result [35] is that the trained noise predictor approximates the score of the data distribution: . Once is trained, the -th entry of the Hessian is obtained by a single backpropagation pass through the network: , i.e. differentiate the -th output of with respect to the -th input.
Evaluation matrics
The output of PC [37] and GES [6] are complete partially directed acyclic grap (CPDAGs), while the output of FCI [38] is a partial acyclic graph (PAG). We convert the output of the baseline algorithms according to Table. Table 6.
| True | Estimated | Adjacency | Arrowhead |
| TP | TP, TN | ||
| TP | FP, FN | ||
| TP | FN | ||
| FN | FN | ||
| FP | FP | ||
| FP | FP | ||
| FP | |||
| TN |
Table 6. Metrics used for evaluation. Precision=TP/(TP+FP), Recall=TP/(TP+FN).
Hyperparameters
We have the following hyperparameters for our method, which are set to the same values across all experiments unless otherwise specified:
MEC threshold: relative off-diagonal cutoff for the MEC skeleton recovery step. An off-diagonal entry of the RMS Hessian matrix is treated as a skeleton edge if it exceeds MEC threshold. Set to 0.1 in all experiments.
Rank test: method for estimating the numerical rank of . chi2 uses an eigenvalue-based test (EigRankTest) at significance level. Set to chi2 in all scripts.
Rank test significance level: for the rank test above. Set to 0.05 in all scripts.
KRR ridge: the ridge regularization parameter for the kernel ridge regressor used by residual estimator of . Controls the bias–variance tradeoff of the residual score estimate. Set to in all scripts.
CAM pruning threshold: p-value cutoff for the final CAM-style edge pruning step. Each candidate edge is tested by a GAM regression; edges whose coefficient p-value exceeds this threshold are removed. Set to 0.001 for DREAM4, 0.01 for Sachs.
Baseline Implementations
For PC, GES, FCI, GRaSP, LiNGAM, we use the implementations in the causallearn Python package [45] (https://github.com/py-why/causal-learn), with the default hyperparameters. For CAM, SCORE, DAS, and NoGAM, we use the implementations in dodiscover (https://www.pywhy.org/dodiscover/dev/index.html), with the default hyperparameters.
More Experimental Results
All Baselines in Linear non-Gaussian ANM
Results. When hard selection bisa is not present, LiNGAM-based methods achieves the best performance, which is not a surprising result. However, when selection bias becomes severe, our conditional Hessian rank-based method starts to outperform. We also underlines the second-best performance.
| Method | F1 (Adj) | F1 (Adj) | F1 (Adj) | F1 (Arrow) | F1 (Arrow) | F1 (Arrow) |
| PC | 0.96(0.00) | 0.76(0.02) | 0.70(0.02) | \ | \ | \ |
| FCI | 0.96(0.00) | 0.76(0.02) | 0.70(0.02) | \ | \ | \ |
| Exact | 0.70(0.02) | 0.65(0.02) | 0.66(0.01) | 0.29(0.04) | 0.31(0.02) | 0.34(0.06) |
| GES | 0.96(0.00) | 0.78(0.02) | 0.72(0.02) | \ | \ | \ |
| GRaSP | 0.89(0.01) | 0.79(0.03) | 0.71(0.02) | \ | \ | \ |
| ICA-LiNGAM | <u>0.96</u>(0.00) | 0.74(0.02) | 0.72(0.01) | 0.95(0.01) | 0.59(0.07) | 0.50(0.08) |
| Direct-LiNGAM | <u>0.96</u>(0.00) | 0.79(0.02) | <u>0.74</u>(0.01) | 0.95(0.01) | 0.76(0.02) | <u>0.68</u>(0.04) |
| CAM | 0.78(0.01) | 0.71(0.01) | 0.72(0.01) | 0.12(0.03) | 0.07(0.01) | 0.13(0.02) |
| SCORE | 0.91(0.01) | 0.71(0.01) | 0.68(0.02) | <u>0.89</u>(0.01) | 0.53(0.04) | 0.47(0.06) |
| DAS | 0.91(0.01) | 0.71(0.01) | 0.68(0.02) | <u>0.89</u>(0.01) | 0.53(0.04) | 0.47(0.06) |
| NoGAM | 0.91(0.01) | 0.74(0.01) | 0.69(0.02) | 0.83(0.03) | 0.54(0.05) | 0.49(0.05) |
| DiffAN | 0.79(0.01) | 0.74(0.01) | 0.71(0.01) | 0.26(0.05) | 0.30(0.03) | 0.23(0.05) |
| CHess (Stein) | 0.94(0.01) | 0.76(0.01) | 0.73(0.01) | <u>0.91</u>(0.02) | 0.70(0.03) | 0.70(0.02) |
| CHess (DiffAN) | 0.93(0.01) | 0.76(0.01) | 0.74(0.02) | 0.88(0.03) | <u>0.72</u>(0.02) | 0.70(0.03) |
Table 7. , noise=lognormal: F1 Metrics
| Method | SHD | SHD | SHD |
| PC | 2.81(1.85) | 4.81(3.26) | 5.11(2.25) |
| FCI | 4.48(0.92) | 5.96(0.85) | 6.33(2.07) |
| Exact | 6.11(2.84) | 6.33(2.59) | 6.22(4.02) |
| GES | 2.78(1.58) | 4.63(3.79) | 5.70(3.54) |
| GRaSP | 3.44(1.80) | 4.00(2.74) | 5.15(2.13) |
| ICA-LiNGAM | 0.41(0.39) | 4.00(4.59) | 5.04(7.07) |
| Direct-LiNGAM | 0.41(0.39) | 2.63(2.16) | 3.63(3.20) |
| CAM | 7.15(3.83) | 8.30(1.34) | 7.43(1.65) |
| SCORE | 1.11(1.14) | 4.43(3.25) | 5.03(5.37) |
| DAS | 1.11(1.14) | 4.43(3.25) | 5.03(5.37) |
| NoGAM | 1.44(2.32) | 4.33(4.22) | 5.03(3.97) |
| DiffAN | 6.04(4.63) | 6.26(3.08) | 6.78(3.95) |
| CHess (Stein) | <u>0.81</u>(1.19) | <u>3.17</u>(2.34) | <u>3.53</u>(1.92) |
| CHess (DiffAN) | 1.11(2.32) | <u>3.03</u>(2.10) | 3.47(2.85) |
Table 8. , noise=lognormal: SHD Metrics
| Method | F1 (Adj) | F1 (Adj) | F1 (Adj) | F1 (Arrow) | F1 (Arrow) | F1 (Arrow) |
| PC | 0.90(0.01) | 0.76(0.01) | 0.73(0.01) | 0.59(0.04) | ||
| FCI | 0.90(0.01) | 0.76(0.01) | 0.73(0.01) | 0.55(0.03) | ||
| Exact | 0.53(0.00) | 0.50(0.00) | 0.46(0.00) | 0.23(0.01) | 0.25(0.01) | 0.21(0.01) |
| GES | 0.89(0.00) | 0.70(0.01) | 0.64(0.01) | 0.58(0.04) | 0.49(0.02) | 0.44(0.02) |
| GRaSP | 0.88(0.01) | 0.80(0.01) | 0.75(0.02) | 0.55(0.05) | ||
| ICA-LiNGAM | <u>0.93</u>(0.00) | 0.66(0.01) | 0.58(0.01) | <u>0.92</u>(0.00) | 0.51(0.05) | 0.40(0.04) |
| Direct-LiNGAM | 0.93(0.00) | 0.72(0.01) | 0.62(0.01) | 0.93(0.00) | 0.71(0.01) | 0.60(0.02) |
| CAM | 0.72(0.01) | 0.61(0.00) | 0.57(0.01) | 0.09(0.01) | 0.09(0.01) | 0.09(0.01) |
| SCORE | 0.80(0.01) | 0.65(0.01) | 0.58(0.01) | 0.75(0.03) | 0.52(0.02) | 0.40(0.03) |
| DAS | 0.82(0.01) | 0.66(0.01) | 0.60(0.02) | <u>0.77</u>(0.02) | 0.56(0.02) | 0.46(0.03) |
| NoGAM | 0.81(0.01) | 0.63(0.01) | 0.58(0.01) | 0.67(0.04) | 0.46(0.03) | 0.42(0.03) |
| DiffAN | 0.70(0.01) | 0.61(0.01) | 0.57(0.01) | 0.22(0.02) | 0.21(0.02) | 0.17(0.01) |
| CHess (Stein) | 0.80(0.01) | 0.65(0.01) | 0.58(0.01) | 0.68(0.03) | <u>0.57</u>(0.02) | 0.48(0.02) |
| CHess (DiffAN) | 0.81(0.01) | 0.65(0.01) | 0.58(0.01) | 0.70(0.02) | <u>0.58</u>(0.02) | <u>0.51</u>(0.01) |
Table 9. , noise=lognormal: F1 Metrics
| Method | SHD | SHD | SHD |
| PC | 5.89(4.84) | 7.78(6.10) | 9.85(7.02) |
| FCI | 9.74(1.97) | 11.85(3.61) | 12.85(5.31) |
| Exact | 20.56(6.17) | 21.74(11.16) | 24.56(6.32) |
| GES | 6.11(4.40) | 10.33(7.19) | 13.33(20.44) |
| GRaSP | 5.96(5.07) | 7.22(6.84) | 9.15(15.16) |
| ICA-LiNGAM | <u>1.63</u>(1.94) | 12.07(46.59) | 16.37(44.60) |
| Direct-LiNGAM | 1.48(1.66) | 7.22(11.58) | 12.15(31.31) |
| CAM | 16.67(11.04) | 20.40(8.31) | 23.23(15.98) |
| SCORE | 5.07(13.25) | 10.67(9.29) | 15.67(29.29) |
| DAS | 4.22(6.47) | 9.07(8.93) | 12.13(15.72) |
| NoGAM | 5.96(13.52) | 11.93(15.06) | 15.50(30.85) |
| DiffAN | 15.56(19.36) | 18.70(26.36) | 21.12(21.49) |
| CHess (Stein) | 5.93(13.48) | 10.40(16.37) | 14.40(18.04) |
| CHess (DiffAN) | 5.52(9.81) | 10.00(12.13) | 13.93(18.20) |
Table 10. , noise=lognormal: SHD Metrics
| Method | F1 (Adj) | F1 (Adj) | F1 (Adj) | F1 (Arrow) | F1 (Arrow) | F1 (Arrow) |
| PC | 0.98(0.00) | 0.75(0.01) | 0.67(0.01) | \ | 0.41(0.05) | \ |
| FCI | 0.98(0.00) | 0.75(0.01) | 0.66(0.02) | \ | 0.41(0.05) | \ |
| Exact | 0.76(0.01) | 0.71(0.01) | 0.68(0.01) | 0.30(0.03) | 0.31(0.03) | 0.36(0.03) |
| GES | 0.96(0.00) | 0.71(0.01) | 0.65(0.01) | \ | \ | \ |
| GRaSP | 0.95(0.00) | 0.76(0.01) | 0.66(0.02) | \ | \ | \ |
| ICA-LiNGAM | 1.00(0.00) | 0.72(0.01) | 0.67(0.00) | 0.99(0.00) | 0.41(0.05) | 0.38(0.04) |
| Direct-LiNGAM | 1.00(0.00) | 0.71(0.01) | 0.67(0.01) | 1.00(0.00) | 0.67(0.01) | 0.51(0.03) |
| CAM | 0.88(0.01) | 0.72(0.01) | 0.68(0.01) | 0.15(0.02) | 0.17(0.03) | 0.23(0.02) |
| SCORE | 0.90(0.01) | 0.73(0.01) | 0.69(0.01) | 0.62(0.03) | 0.41(0.04) | 0.38(0.03) |
| DAS | 0.90(0.01) | 0.73(0.01) | 0.69(0.01) | 0.62(0.03) | 0.41(0.04) | 0.38(0.03) |
| NoGAM | 0.94(0.01) | 0.74(0.01) | 0.70(0.01) | 0.78(0.05) | 0.49(0.03) | 0.41(0.04) |
| DiffAN | 0.87(0.01) | 0.75(0.01) | 0.70(0.01) | 0.43(0.07) | 0.30(0.04) | 0.28(0.03) |
| CHess (Stein) | 0.97(0.00) | 0.75(0.01) | 0.70(0.01) | 0.94(0.02) | 0.69(0.03) | 0.65(0.02) |
| CHess (DiffAN) | 0.95(0.01) | 0.75(0.01) | 0.70(0.01) | 0.86(0.05) | 0.69(0.02) | 0.64(0.01) |
Table 11. , noise=gumbel: F1 Metrics
| Method | SHD | SHD | SHD |
| PC | 2.37(1.94) | 5.00(3.11) | 5.93(1.55) |
| FCI | 4.19(1.04) | 6.63(1.64) | 7.19(1.04) |
| Exact | 5.74(1.75) | 5.81(2.00) | 5.81(1.85) |
| GES | 2.59(2.32) | 5.89(1.73) | 6.33(1.85) |
| GRaSP | 2.78(2.10) | 4.85(2.50) | 6.04(2.85) |
| ICA-LiNGAM | 0.07(0.07) | 5.70(3.39) | 6.30(2.65) |
| Direct-LiNGAM | 0.00(0.00) | 4.00(1.48) | 5.37(1.86) |
| CAM | 5.52(2.03) | 6.77(2.45) | 7.00(2.33) |
| SCORE | 2.70(2.13) | 5.30(2.54) | 6.07(2.60) |
| DAS | 2.70(2.13) | 5.30(2.54) | 6.07(2.60) |
| NoGAM | 1.59(3.13) | 4.83(2.81) | 5.73(2.93) |
| DiffAN | 4.15(4.94) | 5.78(2.62) | 6.56(2.91) |
| CHess (Stein) | 0.52(0.99) | 3.43(2.58) | 4.10(1.09) |
| CHess (DiffAN) | 1.11(3.14) | 0.35(2.38) | 4.10(1.22) |
Table 12. , noise=gumbel: SHD Metrics
| Method | F1 (Adj) ↑ | F1 (Adj) ↑ | F1 (Adj) ↑ | F1 (Arrow) ↑ | F1 (Arrow) ↑ | F1 (Arrow) ↑ |
| PC | 0.96(0.00) | 0.77(0.01) | 0.66(0.01) | \ | 0.54(0.02) | 0.47(0.02) |
| FCI | 0.96(0.00) | 0.77(0.01) | 0.67(0.01) | \ | 0.46(0.01) | 0.37(0.01) |
| Exact | 0.57(0.00) | 0.53(0.00) | 0.52(0.00) | 0.19(0.01) | 0.25(0.01) | 0.27(0.02) |
| GES | 0.96(0.00) | 0.64(0.00) | 0.55(0.01) | 0.64(0.06) | 0.44(0.02) | 0.32(0.01) |
| GRaSP | 0.97(0.00) | 0.81(0.01) | 0.69(0.01) | 0.65(0.05) | 0.45(0.05) | 0.34(0.03) |
| ICA-LiNGAM | 0.95(0.01) | 0.57(0.01) | 0.49(0.00) | 0.82(0.06) | 0.34(0.03) | 0.21(0.02) |
| Direct-LiNGAM | 0.98(0.00) | 0.60(0.01) | 0.52(0.00) | 0.98(0.00) | 0.59(0.01) | 0.50(0.01) |
| CAM | 0.86(0.00) | 0.70(0.01) | 0.61(0.01) | 0.20(0.02) | 0.21(0.01) | 0.17(0.01) |
| SCORE | 0.90(0.01) | 0.70(0.01) | 0.59(0.01) | 0.63(0.03) | 0.46(0.02) | 0.34(0.01) |
| DAS | 0.84(0.01) | 0.66(0.01) | 0.55(0.01) | 0.63(0.03) | 0.45(0.02) | 0.35(0.02) |
| NoGAM | 0.90(0.01) | 0.69(0.01) | 0.60(0.01) | 0.73(0.03) | 0.50(0.02) | 0.41(0.01) |
| DiffAN | 0.85(0.01) | 0.68(0.01) | 0.59(0.01) | 0.37(0.03) | 0.26(0.02) | 0.22(0.01) |
| CHess (Stein) | 0.92(0.01) | 0.72(0.01) | 0.60(0.01) | 0.72(0.04) | 0.56(0.03) | 0.48(0.02) |
| CHess (DiffAN) | 0.90(0.01) | 0.70(0.01) | 0.60(0.01) | 0.66(0.02) | 0.52(0.02) | 0.40(0.02) |
Table 13. , noise=gumbel: F1 Metrics
| Method | SHD ↓ | SHD ↓ | SHD ↓ |
| PC | 4.96(5.29) | 9.37(6.60) | 12.26(10.64) |
| FCI | 9.30(2.43) | 13.67(9.56) | 16.15(10.13) |
| Exact | 20.26(6.19) | 21.48(7.95) | 20.96(11.89) |
| GES | 5.30(9.84) | 14.78(9.14) | 19.48(20.18) |
| GRaSP | 4.81(5.56) | 8.96(7.22) | 12.56(11.73) |
| ICA-LiNGAM | 2.81(17.34) | 19.11(24.10) | 25.11(21.14) |
| Direct-LiNGAM | 0.37(0.46) | 13.59(11.28) | 18.48(19.81) |
| CAM | 10.85(6.64) | 14.93(9.40) | 18.47(17.78) |
| SCORE | 5.52(11.21) | 11.47(8.05) | 16.53(18.05) |
| DAS | 5.67(10.74) | 10.67(6.76) | 14.80(11.76) |
| NoGAM | 4.15(9.24) | 11.03(9.77) | 15.27(21.40) |
| DiffAN | 9.15(10.94) | 14.96(15.29) | 18.85(17.39) |
| CHess (Stein) | 4.00(11.04) | 10.07(19.60) | 14.17(20.47) |
| CHess (DiffAN) | 4.85(6.13) | 10.87(13.72) | 15.80(24.23) |
Table 14. , noise=gumbel: SHD Metrics
All Baselines in MLP non-Gaussian ANM
Results. When hard selection bias is not present, the performance of all methods are similar (F1 around 0.7 − 0.8). However, when selection bias becomes severe, our conditional Hessian rank-based method starts to outperform while other methods’ performance drops significantly.
| Method | F1 (Adj) ↑, | F1 (Adj) ↑, | F1 (Adj) ↑, | F1 (Arrow) ↑, | F1 (Arrow) ↑, | F1 (Arrow) ↑, |
| PC | 0.79(0.02) | 0.67(0.02) | 0.64(0.02) | \ | \ | \ |
| FCI | 0.79(0.02) | 0.67(0.02) | 0.64(0.02) | \ | \ | \ |
| Exact | 0.62(0.02) | 0.62(0.02) | 0.65(0.01) | 0.33(0.05) | 0.32(0.03) | 0.34(0.03) |
| GES | 0.77(0.01) | 0.67(0.03) | 0.66(0.02) | \ | \ | \ |
| GRaSP | 0.68(0.04) | 0.65(0.03) | 0.62(0.02) | \ | \ | \ |
| ICA-LiNGAM | 0.79(0.01) | 0.65(0.01) | 0.65(0.01) | 0.56(0.04) | 0.38(0.03) | 0.35(0.03) |
| Direct-LiNGAM | 0.75(0.01) | 0.67(0.02) | 0.67(0.01) | 0.50(0.05) | 0.40(0.05) | 0.45(0.04) |
| SCORE | 0.86(0.01) | 0.68(0.01) | 0.70(0.01) | 0.81(0.02) | 0.57(0.02) | 0.55(0.03) |
| DAS | 0.86(0.01) | 0.68(0.01) | 0.70(0.01) | 0.81(0.02) | 0.57(0.02) | 0.55(0.03) |
| CAM | 0.86(0.02) | 0.72(0.01) | 0.72(0.01) | 0.37(0.06) | 0.28(0.03) | 0.31(0.04) |
| NoGAM | 0.87(0.01) | 0.68(0.02) | 0.70(0.01) | 0.83(0.02) | 0.57(0.02) | 0.55(0.02) |
| DiffAN | 0.86(0.01) | 0.72(0.01) | 0.71(0.01) | 0.65(0.03) | 0.47(0.03) | 0.36(0.03) |
| CHess (Stein) | 0.86(0.02) | 0.69(0.01) | 0.72(0.01) | 0.77(0.03) | 0.64(0.02) | 0.67(0.02) |
| CHess (DiffAN) | 0.85(0.02) | 0.70(0.01) | 0.71(0.01) | 0.78(0.05) | 0.62(0.03) | 0.65(0.02) |
Table 15. , noise=lognormal, MLP: F1 Metrics
| Method | SHD ↓, | SHD ↓, | SHD ↓, |
| PC | 3.77(1.85) | 5.67(2.82) | 5.83(2.47) |
| FCI | 5.70(0.74) | 6.73(1.60) | 6.93(1.86) |
| Exact | 6.23(2.91) | 6.53(2.78) | 6.33(1.89) |
| GES | 4.27(2.46) | 5.63(3.37) | 6.50(2.98) |
| GRaSP | 4.43(2.58) | 5.20(2.49) | 5.60(1.71) |
| ICA-LiNGAM | 3.37(1.77) | 6.00(2.20) | 6.30(2.48) |
| Direct-LiNGAM | 3.87(1.92) | 5.70(3.48) | 5.67(3.49) |
| SCORE | 1.67(1.09) | 4.57(1.78) | 4.80(2.43) |
| DAS | 1.67(1.09) | 4.57(1.78) | 4.80(2.43) |
| CAM | 4.23(4.18) | 6.43(2.58) | 6.17(2.61) |
| NoGAM | 1.47(1.05) | 4.53(2.45) | 4.70(2.08) |
| DiffAN | 2.67(2.49) | 5.07(2.20) | 6.00(2.47) |
| CHess (Stein) | 1.77(1.65) | 4.17(2.54) | 3.90(1.62) |
| CHess (DiffAN) | 1.80(2.96) | 4.17(2.21) | 4.03(2.30) |
Table 16. , noise=lognormal, MLP: SHD Metrics
DREAM4 experiments
Results. We report the SHD of all methods across 5 networks in Table 17. Due to the extremely small sample size (30 observations for each network), we compare all methods on the full data without selection. We see that our methods achieve the best performance for all networks, with the only exception being Network 5, where DAS [20] achieves the best performance. This shows that our methods perform competitively on small-sized real-world datasets even without selection bias.
| Method | Network 1 | Network 2 | Network 3 | Network 4 | Network 5 |
| SCORE | 12.0 | 12.0 | 12.0 | 13.0 | 9.0 |
| DAS | 12.0 | 13.0 | 13.0 | 13.0 | 8.0 |
| NoGAM | 13.0 | 13.0 | 13.0 | 12.0 | 10.0 |
| CAM | 12.0 | 11.0 | 14.0 | 12.0 | 10.0 |
| CHess (stein) | 11.0 | 14.0 | 13.0 | 12.0 | 13.0 |
| CHess (diffan) | 12.0 | 9.0 | 12.0 | 11.8 | 10.4 |
Table 17. SHD Results for Across All Networks
Sachs experiments
We provide extra results for the Sachs dataset in Table 18–Table 20 for F1 arrow and Table 21–Table 23 for causal ordering accuracy on the aggregated perturbational dataset and in Table 24 for F1 arrow on the separated dataset. We vary the strength and shape of the selection bias, and apply random downsampling when to the same sample size as when selection bias is present, to enable a fair comparison. The results are consistent with the main text, where our methods achieve the best performance.
| Method | ||||
| SCORE | 0.21 (0.04) / 0.26 (0.06) / 0.28 (0.05) | 0.28 (0.04) | 0.29 (0.05) | 0.28 (0.08) |
| DAS | 0.17 (0.06) / 0.18 (0.10) / 0.19 (0.10) | 0.24 (0.05) | 0.23 (0.08) | 0.20 (0.10) |
| NoGAM | 0.23 (0.02) / 0.26 (0.01) / 0.29 (0.04) | 0.28 (0.04) | 0.30 (0.06) | 0.31 (0.08) |
| CAM | 0.41 (0.06) / 0.42 (0.08) / 0.40 (0.08) | 0.23 (0.08) | 0.28 (0.09) | 0.27 (0.10) |
| PC | 0.27 (0.10) / 0.26 (0.10) / 0.25 (0.09) | 0.23 (0.07) | 0.23 (0.07) | 0.20 (0.09) |
| FCI | 0.16 (0.05) / 0.16 (0.06) / 0.13 (0.04) | 0.11 (0.10) | 0.14 (0.11) | 0.11 (0.13) |
| GES | 0.27 (0.05) / 0.25 (0.05) / 0.25 (0.06) | 0.26 (0.08) | 0.22 (0.08) | 0.23 (0.09) |
| GRaSP | 0.25 (0.07) / 0.24 (0.06) / 0.28 (0.07) | 0.23 (0.11) | 0.22 (0.10) | 0.28 (0.14) |
| ICA-LiNGAM | 0.23 (0.07) / 0.23 (0.06) / 0.27 (0.08) | 0.29 (0.06) | 0.30 (0.07) | 0.27 (0.09) |
| DirectLiNGAM | 0.30 (0.06) / 0.28 (0.06) / 0.30 (0.07) | 0.30 (0.07) | 0.33 (0.09) | 0.31 (0.09) |
| DiffAN | 0.34 (0.06) / 0.36 (0.09) / 0.30 (0.08) | 0.18 (0.08) | 0.19 (0.05) | 0.20 (0.09) |
| CHess (Stein) | 0.40 (0.05) / 0.44 (0.06) / 0.42 (0.09) | 0.34 (0.12) | 0.32 (0.12) | 0.36 (0.08) |
| CHess (DiffAN) | 0.36 (0.06) / 0.42 (0.07) / 0.41 (0.10) | 0.41 (0.12) | 0.38 (0.12) | 0.36 (0.10) |
Table 18. F1 (Arrow), halfspace selection
| Method | <br> | <br>() | <br>() | <br>() |
| SCORE | 0.21 (±0.04) / 0.26 (±0.06) / 0.28 (±0.05) | 0.21 (±0.06) | 0.24 (±0.06) | 0.21 (±0.05) |
| DAS | 0.17 (±0.06) / 0.18 (±0.10) / 0.19 (±0.10) | 0.21 (±0.05) | 0.21 (±0.07) | 0.19 (±0.09) |
| NoGAM | 0.23 (±0.02) / 0.26 (±0.01) / 0.29 (±0.04) | 0.26 (±0.05) | 0.27 (±0.04) | 0.24 (±0.04) |
| CAM | 0.41 (±0.06) / 0.42 (±0.08) / 0.40 (±0.08) | 0.31 (±0.09) | 0.34 (±0.08) | 0.31 (±0.09) |
| PC | 0.27 (±0.10) / 0.26 (±0.10) / 0.25 (±0.09) | 0.29 (±0.08) | 0.27 (±0.07) | 0.21 (±0.12) |
| FCI | 0.16 (±0.05) / 0.16 (±0.06) / 0.13 (±0.04) | 0.13 (±0.11) | 0.18 (±0.07) | 0.16 (±0.11) |
| GES | 0.27 (±0.05) / 0.25 (±0.05) / 0.25 (±0.06) | 0.25 (±0.06) | 0.27 (±0.09) | 0.28 (±0.09) |
| GRaSP | 0.25 (±0.07) / 0.24 (±0.06) / 0.28 (±0.07) | 0.26 (±0.09) | 0.27 (±0.11) | 0.25 (±0.13) |
| ICA-LiNGAM | 0.23 (±0.07) / 0.23 (±0.06) / 0.27 (±0.08) | 0.25 (±0.06) | 0.28 (±0.06) | 0.26 (±0.06) |
| DirectLiNGAM | 0.30 (±0.06) / 0.28 (±0.06) / 0.30 (±0.07) | 0.32 (±0.07) | 0.35 (±0.08) | 0.32 (±0.10) |
| DiffAN | 0.34 (±0.06) / 0.36 (±0.09) / 0.30 (±0.08) | 0.20 (±0.08) | 0.23 (±0.09) | 0.22 (±0.09) |
| CHess (Stein) | 0.40 (±0.05) / 0.44 (±0.06) / 0.42 (±0.09) | 0.32 (±0.10) | 0.28 (±0.11) | 0.29 (±0.11) |
| CHess (DiffAN) | 0.36 (±0.06) / 0.42 (±0.07) / 0.41 (±0.10) | 0.37 (±0.10) | 0.40 (±0.14) | 0.39 (±0.12) |
Table 20. F1 (Arrow), two boxes selection
| Method | , | , | , | , |
| SCORE | 0.38 (0.06) / 0.42 (0.07) / 0.42 (0.04) | 0.52 (0.08) | 0.52 (0.08) | 0.52 (0.09) |
| DAS | 0.38 (0.06) / 0.42 (0.07) / 0.42 (0.04) | 0.52 (0.08) | 0.52 (0.08) | 0.52 (0.09) |
| NoGAM | 0.42 (0.03) / 0.42 (0.03) / 0.44 (0.04) | 0.53 (0.06) | 0.52 (0.07) | 0.52 (0.06) |
| CAM | 0.64 (0.07) / 0.61 (0.12) / 0.59 (0.12) | 0.40 (0.12) | 0.45 (0.12) | 0.43 (0.14) |
| PC | - / - / - | - | - | - |
| FCI | - / - / - | - | - | - |
| GES | - / - / - | - | - | - |
| GRaSP | - / - / - | - | - | - |
| ICA-LiNGAM | 0.46 (0.12) / 0.44 (0.10) / 0.48 (0.13) | 0.54 (0.10) | 0.56 (0.10) | 0.48 (0.10) |
| DirectLiNGAM | 0.60 (0.11) / 0.58 (0.07) / 0.61 (0.12) | 0.59 (0.12) | 0.62 (0.14) | 0.57 (0.13) |
| DiffAN | 0.58 (0.09) / 0.58 (0.11) / 0.56 (0.11) | 0.36 (0.10) | 0.38 (0.07) | 0.41 (0.10) |
| CHess (Stein) | 0.73 (0.04) / 0.75 (0.05) / 0.71 (0.07) | 0.55 (0.13) | 0.48 (0.15) | 0.55 (0.12) |
| CHess (DiffAN) | 0.72 (0.05) / 0.71 (0.06) / 0.71 (0.09) | 0.66 (0.12) | 0.60 (0.16) | 0.56 (0.08) |
Table 21. Causal ordering accuracy (0.5 = random order), halfspace selection
| Method | ; | ; () | ; () | ; () |
| SCORE | 0.38 (0.06) / 0.42 (0.07) / 0.42 (0.04) | 0.39 (0.06) | 0.40 (0.07) | 0.40 (0.07) |
| DAS | 0.38 (0.06) / 0.42 (0.07) / 0.42 (0.04) | 0.39 (0.06) | 0.40 (0.07) | 0.40 (0.07) |
| NoGAM | 0.42 (0.03) / 0.42 (0.03) / 0.44 (0.04) | 0.45 (0.05) | 0.43 (0.06) | 0.41 (0.06) |
| CAM | 0.64 (0.07) / 0.61 (0.12) / 0.59 (0.12) | 0.51 (0.14) | 0.52 (0.15) | 0.51 (0.13) |
| PC | - / - / - | - | - | - |
| FCI | - / - / - | - | - | - |
| GES | - / - / - | - | - | - |
| GRaSP | - / - / - | - | - | - |
| ICA-LiNGAM | 0.46 (0.12) / 0.44 (0.10) / 0.48 (0.13) | 0.48 (0.11) | 0.51 (0.11) | 0.46 (0.10) |
| DirectLiNGAM | 0.60 (0.11) / 0.58 (0.07) / 0.61 (0.12) | 0.65 (0.10) | 0.64 (0.11) | 0.60 (0.14) |
| DiffAN | 0.58 (0.09) / 0.58 (0.11) / 0.56 (0.11) | 0.36 (0.14) | 0.37 (0.12) | 0.43 (0.12) |
| CHess (Stein) | 0.73 (0.04) / 0.75 (0.05) / 0.71 (0.07) | 0.58 (0.13) | 0.55 (0.14) | 0.52 (0.11) |
| CHess (DiffAN) | 0.72 (0.05) / 0.71 (0.06) / 0.71 (0.09) | 0.67 (0.09) | 0.66 (0.12) | 0.61 (0.13) |
Table 23. Causal ordering accuracy (0.5 = random order), two boxes selection
| Method | ; non-select | ; halfspace | ; annulus | ; two boxes |
| SCORE | 0.37 (0.09) | 0.36 (0.07) | 0.37 (0.08) | 0.38 (0.09) |
| DAS | 0.31 (0.08) | 0.31 (0.07) | 0.31 (0.08) | 0.32 (0.07) |
| NoGAM | 0.35 (0.07) | 0.35 (0.07) | 0.35 (0.07) | 0.34 (0.07) |
| CAM | 0.28 (0.11) | 0.28 (0.09) | 0.28 (0.08) | 0.29 (0.11) |
| PC | 0.08 (0.05) | 0.16 (0.02) | 0.11 (0.03) | 0.15 (0.03) |
| FCI | 0.03 (0.05) | 0.09 (0.03) | 0.07 (0.04) | 0.12 (0.06) |
| GES | 0.12 (0.03) | 0.21 (0.02) | 0.18 (0.02) | 0.17 (0.02) |
| GRaSP | 0.07 (0.04) | 0.11 (0.02) | 0.11 (0.05) | 0.11 (0.07) |
| ICA-LiNGAM | 0.34 (0.08) | 0.31 (0.05) | 0.33 (0.06) | 0.34 (0.06) |
| DirectLiNGAM | 0.29 (0.14) | 0.29 (0.07) | 0.29 (0.09) | 0.28 (0.10) |
| DiffAN | 0.27 (0.08) | 0.26 (0.07) | 0.27 (0.08) | 0.27 (0.08) |
| CHess (Stein) | 0.36 (0.13) | 0.36 (0.11) | 0.37 (0.13) | 0.39 (0.12) |
| CHess (DiffAN) | 0.34 (0.06) | 0.34 (0.05) | 0.34 (0.07) | 0.34 (0.06) |
Table 24. F1 arrow of per-condition Sachs dataset
Extra result for aggregated Sachs Dataset We combine all 9 experimental conditions into one dataset and score against the ground truth ( before selection bias is applied), which is inline with the main text. We apply selection of different shapes (half-space, annulus, two-box) and different selection fraction .
Extra result for separate Sachs Dataset (per-condition) Each of the 9 experimental conditions is treated as its own dataset and scored against its own ground truth: a perfect intervention makes
| Method | <br> | <br>() | <br>() | <br>() |
| SCORE | 0.21 (±0.04) / 0.26 (±0.06) / 0.28 (±0.05) | 0.29 (±0.06) | 0.32 (±0.07) | 0.34 (±0.08) |
| DAS | 0.17 (±0.06) / 0.18 (±0.10) / 0.19 (±0.10) | 0.26 (±0.06) | 0.29 (±0.09) | 0.32 (±0.08) |
| NoGAM | 0.23 (±0.02) / 0.26 (±0.01) / 0.29 (±0.04) | 0.28 (±0.05) | 0.31 (±0.06) | 0.33 (±0.09) |
| CAM | 0.41 (±0.06) / 0.42 (±0.08) / 0.40 (±0.08) | 0.30 (±0.08) | 0.31 (±0.13) | 0.26 (±0.10) |
| PC | 0.27 (±0.10) / 0.26 (±0.10) / 0.25 (±0.09) | 0.23 (±0.10) | 0.25 (±0.07) | 0.23 (±0.12) |
| FCI | 0.16 (±0.05) / 0.16 (±0.06) / 0.13 (±0.04) | 0.11 (±0.08) | 0.15 (±0.08) | 0.15 (±0.11) |
| GES | 0.27 (±0.05) / 0.25 (±0.05) / 0.25 (±0.06) | 0.22 (±0.05) | 0.21 (±0.07) | 0.20 (±0.10) |
| GRaSP | 0.25 (±0.07) / 0.24 (±0.06) / 0.28 (±0.07) | 0.17 (±0.07) | 0.18 (±0.09) | 0.19 (±0.08) |
| ICA-LiNGAM | 0.23 (±0.07) / 0.23 (±0.06) / 0.27 (±0.08) | 0.21 (±0.06) | 0.26 (±0.06) | 0.27 (±0.07) |
| DirectLiNGAM | 0.30 (±0.06) / 0.28 (±0.06) / 0.30 (±0.07) | 0.29 (±0.07) | 0.27 (±0.07) | 0.30 (±0.07) |
| DiffAN | 0.34 (±0.06) / 0.36 (±0.09) / 0.30 (±0.08) | 0.14 (±0.05) | 0.20 (±0.06) | 0.19 (±0.07) |
| CHess (Stein) | 0.40 (±0.05) / 0.44 (±0.06) / 0.42 (±0.09) | 0.39 (±0.07) | 0.45 (±0.11) | 0.48 (±0.12) |
| CHess (DiffAN) | 0.36 (±0.06) / 0.42 (±0.07) / 0.41 (±0.10) | 0.36 (±0.08) | 0.41 (±0.09) | 0.37 (±0.14) |
Table 19. F1 (Arrow), annulus selection
| Method | , | , | , | , |
| SCORE | 0.38 (0.06) / 0.42 (0.07) / 0.42 (0.04) | 0.45 (0.07) | 0.48 (0.07) | 0.49 (0.06) |
| DAS | 0.38 (0.06) / 0.42 (0.07) / 0.42 (0.04) | 0.45 (0.07) | 0.48 (0.07) | 0.49 (0.06) |
| NoGAM | 0.42 (0.03) / 0.42 (0.03) / 0.44 (0.04) | 0.46 (0.04) | 0.46 (0.05) | 0.47 (0.08) |
| CAM | 0.64 (0.07) / 0.61 (0.12) / 0.59 (0.12) | 0.49 (0.14) | 0.51 (0.17) | 0.45 (0.19) |
| PC | - / - / - | - | - | - |
| FCI | - / - / - | - | - | - |
| GES | - / - / - | - | - | - |
| GRaSP | - / - / - | - | - | - |
| ICA-LiNGAM | 0.46 (0.12) / 0.44 (0.10) / 0.48 (0.13) | 0.42 (0.10) | 0.49 (0.09) | 0.50 (0.10) |
| DirectLiNGAM | 0.60 (0.11) / 0.58 (0.07) / 0.61 (0.12) | 0.58 (0.10) | 0.53 (0.10) | 0.57 (0.11) |
| DiffAN | 0.58 (0.09) / 0.58 (0.11) / 0.56 (0.11) | 0.26 (0.09) | 0.34 (0.13) | 0.34 (0.14) |
| CHess (Stein) | 0.73 (0.04) / 0.75 (0.05) / 0.71 (0.07) | 0.65 (0.16) | 0.71 (0.09) | 0.71 (0.10) |
| CHess (DiffAN) | 0.72 (0.05) / 0.71 (0.06) / 0.71 (0.09) | 0.65 (0.11) | 0.71 (0.10) | 0.65 (0.12) |
Table 22. Causal ordering accuracy (0.5 = random order), annulus selection
the perturbed protein independent of its parents, so that protein’s incoming edges are cut. We apply selection of different shapes (half-space, annulus, two-box) to each of the per-condition subdataset, with 50% of the data remaining. Results show that the proposed CHess achieves the best performance when hard selection is present in the data. Overall CHess (Stein) dominates when selection is present, CHess (DiffAN) dominates in some of the 9 conditions (psitect, aktinhib,pma) as well, which is not shown in this averaged table.
Hardware
All experiments were conducted on a server running Debian GNU/Linux 12, equipped with an Intel Xeon E5-2680 v4 CPU (2.40 GHz), 503 GB RAM, and ten NVIDIA GeForce GTX 1080 Ti GPUs (11 GB VRAM each), using Python 3.13.
References
- [1]Elias Bareinboim and Judea Pearl. Controlling selection bias in causal inference. In Artificial Intelligence and Statistics, pages 100–108. PMLR, 2012.
- [2]Elias Bareinboim and Jin Tian. Recovering causal effects from selection bias. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 29, 2015.DOI
- [3]Elias Bareinboim, Jin Tian, and Judea Pearl. Recovering from selection bias in causal and statistical inference. In Probabilistic and causal inference: The works of Judea Pearl, pages 433–450, 2014.
- [4]Elias Bareinboim, Jin Tian, and Judea Pearl. Recovering from selection bias in causal and statistical inference. In Probabilistic and causal inference: The works of Judea Pearl, pages 433–450, 2022.
- [5]Peter Bühlmann, Jonas Peters, and Jan Ernest. CAM: Causal additive models, high-dimensional order search and penalized regression. Ann. Statist., 42(6), December 2014. ISSN 0090-5364. doi: 10.1214/14-AOS1260.DOI
- [6]David Maxwell Chickering. Optimal structure identification with greedy search. J. Mach. Learn. Res., 3(null):507–554, mar 2003. ISSN 1532-4435. doi: 10.1162/153244303321897717. URL https://doi.org/10.1162/153244303321897717.
- [7]Diego Colombo, Marloes H Maathuis, Markus Kalisch, and Thomas S Richardson. Learning high-dimensional directed acyclic graphs with latent and selection variables. The Annals of Statistics, pages 294–321, 2012.DOI
- [8]Juan D. Correa, Jin Tian, and Elias Bareinboim. Identification of Causal Effects in the Presence of Selection Bias. AAAI, 33(01):2744–2751, July 2019. ISSN 2374-3468, 2159-5399. doi: 10.1609/aaai.v33i01.33012744.DOI
- [9]Haoyue Dai, Ignavier Ng, Jianle Sun, Zeyu Tang, Gongxu Luo, Xinshuai Dong, Peter Spirtes, and Kun Zhang. When Selection Meets Intervention: Additional Complexities in Causal Discovery, March 2025a.arxiv.org/abs/2503.07302
- [10]Haoyue Dai, Yiwen Qiu, Ignavier Ng, Xinshuai Dong, Peter Spirtes, and Kun Zhang. Latent Variable Causal Discovery under Selection Bias, December 2025b.arxiv.org/abs/2512.11219
- [11]Zachary W Dwyer and Jeffrey A Pleiss. The problem of selection bias in studies of pre-mrna splicing. nature communications, 14(1):1966, 2023.DOI
- [12]Cooper Gregory. Causal Discovery from Data in the Presence of Selection Bias, 1995.
- [13]James J Heckman. Sample selection bias as a specification error (with an application to the estimation of labor supply functions), volume 172. National Bureau of Economic Research Cambridge, MA, 1977.DOI
- [14]James J. Heckman. Sample Selection Bias as a Specification Error. Econometrica, 47(1):153–161, 1979. ISSN 0012-9682. doi: 10.2307/1912352.DOI
- [15]Miguel A Hernán, Sonia Hernández-Díaz, and James M Robins. A structural approach to selection bias. Epidemiology, pages 615–625, 2004.pubmed.ncbi.nlm.nih.gov/15308962
- [16]Amin Jaber, Jiji Zhang, and Elias Bareinboim. Causal identification under markov equivalence: Completeness results. In International Conference on Machine Learning, pages 2981–2989. PMLR, 2019.
- [17]Wai-Yin Lam, Bryan Andrews, and Joseph Ramsey. Greedy relaxations of the sparsest permutation algorithm. In Uncertainty in Artificial Intelligence, pages 1052–1062. PMLR, 2022.arxiv.org/abs/2206.05421
- [18]Gongxu Luo, Haoyue Dai, Loka Li, Chengqian Gao, Boyang Sun, and Kun Zhang. Gene regulatory network inference in the presence of selection bias and latent confounders. arXiv preprint arXiv:2501.10124, 2025.arxiv.org/abs/2501.10124
- [19]Takashi Nicholas Maeda and Shohei Shimizu. Causal additive models with unobserved variables. In Uncertainty in Artificial Intelligence, pages 97–106. PMLR, 2021.
- [20]Francesco Montagna, Nicoletta Noceti, Lorenzo Rosasco, Kun Zhang, and Francesco Locatello. Scalable Causal Discovery with Score Matching. In Proceedings of the Second Conference on Causal Learning and Reasoning, pages 752–771. PMLR, August 2023.arxiv.org/abs/2304.03382
- [21]Francesco Montagna, Philipp M. Faller, Patrick Bloebaum, Elke Kirschbaum, and Francesco Locatello. Score matching through the roof: Linear, nonlinear, and latent variables causal discovery, March 2025.arxiv.org/abs/2407.18755
- [22]Judea Pearl. Causality. Cambridge university press, 2009.
- [24]Jonas Peters, Joris M Mooij, Dominik Janzing, and Bernhard Schölkopf. Causal discovery with continuous additive noise models. 2014.arxiv.org/abs/1309.6779
- [25]Andrea Pinna, Nicola Soranzo, and Alberto De La Fuente. From knockouts to networks: establishing direct cause-effect relationships through graph analysis. PloS one, 5(10):e12912, 2010.DOI
- [26]Joseph Ramsey and Bryan Andrews. Fask with interventional knowledge recovers edges from the sachs model. arXiv. org preprint. arXiv preprint arXiv:1805.03108, 2018.arxiv.org/abs/1805.03108
- [27]James M Robins, Miguel Angel Hernan, and Babette Brumback. Marginal structural models and causal inference in epidemiology, 2000.pubmed.ncbi.nlm.nih.gov/10955408
- [28]Paul Rolland, Volkan Cevher, Matthäus Kleindessner, Chris Russel, Bernhard Schölkopf, Dominik Janzing, and Francesco Locatello. Score matching enables causal discovery of nonlinear additive noise models, March 2022.arxiv.org/abs/2203.04413
- [29]Karen Sachs, Omar Perez, Dana Pe’er, Douglas A Lauffenburger, and Garry P Nolan. Causal protein-signaling networks derived from multiparameter single-cell data. Science, 308(5721):523–529, 2005.
- [30]Pedro Sanchez, Xiao Liu, Alison Q. O’Neil, and Sotirios A. Tsaftaris. Diffusion Models for Causal Discovery via Topological Ordering, June 2023.arxiv.org/abs/2210.06201
- [31]Hiroaki Sasaki, Yung-Kyun Noh, Gang Niu, and Masashi Sugiyama. Direct density derivative estimation. Neural computation, 28(6):1101–1140, 2016.DOI
- [32]Ashka Shah, Arvind Ramanathan, Valerie Hayot-Sasson, and Rick Stevens. Causal discovery and optimal experimental design for genome-scale biological network recovery. In Proceedings of the Platform for Advanced Scientific Computing Conference, pages 1–11, 2023.arxiv.org/abs/2304.03210
- [33]Shohei Shimizu, Patrik O Hoyer, Aapo Hyvärinen, Antti Kerminen, and Michael Jordan. A linear non-gaussian acyclic model for causal discovery. Journal of Machine Learning Research, 7(10), 2006.
- [34]Shohei Shimizu, Takanori Inazumi, Yasuhiro Sogawa, Aapo Hyvarinen, Yoshinobu Kawahara, Takashi Washio, Patrik O Hoyer, Kenneth Bollen, and Patrik Hoyer. Directlingam: A direct method for learning a linear non-gaussian structural equation model. Journal of Machine Learning Research-JMLR, 12(Apr):1225–1248, 2011.
- [35]Yang Song and Stefano Ermon. Generative modeling by estimating gradients of the data distribution. Advances in neural information processing systems, 32, 2019.arxiv.org/abs/1907.05600
- [36]Alessio Spantini, Daniele Bigoni, and Youssef Marzouk. Inference via low-dimensional couplings. Journal of Machine Learning Research, 19(66):1–71, 2018.arxiv.org/abs/1703.06131
- [37]Peter Spirtes, Clark N Glymour, and Richard Scheines. Causation, prediction, and search. MIT press, 2000.
- [38]Peter L. Spirtes, Christopher Meek, and Thomas S. Richardson. Causal Inference in the Presence of Latent Variables and Selection Bias, February 2013.arxiv.org/abs/1302.4983
- [39]Charles Stein. A bound for the error in the normal approximation to the distribution of a sum of dependent random variables. In Proceedings of the sixth Berkeley symposium on mathematical statistics and probability, volume 2: Probability theory, volume 6, pages 583–603. University of California Press, 1972.DOI
- [40]James M. Swanson. The UK Biobank and selection bias. The Lancet, 380(9837):110, July 2012. ISSN 0140-6736, 1474-547X. doi: 10.1016/S0140-6736(12)61179-9.DOI
- [41]Sjoerd van Alten, Benjamin W Domingue, Jessica Faul, Titus Galama, and Andries T Marees. Reweighting UK Biobank corrects for pervasive selection bias due to volunteering. Int J Epidemiol, 53(3):dyae054, May 2024. ISSN 0300-5771. doi: 10.1093/ije/dyae054.DOI
- [42]Benito Van der Zander, Maciej Liskiewicz, and Johannes Textor. Constructing separators and adjustment sets in ancestral graphs. In C I@ UAI, pages 11–24, 2014.
- [43]Philip Versteeg, Joris Mooij, and Cheng Zhang. Local Constraint-Based Causal Discovery under Selection Bias. In Proceedings of the First Conference on Causal Learning and Reasoning, pages 840–860. PMLR, June 2022.arxiv.org/abs/2203.01848
- [44]Kun Zhang, Jiji Zhang, Biwei Huang, Bernhard Scholkopf, and Clark Glymour. On the Identifiability and Estimation of Functional Causal Models in the Presence of Outcome-Dependent Selection. In Uncertainty in Artificial Intelligence (UAI), 2016.
- [45]Yujia Zheng, Biwei Huang, Wei Chen, Joseph Ramsey, Mingming Gong, Ruichu Cai, Shohei Shimizu, Peter Spirtes, and Kun Zhang. Causal-learn: Causal discovery in python. Journal of Machine Learning Research, 25(60):1–8, 2024a.arxiv.org/abs/2307.16405
- [46]Yujia Zheng, Zeyu Tang, Yiwen Qiu, Bernhard Schölkopf, and Kun Zhang. Detecting and Identifying Selection Structure in Sequential Data, June 2024b.arxiv.org/abs/2407.00529