Lifted Inference for Relational Probabilistic Models

129 concepts83 papers1 proposal

When reasoning about structured worlds, humans rarely evaluate every individual object in isolation. If we know a general rule—such as how diseases spread through a community—we apply that template abstractly rather than re-learning it for every unique pair of people. Traditional probabilistic graphical models, however, struggle with this abstraction. To perform inference over relational frameworks like Markov Logic Networks, standard propositional solvers must first undergo a process called grounding: expanding high-level logical templates into explicit networks of individual variables.

This triggers a grounding explosion. For a domain of size $N$, grounding even simple multi-variable relations causes the state space to grow exponentially, rapidly exhausting memory and causing traditional solvers to fail (Somdeb Sarkhel et al., Lifted MAP Inference for Markov Logic Networks).

Lifted inference bypasses this bottleneck by performing probabilistic reasoning directly at the first-order level. Instead of expanding the model into individual instances, lifted algorithms treat groups of indistinguishable objects as single units. The ultimate goal is domain-lifted inference: a class of algorithms whose computational complexity scales polynomially with the domain size $N$ for a fixed logical formula, rather than exponentially (Guy Van den Broeck, On the Completeness of First-Order Knowledge Compilation for Lifted Probabilistic Inference). As Ondrej Kuzelka demonstrates in Counting and Sampling Models in First-Order Logic, this approach allows systems to handle scales that would completely break traditional grounding-based methods.

The Mechanics of Symmetry and Counting

Why does lifted inference work? The core intuition relies on relational symmetry and interchangeability. If we lack specific information distinguishing one object from another, they are perfectly symmetrical within the model. Their unique identities do not alter the global probability distribution; only the count of how many individuals satisfy a given property matters.

To exploit this hidden symmetry, Brian Milch et al. introduced the concept of counting formulas in Lifted Probabilistic Inference with Counting Formulas. By restructuring relational factors to track how many variables take a certain value rather than which specific variables do so, the authors decoupled individual identities from their collective impact. In highly symmetric environments, this mathematical shift collapses the computational complexity of inference from linear down to constant time relative to the population size.

This principle can be applied directly to optimization and marginalization. Scott Sanner developed methods in First-order Decision-theoretic Planning in Structured Relational Environments to perform variable elimination over relational predicates rather than grounded variables. For exact marginalization, Nima Taghipour demonstrated in Completeness Results for Lifted Variable Elimination that Lifted Variable Elimination (LVE) is complete for two-variable logic fragments. The underlying mechanism relies on identifying isomorphic interaction groups: the algorithm computes the message-passing operations once for a single representative group and then uses combinatorial scaling to account for the rest of the population, avoiding ground-level calculations entirely.

Knowledge Compilation and Domain Recursion

For more complex logical constraints, exact inference often leverages First-Order Knowledge Compilation. In this paradigm, a relational probabilistic theory is compiled into a target logical circuit—such as a First-Order d-DNNF—where queries can be evaluated efficiently (Guy Van den Broeck, On the Completeness of First-Order Knowledge Compilation for Lifted Probabilistic Inference).

However, compiling theories that contain symmetric or anti-symmetric relations introduces a challenge: assigning a value to a specific relationship can break the global symmetry, causing standard lifting rules to stall. To overcome this, a mechanism known as domain recursion was introduced (Guy Van den Broeck, On the Completeness of First-Order Knowledge Compilation for Lifted Probabilistic Inference).

Domain recursion works by iteratively peeling off individual elements from the domain one by one. As detailed by Yuanhong Wang et al. in Lifted Algorithms for Symmetric Weighted First-Order Model Sampling, this process sequentially manages symmetry-breaking. By simplifying the remaining logical constraints while preserving the structural decomposability of the circuit, domain recursion keeps the computational cost polynomial relative to the number of objects, enabling exact model counting and sampling without full grounding.

Managing Real-World Evidence and Asymmetry

In real-world applications, perfect global symmetry is rare. The moment we observe specific data—such as knowing a particular individual's medical history—the interchangeability of the domain breaks, threatening to force the solver back into slow, propositional reasoning (Manfred Jaeger et al., Liftability of Probabilistic Inference: Upper and Lower Bounds). Modern lifted inference handles this asymmetry through several advanced strategies:

  • Unary Partitioning: Guy Van den Broeck et al. showed in Conditioning in First-Order Knowledge Compilation and Lifted Probabilistic Inference that if evidence is restricted to unary traits (properties belonging to single objects), the inference engine can partition individuals into sub-groups based on their observed profiles. Within each partition, objects remain interchangeable, preserving lifted efficiency.
  • Approximate Lifting: When objects behave similarly but not identically, enforcing exact symmetry is counterproductive. Parag Singla et al. demonstrated in Approximate Lifting Techniques for Belief Propagation that treating nearly identical objects as perfectly symmetrical yields order-of-magnitude speedups with negligible impact on accuracy.
  • Contextual and Subsymbolic Symmetries: Symmetries can also exist conditionally. Aditya Grover et al. explored this in Contextual Symmetries in Probabilistic Graphical Models, showing that variables can be grouped if they share symmetries within specific contexts. To automatically uncover these relations in complex networks, Mohammad Maminur Islam et al. developed a method in On Lifted Inference Using Neural Embeddings that uses neural skip-gram embeddings to map logical objects into dense vectors based on their local formula contexts, grouping objects with soft vector similarities into meta-entities.

Lifted Sampling and Orbit Exploration

The power of lifting is not confined to exact marginal inference; it is equally vital for sampling from complex relational distributions. Propositional samplers quickly exhaust memory because they must instantiate massive Boolean formulas. Lifted sampling algorithms avoid this by sampling global type distributions and relationship types rather than individual grounded links (Yuanhong Wang et al., Domain-Lifted Sampling for Universal Two-Variable Logic and Extensions).

For approximate sampling in large-scale models, Vibhav Giridhar Gogate et al. developed adaptive proposal distributions in Advances in Lifted Importance Sampling that compress objects with identical evidence profiles to drastically reduce sampling variance.

When high-level relational templates are unavailable, symmetries can be discovered directly from the underlying graph structure. Steven Holtzen et al. demonstrated in Generating and Sampling Orbits for Lifted Probabilistic Inference that graph isomorphism tools can automatically partition a factor graph's state space into symmetric groups called orbits. Their Orbit-jump MCMC algorithm accelerates convergence by allowing the sampler to uniformly jump across an entire orbit of symmetric states in a single step, bypassing the slow, localized exploration that plagues traditional propositional Markov chains.

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 84 papers
  2. Version 1 · 2026-10-04 · 122 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_lifted_inference_b722702d,
  title = {lifted inference},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/lifted-inference/rdr_b722702dfd384189a77c3d24a67ac601},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 2, frozen text):

@misc{lacuna_lifted_inference_b722702d_v2,
  title = {lifted inference},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/lifted-inference/rdr_b722702dfd384189a77c3d24a67ac601/v/2},
  note = {Version 2, frozen 2026-10-04. Accessed 2026-11-23},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake