TLDR: A new algorithm, IncrementalWFOMC2, significantly improves lifted inference for probabilistic models on ordered data, especially when dealing with predecessor relations. Unlike previous methods that struggled with efficiency, this algorithm natively supports these relations, offering exponential speedups and proving tractability for general k-th predecessor relations. Experiments show it outperforms existing approaches by a full order of magnitude on various tasks, including social network models, combinatorics, and hidden Markov models.
Researchers have introduced a significant advancement in the field of artificial intelligence, specifically in how computers make probabilistic inferences from relational data. This new work focuses on ‘lifted inference’ within ‘statistical relational models’ (SRMs), which are crucial for understanding complex datasets like social networks or time series information.
Understanding the Challenge
In many real-world applications, data naturally follows a specific order. Think of time series data, where events happen sequentially, or sequences of items. A common method to handle such ordered domains in probabilistic inference is called Weighted First-Order Model Counting (WFOMC). This involves representing an SRM as a logical sentence and then calculating the weighted sum of its possible interpretations over a finite domain. Traditionally, to incorporate order, a ‘linear order axiom’ is used, which essentially imposes a linear arrangement on the data elements. However, when it comes to ‘predecessor relations’ – like an immediate predecessor or a second predecessor in a sequence – existing WFOMC algorithms have faced significant practical challenges. These methods often rely on complex logical extensions that, while theoretically sound, lead to very inefficient computations, making them impractical for larger datasets.
A New Approach to Predecessor Relations
The paper, titled “Faster Lifting for Ordered Domains with Predecessor Relations,” by Kuncheng Zoua, Jiahao Maia, Yonggang Zhangb, Yuyi Wangd, Ondˇrej Kuželkae, Yuanhong Wanga, and Yi Changa,c,Ëš, proposes a novel algorithm called IncrementalWFOMC2. The core innovation lies in how it handles predecessor relations. Instead of treating them as derived from a linear order axiom, which was the previous bottleneck, this new algorithm treats them as a native, inherent part of the logical axiom. This fundamental shift allows for a much more efficient and straightforward computation.
Key Innovations and Benefits
The IncrementalWFOMC2 algorithm offers several key advantages. For immediate and second predecessor relations, which were known to be theoretically tractable but practically difficult, the new algorithm provides an exponential speedup. Furthermore, it successfully tackles the more general k-th predecessor relations, a problem that was previously unsolved in this context. The research proves that WFOMC with the general k-th predecessor relation is tractable for the two-variable fragment of first-order logic (FO2), resolving an open problem in prior work. This has significant theoretical implications and opens doors for new applications, such as encoding grid structures (like a k x n grid) within the WFOMC framework, which could make probabilistic inference tasks on grids much more feasible.
Real-World Applications and Demonstrations
The efficiency of IncrementalWFOMC2 was rigorously tested across various lifted inference tasks and combinatorics math problems. In experiments involving lifted inference benchmarks and problems like those found in the MATH dataset, the algorithm demonstrated speedups of a full order of magnitude compared to previous state-of-the-art methods. For example, on the Watts-Strogatz model (a common synthetic problem for random graphs), IncrementalWFOMC2 could handle domain sizes of 500 elements within seconds, while older methods struggled with just a dozen. Similarly, for combinatorics problems, most were solved within one second by the new algorithm, a stark contrast to previous methods that could only solve a few within the same timeframe. It also showed strong performance on hidden Markov models with high-order dependencies, a task where older algorithms couldn’t even support the required predecessor relations.
Also Read:
- Neuro-Symbolic AI Learns to Simplify Complex Formulas with Enhanced Efficiency
- Optimizing Infrastructure Maintenance with Hierarchical AI Under Budget Constraints
Looking Ahead
This research marks a substantial step forward in making lifted inference more practical and scalable for ordered domains with complex relational constraints. The ability to natively support predecessor relations and handle general k-th predecessors efficiently will likely have a broad impact on various AI applications, from analyzing time series data to solving intricate combinatorial problems. The authors plan to apply this algorithm to more practical problems in the future, such as the sitting arrangement problem in computational economics.
For more in-depth information, you can read the full research paper available here.


