SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.13241 · ICLR · 2024

Federated Causal Discovery from Heterogeneous Data

Kun Zhang, Ignavier Ng, Bin Gu, Tongliang Liu, Biwei Huang, Guangyi Chen, Loka Li, Gongxu Luo

arXiv · PDF · Open in the Atlas

Code that ran

10 of 19 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 2 violated it and 2 have no contract verdict; 3 failures of our instrument; 9 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2402.13241.json · badge: /api/ran/2402.13241.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
lokali/fedcdh canonical (classifier label)
classifier basis: classifier_2025
9 ran · 3 no recorded run
lokali/FedCDH canonical (classifier label)
classifier basis: census
1 ran · 6 no recorded run
FunctionStatusWhere it lives
BootstrapResult Ran
ran on a synthesized input · constructed an object; no result was computed
lokali/fedcdh/causallearn/search/FCMBased/lingam/multi_group_direct_lingam.py
pointer only (licence: NONE) · get_code("38976b280ca96d56")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lokali/fedcdh when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

DirectLiNGAM Ran
ran on a synthesized input
lokali/fedcdh/causallearn/search/FCMBased/lingam/multi_group_direct_lingam.py
pointer only (licence: NONE) · get_code("491a78ded363ffcf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lokali/fedcdh when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_rbf_dot_XX Ran
ran, honoured the contract we drafted
lokali/fedcdh/causallearn/search/FCMBased/lingam/multi_group_direct_lingam.py
pointer only (licence: NONE) · get_code("26b76c70199f57dc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lokali/fedcdh when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

find_all_paths Ran
ran; our contract draft was wrong, not the code
lokali/fedcdh/causallearn/search/FCMBased/lingam/multi_group_direct_lingam.py
pointer only (licence: NONE) · get_code("e5a1aadd816748c7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lokali/fedcdh when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_gram_matrix Ran
ran, honoured the contract we drafted
lokali/fedcdh/causallearn/search/FCMBased/lingam/multi_group_direct_lingam.py
pointer only (licence: NONE) · get_code("1771651b948f9b7b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lokali/fedcdh when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_kernel_width Ran
ran, honoured the contract we drafted
lokali/fedcdh/causallearn/search/FCMBased/lingam/multi_group_direct_lingam.py
pointer only (licence: NONE) · get_code("976bd4440dd93c4a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lokali/fedcdh when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

hsic_test_gamma Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lokali/fedcdh/causallearn/search/FCMBased/lingam/multi_group_direct_lingam.py
pointer only (licence: NONE) · get_code("bbe022bdabc2d20d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lokali/fedcdh when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

hsic_teststat Ran
ran, violated the contract we drafted
lokali/fedcdh/causallearn/search/FCMBased/lingam/multi_group_direct_lingam.py
pointer only (licence: NONE) · get_code("9a331c08a7211248")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lokali/fedcdh when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_endpoint Ran
ran, violated the contract we drafted
lokali/FedCDH/causallearn/graph/Dag.py
pointer only (licence: NONE) · get_code("d6e616a314e0694d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lokali/FedCDH when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

predict_adaptive_lasso Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lokali/fedcdh/causallearn/search/FCMBased/lingam/multi_group_direct_lingam.py
pointer only (licence: NONE) · get_code("25ba4d6c123c8516")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lokali/fedcdh when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

BootstrapMixin Not yet run
unverified (harvested, no recorded run)
lokali/fedcdh/causallearn/search/FCMBased/lingam/multi_group_direct_lingam.py
pointer only (licence: NONE) · get_code("38543c5552e0b75d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lokali/fedcdh when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

MultiGroupDirectLiNGAM Not yet run
unverified (harvested, no recorded run)
lokali/fedcdh/causallearn/search/FCMBased/lingam/multi_group_direct_lingam.py
pointer only (licence: NONE) · get_code("6cd2527abc81e1b4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lokali/fedcdh when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

_BaseLiNGAM Not yet run
unverified (harvested, no recorded run)
lokali/fedcdh/causallearn/search/FCMBased/lingam/multi_group_direct_lingam.py
pointer only (licence: NONE) · get_code("99dc4a93f1437f57")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lokali/fedcdh when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

dist2 Not yet run
unverified (harvested, no recorded run)
lokali/FedCDH/causallearn/utils/ScoreUtils.py
pointer only (licence: NONE) · get_code("7686f7904ef2a421")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lokali/FedCDH when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

kernel Not yet run
unverified (harvested, no recorded run)
lokali/FedCDH/causallearn/utils/ScoreUtils.py
pointer only (licence: NONE) · get_code("98df2a458d28d6c9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lokali/FedCDH when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

local_score_BDeu Not yet run
unverified (harvested, no recorded run)
lokali/FedCDH/causallearn/score/LocalScoreFunction.py
pointer only (licence: NONE) · get_code("d42a8602e0bd67de")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lokali/FedCDH when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

local_score_BIC Not yet run
unverified (harvested, no recorded run)
lokali/FedCDH/causallearn/score/LocalScoreFunction.py
pointer only (licence: NONE) · get_code("1b53b842af405e31")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lokali/FedCDH when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

local_score_BIC_from_cov Not yet run
unverified (harvested, no recorded run)
lokali/FedCDH/causallearn/score/LocalScoreFunction.py
pointer only (licence: NONE) · get_code("f373e8a4a7fc7f4e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lokali/FedCDH when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

pdinv Not yet run
unverified (harvested, no recorded run)
lokali/FedCDH/causallearn/utils/ScoreUtils.py
pointer only (licence: NONE) · get_code("c5559d99b5cf2bf8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lokali/FedCDH when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 6 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 6 later) and 13 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
kernel 2 other papers
2 later
2601.20589 (2026-01)
Exact Graph Learning via Integer Programming
2605.10651 (2026-05)
A Recursive Decomposition Framework for Causal Structure Learning in the Presence of Latent Variables
get_kernel_width
brick of this paper's assembly: helper
1 other paper
1 later
2511.03168 (2025-11)
UnCLe: Towards Scalable Dynamic Causal Discovery in Non-linear Temporal Systems
hsic_teststat
brick of this paper's assembly: helper
1 other paper
1 later
2511.03168 (2025-11)
UnCLe: Towards Scalable Dynamic Causal Discovery in Non-linear Temporal Systems
is_endpoint 1 other paper
1 later
2601.20589 (2026-01)
Exact Graph Learning via Integer Programming
local_score_BDeu 1 other paper
1 later
2605.10651 (2026-05)
A Recursive Decomposition Framework for Causal Structure Learning in the Presence of Latent Variables
local_score_BIC_from_cov 1 other paper
1 later
2403.15500 (2024-03)
Gene Regulatory Network Inference in the Presence of Dropouts: a Causal View

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Conventional causal discovery methods rely on centralized data, which is inconsistent with the decentralized nature of data in many real-world situations. This discrepancy has motivated the development of federated causal discovery (FCD) approaches. However, existing FCD methods may be limited by their potentially restrictive assumptions of identifiable functional causal models or homogeneous data distributions, narrowing their applicability in diverse scenarios. In this paper, we propose a novel FCD method attempting to accommodate arbitrary causal models and heterogeneous data. We first utilize a surrogate variable corresponding to the client index to account for the data heterogeneity across different clients. We then develop a federated conditional independence test (FCIT) for causal skeleton discovery and establish a federated independent change principle (FICP) to determine causal directions. These approaches involve constructing summary statistics as a proxy of the raw data to protect data privacy. Owing to the nonparametric properties, FCIT and FICP make no assumption about particular functional forms, thereby facilitating the handling of arbitrary causal models. We conduct extensive experiments on synthetic and real datasets to show the efficacy of our method. The code is available at https://github.com/lokali/FedCDH.git.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2402.13241")
get_code_for_paper("2402.13241")
have("2402.13241")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2402.13241.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2402.13241.svg)](https://syntology.ai/paper/2402.13241)

Connect an agent — have() is free.