SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2412.16577 · 2024

A Meta-Learning Approach to Bayesian Causal Discovery

arXiv · PDF · Open in the Atlas

Code that ran

14 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 13 have no contract verdict; 1 failure of our instrument; 2 no recorded run), measured 2026-11-23; 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/2412.16577.json · badge: /api/ran/2412.16577.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
Anish144/CausalStructureNeuralProcess community (classifier label)
classifier basis not recorded on the link
13 ran · 2 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
balance_for_auc Ran
ran on a synthesized input
Anish144/CausalStructureNeuralProcess/ml2_meta_causal_discovery/utils/metrics.py
code served (permissive licence) · get_code("75176516afeedbb4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

np.random.seed(0)

# Create sample data for the function
# target should be a numpy array with values that can be positive, negative, or zero
# pred_scores should be a numpy array of prediction scores

target = np.array([1, 1, -1, 0, 1, -1], dtype=np.int32)
pred_scores = np.array([0.9, 0.8, 0.2, 0.5, 0.7, 0.3], dtype=np.float32)

ARGS = {
    "target": target,
    "pred_scores": pred_scores,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
batch Ran
ran on a synthesized input
Anish144/CausalStructureNeuralProcess/ml2_meta_causal_discovery/utils/helpers.py
code served (permissive licence) · get_code("1a65e10e8d0a485b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Size. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small tensor with batch dimensions and non-batch dimensions
# Shape: (batch_size=2, feature_dim=4, sequence_length=3)
# This has 2 batch dimensions and 1 non-batch dimension at the end
x = torch.randn(2, 4, 3)

# Number of non-batch dimensions (the function uses x.shape[:-other_dims])
# We want to exclude the last 1 dimension, so other_dims=1
other_dims = 1

ARGS = {
    "x": x,
    "other_dims": other_dims,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Size — a Size output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Size output the recorded ndim 1 and dtype family int describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
build_mlp Ran
ran on a synthesized input
Anish144/CausalStructureNeuralProcess/ml2_meta_causal_discovery/models/causaltransformercomponents.py
code served (permissive licence) · get_code("1fcb0240ade1eb3c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Sequential. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "dim_in": 4,
    "dim_hid": 5,
    "dim_out": 3,
    "depth": 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Sequential — a Sequential output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
calculate_auc Ran
ran on a synthesized input
Anish144/CausalStructureNeuralProcess/ml2_meta_causal_discovery/utils/metrics.py
code served (permissive licence) · get_code("1731dc78c5f9c460")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float64, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

np.random.seed(0)

# Create small target and pred_scores arrays
# target should be binary-like with values that can be positive/negative
target = np.array([1, 1, -1, -1, 1, -1, 1, -1], dtype=np.int32)

# pred_scores should be numeric predictions
pred_scores = np.array([0.9, 0.8, 0.2, 0.1, 0.85, 0.15, 0.75, 0.25], dtype=np.float32)

ARGS = {
    "target": target,
    "pred_scores": pred_scores,
    "num_shuffles": 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn, tqdm — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
cyclicity Ran
ran on a synthesized input
Anish144/CausalStructureNeuralProcess/ml2_meta_causal_discovery/utils/metrics.py
code served (permissive licence) · get_code("480302d65d118255")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch as th
import numpy as np

th.manual_seed(0)

# Create a small acyclic adjacency matrix (4x4)
# An acyclic matrix should have h close to 0
A_acyclic = th.tensor([
    [0.0, 0.1, 0.2, 0.0],
    [0.0, 0.0, 0.1, 0.15],
    [0.0, 0.0, 0.0, 0.05],
    [0.0, 0.0, 0.0, 0.0]
], dtype=th.float32)

ARGS = {
    "A": A_acyclic
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
generate_random_dag Ran
ran on a synthesized input
Anish144/CausalStructureNeuralProcess/ml2_meta_causal_discovery/datasets/causal_graph_generator.py
code served (permissive licence) · get_code("a67185539f352f49")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (5, 5) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Set random seed for reproducibility
np.random.seed(0)

# Define arguments for generate_random_dag
ARGS = {
    "num_variables": 5,
    "expected_node_degree": 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (5, 5) — shape (5, 5) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
generate_synthetic_dag Ran
ran on a synthesized input
Anish144/CausalStructureNeuralProcess/ml2_meta_causal_discovery/datasets/causal_graph_generator.py
code served (permissive licence) · get_code("0090b66ac20f2e33")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (10, 10) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import igraph as ig
import numpy as np

np.random.seed(0)

ARGS = {
    'd': 10,
    's0': 15,
    'graph_type': 'ER'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
igraph, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (10, 10) — shape (10, 10) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_random_indices Ran
ran on a synthesized input
Anish144/CausalStructureNeuralProcess/ml2_meta_causal_discovery/utils/datautils.py
code served (permissive licence) · get_code("d3aec780435dd02f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

ARGS = {
    "maxindex": 100,
    "a": 10,
    "b": 50,
    "n_context": None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
list_of_strings Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from futureeeeee/mba
pointer only · get_code("19ee4683eda506c6")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

sample_lengthscale Ran
ran on a synthesized input
Anish144/CausalStructureNeuralProcess/ml2_meta_causal_discovery/utils/gplvm_utils.py
code served (permissive licence) · get_code("34228451461107e8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (5,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# The function sample_lengthscale takes one parameter: num_lengthscale_samples
# It samples lengthscale values from a uniform distribution and returns an ndarray
# The parameter is simply an integer specifying how many samples to generate

num_lengthscale_samples = 5

ARGS = {
    "num_lengthscale_samples": num_lengthscale_samples
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (5,) — shape (5,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
sample_variance Ran
ran on a synthesized input
Anish144/CausalStructureNeuralProcess/ml2_meta_causal_discovery/utils/gplvm_utils.py
code served (permissive licence) · get_code("d54d06358c0f7c9a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (5,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Set random seed for reproducibility
np.random.seed(0)

# The function takes a single parameter: num_variance_samples (int)
# It samples variance values from a uniform distribution
# So we just need to provide a positive integer

ARGS = {
    "num_variance_samples": 5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (5,) — shape (5,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
transformer_classifier_split_withpadding Ran
ran on a synthesized input
Anish144/CausalStructureNeuralProcess/ml2_meta_causal_discovery/utils/datautils.py
code served (permissive licence) · get_code("e6fcc8b735c0a08c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned function. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import torch as th

th.manual_seed(0)

# Analyze the function:
# - transformer_classifier_split_withpadding takes sample_size_min and sample_size_max
# - Returns mycollate function
# - mycollate expects batch as input (list of tuples)
# - Each item in batch is a tuple: (data, target, mask)
# - data should be numpy array with shape (num_samples, features)
# - target should be numpy array
# - mask should be numpy array or None

# Create sample batch data
num_sequences = 2  # batch size
num_features = 4
sequence_length = 3

# Create sample batch items
batch_item_1_data = np.random.randn(sequence_length, num_features).astype(np.float32)
batch_item_1_target = np.array([0.5]).astype(np.float32)
batch_item_1_mask = np.ones((sequence_length, num_features)).astype(np.float32)

batch_item_2_data = np.random.randn(sequence_length, num_features).astype(np.float32)
batch_item_2_target = np.array([0.7]).astype(np.float32)
batch_item_2_mask = np.ones((sequence_length, num_features)).astype(np.float32)

# Create batch as list of tuples
sample_batch = [
    (batch_item_1_data, batch_item_1_target, batch_item_1_mask),
    (batch_item_2_data, batch_item_2_target, batch_item_2_mask)
]

ARGS = {
    "sample_size_min": 1,
    "sample_size_max": 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
turn_bivariate_causal_graph_to_label Ran
ran on a synthesized input
Anish144/CausalStructureNeuralProcess/ml2_meta_causal_discovery/utils/datautils.py
code served (permissive licence) · get_code("b531baf3d12f98f3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (2,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Construct a valid causal_graph argument
# The function expects shape (num_graphs, 2, 2) based on indexing [:, 0, 1]
# Each graph is a 2x2 adjacency matrix for a bivariate causal relationship

num_graphs = 2
causal_graph = np.zeros((num_graphs, 2, 2), dtype=int)

# First graph: X -> Y (so causal_graph[0, 0, 1] == 1)
causal_graph[0, 0, 1] = 1

# Second graph: Y -> X (so causal_graph[1, 0, 1] == 0)
causal_graph[1, 0, 1] = 0

ARGS = {
    "causal_graph": causal_graph
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (2,) — shape (2,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
with_first_last Ran
ran on a synthesized input
Anish144/CausalStructureNeuralProcess/ml2_meta_causal_discovery/utils/helpers.py
code served (permissive licence) · get_code("26c82df107366b6e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned generator. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

def simple_generator():
    """A simple generator that yields a few items"""
    yield "first_item"
    yield "second_item"
    yield "third_item"

ARGS = {
    "xs": simple_generator()
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type generator — a generator output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a generator output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compress_batch_dimensions Not yet run
unverified (harvested, no recorded run)
Anish144/CausalStructureNeuralProcess/ml2_meta_causal_discovery/utils/helpers.py
code served (permissive licence) · get_code("e48a440c91fe3bdf")
How it ran

no invocation recorded.

retun_default_args Not yet run
unverified (harvested, no recorded run)
Anish144/CausalStructureNeuralProcess/ml2_meta_causal_discovery/utils/args.py
code served (permissive licence) · get_code("3715f9dedbfce722")
How it ran

no invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 0 later) and 15 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
list_of_strings 8 other papers
6 dated earlier, 2 the same month
2112.05745 (2021-12)
A Simple and Efficient Sampling-based Algorithm for General Reachability Analysis
2308.13320 (2023-08)
Fine-tuning can cripple your foundation model; preserving features may be the solution
2310.19046 (2023-10)
Large Language Models as Evolutionary Optimizers
and 5 more not named here

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-23.

Repositories linked to this paper

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

Abstract

Discovering a unique causal structure is difficult due to both inherent identifiability issues, and the consequences of finite data. As such, uncertainty over causal structures, such as those obtained from a Bayesian posterior, are often necessary for downstream tasks. Finding an accurate approximation to this posterior is challenging, due to the large number of possible causal graphs, as well as the difficulty in the subproblem of finding posteriors over the functional relationships of the causal edges. Recent works have used meta-learning to view the problem of estimating the maximum a-posteriori causal graph as supervised learning. Yet, these methods are limited when estimating the full posterior as they fail to encode key properties of the posterior, such as correlation between edges and permutation equivariance with respect to nodes. Further, these methods also cannot reliably sample from the posterior over causal structures. To address these limitations, we propose a Bayesian meta learning model that allows for sampling causal structures from the posterior and encodes these key properties. We compare our meta-Bayesian causal discovery against existing Bayesian causal discovery methods, demonstrating the advantages of directly learning a posterior over causal structure.

For agents

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

get_harvested_code_for_paper("2412.16577")
get_code_for_paper("2412.16577")
have("2412.16577")

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

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

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

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

Connect an agent — have() is free.