Manuscript Offprint
arXiv:2610.21892Graph Dirichlet Energy for Fitting-Free Bivariate Causal Inference
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
We propose the Graph Dirichlet Energy Causal Inference (GDECI) criterion for distinguishing cause from effect in bivariate settings. For a candidate direction , we construct a kernel similarity graph from X and treat Y as a graph signal. The score is the Dirichlet energy of this signal, induced by the unnormalized graph Laplacian. The reverse score swaps the variables, and the lower-energy direction is inferred as causal. The method requires neither regression fitting nor independence testing. After the empirical probability integral transform, its decisions are invariant under strictly monotone transformations of either variable, and the graph operations reduce to convolutions, allowing exact evaluation in time and memory. At the population level, GDECI compares degree-weighted Bayes squared prediction errors plus a non-negative smoothness term of the regression function. As the bandwidth tends to zero, the weights become uniform and the smoothness term vanishes, reducing the criterion to a RECI-type comparison of expected conditional variances in copula space. Empirically, we compare GDECI with QCCD, GRCI, CAM, IGCI (two variants), RESIT, LOCI, QPE-k, and RECI (two variants), in accuracy on 1899 cause-effect pairs and in inference speed. GDECI ranked fifth of eleven methods in macro-averaged accuracy on 12 synthetic suites (0.776). On the real-world Tuebingen pairs, it ranked third in unweighted accuracy (0.684) and fifth in weighted accuracy (0.678). It was also the fastest of the compared methods up to . The accompanying code repository: https://github.com/povidanius/gdeci.
1 Introduction
Given an i.i.d. sample of , deciding whether or is an important problem in causal discovery, with applications wherever interventions are costly or infeasible [15]. From the observational joint distribution alone, the causal direction is in general not identifiable without additional assumptions. Bivariate causal-discovery methods therefore exploit statistical or structural properties that hold in the causal direction but generally fail when the roles of cause and effect are reversed.
A broad class of methods obtains such asymmetries by restricting the data-generating mechanism. For instance, additive-noise models [10] represent the effect as a function of the cause plus an independent disturbance, with N independent of X. RESIT [16] fits a nonlinear regression in each direction and tests whether the residuals are independent of the regressor, while CAM [4] compares the Gaussian likelihoods of additive models fitted in the two directions. Location-scale (heteroscedastic) noise models generalize this to , so that the noise scale may depend on the cause and the noise is recovered as the standardized residual . GRCI [21] estimates the conditional mean and scale in each direction and selects the direction whose standardized residual is less dependent on the candidate cause, measured by mutual information. LOCI [11] fits f and g with neural networks and selects the direction with either the higher likelihood or the weaker HSIC dependence between the standardized residual and the candidate cause. These restrictions make the direction identifiable because, apart from non-generic cases, no model of the same form holds in the reverse direction [10, 16, 21, 11]. QPE-k [5] restricts the conditional distribution through the quantile partial effect, defined by differentiating the conditional quantile function with respect to the cause at a fixed quantile level. For each value of the cause, this quantity, viewed as a function of the response
A PREPRINT
value, is assumed to be a linear combination of finitely many known basis functions. This assumption contains additive and heteroscedastic noise models as special cases.
Other methods derive such asymmetries from the principle of independence of cause and mechanism (ICM) [13], which they formalize in different ways. For instance, IGCI relies on the fact that, if the cause distribution and the data-generating mechanism are chosen independently, irregularities of the latter are generally reflected in the effect distribution, resulting in an asymmetry in relative entropy [6, 12]. QCCD approaches the independence of cause and mechanism through minimum description length, comparing the quantile scores of nonparametric quantile regressions in the two directions as proxies for code length [23]. RECI compares the least-squares errors of regressing each variable on the other. Under an independence postulate, the error is smaller in the causal direction for equally scaled variables, invertible nonlinear mechanisms, and sufficiently small noise [2, 3].
In this paper, we investigate whether asymmetries in graph Dirichlet energy can reveal the causal direction between two variables. We treat one variable as a signal on a similarity graph built from the other and measure its Dirichlet energy induced by the unnormalized graph Laplacian. Although graph Dirichlet energy has been widely used in machine learning and graph signal processing [1, 24, 20], to the best of our knowledge, this graph-based framework was not investigated from the perspective of bivariate causal asymmetry. The main contributions are:
• Theoretical and methodological contributions. We propose a fitting-free GDECI criterion for bivariate causal inference, whose decisions are invariant under strictly monotone transformations of either variable, and show that its population form decomposes into a weighted Bayes squared prediction error and a smoothness term. As the bandwidth tends to zero, the smoothness term vanishes, so that GDECI reduces to a RECI-type comparison in copula space. We give a sufficient condition under which GDECI selects the causal direction for non-injective mechanisms, and show that the smoothness term is of smaller order in the causal direction for monotone additive and heteroscedastic mechanisms with bounded noise. We also derive a fast algorithm to compute the GDECI criterion in time and memory.
• Empirical study. We benchmark GDECI against QCCD, GRCI, CAM, IGCI, RESIT, LOCI, QPE-k, and RECI methods on 1899 cause-effect pairs and report its empirical profile for both accuracy and inference time.
We introduce the proposed criterion in Section 2, discuss its theoretical properties in Section 3, and present an efficient algorithm in Section 4. Section 5 is devoted to the experiments. Finally, we discuss limitations in Section 6 and conclude our paper in Section 7. Proofs and other technical information are provided in Appendices A, B, C, D, and E.
and, with ,
(1)
The reverse score swaps and , and the direction with the smaller is returned. In practice, and are replaced by the normalized empirical ranks and , respectively.
Bandwidth. We parameterize by a dimensionless multiplier relative to the median interpoint distance, , recomputed per pair, direction and preprocessing, so is the only free parameter. Under marginal equalization the two samples are permutations of the same rank grid, hence .
A PREPRINT
Invariance. Since the orientation of a cause-effect pair should not depend on the measurement scale, invariance under strictly monotone transformations of either variable ensures that changes of measurement units or scale orientation do not affect the inferred causal direction. GDECI satisfies this requirement through marginal equalization and the use of the unnormalized graph Laplacian (Appendix A). For the normalized Laplacian , whose null space is spanned by rather than 1, invariance under strictly decreasing transformations generally fails.
3 Theoretical analysis
We state the main theoretical results below and defer all proofs to Appendices B and C. Throughout, and are uniform on . Write , and (the degree weights). Let , , and . For , let . Define
and likewise, with in place of .
Proposition 1 (Population form). For every fixed , almost surely as , and , also for the rank-based scores. As , for every , and .
The weights form a probability density on that is smallest at the endpoints and tends to 1 in the interior as (Lemma 1). The following results give conditions under which the population rule selects the causal direction. For non-injective mechanisms (Theorem 1), the conditional-variance term determines the decision, relying on the fact that the cause cannot be recovered from the effect. For bounded monotone location-scale (heteroscedastic) mechanisms (Proposition 2), the smoothness term is of smaller order in the causal direction as , but both smoothness terms enter the score difference only beyond first order in . At first order, the degree weighting rescales the zero-bandwidth difference and adds a positive boundary term. Hence, at small bandwidth, the causal direction is selected whenever its expected conditional variance is not larger.
Theorem 1 (Non-injective mechanisms). Let , , where and are independent with continuous distributions, is Borel, is continuous and strictly increasing, and has a continuous distribution. Assume that is injective on no Borel set with , and put , and . Then , for every , and as . Consequently, there exist , such that for all and , and for each such the rank-based rule with bandwidth selects almost surely for all sufficiently large .
Proposition 2 (Bounded location-scale mechanisms). Let , where and are independent and supported on and , , with densities that are strictly positive on these closed intervals. Let , and , and put , . Then: (i) there exist and such that and for , (ii) has a continuous version with , has a version with , and, as ,
Hence, if , then for all sufficiently small . Monotone additive mechanisms with are the case .
Relation to regression-error criteria. By Proposition 1, the population rule compares degree-weighted Bayes squared prediction errors plus a smoothness term. As , it corresponds to a RECI-type comparison [3] with Bayes-optimal regression in copula space. However, GDECI differs from RECI in three respects. First, through rank equalization, its decisions are invariant to strictly monotone transformations of either variable (Section 2), whereas RECI is applied on the original scale. Second, no explicit regression is fitted, since GDECI evaluates (see (1)). Third, for , degree weighting and the smoothness term change the population criterion itself. For the mechanisms of Proposition 2, the degree weighting already favours the causal direction at first order in . Empirically, the positive-bandwidth component improved overall accuracy relative to an extrapolated estimate of the zero-bandwidth limit, with statistical significance (Section 5.5).
A PREPRINT
4 Efficient computation
Evaluating and directly requires all kernel weights and hence time. After marginal equalization, however, both scores can be computed exactly in time. Let and , with ties broken at random, so that and are permutations of the same grid . Consequently, both directions share the bandwidth with , and the kernel weight between the observations with -ranks and equals , where , and thus depends only on the lag . Sorting the observations by their -ranks therefore turns into the Toeplitz matrix , and sorting them instead by their -ranks turns into the same matrix. In the original observation order, and differ, but is unchanged when and are permuted together, so both energies use the single Laplacian with . The two scores therefore differ only through the signals. Here is obtained from by reordering its components by increasing -rank, and is obtained from by reordering its components by increasing -rank.
Proposition 3 (Efficient computation). Under marginal equalization, with ties broken at random, and
so the GDECI rule selects exactly when . Each double sum equals for , where is a discrete convolution of with , so both energies can be evaluated by fast Fourier transforms in time and memory.
The proof is given in Appendix D.
5 Experiments
5.1 Methods
We compare GDECI with a set of established methods for bivariate causal discovery. QCCD [23] compares quantile-regression scores motivated by the minimum description length principle. GRCI [21] fits heteroscedastic noise models and assesses dependence between the inferred noise and the candidate cause. CAM [4] scores causal additive models using a Gaussian likelihood, whereas RESIT [16] combines nonlinear regression with residual independence testing. IGCI [6, 12] exploits an assumption of independence of cause distribution and the causal mechanism. We evaluate variants with uniform and Gaussian reference measures, denoted by IGCI and IGCI_G, respectively. LOCI [11] fits location-scale noise models in both directions. We use its neural estimator with standardized inputs, 5000 training epochs, and HSIC-based residual independence testing. RECI [2] selects the direction with the smaller regression error. We evaluate two of its configurations. The first is the default Causal Discovery Toolbox (CDT) [14] implementation, which is included in recent benchmarks [5]. The empirical performance of RECI depends on the regression function class, preprocessing, etc. [2]. With its default degree of three, the toolbox zeroes the linear and quadratic columns of the design matrix and therefore fits , a member of the MON family considered by [2]. We additionally evaluate RECI_poly, which retains the toolbox's directional decision rule and [0, 1] min-max rescaling, but uses the polynomial family , with , considered by [2]. Finally, QPE-k [5] estimates quantile partial effects using kernels and compares how well they satisfy a prescribed basis representation through a least-squares test.
For the accuracy comparisons, QCCD, GRCI, CAM, IGCI, and RESIT variants use the released per-pair outputs distributed with the LOCI repository [11], rescored on our evaluation pairs. LOCI, RECI, and QPE-k were run locally. The GDECI variants and the marginal-only EDGEMASS control are defined in Section 5.3.
5.2 Datasets
We evaluate on 13 established bivariate cause–effect benchmark suites, using all observations in the versions distributed with the LOCI repository [11].
The four SIM suites originate from Mooij et al. [15]. Each contains 100 cause–effect pairs with 1000 observations per pair. SIM is the default simulated setting, SIM-c adds one confounder, SIM-ln uses lower noise levels, and SIM-G uses a cause distribution that is approximately Gaussian. Tagasovska et al. [23] introduced five further synthetic suites, again with 100 pairs and 1000 observations per pair: AN and AN-s use additive-noise mechanisms, while LS and LS-s use
https://github.com/aleximmer/loci/
A PREPRINT
Table 1: Scoring rules and preprocessing transformations.
| Name | Score | Preprocessing |
|---|---|---|
| GDECI | ||
| EDGEMASS |
location-scale mechanisms, and the “s” variants use sigmoidal mechanisms. MN-U uses a sigmoidal mechanism with multiplicative uniform noise.
The Net, Multi, and Cha rows correspond to the CE-Net, CE-Multi, and CE-Cha benchmarks used by Goudet et al. [8]. In the LOCI distribution each contains 300 pairs. CE-Net uses randomly initialized neural-network mechanisms with varied cause distributions, whereas CE-Multi uses linear or polynomial mechanisms with pre- or post-additive and multiplicative noise. CE-Cha is the continuous-variable subset derived from the ChaLearn Cause–Effect Pairs Challenge [9]. Unlike the other synthetic suites, it includes both real and artificial data.
Finally, Tuebingen is the real-world benchmark of Mooij et al. [15]. We follow the commonly used univariate continuous protocol and evaluate the 99 eligible pairs [23], reporting both unweighted accuracy and accuracy with the supplied pair weights.
5.3 GDECI scores evaluated
To assess the effect of marginal equalization, we compare GDECI with a standardized counterpart that omits the empirical probability integral transform (PIT) and retains marginal shape information (Table 1). The PIT map assigns normalized ranks in , whereas centres each variable and scales it to unit variance. For , and , define
where is the degree matrix, as in Section 2. Reverse scores swap and ; each rule selects the direction with the smaller score. Bandwidth multipliers were selected by maximizing accuracy in 300 cause-effect pairs, generated independently via CDT, and disjoint from every benchmark reported here.
Under , both samples are permutations of the same grid, so and comparing scores reduces to comparing energies. Under , the edge masses generally differ, so the normalization does not cancel. EDGEMASS compares the edge masses alone and therefore uses only marginal information.
5.4 Benchmark results
We benchmark both accuracy and computational cost. The resulting empirical profile is summarised in Figure 1, with inference time in panel (a) and accuracy on the synthetic suites and the Tuebingen pairs in panels (b) and (c), respectively. Panel (d) plots each method's accuracy against its inference time and shows that no method is both faster and more accurate than GDECI, on either the synthetic suites or the Tuebingen pairs. Per-suite accuracies with 95% Wilson intervals are reported in Table 2. Throughout, all bandwidths were frozen before evaluation as described in Section 5.3.
Accuracy. Among the investigated methods, GDECI ranked fifth in macro accuracy on the 12 synthetic suites (0.776, Figure 1(b)), behind LOCI, QPE-k, GRCI and QCCD. It was most effective on the additive and location-scale suites and weakest on Cha, SIM-G and Multi. On the real-world Tuebingen pairs it ranked third in unweighted accuracy (0.684, Figure 1(c)), behind GRCI and QCCD, and fifth in weighted accuracy (0.678), behind GRCI, QCCD, RECI and IGCI, although the confidence intervals on these 99 pairs overlap for most methods. The standardized variant GDECI reached only 0.586 on the Tuebingen pairs, below GDECI's 0.684 (paired permutation test, ), whereas on the 12 synthetic suites the two did not differ significantly (0.762 vs. 0.776, paired permutation test's ).
RECI configurations. The two RECI configurations differ substantially. The CDT default reproduces the monomial rows of [2, 3]: on SIM, SIM-c, SIM-ln and SIM-G it attains 0.44, 0.53, 0.44 and 0.39, against the reported monomial ranges 0.42–0.46, 0.54–0.63, 0.37–0.45 and 0.43–0.47. RECI recovers the accuracies reported there for polynomial
A PREPRINT
Table 2: Accuracies with 95% Wilson confidence intervals. Panel (a) reflects the published data (LOCI repository), and panel (b) the methods run here together.
(a) published per-pair outputs
| benchmark | QCCD | GRCI | CAM | IGCI | RESIT | ||
|---|---|---|---|---|---|---|---|
| AN | 100 | 1.000 [0.96, 1.00] | 1.000 [0.96, 1.00] | 1.000 [0.96, 1.00] | 0.200 [0.13, 0.29] | 1.000 [0.96, 1.00] | 1.000 [0.96, 1.00] |
| AN-s | 100 | 0.820 [0.73, 0.88] | 0.940 [0.88, 0.97] | 1.000 [0.96, 1.00] | 0.350 [0.26, 0.45] | 1.000 [0.96, 1.00] | 1.000 [0.96, 1.00] |
| LS | 100 | 1.000 [0.96, 1.00] | 0.980 [0.93, 0.99] | 1.000 [0.96, 1.00] | 0.460 [0.37, 0.56] | 0.980 [0.93, 0.99] | 0.600 [0.50, 0.69] |
| LS-s | 100 | 0.960 [0.90, 0.98] | 0.870 [0.79, 0.92] | 0.530 [0.43, 0.62] | 0.340 [0.25, 0.44] | 0.990 [0.95, 1.00] | 0.030 [0.01, 0.08] |
| MN-U | 100 | 0.990 [0.95, 1.00] | 0.880 [0.80, 0.93] | 0.860 [0.78, 0.91] | 0.110 [0.06, 0.19] | 1.000 [0.96, 1.00] | 0.050 [0.02, 0.11] |
| SIM | 100 | 0.620 [0.52, 0.71] | 0.770 [0.68, 0.84] | 0.570 [0.47, 0.66] | 0.370 [0.28, 0.47] | 0.380 [0.29, 0.48] | 0.780 [0.69, 0.85] |
| SIM-c | 100 | 0.720 [0.63, 0.80] | 0.770 [0.68, 0.84] | 0.600 [0.50, 0.69] | 0.450 [0.36, 0.55] | 0.390 [0.30, 0.49] | 0.820 [0.73, 0.88] |
| SIM-G | 100 | 0.640 [0.54, 0.73] | 0.700 [0.60, 0.78] | 0.810 [0.72, 0.87] | 0.530 [0.43, 0.62] | 0.830 [0.74, 0.89] | 0.770 [0.68, 0.84] |
| SIM-In | 100 | 0.800 [0.71, 0.87] | 0.770 [0.68, 0.84] | 0.870 [0.79, 0.92] | 0.510 [0.41, 0.61] | 0.590 [0.49, 0.68] | 0.870 [0.79, 0.92] |
| Cha | 300 | 0.537 [0.48, 0.59] | 0.700 [0.65, 0.75] | 0.467 [0.41, 0.52] | 0.550 [0.49, 0.61] | 0.580 [0.52, 0.63] | 0.343 [0.29, 0.40] |
| Multi | 300 | 0.507 [0.45, 0.56] | 0.773 [0.72, 0.82] | 0.347 [0.30, 0.40] | 0.923 [0.89, 0.95] | 0.680 [0.63, 0.73] | 0.373 [0.32, 0.43] |
| Net | 300 | 0.803 [0.75, 0.84] | 0.847 [0.80, 0.88] | 0.783 [0.73, 0.83] | 0.553 [0.50, 0.61] | 0.597 [0.54, 0.65] | 0.783 [0.73, 0.83] |
| Tuebingen | 99 | 0.697 [0.60, 0.78] | 0.798 [0.71, 0.87] | 0.576 [0.48, 0.67] | 0.657 [0.56, 0.74] | 0.606 [0.51, 0.70] | 0.525 [0.43, 0.62] |
| Tuebingen, weighted | 99 | 0.771 [0.65, 0.86] | 0.816 [0.70, 0.90] | 0.578 [0.45, 0.70] | 0.680 [0.55, 0.79] | 0.563 [0.43, 0.68] | 0.620 [0.49, 0.74] |
| macro mean, 12 non-Tuebingen | 1800 | 0.783 [0.76, 0.80] | 0.833 [0.81, 0.85] | 0.736 [0.72, 0.76] | 0.446 [0.42, 0.47] | 0.751 [0.73, 0.77] | 0.618 [0.60, 0.64] |
(b) fully replicated in our study
| benchmark | LOCI | RECI | QPE-k | GDECI | EDGEMASS | |||
|---|---|---|---|---|---|---|---|---|
| AN | 100 | 1.000 [0.96, 1.00] | 0.180 [0.12, 0.27] | 0.920 [0.85, 0.96] | 0.990 [0.95, 1.00] | 1.000 [0.96, 1.00] | 1.000 [0.96, 1.00] | 0.940 [0.88, 0.97] |
| AN-s | 100 | 1.000 [0.96, 1.00] | 0.350 [0.26, 0.45] | 0.610 [0.51, 0.70] | 0.880 [0.80, 0.93] | 1.000 [0.96, 1.00] | 0.830 [0.74, 0.89] | 0.960 [0.90, 0.98] |
| LS | 100 | 0.940 [0.88, 0.97] | 0.220 [0.15, 0.31] | 0.850 [0.77, 0.91] | 1.000 [0.96, 1.00] | 1.000 [0.96, 1.00] | 1.000 [0.96, 1.00] | 0.920 [0.85, 0.96] |
| LS-s | 100 | 0.890 [0.81, 0.94] | 0.440 [0.35, 0.54] | 0.080 [0.04, 0.15] | 0.780 [0.69, 0.85] | 0.670 [0.57, 0.75] | 0.840 [0.76, 0.90] | 0.950 [0.89, 0.98] |
| MN-U | 100 | 1.000 [0.96, 1.00] | 0.130 [0.08, 0.21] | 0.040 [0.02, 0.10] | 1.000 [0.96, 1.00] | 0.990 [0.95, 1.00] | 1.000 [0.96, 1.00] | 0.990 [0.95, 1.00] |
| SIM | 100 | 0.780 [0.69, 0.85] | 0.440 [0.35, 0.54] | 0.570 [0.47, 0.66] | 0.830 [0.74, 0.89] | 0.510 [0.41, 0.61] | 0.650 [0.55, 0.74] | 0.350 [0.26, 0.45] |
| SIM-c | 100 | 0.820 [0.73, 0.88] | 0.530 [0.43, 0.62] | 0.660 [0.56, 0.75] | 0.790 [0.70, 0.86] | 0.580 [0.48, 0.67] | 0.690 [0.59, 0.77] | 0.360 [0.27, 0.46] |
| SIM-G | 100 | 0.780 [0.69, 0.85] | 0.390 [0.30, 0.49] | 0.590 [0.49, 0.68] | 0.830 [0.74, 0.89] | 0.750 [0.66, 0.82] | 0.560 [0.46, 0.65] | 0.850 [0.77, 0.91] |
| SIM-In | 100 | 0.740 [0.65, 0.82] | 0.440 [0.35, 0.54] | 0.790 [0.70, 0.86] | 0.680 [0.58, 0.76] | 0.810 [0.72, 0.87] | 0.790 [0.70, 0.86] | 0.510 [0.41, 0.61] |
| Cha | 300 | 0.727 [0.67, 0.77] | 0.560 [0.50, 0.62] | 0.583 [0.53, 0.64] | 0.597 [0.54, 0.65] | 0.437 [0.38, 0.49] | 0.499 [0.44, 0.56] | 0.583 [0.53, 0.64] |
| Multi | 300 | 0.790 [0.74, 0.83] | 0.853 [0.81, 0.89] | 0.853 [0.81, 0.89] | 0.883 [0.84, 0.91] | 0.647 [0.59, 0.70] | 0.607 [0.55, 0.66] | 0.683 [0.63, 0.73] |
| Net | 300 | 0.867 [0.82, 0.90] | 0.603 [0.55, 0.66] | 0.733 [0.68, 0.78] | 0.893 [0.85, 0.92] | 0.750 [0.70, 0.80] | 0.847 [0.80, 0.88] | 0.557 [0.50, 0.61] |
| Tuebingen | 99 | 0.596 [0.50, 0.69] | 0.636 [0.54, 0.72] | 0.586 [0.49, 0.68] | 0.535 [0.44, 0.63] | 0.586 [0.49, 0.68] | 0.684 [0.59, 0.77] | 0.263 [0.19, 0.36] |
| Tuebingen, weighted | 99 | 0.621 [0.49, 0.74] | 0.736 [0.61, 0.83] | 0.656 [0.53, 0.77] | 0.613 [0.48, 0.73] | 0.562 [0.43, 0.68] | 0.678 [0.55, 0.78] | 0.345 [0.23, 0.47] |
| macro mean, 12 non-Tuebingen | 1800 | 0.861 [0.84, 0.88] | 0.428 [0.40, 0.45] | 0.607 [0.59, 0.63] | 0.846 [0.83, 0.86] | 0.762 [0.74, 0.78] | 0.776 [0.76, 0.79] | 0.721 [0.70, 0.74] |
regressors of degree at least two: 0.57, 0.66, 0.79 and 0.59 on the same four suites, against the reported ranges 0.52–0.57, 0.65–0.68, 0.69–0.82 and 0.54–0.60, and 0.656 on the weighted Tuebingen pairs against the reported 0.653–0.686 on this benchmark. Over the twelve non-Tuebingen suites raises the macro mean from 0.428 to 0.607, improving nine suites and worsening two (McNemar over the 1800 pairs).
Computational cost. The fast algorithm followed the predicted rate (Figure 1(a)), reproduced the direct evaluation, and processed samples of in about 0.6 s. The direct evaluation exceeded the 120 s budget at . At , the size of most benchmark pairs, GDECI was the cheapest method in the comparison. Only RECI, which requires a single least-squares fit per direction, reached comparable speed at , and beyond it was faster, by a factor of about three at . LOCI and RESIT exceeded the time budget at , GRCI at . Taken together, the methods that were more accurate than GDECI on the 12 synthetic suites were about two to five orders of magnitude slower at , whereas the methods of comparable cost were less accurate on these suites.
Marginal information. The comparatively high EDGEMASS and accuracies on several synthetic suites show that parts of these benchmarks can be oriented from marginal information alone. The two agree closely at the suite level ( across the 12 synthetic suites), suggesting that both are largely driven by the same marginal signal. Related observations appear in [17], where marginal characteristics of simulated benchmarks are shown to be informative about the causal orientation.
5.5 Ablation: does the part carry directional signal?
To separate the zero-bandwidth limit of Proposition 1 from the positive-bandwidth part, we score all 1,899 pairs at , , where is the frozen bandwidth of Table 2. Causal labels are used only to score the resulting decisions.
Decomposition via a small-bandwidth fit. Under the conditions of Lemma 1 and Proposition 2, . Since this expansion holds only as , we fit the GDECI score (1) in each direction as over the five smallest bandwidths () and keep only the
A PREPRINT
intercept , which estimates the limit (Proposition 1). Five points leave three residual degrees of freedom while staying close enough to to keep the remainder small. Having the score at , we compare three decision rules, each choosing the direction with the smaller value: (conditional-variance component), (positive-bandwidth component) and (full score).
Over all 1,899 pairs, the conditional-variance component alone attained an accuracy of 0.686, the positive-bandwidth component alone 0.663, and the full score 0.732 (Figure 2(a); macro over the 12 synthetic suites 0.725, 0.693 and 0.776; Tuebingen 0.645, 0.540 and 0.684). Accuracies are means over ten random tie-breaks. Adding the positive-bandwidth component corrected 185 decisions and misdirected 101, a net gain of +84 (McNemar ), and raised pooled accuracy by 0.045 (stratified bootstrap 95% CI [0.029, 0.062]). The gain was positive on 9 of the 13 suites, negative on two and zero on two (one-sided sign test ). Refitting B on other windows, from to , leaves the net gain between +73 and +100 (Table 3, Appendix E).
Accuracy along the bandwidth grid. As a fit-free check, we score the full GDECI directly at each bandwidth: the score at is close to the zero-bandwidth limit, and that at is the full score. Accuracy increased with the bandwidth, from 0.731 to 0.776 macro over the 12 synthetic suites, and from 0.651 to 0.684 on Tuebingen (Figure 2(b)); both values at match Table 2.
6 Limitations
Although GDECI performed competitively across diverse benchmarks, the provided theoretical guarantees hold only under rather restricted conditions. These results identify some settings in which the conditional-variance or smoothness term favors the causal direction but do not establish identifiability in general. In the limit , taken after , the population rule compares with . Since both marginals are uniform, , . Thus, the limiting rule selects exactly when , recovering the ordering of the copula-based directional dependence measures studied by Sungur [22]. Sungur studied from the perspective of predictive power, without establishing a causal interpretation. The analogous limiting rule coincides with RECI [3] applied in copula space with Bayes-optimal regression. At , GDECI additionally incorporates degree weighting and a smoothness term, while remaining fitting-free. Our ablation shows that positive bandwidth improved macro accuracy relative to the estimated zero-bandwidth limit, although the gain was uneven across benchmarks and negative on two of the 12 synthetic suites. Like the bivariate methods reviewed in [15], GDECI is intended for dependent pairs without unobserved confounding. In practice, a preliminary independence test [18, 7] can help avoid orienting independent pairs, but cannot rule out unobserved confounding.
7 Conclusion
We investigated whether asymmetries in graph Dirichlet energy can reveal the causal direction between two variables. To this end, we proposed and analysed GDECI, a new fitting-free criterion for bivariate causal inference that compares the graph Dirichlet energy of each variable, viewed as a signal on a kernel similarity graph built from the other, using the unnormalized graph Laplacian. For rank-transformed variables, the use of the unnormalized Laplacian ensures that its decisions are invariant under strictly monotone transformations of either variable, which is not true for the normalized Laplacians. In population form, GDECI criterion decomposes into a degree-weighted Bayes squared prediction error and a non-negative smoothness term, both normalized by the edge mass. As the bandwidth tends to zero, the weights become uniform and the smoothness term vanishes, recovering a RECI-like conditional-variance asymmetry in copula space. At positive bandwidth, the degree-weighted conditional variances and the smoothness terms of the two directions generally differ, so GDECI can reach a different decision than a conditional-variance comparison.
Theory. For non-injective mechanisms, we give sufficient conditions under which GDECI selects the causal direction. For additive-noise and heteroscedastic models with bounded supports, in which the cause and noise densities are positive up to the endpoints and the slope of the effect in the cause is positive, the smoothness term is of smaller order in the causal direction at sufficiently small bandwidth. Quantitatively, it is at most of order in the causal direction and of order in the anticausal one. The difference arises at the endpoints of the effect's support, where its density vanishes linearly, so that the derivative of the reverse regression function diverges like the inverse square root of the distance to the copula boundary, whereas the forward regression function is Lipschitz. At first order in the bandwidth, to which the smoothness terms do not contribute, the degree weighting adds a boundary term in favour of the causal direction, because the reverse conditional variance vanishes at the boundary, whereas the forward one does not. Hence, at small bandwidth, the population rule selects the causal direction whenever its expected conditional variance is not larger. These guarantees take at fixed bandwidth, require the bandwidth to be sufficiently small, and cover restricted mechanism classes. They do not establish identifiability in general. On the computational side, marginal
A PREPRINT
equalization reduces the graph operations to convolutions, so GDECI admits an efficient algorithm with time and memory. This makes it attractive for large samples and for screening many candidate pairs, for instance before applying slower methods.
Empirics. In the conducted experiments, GDECI showed a favourable trade-off between accuracy and computational cost on the evaluated benchmarks, since no method in the comparison was both faster and more accurate at . Among eleven methods, it ranked fifth in macro accuracy on the 12 synthetic suites, and on the real-world Tuebingen pairs it ranked third in unweighted and fifth in weighted accuracy. The four methods that were more accurate on the synthetic suites were about two to five orders of magnitude slower, and two of them (LOCI and GRCI) did not reach within our time and memory budgets. With the algorithm, GDECI was the fastest method up to . An extrapolation-based decomposition suggests that the positive-bandwidth part of the score carries directional information on these pairs: relative to the conditional-variance component alone, it corrected more decisions than it misdirected (net +84 of 1899, ), although the gain was not uniform across benchmarks. Notably, two criteria that infer the direction from the marginals and alone, the EDGEMASS control and IGCI , reach accuracies of at least 0.92 on AN, AN-s, LS, LS-s and MN-U, and their suite-level accuracies correlate at across the 12 synthetic suites. Parts of these benchmarks can thus be oriented from marginal information alone [17]. In contrast, under marginal equalization GDECI depends on the data only through ranks and hence uses no information from and . Its accuracy on these suites therefore stems from the dependence between X and Y alone.
Future work includes multivariate extensions and investigation of GDECI-based directionality constraints between latent factors in causal representation learning [19].
8 AI Use Statement
Claude Opus was used for writing assistance, mathematical analysis, and code implementation, with all AI-generated material subject to careful manual review, corrections, and modifications.
9 Acknowledgements
The author thank Neurotechnology and Vytautas Magnus University for supporting this research. The affiliations reflect the author's institutional associations and do not necessarily indicate institutional participation in this research.
References
[1] Mikhail Belkin and Partha Niyogi. Laplacian eigenmaps for dimensionality reduction and data representation. Neural Computation, 15(6):1373–1396, 2003.
[2] Patrick Blöbaum, Dominik Janzing, Takashi Washio, Shohei Shimizu, and Bernhard Schölkopf. Cause-effect inference by comparing regression errors. In Proceedings of the Twenty-First International Conference on Artificial Intelligence and Statistics, volume 84 of Proceedings of Machine Learning Research, pages 900–909. PMLR, 2018.
[3] Patrick Blöbaum, Dominik Janzing, Takashi Washio, Shohei Shimizu, and Bernhard Schölkopf. Analysis of cause-effect inference by comparing regression errors. PeerJ Computer Science, 5:e169, 2019.
[4] Peter Bühlmann, Jonas Peters, and Jan Ernest. CAM: Causal additive models, high-dimensional order search and penalized regression. The Annals of Statistics, 42(6):2526–2556, 2014.
[5] Yikang Chen, Xingzhe Sun, and Dehui Du. Causal discovery via quantile partial effect. In International Conference on Learning Representations, 2026.
[6] Povilas Daniušis, Dominik Janzing, Joris M. Mooij, Jakob Zscheischler, Bastian Steudel, Kun Zhang, and Bernhard Schölkopf. Inferring deterministic causal relations. In Peter Grünwald and Peter Spirtes, editors, Proceedings of the 26th Conference on Uncertainty in Artificial Intelligence, pages 143–150, Corvallis, OR, USA, 2010. AUAI Press.
[7] Povilas Daniušis, Shubham Juneja, Lukas Kuzma, and Virginijus Marcinkevičius. Measuring statistical dependence via characteristic function IPM. Entropy, 27(12):1254, 2025.
[8] Olivier Goudet, Diviyan Kalainathan, Philippe Caillou, Isabelle Guyon, David Lopez-Paz, and Michèle Sebag. Learning functional causal models with generative neural networks. In Explainable and Interpretable Models in Computer Vision and Machine Learning, pages 39–80. Springer, Cham, 2018.
[9] Isabelle Guyon, Alexander R. Statnikov, and Berna Bakir Batu, editors. Cause Effect Pairs in Machine Learning. The Springer Series on Challenges in Machine Learning. Springer, Cham, 2019.
A PREPRINT
[10] Patrik O. Hoyer, Dominik Janzing, Joris M. Mooij, Jonas Peters, and Bernhard Schölkopf. Nonlinear causal discovery with additive noise models. In Advances in Neural Information Processing Systems 21, pages 689–696. Curran Associates, Inc., 2009.
[11] Alexander Immer, Christoph Schultheiss, Julia E. Vogt, Bernhard Schölkopf, Peter Bühlmann, and Alexander Marx. On the identifiability and estimation of causal location-scale noise models. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 14316–14332. PMLR, 2023.
[12] Dominik Janzing, Joris M. Mooij, Kun Zhang, Jan Lemeire, Jakob Zscheischler, Povilas Daniusis, Bastian Steudel, and Bernhard Schölkopf. Information-geometric approach to inferring causal directions. Artificial Intelligence, 182–183:1–31, 2012.
[13] Dominik Janzing and Bernhard Schölkopf. Causal inference using the algorithmic Markov condition. IEEE Transactions on Information Theory, 56(10):5168–5194, 2010.
[14] Diviyan Kalainathan, Olivier Goudet, and Ritik Dutta. Causal discovery toolbox: Uncovering causal relationships in python. Journal of Machine Learning Research, 21(37):1–5, 2020.
[15] Joris M. Mooij, Jonas Peters, Dominik Janzing, Jakob Zscheischler, and Bernhard Schölkopf. Distinguishing cause from effect using observational data: Methods and benchmarks. Journal of Machine Learning Research, 17(32):1–102, 2016.
[16] Jonas Peters, Joris M. Mooij, Dominik Janzing, and Bernhard Schölkopf. Causal discovery with continuous additive noise models. Journal of Machine Learning Research, 15(58):2009–2053, 2014.
[17] Alexander Reisach, Christof Seiler, and Sebastian Weichwald. Beware of the Simulated DAG! Causal Discovery Benchmarks May Be Easy to Game. In Advances in Neural Information Processing Systems, volume 34, pages 27772–27784. Curran Associates, Inc., 2021.
[18] Yixin Ren, Yewei Xia, Hao Zhang, Jihong Guan, and Shuigeng Zhou. Efficiently learning significant Fourier feature pairs for statistical independence testing. In Advances in Neural Information Processing Systems, volume 37, 2024.
[19] Bernhard Schölkopf, Francesco Locatello, Stefan Bauer, Nan Rosemary Ke, Nal Kalchbrenner, Anirudh Goyal, and Yoshua Bengio. Toward causal representation learning. Proceedings of the IEEE, 109(5):612–634, 2021.
[20] David I. Shuman, Sunil K. Narang, Pascal Frossard, Antonio Ortega, and Pierre Vandergheynst. The emerging field of signal processing on graphs: Extending high-dimensional data analysis to networks and other irregular domains. IEEE Signal Processing Magazine, 30(3):83–98, 2013.
[21] Eric V. Strobl and Thomas A. Lasko. Identifying patient-specific root causes with the heteroscedastic noise model. Journal of Computational Science, 72:102099, 2023.
[22] Engin A. Sungur. A note on directional dependence in regression setting. Communications in Statistics – Theory and Methods, 34(9–10):1957–1965, 2005.
[23] Natasa Tagasovska, Valérie Chavez-Demoulin, and Thibault Vatter. Distinguishing cause from effect using quantiles: Bivariate quantile causal discovery. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 9311–9323. PMLR, 2020.
[24] Ulrike von Luxburg. A tutorial on spectral clustering. Statistics and Computing, 17(4):395–416, 2007.
A PREPRINT

(b) 12 synthetic suites, macro mean
(c) Tuebingen, 99 pairs
(d) 12 synthetic suites, macro mean

(d) Tuebingen, 99 pairs

Figure 1: Empirical profile of GDECI. (a): Time to decide one causal pair, against sample size n. Each point is the median of seven calls on a single synthetic additive-noise pair, using identical inputs for every method. Curves terminate where a call first exceeded a 120 s budget or exhausted memory. IGCI and IGCI share a curve because they differ only by an rescaling. All measurements were taken on one machine (Intel Core i7-4790K, 16 GiB RAM). The R implementations of QCCD, RESIT, CAM and GRCI were timed within R so that interpreter start-up is not charged to them. (b) and (c): accuracies and confidence intervals over benchmarks. (d): accuracy from (b) and (c) against time per pair at from (a), with dashed lines marking the Pareto frontier.
A PREPRINT
Graph Dirichlet Energy for Fitting-Free Bivariate Causal Inference: Supplementary Materials
A Invariance under monotone transformations
Let be the rank vectors of (no ties). For put , and , with fixed or median-based. Since and are permutations of the same grid, , and the rule compares with . A strictly increasing map leaves ranks unchanged, and a strictly decreasing one maps . Two facts suffice:
(F1) is symmetric with , so ;
(F2) , so and .
| becomes | becomes | ||
|---|---|---|---|
| incr. | incr. | ||
| incr. | decr. | ||
| decr. | incr. | ||
| decr. | decr. |
In all four cases both energies, and hence the decision, are unchanged. For normalized Dirichlet energy based on , property (F1) generally fails. By Proposition 1, invariance of both empirical scores also implies invariance of their population limits.
B Population limit and partial identifiability
Let be i.i.d. copies of with both marginals uniform on . Since is uniform, expectations of functions of are integrals over . For , define
For a sample of size , write
and set
where , and the diagonal entries are included; they contribute to but not to . The reverse quantities are obtained by interchanging and . The second expression for follows from and , since . In particular is symmetric and .
Let on be the uniform distribution function, and let and be the empirical distribution functions of and .
Write and for the two regression functions, and and for the two conditional variances, so that and . Let and , and let denote the supremum norm. For real-valued , define the Dirichlet form and the kernel operator
A PREPRINT
Expanding the square and using the symmetry of and ,
which is the population counterpart of . Since depends on only through the differences , we have for all constants .
Since on , the constant satisfies, for every ,
Degree profile. Let and be the standard Gaussian distribution function and density, and put
Then and . We call
the degree weights. With this notation, the scores of Proposition 1 below read and .
Lemma 1 (Degree weights). (i) For every , is a probability density on with . For and every ,
and for every as . Hence for every bounded measurable .
(ii) If is bounded and measurable on and has one-sided limits and ), then, as ,
Proof. (i) by definition of , and the symmetry gives . Moreover, for , so attains its minimum at the endpoints: for . Clearly , hence and . For , , so by dominated convergence and . The last claim follows by dominated convergence. (ii) Since , and, by the substitutions and and dominated convergence, as ,
where , we get
The case gives , and dividing the two expansions gives the claim, because .
A PREPRINT
Proposition 1 (Population form). For every fixed , almost surely as ,
and the same limits hold for the rank-based scores. Moreover, as , for every , and .
Proof of Proposition 1. Fix and write . The normalized quantities and are -statistics with bounded, symmetric kernels. The strategy is to compute the expectation of the energy kernel by conditioning on the graph variables, which splits it into a degree-weighted conditional variance and a Dirichlet form of the regression function .
- Edge mass. Including the diagonal entries, the normalized edge mass is a -statistic:
(5)
by the strong law of large numbers for -statistics with bounded kernels, where is an independent copy of .
- The energy as a -statistic. By the pair-sum representation of , the normalized energy is a -statistic whose diagonal terms vanish:
(6)
The kernel is bounded and symmetric, so the strong law of large numbers for -statistics gives , where is an independent copy of .
- Conditioning on the graph variables. Write . Since the pairs and are independent, , , the analogous identities hold for , and . All cross terms involving the function of vanish as well, so
Since is a function of , the tower property and the independence and uniformity of give
where the symmetry of and were used in the last step. The first term equals . Thus the variation of around enters only through the degree-weighted conditional variance, and the regression function only through the Dirichlet form .
- The score and the reverse direction. Dividing by (5) gives almost surely, and dividing by and using gives the form stated in Proposition 1. Interchanging the roles of and gives the reverse limit with and in place of and . Both marginals are uniform, so both directions share the same and .
A PREPRINT
- Small bandwidth. By Lemma 2 below, and . Moreover by Lemma 1(i), and likewise in the reverse direction. The claim for the rank-based scores is proved in the paragraph Empirical ranks below.
Lemma 2 (Vanishing Dirichlet term). For every real-valued , as .
Proof. Let equal on and zero elsewhere, so that and . Using and , we obtain
Here we use , , Tonelli's theorem, and .
For each fixed , continuity of translations in gives as . Moreover, translation invariance of the norm yields
The upper bound is integrable because . Dominated convergence therefore makes the integral tend to zero. Finally, for (Lemma 1) bounds the prefactor and proves the claim.
Consequence for the population ordering. By Proposition 1, and as . If the two expected conditional variances differ, their ordering thus agrees with the population score ordering for all sufficiently small positive . This uses at fixed first. The first-order corrections in are described in Lemma 1(ii) and in Appendix C.
Empirical ranks. For the rank grid , write
There are no marginal ties almost surely, and
At fixed , the function is Lipschitz with constant . Replacing by therefore changes each kernel entry by at most , and each squared difference by at most . Writing and for the quantities computed from , (5) and (6) give
Since , the rank-based scores have the same limits in both directions.
Conditional variance and best prediction. For a bounded random variable and a random variable , let denote a bounded regression function, so that a.s., and write . For every bounded Borel function ,
because in the expansion of the cross term has expectation zero: is a function of , and . Equivalently, is the orthogonal projection of onto the
A PREPRINT
square-integrable functions of Z. Hence is the smallest value of over bounded Borel , i.e. the Bayes squared error of predicting W from Z. For a pair with uniform marginals on and , the population scores of Proposition 1 are, with the degree weights of Lemma 1,
(8)
where and .
Lemma 3 (elementary properties of ). For every , and constants ,
In particular, for .
Proof. All integrals are finite, since and . The integrand of is nonnegative, so . Applying with and gives the second inequality. Applying with and , and then using the symmetry of and ,
The identity is immediate from the definition, and the last claim follows from and (Lemma 1).
Theorem 1 (Non-injective mechanisms). Let X have a continuous distribution and
where is Borel, is continuous and strictly increasing, and is independent of and has a continuous distribution. Assume that has a continuous distribution and that is injective on no Borel set with . Put
Then
Consequently there exist such that
and for each such the rank-based rule with bandwidth selects almost surely for all sufficiently large .
Conventions. denotes an independent copy of . Regression functions of -valued variables are taken -valued. Since and are independent, the law of is the product , so by Fubini's theorem
for every bounded Borel . The same holds for the independent pairs and , and for and . Equalities between random variables are understood almost surely.
Proof. Let be an independent copy of , put and , and take all regression functions -valued. Since is a continuous bijection of onto the interval and are Borel functions of each other, so by (7) .
A PREPRINT
Marginals. We check that and are uniform, so that Proposition 1 applies, and that determines . For and , independence gives , since has a continuous distribution. For the probability is zero trivially, and for it is zero by assumption. By the probability integral transform, and all are therefore uniform on . Moreover, with the quantile function (set to 0 outside ),
since only if lies in a nondegenerate interval on which is constant, and the countably many such intervals carry no probability.
Proof of (10). Suppose . Then
so a.s. Thus is a Borel function of . Since a.s., we also have a.s. for some Borel map . The Borel set therefore has full probability. For , if , then
Hence is injective on , contradicting the hypothesis.
Proof of (11). Write and . By the opening paragraph of the proof, . None of , and depends on . Now fix . Since is a function of and is a function of , independence of and implies . This conditional independence means that, once is known, carries no further information about . Therefore,
The conditional law of total variance decomposes the variance of given by additionally conditioning on :
The first term is the variation of that remains when is observed in addition to . The second is the variation of the refined prediction around the coarser prediction . Taking expectations, and using the tower property in the first term, gives
By (16), the first term on the right of (17) equals , and the second equals , which is nonnegative. Therefore
Proof of (12). Define . Since is independent of ,
Thus, by the conditional Jensen inequality (for convex and integrable , with and ),
By continuity of , both and as . Since and are independent and continuously distributed, they are unequal almost surely. Their ordering is therefore unchanged for all sufficiently small , so almost surely. As , dominated convergence gives .
At zero noise, and . Since a.s., we can express directly in terms of :
Here recovers the cause from its rank, gives the noiseless response, and maps that response to its rank. Let . Applying (7) with predictor , and using the uniformity of , gives
Both terms on the left are nonnegative, so each tends to zero.
A PREPRINT
Proof of (13). Let , so that by Lemma 1. By Lemma 3, and . Hence, by (8) and (18), the forward score satisfies
while by (11), and the reverse score satisfies
Since does not depend on , Lemma 2 gives with for , and (18) gives with for . For such , .
Consistency. Fix such , and put for an i.i.d. sample . These pairs are i.i.d. with uniform marginals, and almost surely their ranks coincide with those of the and . By Proposition 1 and paragraph Empirical ranks, the two rank-based scores converge almost surely to . Hence the rank-based rule with bandwidth selects for all sufficiently large .
C Causal information at positive bandwidth
Recall that and , and write
By Proposition 1 and (8), the population scores are
Lemma 1(ii) gives the first-order expansion of the degree-weighted conditional-variance terms as . The following lemma controls the Dirichlet terms. For and , define
Lemma 4 (Rates of the Dirichlet form). Let and .
(a) The Dirichlet form admits the representation
(b) If is Lipschitz with constant , then
(c) Suppose that takes values in , is locally absolutely continuous on , and satisfies
With , one has
and
A PREPRINT
(d) Suppose that is locally absolutely continuous on and that, for some and ,
Then
and
Proof. (a) By symmetry of the integrand in the definition of , the factor is removed by restricting the double integral to . Setting and applying Tonelli's theorem gives
(b) The Lipschitz property gives . The result follows from (a) and
(c) For , local absolute continuity and the Cauchy–Schwarz inequality give
For each , the set of satisfying has length at most . Integration in , followed by Tonelli's theorem, therefore yields
For , the last integrand is symmetric about , and
Hence for . For , the range restriction gives . Combining these bounds proves the stated estimate for . By (a), with the substitution ,
Here we used
For , the bracket is at most , which proves the claim.
(d) For and ,
A PREPRINT
Consequently,
If , restricting the integral in (a) to gives
Finally, implies .
Since as , a Lipschitz function satisfies . This is of smaller order than the correction in Lemma 1(ii). An inverse-square-root singularity of the derivative can introduce an additional factor . The next result establishes this behavior for the reverse regression function while showing that the forward regression function is Lipschitz.
Proposition 2 (Bounded location-scale mechanisms). Let , where and are independent and supported on and , , with continuously differentiable densities that are strictly positive on these closed intervals. Let with and on , and put and . Then:
(i) There exist and such that, for , and .
(ii) has a continuous version on with , has a version with , and, as ,
Consequently, if , then for all sufficiently small . The monotone additive model with is the special case .
Proof. We first show that the forward regression is Lipschitz. For the reverse regression , the main point is that vanishes linearly at the endpoints of its support. Passing to the uniform coordinate then produces an inverse-square-root singularity in as approaches 0 or 1. Lemma 4 converts these regularity properties into (i), and Lemma 1(ii), together with (i), gives the score expansion in (ii). We write when their ratio is bounded above and below by positive constants in the stated regime.
Step 1: support and density. For , put
and let , with norms on . The assumptions give
Thus every is strictly increasing. The joint support of and the support of Y are, respectively,
On R, the joint density is
Extend and beyond their respective intervals by the first-order Taylor polynomials at the endpoints, retaining the same notation, and choose such that the extension of is positive on . On , this density formula using these extensions defines with on , and positivity and compactness give constants
A PREPRINT
On , partial derivatives of are understood as those of , so they are defined and continuous on all of , including its boundary. For , define the endpoints of the conditional support by
These functions are -Lipschitz. Strict monotonicity gives
so the section of at height is . For , put (since ). If , then . Otherwise , hence again . In both cases, continuity of yields . Consequently,
is continuous and bounded on , and strictly positive on . In particular, is continuously differentiable and strictly increasing on .
What this step establishes.
-
The joint support is , the effect support is , and the conditional support of given is .
-
On , is bounded above and away from zero, with bounded first partial derivatives.
-
The marginal density is continuous and bounded, and is positive on . Hence is continuously differentiable and strictly increasing on .
Step 2: forward regression and conditional variance. The map is a continuously differentiable bijection, and is bounded away from zero. Since and , invertibility of allows us to condition on in place of . The definition of conditional expectation gives
Here and denote conditional densities. The penultimate equality uses when , and the last uses independence of the cause and the noise , which gives . We use the final integral to define the endpoint values at as well. Differentiating under the integral and applying the chain rule,
Every factor is uniformly bounded, so is Lipschitz on . Similarly,
defines a continuous version of . For each fixed , the map is strictly increasing, since and is strictly increasing. As is nondegenerate, this conditional variance is positive, including at and . Thus .
What this step establishes.
-
The forward regression is Lipschitz on , providing the regularity needed for the causal Dirichlet-energy bound.
-
The forward conditional variance has a continuous version on with strictly positive endpoint values .
A PREPRINT
Step 3: reverse regression near the lower endpoint. Keep the notation for the regression on the uniform scale and write
Choose so that . For , the conditional support is . Its length
satisfies
Integrating the density bounds in (20) over the conditional support gives
Since , the mean value theorem and (19) give
Thus . Combining these bounds and integrating from to yields
so .
We next show that as . Rescale the shrinking conditional support by and define the density
This is the conditional density of given . Since
we have
As , continuity and strict positivity at the corner give uniformly on . Hence
On , the inverse function theorem gives and . Write
A PREPRINT
The chain rule gives, uniformly for and ,
These uniform bounds justify differentiation under the integrals by the mean value theorem and dominated convergence. The quotient rule, , and then give
In particular, as . It follows that
Thus is bounded and bounded away from zero near . Also, for , the conditional support of given shrinks to as . Since and is nondecreasing, we have conditional on . Thus,
What this step establishes.
-
As , the conditional support shrinks with length , giving and .
-
The reverse regression on the original effect scale satisfies .
-
The reverse conditional variance satisfies as .
Step 4: reverse regression on the uniform scale. The upper endpoint follows by applying Step 3 to
This model satisfies the same assumptions, because . Its uniform variables are and . In particular, , so as ,
is bounded, and .
On any compact subinterval of , is bounded away from zero. The numerator and denominator defining are Lipschitz there: their integration endpoints are Lipschitz, their integrands are bounded, and their derivatives in are bounded wherever the integrands are evaluated. Thus is locally Lipschitz on .
Since is strictly increasing, conditioning on is the same as conditioning on . We may therefore take
which is locally Lipschitz on .
Since on , is a diffeomorphism of onto . Hence is locally absolutely continuous, and the chain rule below holds almost everywhere. Therefore,
A PREPRINT
Near , Step 3 gives and , while is bounded and strictly positive. The reflected argument gives the corresponding upper bound near . Combining these endpoint estimates with the local Lipschitz property in the interior, there are and such that
The conditional variances in Steps 3 and 4 also give a version with .
What this step establishes.
-
The reverse regression is locally Lipschitz on . Its derivative satisfies the global bound almost everywhere and the lower bound almost everywhere near .
-
The reverse conditional variance has a version with .
Step 5: Dirichlet rates and score ordering. Let be a Lipschitz constant of from Step 2. Lemma 4(b) gives
By Step 4, is -valued and locally absolutely continuous, with the derivative bounds stated there. Lemma 4(c) with gives the upper bound for , and part (d) with gives the lower bound for , so (i) holds with
For (ii), recall
Both conditional variances are bounded, and their endpoint limits are (Step 2) and (Step 4). Applying Lemma 1(ii) gives
Since , part (i) also gives
Subtracting the two population scores gives
If , this difference tends to the positive constant . If , its coefficient of is strictly positive because . Thus the forward score is smaller for all sufficiently small whenever . The additive case follows by taking .
D Efficient computation
Throughout this section we assume that, with ties broken at random, the normalized rank vectors of are permutations of the grid (Section 4). Let be reordered by increasing -rank, so that is the value of at the observation with -rank , and define analogously by reordering by increasing -rank.
A PREPRINT
Kernel in rank units. Grid points with ranks and are apart, so the median-based bandwidth of Section 2 satisfies
and the kernel weight between the observations with -ranks and is . Hence , with the observations indexed by -rank, and , with the observations indexed by -rank, both equal the symmetric Toeplitz matrix
and , both equal .
Since exactly pairs have lag , the median lag, and hence , is found in time by accumulating these counts. These counts do not depend on the sample, so depends only on and for every , and as .
Proposition 3 (Efficient computation). Under marginal equalization, with ties broken at random, and
so the GDECI rule selects exactly when . Each double sum equals for , where is a discrete convolution of with , so both energies can be evaluated by fast Fourier transforms in time and memory.
Proof of Proposition 3. Energies and edge masses. Permuting the rows and columns of and the entries of simultaneously leaves and unchanged. Ordering the observations by -rank thus gives
and ordering by -rank gives the same with in place of . In particular , so comparing reduces to comparing .
Cost. For , is the convolution of with the lag sequence . Let be a power of two with (the upper bound gives ), and let be the circulant matrix of order with first row
each further row being the previous one shifted cyclically by one position to the right. Since , the two blocks of -values in do not overlap, and the upper-left block of is . Hence consists of the first entries of , where is padded with zeros. The matrix is never formed, since is the circular convolution of with , which the fast Fourier transform computes in time. Two such products give and , and the degrees follow from cumulative sums of in time. With the two sorts for the rank transforms and a fixed number of inner products, each costing , the total cost is . Apart from FFT work arrays of length , only and the two signals are stored, giving memory.
E Auxiliary tables and figures
A PREPRINT

Figure 2: Positive-bandwidth ablation over all 1,899 pairs. (a) Accuracy of the estimated conditional-variance component (blue), the positive-bandwidth component alone (orange), and the full GDECI score (green), by suite, macro over the 12 synthetic suites, and pooled over all pairs. (b) Accuracy of the full score at bandwidth , : macro mean over the 12 synthetic suites (solid green), Tuebingen (dashed) and individual synthetic suites (grey).
Table 3: Robustness of the small-bandwidth decomposition to the fitting window. In each row, is fitted on the smallest bandwidths () as per Section 5.5. Corrected, misdirected and net counts compare the -alone and full-score decisions. Accuracies are pooled over all 1,899 pairs and averaged over ten tie-breaks. Decision counts and McNemar use a single tie-break. The main analysis uses (bold).
| window | alone | part alone | corrected | misdirected | net (McNemar ) | |
|---|---|---|---|---|---|---|
| 3 | ||||||
| 4 | ||||||
| 5 | ||||||
| 6 | ||||||
| 7 | ||||||
| 8 | ||||||
| 9 |