Skip to main content
QUICK REVIEW

[Paper Review] Adaptive MCMC-Based Inference in Probabilistic Logic Programs

Arun Nampally, C. R. Ramakrishnan|arXiv (Cornell University)|Mar 24, 2014
Bayesian Modeling and Causal InferenceComputer Science17 references6 citations
TL;DR

This paper proposes an adaptive MCMC inference technique for probabilistic logic programs that dynamically adjusts the proposal distribution for random variables based on feedback from prior samples. By using reinforcement learning-inspired reward propagation to update switch distributions, the method accelerates convergence to the true conditional probability distribution, especially under low-evidence likelihoods, with empirical results showing faster convergence and improved sample efficiency in Markovian query structures.

ABSTRACT

Probabilistic Logic Programming (PLP) languages enable programmers to specify systems that combine logical models with statistical knowledge. The inference problem, to determine the probability of query answers in PLP, is intractable in general, thereby motivating the need for approximate techniques. In this paper, we present a technique for approximate inference of conditional probabilities for PLP queries. It is an Adaptive Markov Chain Monte Carlo (MCMC) technique, where the distribution from which samples are drawn is modified as the Markov Chain is explored. In particular, the distribution is progressively modified to increase the likelihood that a generated sample is consistent with evidence. In our context, each sample is uniquely characterized by the outcomes of a set of random variables. Inspired by reinforcement learning, our technique propagates rewards to random variable/outcome pairs used in a sample based on whether the sample was consistent or not. The cumulative rewards of each outcome is used to derive a new "adapted distribution" for each random variable. For a sequence of samples, the distributions are progressively adapted after each sample. For a query with "Markovian evaluation structure", we show that the adapted distribution of samples converges to the query's conditional probability distribution. For Markovian queries, we present a modified adaptation process that can be used in adaptive MCMC as well as adaptive independent sampling. We empirically evaluate the effectiveness of the adaptive sampling methods for queries with and without Markovian evaluation structure.

Motivation & Objective

  • To address the inefficiency of standard MCMC sampling in probabilistic logic programs when evidence has low probability, leading to high rejection rates.
  • To develop an adaptive sampling technique that modifies proposal distributions during Markov chain exploration to favor samples consistent with evidence.
  • To enable faster convergence to conditional probability distributions by learning from cumulative rewards of random variable outcomes across samples.
  • To extend the method to support adaptive independent sampling for queries with Markovian evaluation structure.
  • To empirically evaluate the performance of adaptive MCMC against non-adaptive sampling in terms of convergence speed and computational cost.

Proposed method

  • The method uses a Markov chain where each state corresponds to a sample defined by outcomes of random variables (switches) in the program.
  • After each sample, rewards are propagated to switch-outcome pairs based on whether the sample satisfies the evidence; consistent samples yield positive rewards.
  • Cumulative rewards for each outcome are used to update the proposal distribution for the corresponding switch, favoring high-reward outcomes in future sampling.
  • The adaptation process is applied iteratively after each sample, progressively shifting the proposal distribution toward evidence-consistent regions of the state space.
  • For Markovian queries, a modified adaptation process enables use in both adaptive MCMC and adaptive independent sampling frameworks.
  • The approach leverages Prolog-style evaluation to ensure mutual exclusivity of samples, avoiding the need for tracking explanation histories.

Experimental results

Research questions

  • RQ1Can adaptive MCMC sampling improve convergence speed for conditional queries in probabilistic logic programs with low-likelihood evidence?
  • RQ2How does reward propagation based on sample consistency affect the efficiency and accuracy of approximate inference?
  • RQ3Under what conditions does the adapted distribution converge to the true conditional probability distribution?
  • RQ4Can the adaptation mechanism be generalized to independent sampling as well as MCMC sampling?
  • RQ5How does the performance of adaptive sampling compare to non-adaptive sampling in terms of convergence rate and computational cost?

Key findings

  • Adaptive MCMC converges faster than non-adaptive MCMC in queries with low-evidence likelihood, such as computing P(reach(a,d) | reach(a,e)) where evidence probability is only 0.02882.
  • The adaptive sampler reduces rejection rates from 8% in non-adaptive sampling to 1.5% in the reachability query, improving sample efficiency.
  • For balanced parenthesis string queries, adaptive sampling converges faster despite being nearly twice as slow per iteration, indicating net performance gain.
  • The method achieves convergence to the correct conditional probability distribution for queries with Markovian evaluation structure, as theoretically proven.
  • Empirical results show that adaptive sampling is more effective in high-dimensional or evidence-sparse scenarios, where standard MCMC suffers from high rejection rates.
  • The adaptation mechanism is effective even without explicit factorization of the joint distribution, making it applicable to general probabilistic logic programs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.