Improving the Efficiency of Approximate Inference for Probabilistic Logical Models by means of Program Specialization
Daan Fierens

TL;DR
This paper introduces a program specialization technique to improve the efficiency of sampling-based probabilistic inference in logical models, significantly reducing computation time especially on large datasets.
Contribution
It presents a novel algorithm for specializing query predicates in probabilistic logical models, enhancing inference efficiency through program specialization.
Findings
Speedups of up to an order of magnitude in inference time
Efficiency gains increase with larger data sizes
Effective application to real-world data
Abstract
We consider the task of performing probabilistic inference with probabilistic logical models. Many algorithms for approximate inference with such models are based on sampling. From a logic programming perspective, sampling boils down to repeatedly calling the same queries on a knowledge base composed of a static part and a dynamic part. The larger the static part, the more redundancy there is in these repeated calls. This is problematic since inefficient sampling yields poor approximations. We show how to apply logic program specialization to make sampling-based inference more efficient. We develop an algorithm that specializes the definitions of the query predicates with respect to the static part of the knowledge base. In experiments on real-world data we obtain speedups of up to an order of magnitude, and these speedups grow with the data-size.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBayesian Modeling and Causal Inference · AI-based Problem Solving and Planning · Machine Learning and Algorithms
