NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

An Integer Polynomial Programming Based Framework for Lifted MAP Inference

Somdeb Sarkhel, Deepak Venugopal, Parag Singla, Vibhav GogateNeurIPS 2014

Introduction

In the realm of Artificial Intelligence, Markov Logic Networks (MLNs) offer a "best of both worlds" approach, combining the structured reasoning of first-order logic with the uncertainty-handling capabilities of probabilistic models. However, MLNs suffer from a major Achilles' heel: scalability.

To answer queries like "What is the most likely state of this system?"—a process known as Maximum a Posteriori (MAP) inference—traditional tools "ground" the logic. This means translating abstract rules into a massive network of individual variables. For complex domains, this results in millions or even billions of variables, causing standard solvers to run out of memory or take an impractical amount of time to compute.

While "lifted inference" has been proposed as a solution—reasoning about groups of identical objects at once rather than individuals—most lifted MAP algorithms are difficult to implement. They often require reinventing decades of optimization research from scratch. This paper introduces a novel framework that bypasses this issue by encoding the lifted MAP inference problem as an Integer Polynomial Program (IPP). By converting this IPP into a standard Integer Linear Program (ILP), the authors leverage powerful off-the-shelf solvers to achieve massive speedups and handle models with billions of clauses.

Methodology: Lifting as Pre-processing

The authors propose a "lifting as pre-processing" approach. Instead of building a brand-new solver, they transform the MLN into a compact mathematical format that existing high-performance solvers already understand.

The core algorithm, SMLN-2-IPP, uses three main operations to build the Integer Polynomial Program:

  1. Lifted Decomposition: Identifies independent sub-problems that share the same structure and solves only one representative instance.
  2. Lifted Conditioning: Instead of querying individual binary states (e.g., asking if every individual person smokes), it creates a variable representing the count of positive states (e.g., the number of people who smoke). This naturally introduces polynomial terms (like $x^2$) into the mathematical model.
  3. Partial Grounding: A fallback heuristic used to simplify the model when the first two rules do not apply.

Once the IPP is formulated, the authors use a classic algebraic technique to linearize it into a zero-one Integer Linear Program (ILP). This crucial step allows them to plug the problem into Gurobi, a state-of-the-art commercial optimization solver, inheriting all the advanced pruning, caching, and search heuristics developed by the optimization community over the last 50 years.

Datasets and Key Results

The researchers evaluated their approach on three benchmark MLNs, scaling them up to test the absolute limits of the solvers (reaching sizes as large as 15.6 billion clauses):

  • Student: A synthetic model involving relationships between teachers, students, courses, and job offers.
  • Relation: A model exploring social dynamics like friendship and animosity.
  • Citation Information-Extraction (IE): A real-world benchmark from the Alchemy project used for identifying duplicate citations in academic databases.
Performance comparison of MAP inference algorithms across different datasets and scales.

The empirical results highlight several major advantages of the IPP framework:

  • Handling the "Unsolvable": On the largest IE dataset (15.6 billion clauses), every other state-of-the-art method (Alchemy, Tuffy, etc.) crashed or ran out of memory. The IPP approach was the only one capable of producing a solution.
  • Speed and Quality: On mid-sized problems, the IPP approach converged to the optimal solution significantly faster than ground-based solvers. Even when compared to other lifted methods (like LMAP), the IPP approach found better quality solutions (indicated by a lower "cost" of unsatisfied clauses) in less time.
  • Scalability: As domain size increases, the performance gap between the IPP approach and traditional grounding-based methods widens dramatically. The search space of the IPP is polynomial relative to the range of the variables, making it exponentially smaller than the ground Markov network in many highly symmetric cases.

Limitations and Future Work

While highly effective, the framework has a few limitations that present opportunities for future research:

  • IPP vs. ILP Solvers: The authors currently convert the IPP to an ILP because ILP solvers are highly mature. However, this conversion adds extra variables and constraints. The development of direct, efficient IPP solvers could potentially yield even faster inference.
  • Heuristic Dependency: The efficiency of the "Partial Grounding" step relies heavily on heuristics. If suboptimal variables are grounded, the resulting IPP might still be too large to solve efficiently.
  • Symmetry Breaking: The method excels in domains with high symmetry (many indistinguishable objects). In highly "broken" or asymmetric domains, the benefits of lifting diminish. Future work must explore how to handle "near-symmetries" more effectively to maintain scalability.

Summary updated

BibTeX
@inproceedings{sarkhel2014integer,
  author = {Somdeb Sarkhel and Deepak Venugopal and Parag Singla and Vibhav Gogate},
  title = {{An Integer Polynomial Programming Based Framework for Lifted MAP Inference}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2014},
  url = {https://openreview.net/forum?id=SkbdF_WOWr},
}
Figure