Overview
This paper introduces setineq, a novel constraint language designed for lifted inference that efficiently handles subset, equality, and inequality constraints. By reformulating core lifting rules to operate directly within this language, the authors achieve up to three orders of magnitude speedup over standard methods, particularly when processing complex, real-world evidence.
The Challenge of Scaling Inference
In Statistical Relational Learning (SRL), models like Markov Logic Networks (MLNs) combine first-order logic with probability. To perform inference (calculating probabilities), standard methods often "propositionalize" the model—breaking it down into every possible individual instance. Unfortunately, this approach fails to scale to large domains.
Lifted inference addresses this bottleneck by treating groups of indistinguishable objects as a single unit, exploiting symmetries to accelerate calculations. However, the efficiency of lifted inference depends heavily on the "constraint language" used to define these groups. Existing languages are often either too simplistic (lacking support for inequalities) or too complex (requiring slow, general-purpose solvers). Furthermore, incorporating "evidence" (known facts) typically requires shattering the model into many small pieces, which destroys the very symmetries lifting aims to exploit.
Introducing the setineq Framework
To overcome these limitations, the authors propose a new constraint language called setineq alongside a framework to utilize it effectively:
- The Language:
setineqsupports three atomic constraints: - Subset: Variables belonging (or not belonging) to specific sets of constants.
- Equality: Two variables must be identical.
- Inequality: Two variables must be distinct.
- Canonical Form: The authors define a standard representation for these constraints, enabling the automatic and efficient identification of symmetries.
- Extended Lifting Rules: The three "workhorse" rules of lifted inference are reformulated to work natively with
setineq: - Decomposer: Identifies independent sub-problems.
- Binomial Rule: Efficiently counts combinations of true/false properties.
- Single Occurrence: A specialized rule for MAP (maximum a posteriori) inference.
- Evidence Processing: Instead of splitting the entire domain for every piece of evidence (the traditional "Normal Form" approach), the framework uses a greedy algorithm to convert evidence into
setineqconstraints. This preserves as much symmetry as possible.
Key Insights
- Symmetry is Fragile: Traditional "Normal Form" lifting is highly "evidence-hungry." It splits the domain so extensively to accommodate evidence that it loses the computational benefits of lifting.
setineqallows the model to remain "lifted" even when conditioned on significant evidence. - Inequality Matters: Many previous tractable languages ignored inequality ($x \neq y$). By including it natively and defining a canonical form, the authors allow the solver to handle complex relational constraints without falling back to a slow, general-purpose constraint solver.
- Tractable Operations: The authors prove that their "Join" and "Project" operations on constraints are mathematically efficient, providing the theoretical foundation for the algorithm's speed.
Experimental Results
The approach was evaluated on four benchmark MLN domains: Friends & Smokers (FS), WebKB, IMDB, and Professor & Students (PS). The results demonstrate significant improvements over existing state-of-the-art techniques.
- Massive Speedups: As domain sizes increased,
setineqwas up to 3 orders of magnitude faster than the standard "Normal Form" approach. It also outperformed GCFOVE (a leading lifted variable elimination tool) by about an order of magnitude across various domain sizes. - Scaling with Evidence: In datasets like IMDB and WebKB, the performance of standard methods degraded rapidly as more evidence was introduced. In contrast,
setineqactually became faster or remained stable because it efficiently represented the evidence as constraints rather than domain splits. - Reduced Node Expansion: The number of search nodes expanded by
setineqwas significantly lower than "Normal" lifting, proving that the language captures symmetries much more effectively during the search process.
Limitations and Future Work
While highly effective, the approach has a few limitations. Converting raw evidence into the most efficient "hypercube" constraints is an NP-hard problem; the authors currently rely on a greedy approximation, which may not always yield the optimal representation. Additionally, the current framework is restricted to function-free first-order logic, and extending it to include functional symbols remains an open challenge. Finally, while the paper demonstrates results for sampling, the primary theoretical focus is on exact inference rules. Further optimization for approximate methods, such as lifted MCMC, is a promising direction for future research.
Summary updated