SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · ijcai2024_0790 · IJCAI · 2024

CausalNET: Unveiling Causal Structures on Event Sequences by Topology-Informed Causal Attention

Bang Liu, Hong Huang, Hai Jin, Hua Zhu, Kehan Yin, Zejun Fan

Open in the Atlas

Code that ran

12 of 13 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 9 have no contract verdict; 3 failures of our instrument; 1 no recorded run), measured 2026-11-24; 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/ijcai2024_0790.json · badge: /api/ran/ijcai2024_0790.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
CGCL-codes/CausalNET canonical (classifier label)
classifier basis: census
12 ran · 1 no recorded run
FunctionStatusWhere it lives
calc_and_log_metrics Ran
ran on a synthesized input
CGCL-codes/CausalNET/model/utils/util_misc.py
code served (permissive licence) · get_code("cc05f4923062cc7e")
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 str. 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

class MockLogger:
    def log_metrics(self, metrics_dict, step):
        pass

# Create probability matrix (4x4 - small square matrix for causal graph)
prob_mat = np.array([
    [0.1, 0.8, 0.3, 0.2],
    [0.2, 0.1, 0.9, 0.4],
    [0.3, 0.7, 0.1, 0.6],
    [0.5, 0.2, 0.8, 0.1]
], dtype=np.float32)

# Create true causal matrix (4x4 - binary ground truth)
true_cm = np.array([
    [0, 1, 0, 0],
    [0, 0, 1, 0],
    [0, 1, 0, 1],
    [1, 0, 1, 0]
], dtype=np.float32)

# Create mock logger
log = MockLogger()

ARGS = {
    'prob_mat': prob_mat,
    'true_cm': true_cm,
    'log': log,
    'log_step': 100,
    'threshold': 0.5,
    'pruned': False,
    'prune_strategy': 'soft'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
compute_dag_ness Ran
ran on a synthesized input
CGCL-codes/CausalNET/model/utils/util_loss.py
code served (permissive licence) · get_code("b26893c1b9626122")
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

torch.manual_seed(0)

# A is a square matrix used in compute_dag_ness
# The function computes element-wise square (A * A), then matrix_exp, trace, etc.
# So A should be a 2D square tensor
A = torch.randn(4, 4)

ARGS = {
    "A": A
}
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 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
count_subdirectories Ran
ran on a synthesized input
CGCL-codes/CausalNET/model/utils/util_os.py
code served (permissive licence) · get_code("e0020b8595d0cbc3")
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 int, ndim 0, dtype family int, 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 os
import tempfile
import shutil

# Create a temporary directory with some subdirectories for testing
temp_dir = tempfile.mkdtemp()
os.makedirs(os.path.join(temp_dir, "subdir1"), exist_ok=True)
os.makedirs(os.path.join(temp_dir, "subdir2"), exist_ok=True)
os.makedirs(os.path.join(temp_dir, "subdir3"), exist_ok=True)

# Create a file in the temp directory (not a subdirectory)
with open(os.path.join(temp_dir, "file.txt"), "w") as f:
    f.write("test")

ARGS = {
    "directory_path": temp_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, 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
get_subsequent_mask Ran
ran; our contract draft was wrong, not the code
CGCL-codes/CausalNET/model/transformer/Models.py
code served (permissive licence) · get_code("688b703d19c01e70")
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 3, dtype family int, shape (2, 4, 4) 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

torch.manual_seed(0)

# The function expects a tensor with .size() method that returns (batch_size, seq_len)
# It also uses .device attribute on the tensor
# Create a small tensor with batch_size=2, seq_len=4
seq = torch.randn(2, 4)

ARGS = {
    "seq": seq
}
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 Tensor, ndim 3, dtype family int, shape (2, 4, 4) — shape (2, 4, 4) 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
gumbel_softmax Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
CGCL-codes/CausalNET/model/utils/util_gumbel.py
code served (permissive licence) · get_code("e10ed51d25269698")
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 2, dtype family float, shape (2, 4) 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
import torch.nn.functional as F

torch.manual_seed(0)

# Create logits tensor with shape [batch_size, num_features]
logits = torch.randn(2, 4)

# Define all parameters
ARGS = {
    "logits": logits,
    "tau": 1.0,
    "hard": False,
    "eps": 1e-10,
    "dim": -1
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
masked_softmax Ran
ran on a synthesized input
CGCL-codes/CausalNET/model/transformer/Modules.py
code served (permissive licence) · get_code("44806e5ecf162655")
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 2, dtype family float, shape (2, 4) 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

torch.manual_seed(0)

# Construct tensors for masked_softmax
# x: input tensor with logits
# mask: binary mask (0 for valid, 1 for masked)
# gnn_coef: decay coefficient (scalar or broadcastable)

x = torch.randn(2, 4)  # batch_size=2, num_features=4
mask = torch.randint(0, 2, (2, 4)).float()  # binary mask same shape as x
gnn_coef = torch.tensor(0.9)  # scalar coefficient

ARGS = {
    "x": x,
    "mask": mask,
    "gnn_coef": gnn_coef,
    "dim": -1
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
omegaconf2list Ran
ran; our contract draft was wrong, not the code
CGCL-codes/CausalNET/model/utils/util_misc.py
code served (permissive licence) · get_code("d82483f5e761e33b")
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 list, ndim 1, 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 omegaconf

# Create a simple OmegaConf DictConfig with various types
opt = omegaconf.OmegaConf.create({
    'learning_rate': 0.001,
    'batch_size': 32,
    'model_name': 'resnet50',
    'dropout': None,
    'augmentation': [1, 2, 3],
    'nested': {
        'hidden_dim': 128,
        'activation': 'relu',
        'use_bias': None,
        'deep_nested': {
            'value': 42,
            'name': 'test'
        }
    }
})

ARGS = {
    'opt': opt,
    'prefix': '',
    'sep': '.'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
omegaconf — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list 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
plot_causal_matrix Ran
ran on a synthesized input
CGCL-codes/CausalNET/model/utils/util_misc.py
code served (permissive licence) · get_code("2cf039d3b79f6d10")
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 Figure. 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 matplotlib
matplotlib.use('Agg')  # Non-interactive backend

# Create a small causal matrix with distinct dimensions
cmtx = np.array([
    [0.8, 0.2, 0.1, 0.0],
    [0.3, 0.9, 0.4, 0.2],
    [0.1, 0.5, 0.7, 0.3],
], dtype=np.float32)

class_names = ['node_0', 'node_1', 'node_2', 'node_3']
figsize = [10.0, 8.0]
vmin = 0.0
vmax = 1.0
show_text = True
cmap = 'magma'

ARGS = {
    'cmtx': cmtx,
    'class_names': class_names,
    'figsize': figsize,
    'vmin': vmin,
    'vmax': vmax,
    'show_text': show_text,
    'cmap': cmap,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Figure — a Figure output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Figure 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
prune_by_dag_ness_hard Ran
ran on a synthesized input
CGCL-codes/CausalNET/model/utils/util_loss.py
code served (permissive licence) · get_code("c23100dfa8a1a584")
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 2, dtype family float, shape (4, 4) 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
torch.manual_seed(0)

# Create a small probability matrix
# Shape: (4, 4) for a 4-node DAG
# Fill with small random values to simulate approximate DAG
prob_mat = torch.rand(4, 4) * 0.5

# Set diagonal to 0 (no self-loops)
prob_mat = prob_mat * (1 - torch.eye(4))

# Ensure it's on CPU
prob_mat = prob_mat.to('cpu')

# Set threshold for pruning
threshold = 0.2

ARGS = {
    'prob_mat': prob_mat,
    'threshold': threshold
}
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 Tensor, ndim 2, dtype family float, shape (4, 4) — shape (4, 4) 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
prune_by_dag_ness_soft Ran
ran on a synthesized input
CGCL-codes/CausalNET/model/utils/util_loss.py
code served (permissive licence) · get_code("15d54691700e7676")
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 2, dtype family float, shape (4, 4) 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

torch.manual_seed(0)

# Create a small probability matrix
# Shape: (4, 4) - represents a DAG adjacency matrix with probabilities
prob_mat = torch.rand(4, 4)

# Set threshold for pruning
threshold = 0.3

ARGS = {
    "prob_mat": prob_mat,
    "threshold": threshold,
}
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 Tensor, ndim 2, dtype family float, shape (4, 4) — shape (4, 4) 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
read_csv Ran
ran on a synthesized input
CGCL-codes/CausalNET/model/utils/util_dataset.py
code served (permissive licence) · get_code("a2455c2aa6246fd1")
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 DataFrame. 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 pandas as pd
import os
import tempfile

# Create a temporary directory structure with a CSV file
temp_dir = tempfile.mkdtemp()
dataset_dir = os.path.join(temp_dir, 'my_dataset')
os.makedirs(dataset_dir, exist_ok=True)

# Create a simple CSV file
csv_path = os.path.join(dataset_dir, 'alarm.csv')
df_dummy = pd.DataFrame({
    'col1': [1, 2, 3],
    'col2': ['a', 'b', 'c'],
    'col3': [1.1, 2.2, 3.3]
})
df_dummy.to_csv(csv_path, index=False)

ARGS = {
    'path': temp_dir,
    'dataset': 'my_dataset',
    'file': 'alarm.csv'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 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
read_dag Ran
ran on a synthesized input
CGCL-codes/CausalNET/model/utils/util_dataset.py
code served (permissive licence) · get_code("1f25210cd778f1af")
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 int, shape (3, 3) 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 pandas as pd
import numpy as np
import os
import tempfile
import shutil

# Create a temporary directory structure for testing
temp_dir = tempfile.mkdtemp()
dataset_dir = os.path.join(temp_dir, 'test_dataset')
os.makedirs(dataset_dir, exist_ok=True)

# Create a minimal alarm.csv file
df = pd.DataFrame({
    'alarm_id': [1, 2, 3, 1, 2, 3],
    'value': [0.1, 0.2, 0.3, 0.4, 0.5, 0.6]
})
df.to_csv(os.path.join(dataset_dir, 'alarm.csv'), index=False)

# Create a true_graph.npy file
true_graph = np.array([[0, 1, 0], [1, 0, 1], [0, 1, 0]], dtype=np.int32)
np.save(os.path.join(dataset_dir, 'true_graph.npy'), true_graph)

ARGS = {
    'path': temp_dir,
    'dataset': 'test_dataset',
    'file': 'true_graph.npy'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — 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 int, shape (3, 3) — shape (3, 3) 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
read_prior Not yet run
unverified (harvested, no recorded run)
CGCL-codes/CausalNET/model/utils/util_dataset.py
code served (permissive licence) · get_code("e1d8c812e74feaa0")
How it ran

no invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 3 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 1 later) and 10 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
get_subsequent_mask 3 other papers
3 dated earlier
1706.03762 (2017-06)
Attention Is All You Need
2002.09291 (2020-02)
Transformer Hawkes Process
2206.05291 (2022-06)
ProActive: Self-Attentive Temporal Point Process Flows for Activity Sequences
gumbel_softmax 1 other paper
1 later
2505.16620 (2025-05)
CausalDynamics: A large-scale benchmark for structural discovery of dynamical causal models
omegaconf2list 1 other paper
1 dated earlier
Yang_TINC_Tree-Structured_Implicit_Neural_Compression_CVPR_2023_paper (2023 (year only))
TINC: Tree-structured Implicit Neural Compression

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

Repositories linked to this paper

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

Abstract

Causal discovery on event sequences holds a pivotal significance across domains such as healthcare, finance, and industrial systems. The crux of this endeavor lies in unraveling causal structures among event types, typically portrayed as directed acyclic graphs (DAGs). Nonetheless, prevailing methodologies often grapple with untenable assumptions and intricate optimization hurdles. To address these challenges, we present a novel model named CausalNET. At the heart of CausalNET is a special prediction module based on the Transformer architecture, which prognosticates forthcoming events by leveraging historical occurrences, with its predictive prowess amplified by a trainable causal graph engineered to fathom causal relationships among event types. Furthermore, to augment the predictive paradigm for realworld scenarios, we devise a causal decay matrix to encapsulate the influence of the underlying topological network on causal dependencies among events. During training, we alternatively refine the prediction module and fine-tune the causal graph. Comprehensive evaluation on a spectrum of realworld and synthetic datasets underscores the superior performance and scalability of CausalNET, marking a promising step forward in the realm of causal discovery. Code and Appendix are available at https://github.com/CGCL-codes/CausalNET.

For agents

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

get_harvested_code_for_paper("ijcai2024_0790")
get_code_for_paper("ijcai2024_0790")
have("ijcai2024_0790")

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

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

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

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

Connect an agent — have() is free.