TL;DR
This paper introduces a novel "counting by splitting" principle to extend the capabilities of Weighted First-Order Model Counting (WFOMC). They demonstrate how to efficiently count structures with graph-theoretical constraints like acyclicity and connectivity, which are not expressible in standard first-order logic, thereby expanding the domain-liftability of expressive logical fragments.
What Problem Does This Paper Address?
Probabilistic inference in complex relational data, often modeled using Markov Logic Networks (MLNs) or similar formalisms, relies on Weighted First-Order Model Counting (WFOMC). However, WFOMC is generally intractable (#P-complete). While certain logical fragments (like the two-variable fragment $C^2$) are known to be "domain-liftable" (allowing for polynomial-time WFOMC with respect to domain size), many real-world properties, such as acyclicity in citation networks or connectivity in social networks, cannot be directly expressed in these fragments. This limitation hinders the application of lifted inference to a broader range of problems. The paper addresses this by expanding the domain-liftability of $C^2$ to include these crucial graph-theoretical constraints.
Methods
The core technical contribution is the "counting by splitting" principle. This method leverages the idea that universally quantified sentences can be preserved when projected onto subsets of the domain. The authors show how to merge interpretations over disjoint domains while satisfying specific constraints. This principle is then applied to derive WFOMC algorithms for various graph-theoretical constraints:
- Directed Acyclic Graphs (DAGs): They use a recursive formula based on the principle of inclusion-exclusion, adapted for weighted FOL interpretations.
- Connected Graphs: Similar to DAGs, they develop recursive formulas by observing properties of rooted connected components.
- Forests and Trees: These are handled by reducing them to DAG and connected graph problems, respectively, often leveraging existing results and the "counting by splitting" framework.
A key aspect is the modularity of their WFOMC-preserving reductions, which allows for combining different constraints and extending results from simpler fragments to more expressive ones like $C^2$.
Datasets
Not discussed in the paper. The paper focuses on theoretical contributions and combinatorial examples, not on training or evaluating on specific datasets.
Key Insights and Ideas
- "Counting by Splitting" is a powerful general principle: This novel technique provides a unified way to handle constraints that are not directly expressible in FOL by decomposing the problem into subproblems on disjoint domains and then merging the results.
- Graph constraints are crucial for real-world data: Properties like acyclicity and connectivity are ubiquitous in relational data and are essential for accurate modeling. Extending domain-liftability to include these significantly broadens the applicability of lifted inference.
- Bridging logic and combinatorics: The paper demonstrates how WFOMC with graph-theoretical constraints offers a formal framework for solving problems in enumerative combinatorics, unifying many case-by-case approaches.
- Modularity is key for expressivity: The modular nature of their WFOMC-preserving reductions allows for building complex constraints from simpler ones, leading to the domain-liftability of $C^2$ with these new axioms.
Key Results
The paper establishes the domain-liftability of the $C^2$ fragment of first-order logic when relations are restricted to represent:
- Directed acyclic graphs (DAGs)
- Connected graphs
- Forests (directed and undirected)
- Trees (directed and undirected)
They provide WFOMC algorithms that run in polynomial time with respect to the domain cardinality for these extended fragments. The paper also shows how these techniques can be applied to count various combinatorial structures, such as phylogenetic networks, and to analyze Markov Logic Networks (MLNs) with graph-based constraints.
Limitations and Future Work
- Scalability: While the algorithms are polynomial in domain size, the experiments show that they can still be slow, especially with a large number of active 1-types or cardinality constraints on binary predicates. This suggests a gap between theoretical polynomial time and practical efficiency.
- Open Problem: The authors pose the question: "Is there a formal language that captures all tractable counting problems for labeled relational structures?"
- Future Research: The paper calls for further research into more efficient practical implementations and a deeper understanding of the gap between domain-lifted and optimal inference. They also suggest exploring more complex combinatorial examples and applications.
Summary updated