Abstract
Aggregate factors in probabilistic relational models compactly represent dependencies among large groups of relational random variables, such as the relationship between individual votes and an election winner. However, standard inference on these factors scales poorly with the number of variables ($n$). This paper proposes a novel approach to "lifted inference" that utilizes Normal distributions to approximate the behavior of aggregate factors like SUM, MODE, and MEDIAN. By treating groups of variables as a single statistical unit, the authors achieve inference speeds that are constant regardless of $n$. Paradoxically, the accuracy of this approximation improves as the population size increases, making it an ideal solution for large-scale relational modeling.
The Challenge of Aggregate Factors
In relational models, we often encounter situations where a single outcome depends on the collective state of thousands or millions of similar objects. For example, in an election model, the "Winner" variable is determined by the MODE (the most frequent value) of individual "Vote" variables.
Standard "propositional" inference is computationally disastrous in these scenarios, scaling exponentially ($O(k^n)$) with the number of variables. While previous "lifted" inference methods improved this to polynomial or logarithmic time, they still struggle as populations grow into the millions. The goal of this research is to perform inference in constant time relative to $n$ without sacrificing accuracy.
Methodology: Lifting via Normal Approximation
The authors' core insight is that the potential of an aggregate factor depends only on the histogram—the count of how many variables take each possible value—rather than which specific variable holds which value.
- Normal Approximation: For large populations, the distribution of these histograms (multinomial) can be closely approximated by a multivariate Normal (Gaussian) distribution, a result of the Central Limit Theorem. This turns the problem from discrete counting into continuous integration.
- Linear Constraints: The authors demonstrate that common aggregate functions—including
SUM,AVERAGE,AND,OR,MAX,MODE, andMEDIAN—can be represented as linear constraints or regions within the space of these histograms. For instance,MODE(V) = Ais simply the region where the count of A is greater than the count of any other value. - Analytical & Sampling Solutions: For binary variables or simple constraints like
SUM, the paper provides analytical solutions by calculating the volume under a Normal distribution truncated by linear boundaries. For complex multivalued variables ($k > 2$), they employ efficient Gibbs sampling on the truncated Normal distribution.
Empirical Validation
The proposed methods were evaluated using synthetic relational models, specifically the election model illustrated above. The researchers varied the number of variables ($n$) from 20 to over 10,000 and the number of possible values ($k$) from 2 to 6.
As shown in the results, the "Aha!" moment of this research is that the Normal approximation becomes more accurate as $n$ increases—the exact opposite of traditional inference methods. For $n=320$, the error was already less than 1%, and for $n > 5120$, the error became negligible. Furthermore, the "utility" (a metric balancing accuracy and runtime) was orders of magnitude higher than exact counting methods as the problem size grew.
Conclusion
By shifting the problem of aggregate inference from counting discrete combinations to calculating volumes under a continuous Gaussian surface, this work provides a path toward constant-time inference in massive relational models. While the Normal approximation is less reliable for very small populations, it excels in the very scenarios where traditional methods fail, making it a powerful tool for modern probabilistic reasoning.
Summary updated