Datasets:

Modalities:
Text
Formats:
webdataset
ArXiv:
Libraries:
Datasets
WebDataset
License:
juannat7 commited on
Commit
b771943
·
verified ·
1 Parent(s): 33d09a9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +74 -2
README.md CHANGED
@@ -2,6 +2,78 @@
2
  license: mit
3
  ---
4
 
5
- # CausalDynamics
6
 
7
- This dataset is currently under active construction. Stay tuned!
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  license: mit
3
  ---
4
 
5
+ # CausalDynamics: A large-scale benchmark for structural discovery of dynamical causal models
6
 
7
+
8
+ <div align="center">
9
+ <a href="http://kausable.github.io/CausalDynamics"><img src="https://img.shields.io/badge/View-Documentation-blue?style=for-the-badge)" alt="Homepage"/></a>
10
+ <!-- <a href="<ADD_LINK>"><img src="https://img.shields.io/badge/ArXiV-2402.00712-b31b1b.svg" alt="arXiv"/></a> -->
11
+ <a href="https://huggingface.co/datasets/kausable/CausalDynamics"><img src="https://img.shields.io/badge/Dataset-HuggingFace-ffd21e" alt="Huggingface Dataset"/></a>
12
+ <a href="https://github.com/kausable/CausalDynamics/blob/main/LICENSE.txt"><img src="https://img.shields.io/badge/License-MIT-green" alt="License Badge"/></a>
13
+ <a href="https://github.com/kausable/CausalDynamics/actions/workflows/run-tests.yml"><img src="https://github.com/kausable/CausalDynamics/workflows/Run%20Tests/badge.svg" alt="Tests"/></a>
14
+ </div>
15
+ </br>
16
+
17
+ A comprehensive benchmark framework designed to rigorously evaluate state-of-the-art causal discovery algorithms for dynamical systems.
18
+
19
+ ## Key Features
20
+
21
+ 1️⃣ **Large-Scale Benchmark**. Systematically evaluate state-of-the-art causal discovery algorithms on thousands of graph challenges with increasing difficulty.
22
+
23
+ 2️⃣ **Customizable Data Generation**. Scalable, user-friendly generation of increasingly complex coupled ordinary and stochastic systems of differential equations
24
+
25
+ 3️⃣ **Diverse Challenges**. From simple chaotic systems to modular causal coupling of dynamical systems, including optional noise, confounding, time lags, and even climate model dynamics.
26
+
27
+ **Abstract**: Causal discovery for dynamical systems poses a major challenge in fields where active interventions are infeasible. Most methods used to investigate these systems and their associated benchmarks are tailored to deterministic, low-dimensional and weakly nonlinear time-series data. To address these limitations, we present *CausalDynamics*, a large-scale benchmark and extensible data generation framework to advance the structural discovery of dynamical causal models. Our benchmark consists of true causal graphs derived from thousands of coupled ordinary and stochastic differential equations as well as two idealized climate models. We perform a comprehensive evaluation of state-of-the-art causal discovery algorithms for graph reconstruction on systems with noisy, confounded, and lagged dynamics. *CausalDynamics* consists of a plug-and-play, build-your-own coupling workflow that enables the construction of a hierarchy of physical systems. We anticipate that our framework will facilitate the development of robust causal discovery algorithms that are broadly applicable across domains while addressing their unique challenges.
28
+
29
+
30
+ ## Installation
31
+
32
+ The easiest way to install the package is via PyPi:
33
+ ```bash
34
+ pip install causaldynamics
35
+ ```
36
+
37
+ Although you can generate your own dataset (see [getting started](#getting-started)), you can download our preprocessed ones directly from HuggingFace:
38
+ ```bash
39
+ wget https://huggingface.co/datasets/kausable/CausalDynamics/resolve/main/process_causaldynamics.py
40
+ python process_causaldynamics.py
41
+ ```
42
+
43
+ See the [additional installation guide](#additional-installation-guide) for more options.
44
+
45
+
46
+ ## Getting Started
47
+
48
+ - [Challenge](https://kausable.github.io/CausalDynamics/challenge.html)
49
+ - [Quickstart](https://kausable.github.io/CausalDynamics/notebooks/quickstart.html)
50
+ - [CausalDynamics](https://kausable.github.io/CausalDynamics/notebooks/causaldynamics.html)
51
+ - [Benchmark](https://kausable.github.io/CausalDynamics/benchmark.html)
52
+ - [Simple Dynamics](https://kausable.github.io/CausalDynamics/notebooks/simple_causal_models.html)
53
+ - [Coupled Dynamics](https://kausable.github.io/CausalDynamics/notebooks/coupled_causal_models.html)
54
+ - [Climate Dynamics](https://kausable.github.io/CausalDynamics/notebooks/climate_causal_models.html)
55
+ - [Troubleshoot](https://kausable.github.io/CausalDynamics/troubleshoot.html)
56
+
57
+ ## Benchmarking
58
+ - [Baseline](https://kausable.github.io/CausalDynamics/baseline.html)
59
+ - [Evaluation](https://kausable.github.io/CausalDynamics/notebooks/eval_pipeline.html)
60
+ - [Leaderboard](https://kausable.github.io/CausalDynamics/leaderboard.html)
61
+
62
+ ## Additional Installation Guide
63
+ Note: This is the recommended way if you want to run scripts to generate benchmark data. Clone the repository and install it using [pdm](https://pdm-project.org/en/latest/):
64
+
65
+ ```shell
66
+ git clone https://github.com/kausable/CausalDynamics.git
67
+ pdm install
68
+ ```
69
+
70
+ You can test whether the installation succeded by creating some coupled causal model data:
71
+
72
+ ```shell
73
+ python src/causaldynamics/creator.py --config config.yaml
74
+ ```
75
+
76
+ You find the output at `output/<timestamp>` as default location.
77
+
78
+ ## Citation
79
+ If you find any of the code and dataset useful, feel free to acknowledge our work through: