Skip to content

Accompanying Repository for 'Representing Edge Flows on Graphs via Sparse Cell Complexes' Paper.

License

Notifications You must be signed in to change notification settings

josefhoppe/edge-flow-cell-complexes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Representing Edge Flows on Graphs via Sparse Cell Complexes

Published at Learning on Graphs Conference 2023 Best Paper at LoG 2023 - LoG Conference on Twitter YouTube: Talk at LoG 2023 arXiv:2309.01632 DOI:10.18154/RWTH-2024-03864 MIT license uses Conda Snakemake 7.3 or higher

About

This repository accompanies our paper linked above. The code is split into two repositories:

  • This repository contains the evaluation code and snakemake workflow.
  • Cell FLOWer is a separate package that contains only the code required for the inference and is published to PyPI.
@InProceedings{hoppe2024representing,
  title = 	 {Representing Edge Flows on Graphs via Sparse Cell Complexes},
  author =       {Hoppe, Josef and Schaub, Michael T},
  booktitle = 	 {Proceedings of the Second Learning on Graphs Conference},
  pages = 	 {1:1--1:22},
  year = 	 {2024},
  editor = 	 {Villar, Soledad and Chamberlain, Benjamin},
  volume = 	 {231},
  series = 	 {Proceedings of Machine Learning Research},
  month = 	 {27--30 Nov},
  publisher =    {PMLR},
  pdf = 	 {https://proceedings.mlr.press/v231/hoppe24a/hoppe24a.pdf},
  url = 	 {https://proceedings.mlr.press/v231/hoppe24a.html},
}

Running numerical experiments

This project uses Snakemake. To run the experiments:

  1. Install Miniconda (or mamba)
  2. Create a new conda environment and install dependencies: conda env create -n cell-inference -f workflow/envs/environment.yaml
  3. Activate environment: conda activate cell-inference
  4. Run snakemake: snakemake -c20 all

For us, running all experiments takes approximately three hours, so you may want to build individual artifacts instead, for example snakemake -c20 figures/approx_exp_error.pdf.

Workflow structure

The Rulegraph gives a rough overview of the structure:

Snakemake Rulegraph

Generally, we aimed to give rules names that are short and easily understood. For the different kinds of experiments, we used the following naming system:

  • approx_exp - approximation experiment on synthetic data, i.e., how large is the approximation error?
  • inference_exp - inference experiment on synthetic data, i.e., how many ground-truth cells have been recovered?
  • realworld_exp - approximation experiment on realworld-data.
  • time_exp - experiment to measure runtime performance.
  • heuristic_exp - experiment to see how many ground-truth cells are detected by the heuristic (first iteration).

Acknowledgements

Funded by the European Union (ERC, HIGH-HOPeS, 101039827). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.

About

Accompanying Repository for 'Representing Edge Flows on Graphs via Sparse Cell Complexes' Paper.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages