This repository contains the source code to reproduce the experiments of the paper "Lifted Model Construction under Approximate Commutativity" by Malte Luttermann, Jan Speller, Tanya Braun, Marcel Gehrke, and Ralf Möller (SUM 2026).
Our implementation uses the Julia programming language.
All experiments were conducted using Julia version 1.11.2 together with the following packages:
- BenchmarkTools v1.6.0
- Combinatorics v1.0.2
- Multisets v0.4.5
- StatsBase v0.34.14
Moreover, we applied openjdk version 11.0.25 to run the (lifted) inference
algorithms, which are provided in the .jar file located at
instances/ljt-v1.0-jar-with-dependencies.jar.
First, the input instances must be generated.
To do so, run julia instance_generator.jl in the src/ directory.
The input instances are then written into the instances/input/ directory.
After the instances have been generated, the experiments can be started by
running julia run_eval.jl in the src/ directory.
All results are written into the results/ directory.
To create the plots, execute the R scripts plot.r and plot_extra.r
(in the results/ directory).
The R scripts will then create a bunch of .tex files containing the plots
of the experiments.
To generate the plots as .pdf files instead, set use_tikz = FALSE in
line 6 of plot.r (line 7 of plot_extra.r) before executing the R script
plot.r.