Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Pull request Compare This branch is even with SHoltzen:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This repository contains the implementation that performed the experiments for the research paper:

To cite, please use:

  author    = {Holtzen, Steven and Millstein, Todd and Van den Broeck, Guy},
  title     = {Generating and Sampling Orbits for Lifted Probabilistic Inference},
  booktitle = {Proceedings of the 35th Conference on Uncertainty in Artificial Intelligence (UAI)},
  month     = {jul},
  year      = {2019},


This code is provided as-is. It is what was used to run the experiments in the paper. It is typical research-ware; there are many improvements that could be made, and it is definitely not ready for prime-time (i.e., production). Think of it like extra-detailed documentation on how the algorithm described in the paper works.


While it may look like regular Python, this code must actually be run using the Sage math library. To use this library:

  1. Install sage.
  2. Install bliss by running sage -i bliss (if you want to hack the code to remove this requirement, it is possible to do so, but it will be much slower)
  3. Run sage


  • contains the most interesting code. It has a simple implementation of a factor graph and the exact and approximate lifted inference algorithms from the paper.
  • contains the example factor graphs that are generated
  • contains stubs for running the experiments from the paper
  • contains some standard test cases that illustrate usage.

To execute these files, use sage (not the regular Python command). I.e., run sage

You can’t perform that action at this time.