Abstract
Weighted First-Order Model Counting (WFOMC) computes the weighted sum of the models of a first-order logic theory on a given finite domain. First-Order Logic theories that admit polynomial-time WFOMC w.r.t domain cardinality are called domain liftable. In this paper, we reconstruct the closed-form formula for polynomial-time First Order Model Counting (FOMC) in the universally quantified fragment of FO\(^2\), earlier proposed by Beame et al.. We then expand this closed-form to incorporate cardinality constraints and existential quantifiers. Our approach requires a constant time (w.r.t the previous linear time result) for handling equality and allows us to handle cardinality constraints in a completely combinatorial fashion. Finally, we show that the obtained closed-form motivates a natural definition of a family of weight functions strictly larger than symmetric weight functions.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
The list includes atoms of the form P(x, x) for binary predicate P.
References
Beame, P., den Broeck, G.V., Gribkoff, E., Suciu, D.: Symmetric weighted first-order model counting. In: Milo, T., Calvanese, D. (eds.) Proceedings of the 34th ACM Symposium on Principles of Database Systems, PODS 2015, Melbourne, Victoria, Australia, 31 May–4 June 2015, pp. 313–328. ACM (2015). https://doi.org/10.1145/2745754.2745760
den Broeck, G.V., Meert, W., Darwiche, A.: Skolemization for weighted first-order model counting. In: Baral, C., Giacomo, G.D., Eiter, T. (eds.) Principles of Knowledge Representation and Reasoning: Proceedings of the Fourteenth International Conference, KR 2014, Vienna, Austria, 20–24 July 2014. AAAI Press (2014). http://www.aaai.org/ocs/index.php/KR/KR14/paper/view/8012
den Broeck, G.V., Taghipour, N., Meert, W., Davis, J., Raedt, L.D.: Lifted probabilistic inference by first-order knowledge compilation. In: Walsh, T. (ed.) IJCAI 2011, Proceedings of the 22nd International Joint Conference on Artificial Intelligence, Barcelona, Catalonia, Spain, 16–22 July 2011, pp. 2178–2185. IJCAI/AAAI (2011). https://doi.org/10.5591/978-1-57735-516-8/IJCAI11-363
Chavira, M., Darwiche, A.: On probabilistic inference by weighted model counting. Artif. Intell. 172(6–7), 772–799 (2008). https://doi.org/10.1016/j.artint.2007.11.002
Das, S.: A brief note on estimates of binomial coefficients (2016). http://page.mi.fu-berlin.de/shagnik/notes/binomials.pdf
Getoor, L., Taskar, B.: Introduction to Statistical Relational Learning (Adaptive Computation and Machine Learning). The MIT Press (2007). https://mitpress.mit.edu/books/introduction-statistical-relational-learning
Kazemi, S.M., Kimmig, A., den Broeck, G.V., Poole, D.: New liftable classes for first-order probabilistic inference. In: Lee, D.D., Sugiyama, M., von Luxburg, U., Guyon, I., Garnett, R. (eds.) Advances in Neural Information Processing Systems 29: Annual Conference on Neural Information Processing Systems 2016, 5–10 December 2016, Barcelona, Spain, pp. 3117–3125 (2016). https://proceedings.neurips.cc/paper/2016/hash/c88d8d0a6097754525e02c2246d8d27f-Abstract.html
Kazemi, S.M., Kimmig, A., den Broeck, G.V., Poole, D.: Domain recursion for lifted inference with existential quantifiers. CoRR abs/1707.07763 (2017). http://arxiv.org/abs/1707.07763
Kuusisto, A.: On the uniform one-dimensional fragment. In: Lenzerini, M., Peñaloza, R. (eds.) Proceedings of the 29th International Workshop on Description Logics, Cape Town, South Africa, 22–25 April 2016. CEUR Workshop Proceedings, vol. 1577. CEUR-WS.org (2016). http://ceur-ws.org/Vol-1577/paper_16.pdf
Kuusisto, A., Lutz, C.: Weighted model counting beyond two-variable logic. In: Dawar, A., Grädel, E. (eds.) Proceedings of the 33rd Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2018, Oxford, UK, 09–12 July 2018, pp. 619–628. ACM (2018). https://doi.org/10.1145/3209108.3209168
Kuzelka, O.: Complex Markov logic networks: expressivity and liftability. In: Adams, R.P., Gogate, V. (eds.) Proceedings of the Thirty-Sixth Conference on Uncertainty in Artificial Intelligence, UAI 2020, virtual online, 3–6 August 2020. Proceedings of Machine Learning Research, vol. 124, pp. 729–738. AUAI Press (2020). http://proceedings.mlr.press/v124/kuzelka20a.html
Kuzelka, O.: Weighted first-order model counting in the two-variable fragment with counting quantifiers. J. Artif. Intell. Res. 70, 1281–1307 (2021). https://doi.org/10.1613/jair.1.12320
Poole, D.: First-order probabilistic inference. In: Gottlob, G., Walsh, T. (eds.) IJCAI-03, Proceedings of the Eighteenth International Joint Conference on Artificial Intelligence, Acapulco, Mexico, 9–15 August 2003, pp. 985–991. Morgan Kaufmann (2003). http://ijcai.org/Proceedings/03/Papers/142.pdf
Raedt, L.D., Kersting, K., Natarajan, S., Poole, D.: Statistical Relational Artificial Intelligence: Logic, Probability, and Computation. Synthesis Lectures on Artificial Intelligence and Machine Learning, Morgan & Claypool Publishers (2016). https://doi.org/10.2200/S00692ED1V01Y201601AIM032
de Salvo Braz, R., Amir, E., Roth, D.: Lifted first-order probabilistic inference. In: Kaelbling, L.P., Saffiotti, A. (eds.) IJCAI-05, Proceedings of the Nineteenth International Joint Conference on Artificial Intelligence, Edinburgh, Scotland, UK, 30 July–5 August 2005, pp. 1319–1325. Professional Book Center (2005). http://ijcai.org/Proceedings/05/Papers/1548.pdf
Scott, D.: A decision method for validity of sentences in two variables. J. Symb. Log. 27, 377 (1962)
Wilf, H.S.: Generatingfunctionology. CRC Press, Boca Raton (2005). https://doi.org/10.1016/C2009-0-02369-1
Acknowledgement
We thank Alessandro Daniele for the fruitful insights and for reviewing the proofs.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Malhotra, S., Serafini, L. (2022). A Combinatorial Approach to Weighted Model Counting in the Two-Variable Fragment with Cardinality Constraints. In: Bandini, S., Gasparini, F., Mascardi, V., Palmonari, M., Vizzari, G. (eds) AIxIA 2021 – Advances in Artificial Intelligence. AIxIA 2021. Lecture Notes in Computer Science(), vol 13196. Springer, Cham. https://doi.org/10.1007/978-3-031-08421-8_10
Download citation
DOI: https://doi.org/10.1007/978-3-031-08421-8_10
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-08420-1
Online ISBN: 978-3-031-08421-8
eBook Packages: Computer ScienceComputer Science (R0)