BLOG: Probabilistic Models with Unknown Objects

Brian Milch, Bhaskara Marthi, Stuart Russell, David A. Sontag, Daniel L. Ong, Andrey Kolobov

Abstract

We introduce BLOG, a formal language for defining probability models with unknown objects and identity uncertainty. A BLOG model describes a generative process in which some steps add objects to the world, and others determine attributes and relations on these objects. Subject to certain acyclicity constraints, a BLOG model specifies a unique probability distribution over first-order model structures that can contain varying and unbounded numbers of objects. Furthermore, inference algorithms exist for a large class of BLOG models.

Introduction

In many real-world AI applications, an agent must infer the state of the world from noisy sensory input or data. Traditional probabilistic models, such as standard Bayesian Networks and early First-Order Probabilistic Languages (FOPLs), typically assume a fixed, pre-specified set of objects. However, in tasks like population estimation, record linkage (database deduplication), and multi-target tracking (associating radar blips with hypothesized aircraft), the problem of unknown objects is unavoidable.

The agent does not know how many objects exist, nor does it know the exact mapping between its observations and the underlying entities—a challenge known as identity uncertainty. This paper addresses the need for a unified, formal representation language capable of defining unique probability distributions over possible worlds containing varying and unbounded numbers of objects.

Methodology: Bayesian LOGic (BLOG)

The authors design BLOG to unify and extend existing approaches using a typed, free first-order logic. Key methodological innovations include:

  • Generative World Construction: A BLOG model specifies a generative process where objects are added iteratively. The existence and properties of new objects depend on the objects already created.
  • Number Statements: A novel syntax (e.g., #Ball ~ Poisson[6]()) dictates the probability distribution over the number of objects generated, allowing population size to be governed by random variables.
  • Nested Tuple Representation: Instead of arbitrary IDs, BLOG represents objects as nested tuples encoding their generation history. This drastically simplifies the dependency structure of the underlying Bayesian network.
  • Probabilistic Skolemization: This mechanism handles evidence about newly observed objects without assuming their prior existence. It dynamically adds new constant symbols to refer to these observed objects.
  • Decidable Inference: The authors define a rejection sampling algorithm and a "symbol graph" to check for acyclicity, proving that inference over these infinite spaces is decidable and well-defined.

Key Insights

A central insight of BLOG is that infinite spaces can be managed via context-specific independence. While a BLOG model may correspond to a Bayesian Network with an infinite number of random variables, only a finite subset typically matters for any specific query—a property termed "self-supporting instantiations."

Furthermore, the language distinguishes between observation and existence. Observing a specific new object (e.g., a $40 bottle of wine) provides different information than merely knowing such an object exists. BLOG's probabilistic Skolemization correctly handles this logical nuance, which is often overlooked in simpler models.

Key Results

The authors proved that, subject to specific acyclicity constraints verified via a "symbol graph," every BLOG model specifies a unique probability distribution over first-order model structures. They also established a completeness theorem showing that exact inference is decidable for a large fragment of the BLOG language.

Empirical validation was conducted using simplified scenarios, such as the "urn and balls" problem. Using a guided likelihood weighting algorithm, the authors successfully computed the posterior distribution for the total number of balls given noisy observations. As shown in Figure 1, the algorithm's sampling results converged tightly to the exact mathematical posterior, demonstrating the computational viability of inference over infinite object spaces.

Posterior distributions for the 'urn and balls' problem, showing convergence of sampling results to exact mathematical values.

Conclusion and Future Work

While BLOG provides a rigorous foundation for modeling unknown objects, current acyclicity checks are conservative and may reject valid models. Additionally, the initial rejection sampling algorithm is primarily a theoretical proof of decidability rather than a high-performance tool. Future work will focus on developing more advanced Markov Chain Monte Carlo (MCMC) inference techniques and algorithms that operate directly at the object level to improve efficiency.

Summary updated

BibTeX
@inproceedings{milch2005blog,
  author = {Brian Milch and Bhaskara Marthi and Stuart Russell and David A. Sontag and Daniel L. Ong and Andrey Kolobov},
  title = {{BLOG: Probabilistic Models with Unknown Objects}},
  booktitle = {Probabilistic, Logical and Relational Learning},
  year = {2005},
  url = {https://openreview.net/forum?id=qZN8atL4Ri},
}

Loading related content...

Figure