Lifted Relational Variational Inference

Jaesik Choi, Eyal Amir

Abstract

This paper introduces Lifted Relational Variational Inference (LRVI), a novel framework for performing efficient inference in large-scale hybrid models containing both discrete and continuous variables. By leveraging de Finetti’s theorem to factor complex relational structures into mixtures of independent variables, the authors enable "lifted" inference—performing calculations on groups of identical objects rather than individuals—even in non-Gaussian, real-world systems where traditional methods typically fail.

Introduction

In probabilistic graphical models, "lifting" is the primary mechanism for achieving efficiency: if a system contains 1,000 identical sensors, calculations should ideally be performed once for the group rather than 1,000 times for each individual. However, this symmetry usually breaks, or "shatters," the moment an observation is made (e.g., a specific sensor reports a value). This forces algorithms to fall back to "ground" inference, which scales exponentially with the number of variables.

While previous work successfully "lifted" discrete models or specific continuous models (such as Gaussians), general hybrid models—which mix discrete logic with complex, non-linear continuous distributions—remained a major bottleneck. LRVI aims to maintain relational efficiency throughout the entire inference process, even after observations are made.

Methodology

The core innovation of LRVI is a bridge between Statistical Relational Learning and Variational Inference via de Finetti’s Theorem. The process begins by defining Relational Hybrid Models (RHMs) using "parfactors" (parameterized factors).

Instead of dealing with the complex joint distribution directly, LRVI approximates it as a mixture of independent and identically distributed (iid) random variables. For discrete variables, the framework uses mixtures of Bernoulli or Multinomial distributions; for continuous variables, it employs mixtures of non-parametric kernel density estimators.

Transformation of a Relational Hybrid Model into a Variational RHM.

The authors utilize an incremental Expectation-Maximization (EM) algorithm to learn the optimal parameters for these variational mixtures. Once factored, the model can be solved using Latent-Variable-Elimination, an algebraic approach for group-level summation, or Lifted MCMC, a sampling approach that operates on latent variables representing groups.

Key Insights: The Power of Exchangeability

A central insight of this work is that any exchangeable sequence of variables can be represented as a mixture of iid variables. By treating the mixture parameter as a latent variable, the relational structure is preserved even when individual data points are observed.

Furthermore, the authors introduce the concept of "n-extendibility" as an error metric. Mathematically, as the population of identical objects grows, the variational approximation becomes more accurate. This stability, rooted in the law of large numbers, allows the group-level approximation to outperform individual-level modeling in large systems.

Impact of n-extendibility on approximation error.

Evaluation and Results

The authors evaluated LRVI on several targets, most notably the Republican River Compact Administration (RRCA) Groundwater Dataset, which contains water level measurements from over 10,000 wells spanning nearly a century.

Key results include:

  • Significant Speedups: On the RRCA task, Lifted Variable Elimination returned queries in 0.3 seconds on average, compared to 37.9 seconds for standard ground VE—a ~125x improvement.
  • Improved Accuracy: In some cases, the variational approach achieved lower average total variation error than the ground truth model, likely due to the smoothing effect of the approximation on noisy real-world data.
  • Faster Convergence: In MCMC tests, the "lifted" version reached the true probability density significantly faster than the "ground" version as the number of objects increased.

Conclusion and Future Work

LRVI provides a scalable path for inference in complex hybrid relational models. However, its efficiency relies on the assumption of exchangeability. In models with minimal symmetry, the benefits of lifting diminish. Future research will focus on extending these methods to more complex relational structures and automating the selection of mixture components during the learning phase.

Summary updated

BibTeX
@inproceedings{choi2012lifted,
  author = {Jaesik Choi and Eyal Amir},
  title = {{Lifted Relational Variational Inference}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2012},
}
Figure