Release cards

0.19.0 release card: datasets with overlapping variables#

Release card

Datasets with overlapping variables

0.19.0

0.19.0 handles datasets with overlapping variables, such as cohorts that each measure their own variables, where some pairs of variables are never observed together. A conditional independence test without enough rows is skipped, a pair that no test can decide is left out of the graph and listed, and an edge that a skipped test might have removed is listed too. On simulated cohorts of 20, 40, and 50 variables with no complete rows, PC’s graph made fewer errors than the empty graph in every setting and found about as many true edges between variables observed together as on the complete data, where answering each test without enough rows with p = 1 found a fifth to a third of them (Datasets with overlapping variables).

DAS is supported in 0.19.0. On its paper’s simulation, with every column z-scored or each variable rescaled, it made no more errors than the paper’s code in any of 20 settings from 10 to 200 variables, and fewer on the first 20 datasets of each, in a tenth to a fiftieth of the time, and fewer than the empty graph up to 1,000 variables. On the simulation’s own units, where the variance grows along the causal order, that code made fewer errors on sparse (ER1) graphs at 20 and 50 variables and tied at 10; DAS reads standardized columns, so its result does not depend on the units.

CPCM’s pair test’s forced direction and graph search are supported. On the pairs and graphs of its paper, up to 8 variables, they made as few errors as the paper’s code, except the conservative estimate at γ=0\gamma = 0 under "pareto" (see the Pareto gap), and fewer than a coin flip, the majority direction, or the empty graph, except on Table 2’s Pareto pairs drawn by the authors’ own generator, where neither implementation did (see the PARg gap), with the graph search 8 to 18 times faster on graphs of 4 to 8 variables. The conservative estimate under "pareto" and Table 2’s Pareto setup remain unsupported until fixed.

SkewD and its graph version SkewD-MV are supported. They favor accuracy on skewed location-scale data and give up time. On the paper’s skew-normal graphs of 6 and 10 variables, SkewD-MV made fewer errors than PC, CAM, NoGAM, SCORE, and RESIT, all five faster; on the paper’s skewed pairs, LOCI matched SkewD on most sets in under a second and was behind, by the paired interval, only on the most skewed location-scale set. Both made as few errors as the outputs the authors recorded with the paper’s code, and SkewD’s default criterion is now the likelihood, which named all 160 pairs right. A pair took a median of 15 to 22 CPU minutes per set and a graph 18 to 49; andrey.config(n_jobs) runs the searches on threads, which cuts the wall time (SkewD).

The release also adds LGES, Regime-PCMCI, and the GCM, wGCM, and PCM tests, experimental, each compared with its authors’ code (Experimental methods), and target takes a list of columns.

The benchmarks#

Earlier release cards report the builds they measured. The benchmark on cohorts with overlapping variables compares PC and FCI on data with pairs never observed together with three other answers to a test without enough rows and with the complete data (Datasets with overlapping variables). This release’s summary compares DAS with its paper’s code; the lane file reports errors against the empty graph up to 1,000 variables and errors and times beside cam, SCORE, and NoGAM (DAS). CPCM’s pair test and graph search are compared with their paper’s code, with LOCI, ANM, and PNL on the same pairs and eight graph methods on the same graphs (CPCM). SkewD and SkewD-MV are compared with the outputs the authors recorded with their paper’s code, with LOCI, ANM, PNL, and CAM on the same pairs and five graph methods on the same graphs (SkewD).

Datasets with overlapping variables#

When cohorts, studies, or sites measure overlapping sets of variables and their data are stacked into one table, whole blocks of values are missing: some pairs of variables are never observed in the same row, and some conditioning sets of a test are never observed with its pair. Under test-wise deletion such a test has no rows. In 0.19.0 a test with fewer rows than it needs, or with no degrees of freedom left, is skipped: it never removes an edge and never counts as evidence of dependence. A pair that no test with rows can decide is left out of the graph and listed in metadata["undecided_pairs"], and no orientation rule reads it as adjacent or as nonadjacent. An edge that a skipped test might have removed is listed in metadata["possibly_separable"], and with possibly_separable="ambiguous" a triple with such an edge as a side is neither a collider nor a non-collider. The missing values guide describes each rule.

We simulated cohorts with overlapping variables and compared Andrey’s answer with three others to a test without enough rows: answer it with p = 1, so that it separates its pair; answer it with p = 0, so that it keeps its pair adjacent; or drop columns until every pair shares rows. Each answer ran inside the same PC and FCI search, and the complete data before masking give the ceiling. With no complete rows, dropping every incomplete row leaves none.

The data are linear-Gaussian with expected degree 3, a new graph and weights for each seed, columns in units with spreads from 0.1 to 100, and rows in random order. In each configuration, some columns are measured by every cohort, some by several cohorts, and a few by one cohort only:

Configuration

Cohorts

Variables

Rows

True edges (mean)

Pairs never observed together

small

3

20

5,000

29.2

37

medium

8

40

20,000

62.7

144

large

6

50

30,000

75.8

134

Each runs with 0, 2, or 5% of the rows measuring every variable, and then with 0 or 10% of all values, those rows included, removed completely at random, 20 seeds per setting. With the 10% removed, few rows stay complete: on average over the seeds, 0.25, 0.03, and 0.009% of the rows with 2%, and 0.60, 0.07, and 0.02% with 5%, in the small, medium, and large configurations. Every method used Fisher’s z at alpha 0.05 with conditioning sets of up to 3 variables (max_depth=3); a comparison that was worse or unresolved on the first 20 seeds ran again on 20 fresh ones. Columns are dropped one at a time, the one in the most pairs never observed together first. This greedy rule drops the fewest columns that let every pair share rows in the small and large configurations, 6 of 20 and 8 of 50, and 16 of 40 in the medium one, where 15 suffice. The tables show PC with no complete rows and with 10% of the cells missing at random. SHD counts the edge errors of the CPDAG, and the empty graph’s SHD is the number of true edges. Andrey’s column gives the mean and its 95% bootstrap interval over seeds.

Configuration

Empty graph

Andrey 0.19.0

p = 1

p = 0

Columns dropped

Complete data

small

29.2

20.1 [16.9, 23.4]

28.2

52.9

24.3

8.8

medium

62.7

49.2 [44.1, 54.8]

66.0

187.8

61.4

14.7

large

75.8

56.0 [49.3, 63.0]

75.6

190.1

62.0

15.8

Recall is the share of the true edges between variables observed together that the graph keeps, and a false collider is an unshielded collider of the graph that the true graph does not have, counted per fit:

Configuration

Recall: Andrey

p = 1

Columns dropped

Complete data

False colliders: Andrey

p = 1

p = 0

Complete data

small

0.87

0.34

0.53

0.88

12.8

3.0

103.0

5.2

medium

0.92

0.21

0.42

0.94

56.5

7.8

764.1

9.9

large

0.95

0.23

0.75

0.96

81.3

9.9

1,091.2

18.4

  • Fewer errors than the empty graph. With no complete rows, PC’s and FCI’s graphs made fewer errors than the empty graph in all 12 settings, FCI’s counted on the skeleton. In PC, answering p = 1 gave about the empty graph’s errors, and p = 0, which draws every pair never observed together, 1.8 to 3.0 times them.

  • True edges kept. With no complete rows, between variables observed together, PC kept 0.87 to 0.95 of the true edges, against 0.88 to 0.96 on the complete data and 0.21 to 0.34 when answering p = 1. Of the true edges next to a pair never observed together, it kept 0.88 to 0.96, and p = 1 0.11 to 0.22: a test given a variable from the other cohort reads no rows, and p = 1 removes the edge.

  • No pair decided without data. In 1,204 PC and FCI fits on data with pairs that no test has enough rows for, no such pair was drawn and every one was listed in metadata["undecided_pairs"]: 480 fits on the cohorts with no complete rows, 80 more on them without a depth limit, 484 on forks, colliders, and chains of three variables whose pair X, Y is never observed together, and 160 on such a fork whose pair is observed together on three rows, too few for a test. In the cohorts, the true edges among the pairs never observed together, 5.8, 12.7, and 8.1 per fit, are listed and not drawn.

  • Edges with an unobserved separating set. A fifth to over a third of the drawn edges are false (precision 0.63 to 0.78, against 0.93 to 0.96 on the complete data). Most join variables observed together whose separating set no cohort observes with them: each is a dependence of the variables observed together, drawn as a direct edge. Every such edge is in metadata["possibly_separable"], but so are 98 to 100% of all drawn edges, so the list does not yet tell them apart. Most of the false colliders have such an edge as a side: in the table’s setting PC drew 12.8 to 81.3 per fit, against 3.0 to 9.9 when answering p = 1, which deletes most edges, and 5.2 to 18.4 on the complete data.

  • possibly_separable="ambiguous" took PC’s false colliders to at most 0.2 per fit and FCI’s to at most 0.1, and the share of true arrowheads it found fell to 0.00. PC’s graph then made more errors than the empty graph in all six settings (31.8, 79.0, and 96.1 in the table’s setting), and FCI’s skeleton errors rose by 0.5 to 4.4, still fewer than the empty graph’s. With rows measuring every variable and on complete data it gave the default’s graphs.

  • Rows measuring every variable. With 2 or 5% of the rows measuring every variable, every test has rows, and Andrey, p = 1, and p = 0 give the same graphs. With 10% of the values removed, the small configuration’s SHD falls from 20.1 to 17.6 with 2% and to 14.2 with 5%. A test across cohorts then reads only those of these rows that still observe its variables and can remove a true edge: on the small configuration with 2% of the rows measuring every variable and 10% of the values removed, recall between variables observed together fell from 0.87 to 0.63.

  • The default call finishes. pc with max_depth=None finished on all 20 seeds of the medium and large configurations with no complete rows, with the same errors as at max_depth=3 within their intervals.

On the fork X <- Z -> Y in two cohorts of 500 rows, one measuring X and Z and the other Y and Z, PC returned the fork’s CPDAG on 20 of 20 seeds, with X and Y listed as undecided. Answering p = 1 returned the empty graph on 20 of 20, and the collider X -> Z <- Y with max_depth=0; answering p = 0 returned the triangle on 20 of 20.

On lagged series in three periods whose two groups of variables are never observed at the same time (10 variables, 6,000 time steps, 20 seeds), neither PCMCI nor PCMCI+ draws a link that no test decided. PCMCI found every true lagged link between variables observed together (recall 1.00, as on the complete data), with precision 0.74 to 0.79, against 0.96 on the complete data and 0.70 to 0.76 when answering p = 1.

DAS#

andrey.das is DAS (Montagna et al., 2023). It finds SCORE’s causal order (Rolland et al., 2022) from the leaf up with a kernel estimate of the score, keeps for each variable the earlier variables whose entries of the score’s Jacobian are clearly above zero, at most 20 of them, and prunes only those with the tests of CAM (Buhlmann et al., 2014). It returns a DAG and causal order, unchanged by units or column order. The API reference describes it.

We compared it with DAS in dodiscover, the code published with the paper, at the paper’s settings, on the simulation of the SCORE and DAS papers: Erdos-Renyi graphs with as many edges as variables (ER1) or four times as many (ER4), each link one draw of a Gaussian process, Gaussian noise, and 1,000 rows, at 10, 20, 50, 100, and 200 variables, 20 datasets per setting, with every column z-scored and with each variable divided by its standard deviation before its children read it (rescaled). DAS made fewer errors (SHD) than dodiscover in all 20 settings on their first 20 datasets. The summary records ties because it requires fresh datasets to confirm improvements, and these were not rerun. DAS’s median fit took a tenth to a fiftieth of dodiscover’s time, the gap growing with the variables. dodiscover’s estimate reads the columns’ units, and z-scoring costs it errors: on the same 20 ER1 datasets of 50 variables it made 18.9 errors on the simulation’s own units and 31.7 on z-scored columns.

The table shows z-scored columns. SHD is the mean number of edge errors over the 20 datasets, the empty graph’s SHD is the number of edges, and a fit’s time is the median CPU seconds on one core. For ER1 and for ER4 at 10 variables the datasets are seeds 0-19; for ER4 from 20 to 200 variables they are seeds 20-39, since seeds 0-19 were used while the method was built.

Graph

Variables

Edges

SHD: Andrey

dodiscover

Empty graph

Fit, s: Andrey

dodiscover

ER1

10

10

2.9

4.0

10

0.5

6.0

ER1

20

20

8.2

11.0

20

1.2

18.6

ER1

50

50

28.3

31.7

50

4.1

79.6

ER1

100

100

62.0

72.5

100

9.2

295.5

ER1

200

200

139.8

151.8

200

22.8

1,094.4

ER4

10

40

22.0

24.9

40

0.5

6.9

ER4

20

80

51.9

56.4

80

1.2

18.3

ER4

50

200

151.0

159.4

200

4.0

78.8

ER4

100

400

326.2

347.1

400

9.1

278.3

ER4

200

800

688.9

720.2

800

23.7

1,168.3

Rescaled columns give similar results: 2.5 against 3.8 errors at ER1 with 10 variables and 680.6 against 716.5 at ER4 with 200. The lane file has every setting, with its interval.

On the simulation’s own units#

On raw columns, variance grows along the simulated causal order, with a varsortability of 0.8 to 0.9 on the ER1 graphs (Reisach et al., 2021). DAS standardizes the columns inside its order search, so it returns the same graph on raw and z-scored columns, while dodiscover reads the scales. We measured raw columns as context, not as a claim, at 10, 20, and 50 variables. On ER4 graphs DAS made fewer errors or as many. On ER1 graphs dodiscover made fewer at 20 and 50 variables, and the gap repeated on 20 fresh datasets:

Graph

Variables

SHD: Andrey

dodiscover

Fresh datasets: Andrey

dodiscover

ER1

10

2.9

2.2

ER1

20

8.2

5.8

7.2

4.85

ER1

50

28.3

18.9

28.65

17.15

ER4

10

22.0

24.6

ER4

20

51.9

53.0

ER4

50

153.6

155.4

The rows use the z-scored table’s datasets except ER4 at 50 variables: seeds 0-19, used in development, give 153.6 errors; seeds 20-39 give the z-scored table’s 151.0. dodiscover’s fits and times in that row come from a separate run on the same datasets.

The gap is in the order. At 50 variables, 60% of DAS’s arrowheads pointed the right way, against 87% to 89% once its order search read the centered columns without dividing them by their standard deviations, a variant made only for this check. That variant made fewer errors than dodiscover on all four sets of datasets: 4.35 against 5.8 and 3.7 against 4.85 at 20 variables, 16.35 against 18.9 and 14.5 against 17.15 at 50. DAS standardizes its order search for unit-independent results; its Limitations state this cost.

Against the empty graph, up to 1,000 variables#

At 500 and 1,000 variables, z-scored, 20 datasets each (seeds 0-19), DAS made fewer errors than the empty graph on both graph types, and in every setting above as well. On ER4 graphs of 10 variables, where the complete DAG in column order (27.1 errors) is a better answer than the empty graph (40), DAS’s 22.0 also beat it. The causal order DAS uses, SCORE’s, put more true edges in the true direction than R2-SortnRegress’s order in every z-scored setting up to 200 variables: 63% to 97% against 16% to 50%.

Graph

Variables

Edges

SHD: Andrey

Empty graph

The paper’s DAS

Fit, s: Andrey

ER1

500

500

364.1

500

291 +- 13

85.8

ER1

1,000

1,000

886.5

1,000

994 +- 15

245.3

ER4

500

2,000

1,817.0

2,000

1,761 +- 15

83.3

ER4

1,000

4,000

3,860.7

4,000

3,951 +- 9

364.6

The paper reports these settings on raw columns, 10 runs each. At 1,000 variables DAS is within the paper’s mean plus two standard deviations; at 500 it is above them on both graph types. On ER1 graphs it is above them at 10, 20, 50, and 200 variables too, and the likely cause is the units: on raw columns the variant without standardization above made 4.35 errors at 20 variables and 16.35 at 50, inside the paper’s limits of 6.0 and 24.1, where DAS made 8.2 and 28.3. We have not run that variant at 500. On ER4 graphs at 500 the gap is not traced, and the units are not ruled out: z-scoring costs dodiscover more errors as the graphs grow (24.65 raw against 24.9 z-scored at 10 variables, 52.95 against 56.35 at 20, each pair on the same datasets), and on z-scored columns it is already above the paper’s limit at 200 (720.25 against 717) and at 500 (1,922.4 on 5 datasets against 1,791). We have not run dodiscover on raw columns at 500; the paper’s limit comes from 10 runs, ours from 20. To trace both gaps at 500, the next runs are dodiscover on raw ER4 columns and the variant without standardization on raw ER1 columns. If they confirm the units, the gap is the cost of the scale-invariant order search stated above; if not, we check the screen and the pruning next. dodiscover took 2,459 s per fit at 500 variables, so we ran it on 5 ER4 datasets only (seeds 0-4), z-scored, where DAS made 1,816.4 errors against its 1,922.4. Those five fits ran on another CPU model than DAS’s, so the time ratio there, 33, is approximate.

Beside cam, SCORE, and NoGAM#

cam, score_matching, and nogam fit the same kind of model, so we ran them on the same z-scored datasets. The table gives the mean SHD and the median fit time in seconds. SCORE ran up to 200 variables and on 2 datasets of ER4 at 500, where both fits passed the cap of 3,600 s, and NoGAM at 10 and 20.

Graph

Variables

DAS: SHD

s

cam: SHD

s

SCORE: SHD

s

NoGAM: SHD

s

ER1

10

2.9

0.5

0.7

0.6

2.8

0.6

1.7

6.4

ER1

20

8.2

1.2

2.1

2.1

7.8

1.9

6.0

24.5

ER1

50

28.3

4.1

5.5

6.9

25.0

20.3

ER1

100

62.0

9.2

16.1

13.7

58.5

65.8

ER1

200

139.8

22.8

43.6

37.1

161.6

192.3

ER1

500

364.1

85.8

170.7

221.8

ER1

1,000

886.5

245.3

465.8

669.3

ER4

10

22.0

0.5

21.9

0.9

22.1

0.6

21.1

6.6

ER4

20

51.9

1.2

44.3

2.4

48.6

2.0

47.2

24.6

ER4

50

151.0

4.0

117.5

6.9

139.3

22.8

ER4

100

326.2

9.1

247.3

14.8

297.1

60.6

ER4

200

688.9

23.7

502.6

41.9

663.1

194.0

ER4

500

1,817.0

83.3

1,327.8

229.6

timeout

> 3,600

ER4

1,000

3,860.7

364.6

2,790.4

631.7

No method was both more accurate and faster than DAS in any setting: DAS is the fast end of the four, and cam the accurate end. cam made fewer errors in every setting but ER4 at 10 variables, where they tied, and took 1.5 to 2.7 times as long, except at ER1 with 10 variables, where it was as fast (a ratio of 1.05, with an interval from 0.95 to 1.34) and made 2.25 fewer errors. There, use cam. SCORE made fewer errors in most settings and took 1.2 to 8.5 times as long, and NoGAM took 13 to 21 times as long.

CPCM#

andrey.cpcm and andrey.cpcm_graph are CPCM, conditionally parametric causal models (Bodik and Chavez-Demoulin, 2025). Each variable given its causes follows a family you choose, such as an exponential law whose rate changes with the cause, a Poisson count, or a Gaussian whose mean and scale change; each value mapped through its fitted distribution function is independent of the causes only in the causal direction. cpcm decides the direction of a pair by an HSIC test in each direction, and cpcm_graph returns the DAG whose residuals a joint independence test finds most independent, with a penalty per edge. Both are supported, the pair test for its forced direction; its conservative estimate under "pareto" is not (see the Pareto gap), nor is it on Table 2’s Pareto setup (see the PARg gap). The API reference describes them.

We compared them with CPCM_graph_estimate, the code published with the paper (commit 2ada90e, with R 4.6.1 and mgcv 1.9.5), on the paper’s settings, with the same family or family collection in both: Table 1’s exponential pairs, model (16)’s Pareto pairs, Table 2’s benchmark pairs, and the graphs of Section 6.4 and Appendix B.1.1. Where the paper lets the data pick the family, Andrey gets, per column, the family the authors’ support rule picks (a count is Poisson, a positive skewed column exponential, a column of values of at least 1 with a power tail Pareto, and any other the fixed-scale Gaussian). Andrey’s "pareto" family takes values greater than 1 only, since a 1 has an infinite deviance, so a column assigned to Pareto must exceed 1. Pairs are 100 per setting, graphs 20, and most settings were drawn again on fresh seeds, pairs 100-199 and graphs 20-39; a blank fresh cell in the tables is a setting not fitted again. A setting counts as better or worse only when the fresh seeds repeat it; the fresh graphs have no run of the authors’ code, so they check Andrey against the empty graph only.

Pairs#

The forced estimate names one direction per pair. The table gives its accuracy on initial and fresh seeds and the paper’s number, with 1,000 rows each.

Setting

Family

Andrey

Authors’ code

Fresh: Andrey

Authors’ code

Paper

Table 1, θ\theta a Gaussian process

exponential

0.98

0.99

0.97

0.99

0.99

Table 1, θ=x\theta = x

exponential

0.99

0.99

0.99

0.98

0.98

Table 1, θ=x2+1\theta = x^2 + 1

exponential

1.00

1.00

0.96

0.96

0.99

Table 1, θ=exp⁡(x/2)\theta = \exp(x / 2)

exponential

0.92

0.92

0.93

0.94

1.00

Table 1, θ\theta a Gaussian process

gamma, fixed shape

0.98

0.98

0.97

0.98

0.96

Table 1, θ=x\theta = x

gamma, fixed shape

0.99

0.99

0.96

Table 1, θ=x2+1\theta = x^2 + 1

gamma, fixed shape

0.99

0.99

1.00

Table 1, θ=exp⁡(x/2)\theta = \exp(x / 2)

gamma, fixed shape

0.94

0.94

0.99

Table 1, each θ\theta

Pareto

1.00

1.00

0.97 to 1.00

0.99 to 1.00

0.99 to 1.00

Table 2, AN

support rule

1.00

1.00

1.00

1.00

1.00

Table 2, AN-s

support rule

1.00

1.00

1.00

1.00

0.99

Table 2, LS

Gaussian, given

0.99

0.99

0.99

0.99

0.98

Table 2, LS-s

Gaussian, given

0.99

0.98

0.98

0.99

0.92

Table 2, MN-U

Gaussian, given

0.96

0.95

0.84

0.82

0.88

Table 2, POISg, as Appendix B.3 describes

support rule

0.96

0.98

1.00

1.00

0.94

Table 2, POISg, the authors’ generator

support rule

0.88

0.88

0.87

0.92

0.94

Table 2, PARg, as Appendix B.3 describes

support rule

0.88

0.92

0.96

0.98

0.90

Table 2, PARg, the authors’ generator

support rule

0.38

0.38

0.47

0.46

0.90

Model (16), γ=1\gamma = 1, 1,000 rows

Pareto

0.98

1.00

0.98

1.00

Model (16), γ=1\gamma = 1, 2,000 rows

Pareto

0.99

0.99

0.98

0.99

Model (16), γ=2\gamma = 2, 1,000 rows

Pareto

0.98

1.00

1.00

1.00

Model (16), γ=2\gamma = 2, 2,000 rows

Pareto

0.96

1.00

0.96

0.99

After the fresh seeds every setting ties, and every one but PARg from the authors’ generator names the true direction more often than both the coin flip and the setting’s majority direction, by the paired interval. AN to MN-U are the paper’s five synthetic sets from Tagasovska et al. (2020); we drew fresh datasets with their unmodified published generator under another seed. That generator reproduces the MN-U file exactly and the AN file’s causes and directions, but not the AN-s, LS, and LS-s files, which the fresh draws match on summary statistics only (the spread of the cause and the effect, and their kurtosis). POISg and PARg are the paper’s own setups, which it publishes no data for, so we drew them as its Appendix B.3 describes: the cause normal with mean 0 and standard deviation 2\sqrt{2}; θ(x)=f(x)−min⁡f+0.5\theta(x) = f(x) - \min f + 0.5, with ff a zero-mean Gaussian process with a squared-exponential kernel, σ=1\sigma = 1 and length 0.2; the effect Poisson with mean θ\theta, or Pareto of scale 1 and shape θ\theta; and the pair’s order swapped on a coin flip, under the pair seeds of the other settings. We also drew both sets with the authors’ own generator (CPCM_generative_model in Simulations/Simulations2/Data generators.R, unmodified, under set.seed(0), the seed of their simulation script, and set.seed(2026) for the fresh seeds), the pair’s order again swapped on a coin flip, and judge the claim on both sources. That generator differs from the description: it reads θ\theta from a grid of 201 points that starts at 0, so θ\theta is a step function, constant for causes below 0, about half the rows; and its Pareto draw, EnvStats’ rpareto(1, theta, 1), has scale θ\theta and shape 1. Its tables are not the authors’ own draws, since their script runs the methods between draws. On PARg as B.3 describes it Andrey was wrong on 12 of 99 pairs of the first seeds against 8, worse by the interval (from 0.01 to 0.08 more), a result the fresh seeds did not repeat (0.96 against 0.98). On the authors’ generator the two implementations tie on both sets, but on PARg both are no better than a coin flip; see the PARg gap. The paper picks the family on Table 2 by a sequential choice that Andrey does not implement. On LS, LS-s, and MN-U, where the noise’s scale changes with the cause, the support rule picks the fixed-scale Gaussian, an additive-noise family, and both implementations name the right direction on 0.58, 0.03, and 0.00 of the pairs; given the Gaussian location-scale family, both match the paper’s numbers, so pass family="gaussian" there. On model (16) with γ=2\gamma = 2 at 2,000 rows Andrey was wrong on 4 of the 99 pairs of the first seeds both fitted (the authors’ code stopped with an error on one) where the authors’ code was wrong on none, a worse result the fresh seeds did not repeat (4 against 1); see the Pareto gap below.

Andrey’s fits took 0.1 to 0.6 s. For table settings fitted on the same node, the authors’ code took 1.5 to 2.9 times as long with the exponential, Pareto, Poisson, and fixed-scale Gaussian families, 1.0 to 2.0 times with the gamma family of fixed shape, and 0.8 to 1.1 times with the Gaussian location-scale family.

On Table 1’s misspecified families (gamma and Gumbel with two parameters, the fixed-scale Gumbel, and the Gaussian families), which the paper shows to fail, the implementations tie except in two settings. With the fixed-scale Gumbel family and θ\theta a Gaussian process, Andrey was worse on the first seeds (0.30 of the pairs right against 0.42), which the fresh seeds did not repeat (0.35 against 0.41). With the Gaussian location-scale family and θ=x\theta = x, Andrey was better, which we did not rerun. The authors’ code stops with an error on up to 85 of 100 pairs under the two-parameter gamma and Gumbel families, so those settings pair few datasets. The lane file has every setting: a setting worse on its first seeds holds its fresh seeds under replication, and every other rerun setting under fresh.

The PARg gap#

On PARg from the authors’ generator Andrey named the true direction on 0.38 of the first seeds’ pairs and 0.47 of the fresh ones, and the authors’ code on 0.38 and 0.46, no better than a coin flip, so Table 2’s PARg setup is out of the supported claim on both sources. The first cause we see is the family: the support rule gives the effect the exponential family (on 167 of 200 pairs) or the Pareto family of scale 1 (33), and neither holds a Pareto of scale θ\theta and shape 1. The authors’ code with the paper’s sequential choice of the family, which Andrey does not implement, was right on 66 of the 99 first-seed pairs it fitted (one stopped with an error) and 66 of the 100 fresh ones (a check of the cause, not a measured arm). The second is the data: θ\theta is constant for causes below 0 and the effect’s mean is infinite; no other method was right on more than 0.44 of the pairs. Our next step is to implement the paper’s sequential choice, rerun PARg on both sources beside the authors’ code with the same choice, and judge it again.

The conservative estimate#

With alpha=0.05, CPCM draws an edge only when exactly one direction’s residual tests independent, and the paper’s Section 6.2 reads its five outcomes on model (16) at 500 rows: with γ>0\gamma > 0 it names X1 -> X2, with γ=0\gamma = 0 it finds both directions plausible, and with γ<0\gamma < 0 the columns test independent (an empty graph). The table gives the share of pairs on the first seeds, and the share of the claimed outcome on the fresh seeds.

γ\gamma

Claimed

Andrey: X1 -> X2

X2 -> X1

empty

both

neither

Authors’ code: claimed

Fresh: Andrey

Authors’ code

-2

no orientation

0.03

0.04

0.86

0.03

0.04

0.94

0.99

0.99

-1

no orientation

0.05

0.07

0.77

0.01

0.10

0.89

0.96

0.92

0

no orientation

0.11

0.11

0.01

0.73

0.04

0.84

0.78

0.86

1

X1 -> X2

0.55

0.02

0.00

0.39

0.04

0.54

0.64

0.65

2

X1 -> X2

0.87

0.00

0.00

0.02

0.11

0.89

0.95

0.96

No orientation means empty, both, or neither, which draw no edge. We fixed this pooled outcome as the claim for γ≤0\gamma \le 0 before the runs. On it, every γ\gamma ties on the first seeds, and at γ=0\gamma = 0 Andrey misses it more often on both seed sets, 6 and 8 more pairs in 100, worse by the interval on the fresh seeds only (from 0.02 to 0.14 more misses). The pooled measure counts Andrey’s extra “neither” results as hits, though (4 against 1 on the first seeds), and “neither” is the outcome the paper reads as the model’s assumptions not holding. On “both” alone, the paper’s claim at γ=0\gamma = 0, Andrey is worse on both seed sets: 0.73 against 0.82 on the first seeds (0.09 more misses, interval from 0.04 to 0.15) and 0.78 against 0.85 on the fresh seeds (0.07, from 0.02 to 0.13). The conservative estimate under "pareto" is unsupported; the cause and fix are below. At γ=2\gamma = 2, X1 -> X2 beats the reverse by 0.87 (interval from 0.80 to 0.93).

The Pareto gap#

On some pairs one of Andrey’s two p-values falls to nearly 0 where the authors’ code gives 0.05 to 0.85, while the other agrees with it to two or three digits. Of the 400 fits at γ=0\gamma = 0, 16 do so, 14 of them on the tenth of fits whose cause has its largest value more than 844 times its median; there one fit in three does, and elsewhere at most one in forty. The same tables hold most of Andrey’s wrong pairs at γ=2\gamma = 2 and 2,000 rows: 7 of its 8 have a column whose largest value is more than 5,000 times its median. The likely cause is the rank-10 thin plate spline of the cause on such extreme values, which Andrey builds itself; we have not traced its difference from the authors’ (mgcv’s). The next check compares bases and fitted parameters on those pairs, follows the authors’ construction where they differ, and reruns model (16) to judge the conservative estimate.

Beside LOCI, ANM, and PNL#

loci, anm, and pnl decide the same pairs, so we ran them on Table 2’s data. The table gives the share right and the median fit time in seconds, on the first seeds. CPCM’s arm is the one the claim uses (the support rule’s family, or the Gaussian location-scale family on LS, LS-s, and MN-U).

Set

CPCM

s

LOCI

s

ANM

s

PNL

s

AN

1.00

0.22

1.00

0.28

1.00

3.26

1.00

0.07

AN-s

1.00

0.21

1.00

0.27

1.00

2.88

0.84

0.06

LS

0.99

0.56

0.97

0.28

0.59

3.25

1.00

0.06

LS-s

0.99

0.59

0.99

0.28

0.08

2.82

0.40

0.05

MN-U

0.96

0.53

0.98

0.30

0.00

3.09

0.37

0.05

POISg, B.3

0.96

0.33

0.96

0.39

0.97

4.86

0.26

0.12

POISg, authors’ generator

0.88

0.32

0.91

0.41

0.75

5.07

0.16

0.13

PARg, B.3

0.88

0.33

0.01

0.41

0.08

5.67

0.92

0.13

PARg, authors’ generator

0.38

0.35

0.06

0.46

0.19

5.78

0.44

0.13

On POISg and PARg, both sources, CPCM and the three methods ran in one job on one node, another than the other five sets’. On no set was a method both more accurate and faster than CPCM by the paired interval on the first seeds; LOCI on MN-U, PNL on LS, and PNL on PARg from both sources were right slightly more often and faster, within the interval. On the fresh MN-U pairs, LOCI was, by the interval: 0.98 against CPCM’s 0.84, and faster. On the first seeds of POISg, LOCI was as accurate as CPCM, within the interval, on both sources (on the fresh B.3 pairs it was less accurate, 0.96 against 1.00), ANM was too on B.3’s draws but less accurate on the authors’ (0.75 against 0.88), and PNL was right on at most 0.26 of the pairs; on PARg, LOCI and ANM were right on at most a fifth. CPCM and PNL are the only two of the four right on most pairs of PARg as B.3 describes it; on PARg from the authors’ generator none of the four is.

Beside other graph methods#

We ran eight other methods on the same graphs. The table gives the mean SID and the median fit time in seconds on the first seeds, for the claimed settings and the closest other methods.

Graphs

Variables

CPCM

s

PC, KCI

s

CAM

s

GES

s

RESIT

s

CPCM, exponential

5

1.35

4.2

1.30

9.0

2.45

0.18

3.70

0.00

13.20

1.6

CPCM, exponential and Gaussian

5

0.30

5.2

0.50

7.2

1.60

0.17

3.55

0.00

6.25

1.5

CPCM, exponential

4

0.30

15.6

0.05

3.1

1.20

0.12

2.70

0.00

7.35

0.9

CPCM, exponential

6

0.90

10.0

0.85

5.3

2.20

0.26

3.90

0.00

11.70

2.6

CPCM, exponential

8

4.35

43.2

2.55

33.2

4.95

0.51

7.30

0.01

23.45

3.3

No method was both more accurate and faster than CPCM by the paired interval in any setting, on the first or the fresh seeds; DirectLiNGAM, ICA-LiNGAM, PC with Fisher’s z, SCORE, and NoGAM were further off. PC with KCI came closest. On the first seeds at 4, 6, and 8 variables its mean SID was lower and its fits faster, but the intervals of the SID difference reach 0; on the fresh seeds its SID was 0.30, 1.90, and 3.35 against CPCM’s 0.35, 1.75, and 2.70. PC returns a CPDAG, and the authors’ SID reads an undirected edge both ways, which counts no error for an edge PC leaves undirected, so its SID is lenient.

SkewD#

andrey.skewd is SkewD (Klippert and Marx, 2026). It fits the location-scale noise model y=f(x)+g(x) ny = f(x) + g(x)\,n with skew-normal noise nn in each direction of a pair, by a penalized likelihood over B-splines of the proposed cause, and names the direction whose model has the larger likelihood (SkewD-LL, criterion="likelihood", the default) or whose scaled residual an HSIC test finds more independent of the cause (SkewD-IT, criterion="independence"). Both criteria read the same two fits. andrey.skewd_mv, SkewD-MV, learns PC’s equivalence class and returns its DAG whose models, one per variable given its parents, have the largest likelihood. Both are supported, for pairs and for graphs of up to 10 variables. The API reference describes them.

They favor accuracy on skewed location-scale data and give up time. On the paper’s skew-normal graphs, SkewD-MV made fewer errors than PC (KCI), CAM, NoGAM, SCORE, and RESIT at both sizes, and each of them was faster (beside other graph methods). On pairs, LOCI, SkewD’s model with Gaussian noise, matched SkewD on most sets in under a second and was behind, by the paired interval, only on the most skewed location-scale set (beside LOCI). A fit on one core took a median of 15 to 22 CPU minutes per pair set and 18 to 49 per graph size, by the size, the CPU, and the seeds; andrey.config(n_jobs) runs the searches on threads, which cuts the wall time.

We compared them with the authors’ recorded outputs: the result for each dataset of the code published with the paper (commit 312632b), run by its authors with the paper’s arguments on the data files we read. Each recorded pair keeps the standardized data it fitted, which agrees with the data Andrey read to 1e-12 on all 320 pairs of the eight sets, and over all their pairs and graphs the recorded outputs give the paper’s Table 5 and Table 2 (a mean SHD of 2.27 at 6 variables and 4.72 at 10). To check them, we ran that code again on 15 pairs and 5 graphs. Its optimizers are stochastic, so the scores changed, but the likelihood criterion named the same direction on all 15 pairs and the independence criterion on 13, and all 5 graphs came out the same, from the same PC class. Those graphs were the ones whose classes are cheapest to score. Pairs are 20 per set, graphs 20 per size and 20 more on fresh seeds, all with 1,000 rows. A setting counts as better or worse only by the paired interval, and for graphs only when the fresh seeds repeat it.

Andrey’s fits ran on a development build from before 0.18.0. Since then, SkewD sums each column’s mean and variance over its sorted values, so that they do not depend on the row order; counts the two directions as tied when their values agree to 1e-9 relative, where the closest pair measured differed by 2.9%; can run its searches on threads, with the serial result bit for bit; and reads a ratio in the refinement step that ends each fit in a more stable form, which changes results in their last digits. Refit with this release at the defaults on the first 5 datasets of every set and size, all 40 pairs got the same direction under both criteria and all 10 graphs the same graph; 79 of the 80 pair likelihoods agreed to 1e-8 relative and one by 8e-4 (0.9% relative). PC’s class, as SkewD-MV computes it, and its column order were the same on all 80 graphs.

Pairs#

The sets are the paper’s skewed pairs, with additive noise (ANs) or location-scale noise (LSs) at three noise skewnesses, the first two each pooling skew-normal and asymmetric generalized normal noise, and the Gaussian-noise location-scale sets LS and LS-s of Tagasovska et al. (2020). Each set’s column order is swapped on 10 of its 20 pairs. The table gives the pairs named right, of 20, and the median CPU seconds of Andrey’s fit.

Set

Noise skewness

SkewD-LL: Andrey

Authors’ outputs

SkewD-IT: Andrey

Authors’ outputs

Fit, s

ANs

-0.455

20

20

20

18

900

ANs

0.985

20

20

20

20

1,105

ANs

1.750

20

20

20

20

1,146

LSs

-0.455

20

20

18

18

1,152

LSs

0.985

20

20

19

17

1,304

LSs

1.750

20

20

20

19

1,310

LS

Gaussian

20

20

17

17

989

LS-s

Gaussian

20

20

20

19

1,077

Every set ties under both criteria, and both beat the coin flip on every set (the Wilson 95% lower bound of the share right is above 0.5; with half the pairs swapped, the majority direction is a coin flip too). No set was worse, so none was rerun. The likelihood criterion, now the default, named all 160 pairs right, and the independence criterion 154. Over all the pairs of each set, 100 or 200, the recorded outputs name the direction right on every pair by the likelihood, and by the independence test on 86%, 82.5%, and 92% of the LSs pairs and 87% and 97% of LS and LS-s. A fit took a median of 15 to 22 CPU minutes per set, and single fits 13 to 39.

The likelihood gives up accuracy on pairs whose marginals are not Gaussian, as it assumes Gaussian marginals of the standardized variables. On the paper’s 13 established pair benchmarks, most of which we did not run, the likelihood averaged 77% right against 85% for the independence test, 46% against 67% on the Tübingen pairs, and 51% against 82% on SIMc (Klippert and Marx, 2026, Tables 1 and 7).

Beside LOCI, ANM, PNL, and CAM#

loci, anm, pnl, and cam decide the same pairs; we ran them in the same jobs. The table gives the pairs named right, of 20; the median fit of each method and set took 0.1 to 2.4 CPU seconds.

Set

Noise skewness

SkewD-LL

SkewD-IT

LOCI, likelihood

LOCI, independence

ANM

PNL

CAM

ANs

-0.455

20

20

20

20

20

16

20

ANs

0.985

20

20

20

20

20

12

20

ANs

1.750

20

20

17

18

20

8

20

LSs

-0.455

20

18

20

18

6

7

19

LSs

0.985

20

19

19

18

12

14

15

LSs

1.750

20

20

15

15

6

12

6

LS

Gaussian

20

17

20

20

12

20

20

LS-s

Gaussian

20

20

20

20

1

5

10

No method was both more accurate and faster than either SkewD criterion on any set by the paired interval. LOCI, SkewD’s model with Gaussian noise, was as accurate on most sets in under a second, and less accurate on LSs at 1.750 (15 against 20). On LS, LOCI, PNL, and CAM named all 20 pairs and SkewD-IT 17, a gap within the interval; SkewD-LL named all 20.

SkewD-MV#

The graphs are the paper’s Table 2: Erdos-Renyi DAGs with as many edges as variables, sources uniform on [−3.5,3.5][-3.5, 3.5], and skew-normal location-scale effects. SHD counts a reversed edge as 2, as the paper does. The table gives the mean SHD, the empty graph’s (the number of edges), and the median and the largest CPU seconds of Andrey’s fit on one core. Every graph fit of seeds 0-19, of every method, ran on an AMD EPYC 7713 and every one of seeds 20-39 on an AMD EPYC 9534, so the two seed sets’ times differ by the CPU as well as by the seeds.

Variables

Seeds

CPU

Andrey

Authors’ outputs

Empty

Fit, s: median

Largest

6

0-19

EPYC 7713

2.25

2.25

6.00

2,944

5,866

6

20-39

EPYC 9534

1.55

1.65

6.00

1,669

6,326

10

0-19

EPYC 7713

4.70

5.20

10.00

2,230

8,747

10

20-39

EPYC 9534

4.75

4.95

10.00

1,057

3,146

Both sizes tie on both seed sets and make fewer errors than the empty graph. PC’s skeleton, which the likelihood does not change, had an F1 of 0.88 and 0.92 at 6 variables and 0.84 and 0.80 at 10; given the true class, the likelihood stage made 0.10 and 0.00 errors, as the authors’ did. The claim holds at a cap of 4 CPU hours per fit, which no fit reached; at 1 hour, 2 and 5 of the 20 fits on the EPYC 7713 would have failed, and 2 and 0 on the EPYC 9534. The cost grows with the parent sets the class allows, and max_fits refuses a class that needs more than 100 models.

SkewD-MV beside other graph methods#

We ran five other methods on the same graphs, seeds 0-39. The table gives the mean SHD (a reversed edge counts 2) and the median CPU seconds over both seed sets, which pools fits on the two CPUs; each method ran each seed on the same CPU as SkewD-MV.

Variables

SkewD-MV

s

PC, KCI

s

CAM

s

NoGAM

s

SCORE

s

RESIT

s

6

1.90

1,849

4.78

11.7

5.72

0.4

9.22

3.0

9.53

0.6

13.43

2.4

10

4.72

1,433

8.43

33.2

7.17

0.7

15.62

7.8

16.45

1.0

36.38

7.1

SkewD-MV made fewer errors than each of them at both sizes, by the paired interval, and each of them was faster. SID is not reported. The paper’s IGCI, ROCHE, QCCD, HOST, and GraN-DAG baselines have no Andrey implementation and were not run.

Experimental methods#

Two methods and three tests are new in 0.19.0 and experimental. Each implements its paper’s method; where the paper and its authors’ code differ, the sections below say which one Andrey follows. Each is compared with its authors’ code here, and we benchmark each against other methods before it is supported.

LGES#

andrey.lges is less greedy equivalence search (Ejaz and Bareinboim, 2025), a score search beside GES. Before each addition it takes one DAG of the current class and skips every pair that the DAG scores better without (SafeInsert; insertion="conservative" for ConservativeInsert), and it deletes and reverses edges as GES and GIES do. schedule="lges", the default, is the paper’s main method (Algorithm 1), and "lges0_released" its LGES-0 in the phase order of the authors’ code.

We ran the authors’ code unmodified on 63 datasets from its own generator: 10, 20, and 35 variables at mean degree 2 and 4 with 1,000 and 10,000 rows, and 50 variables at mean degree 4 with 10,000 rows.

  • With schedule="lges0_released" and position ties (andrey.config(tie_break="position"), which reads the same DAG of the class as the authors’ code), lges returned the authors’ CPDAG in all 126 fits, both insertion rules, with score gaps of 0. With the default rank ties it differed in 15 of 126: it reads another DAG of the same class, and the authors’ code given the columns in that order returned Andrey’s CPDAG in all 26 fits on those datasets.

  • With schedule="lges", it returned the CPDAG of the authors’ step functions run in Algorithm 1’s order in 104 of 104 fits on 52 of the datasets.

  • With schedule="lges0_released" on the paper’s Sachs data, continuous and discretized, both insertion rules returned the authors’ CPDAG.

On 760 datasets of the paper’s simulation, from 10 to 100 variables, neither schedule was better in more than half of the 48 settings and rules at mean degree 1 to 3 (LGES in 20, LGES-0 in 13, 15 ties), so the paper’s main method is the default.

The GCM, wGCM, and PCM tests#

indep_test="gcm" is the generalized covariance measure (Shah and Peters, 2020), "wgcm" the weighted generalized covariance measure (Scheidegger, Hörrmann, and Bühlmann, 2022), and "pcm" the projected covariance measure (Lundborg, Kim, Shah, and Samworth, 2024). GCM tests the covariance of the residuals of two regressions on the conditioning set, wGCM weights that covariance by a function of the conditioning set, and PCM tests whether one variable improves a prediction of the other. Where a paper and its authors’ code differ, we measured both and kept the one with the better results, or the paper’s where the results were close; the API reference states each choice.

We compared them with the authors’ code, run unmodified on the same rows: GeneralisedCovarianceMeasure 0.2.0, weightedGCM 0.1.2, and the PCM paper’s simulation code.

  • With the reference’s residuals and weights, the wGCM p-value with estimated weights equaled the reference’s in all 24 cases, to 1.6e-15.

  • End to end, each side with its own regressions and sample split, the two gave the same decision at 0.05 in 24 of 24 cases for GCM, 17 of 24 for wGCM with estimated weights, 23 of 24 with fixed weights, 8 of 9 for PCM with least squares, 11 of 12 with forests, and, with splits shared, 6 of 6 at 250 rows for PCM’s default additive models.

  • On the wGCM paper’s null designs at 200 and 400 rows, with boosted trees, "wgcm" rejected a true independence at 0.05 in 6.8% of 2,000 draws with estimated weights and 6.0% with fixed weights; weightedGCM 0.1.2 rejected 6.0% on other draws of the same designs. Over 12 null designs the share ranged from 4.0 to 13.0% with estimated weights, 4.0 to 8.6% with fixed weights, and 3.8 to 11.4% for "gcm". Nothing we measured holds the 5% level there, in Andrey or in the authors’ code.

  • On the PCM paper’s Section 6.1 designs, "pcm" rejected a true independence in 0.4% of 500 draws at 250 rows and 0.2% at 500, where the authors’ code rejected 0.6% and 0.2%, and its power was at or above the authors’ code’s interval in every alternative setting. On the Section 6.2 null at 500 rows, which the paper runs from 10,000 rows, it rejected 97.6% and the authors’ code 95.6%. A query takes about 7 s at 250 rows, 29 s at 500, and 6 minutes at 1,000, so the additive default suits a few hundred rows.

Regime-PCMCI#

andrey.rpcmci is Regime-PCMCI (Saggioro et al., 2020), for one time series whose lagged links switch between a few persistent regimes. It returns the regime of each time step, the regime weights, and one temporal result per regime, and it solves the paper’s linear program with SciPy. A step joins a regime when its weight, rounded to 9 decimals, is above switch_threshold, as in the authors’ code; the paper’s Eq. 11 reads at or above.

We compared it with Tigramite 5.2.10.1’s RPCMCI, the authors’ code, start by start, on the paper’s six toy models (Tables 1 and 4) at 1,000 time steps, 3 seeds, and 3 starts per seed (54 starts):

tau_max

Same final result

Of them identical

Differ

Both fail

One fails

3

43

43

0

10

1

1

39

39

0

15

0

Every start that ran in both gave the same weights within 1e-9, the same graphs, and the same change at each iteration. The one start that failed in Andrey alone had a regime of 6 steps, where a test given 4 variables has no degree of freedom left; Andrey fails such a start, and the authors’ code carries on. On a series without regimes, a regime, most often a small one, can hold a spurious link.

Other changes in 0.19.0#

target takes a list of columns on IAMB, Inter-IAMB, MMPC, and ICP: one call returns one result per target, each equal to a separate call. On complete data IAMB, Inter-IAMB, and MMPC share one search and test setup across the targets, so their lists cost less than separate calls; ICP, and every method on data with missing values, runs one search per target. Each option added or changed in this release states what each value favors and what it gives up, with the measurements behind it, and the API reference and the missing-values guide have “Choosing an option” tables. degrees_of_freedom chooses how the chi-square and G-squared tests count their degrees of freedom on sparse tables, and n_em_iterations sets the rounds of structural EM, which now refuses two columns that share no row. KCI caches its kernels for queries without a conditioning set, IAMB’s grow scans share one factor per conditioning set, and SkewD and SkewD-MV run their searches on n_jobs threads. Both also take optimizer="lbfgs", L-BFGS-B with the analytic gradient in place of the paper’s CMA-ES: on the paper’s simulations it decided worse in no setting by a paired bootstrap, at a median of 5.8 to 14.9 times less time per pair and 2.4 times less per graph, with a lower penalized likelihood in 306 of 738 fitted models and a higher one in 233.

The functional causal models post and the pairwise direction post describe DAS, CPCM, and SkewD, and the changelog lists every change.

Reproduce#

Find environment setup, campaign drivers, and scores in the benchmark harness guide. To rerun the comparison, install Andrey (andrey-core) in the harness’s environment. Times will differ with the hardware and build; the errors should match closely.

Comparison

Lane

Sizes

Datasets x repeats

Wall cap (s)

DAS against dodiscover

stein_cpu.py with andrey.das.numpy and dodiscover.das

ER1 and ER4 with 10, 20, 50, 100, and 200 variables, z-scored and rescaled, and up to 50 on raw columns; dodiscover also at ER4 with 500, z-scored

20 x 1, 20 fresh x 1 for a worse cell, 5 x 1 at 500

1,800 to 100 variables, 3,600 at 200, 7,200 at 500

DAS against the empty graph, and beside cam, SCORE, and NoGAM

stein_cpu.py with andrey.das.numpy, andrey.cam.numpy, andrey.score_matching.numpy, andrey.nogam.numpy, and baseline.empty

ER1 and ER4 with 10 to 1,000 variables, z-scored; SCORE up to 200 and 2 datasets at ER4 with 500, NoGAM at 10 and 20

20 x 1

1,800 to 100 variables, 3,600 above

The no-standardization variant of the raw-column check is not part of the method or the harness. The lane file records its errors per set of datasets.

The benchmark on cohorts with overlapping variables, the LGES comparison, and the agreement checks of the GCM, wGCM, PCM, and Regime-PCMCI are not harness lanes. benchmarks/regression_ci_agreement.py reruns the GCM, wGCM, and PCM comparison with the R library that benchmarks/start_regression_ci_r.sh builds, and benchmarks/rpcmci_agreement.py the Regime-PCMCI comparison in the environment of benchmarks/start_tigramite.sh. The benchmark on cohorts with overlapping variables and the LGES comparison have no script in the repository yet.

The CPCM comparison is not a harness lane. Its lane file records every setting with its datasets, families, packages, and intervals: the authors’ code at commit 2ada90e with R 4.6.1, mgcv 1.9.5, dHSIC 2.2, gamlss 5.5.5, and bnlearn 5.2.1, one fit per core with one BLAS thread, and a cap of 1,800 s per fit (3,600 s for the authors’ code at 8 variables), which no fit reached.

The SkewD comparison is not a harness lane either. Its lane file records every set with its datasets, the reference check, and the intervals: the authors’ recorded outputs of the code at commit 312632b, checked by a fresh run with NumPy 1.26.4, cmaes 0.13.1, and scikit-optimize 0.10.2, with a limit of 24 hours per pair; Andrey one fit per core with one BLAS thread, pairs stopped at 2 CPU hours and graphs at 4, which no fit reached.

References#

  • Bodik, J., and Chavez-Demoulin, V. (2025). Identifiability of causal graphs under non-additive conditionally parametric causal models. JMLR 26(264), 1-55.

  • Buhlmann, P., Peters, J., and Ernest, J. (2014). CAM: Causal additive models, high-dimensional order search and penalized regression. Annals of Statistics 42(6), 2526-2556.

  • Ejaz, A., and Bareinboim, E. (2025). Less greedy equivalence search. NeurIPS 2025. arXiv:2506.22331.

  • Klippert, D., and Marx, A. (2026). Skewness-robust causal discovery in location-scale noise models. ICML, PMLR 306.

  • Lundborg, A. R., Kim, I., Shah, R. D., and Samworth, R. J. (2024). The projected covariance measure for assumption-lean variable significance testing. Annals of Statistics 52(6), 2851-2878. doi:10.1214/24-AOS2447.

  • Montagna, F., Noceti, N., Rosasco, L., Zhang, K., and Locatello, F. (2023). Scalable causal discovery with score matching. CLeaR, PMLR 213, 752-771.

  • Reisach, A. G., Seiler, C., and Weichwald, S. (2021). Beware of the simulated DAG! Causal discovery benchmarks may be easy to game. NeurIPS 34.

  • Rolland, P., Cevher, V., Kleindessner, M., Russell, C., Janzing, D., Scholkopf, B., and Locatello, F. (2022). Score matching enables causal discovery of nonlinear additive noise models. ICML, PMLR 162, 18741-18753.

  • Saggioro, E., de Wiljes, J., Kretschmer, M., and Runge, J. (2020). Reconstructing regime-dependent causal relationships from observational time series. Chaos 30(11), 113115. doi:10.1063/5.0020538.

  • Scheidegger, C., Hörrmann, J., and Bühlmann, P. (2022). The weighted generalised covariance measure. JMLR 23(273), 1-68. jmlr.org.

  • Shah, R. D., and Peters, J. (2020). The hardness of conditional independence testing and the generalised covariance measure. Annals of Statistics 48(3), 1514-1538. doi:10.1214/19-AOS1857.

  • Tagasovska, N., Chavez-Demoulin, V., and Vatter, T. (2020). Distinguishing cause from effect using quantiles: Bivariate quantile causal discovery. ICML, PMLR 119, 9311-9323.

AI statement. Every number we measured for this card comes from a recorded run of the benchmark harness; no AI tool wrote or estimated any of them. Parts of this card were drafted with Claude Code. We checked every statement, number, and reference and are responsible for the content.