Skip to content

Code for the paper "Robustness of Algorithms for Causal Structure Learning to Hyperparameter Choice" based on Benchpress.

License

Notifications You must be signed in to change notification settings

misoc-mml/hyperparams-causal-discovery

 
 

Repository files navigation

Robustness of Algorithms for Causal Structure Learning to Hyperparameter Choice

This code supplements the paper [1] and can be used to replicate the numerical experiments.

Now accepted for poster presentation at CLeaR 2024 (to appear in PMLR).

Benchpress

This code is a fork of Benchpress [2] that allows us to evaluate a variety of structure learning algorithms.

The Analysis of Hyperparameters

Our analysis of the influence of hyperparameter selection on the performance of the algorithms is the extra code added on top of Benchpress, and which can be found under the hyperparams folder.

How to Replicate the Paper

  1. Download this code.
  2. Go to the official documentation of Benchpress and perform the installation steps.
  3. Open a bash command and enter this repository: cd hyperparams-causal-discovery.
  4. To run all the experiments, execute: bash run.sh.
  5. (warning: the above step may take weeks to complete)

The results are also available in this repository, here.

Further Analysis

All the post-processing code of the results can be found in the Python Notebooks (.ipynb files) here. Note running these may require some additional Python packages to be installed.

Executing the above files produces all kinds of figures that can be also found here. Only selected figures are presented in the paper.

References

  • [1] D. Machlanski, S. Samothrakis, and P. Clarke, ‘Robustness of Algorithms for Causal Structure Learning to Hyperparameter Choice’. arXiv, Oct. 27, 2023. doi: 10.48550/arXiv.2310.18212.
  • [2] F. L. Rios, G. Moffa, and J. Kuipers, “Benchpress: A Scalable and Versatile Workflow for Benchmarking Structure Learning Algorithms.” arXiv, Jul 8, 2021. doi: 10.48550/arXiv.2107.03863.

About

Code for the paper "Robustness of Algorithms for Causal Structure Learning to Hyperparameter Choice" based on Benchpress.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 96.2%
  • Python 2.3%
  • R 1.2%
  • TeX 0.3%
  • Dockerfile 0.0%
  • Shell 0.0%