{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,16]],"date-time":"2026-10-16T07:46:33Z","timestamp":1792136793150,"version":"4.4.0"},"reference-count":56,"publisher":"Association for Computing Machinery (ACM)","issue":"2","funder":[{"DOI":"10.13039\/501100000781","name":"European Research Council","doi-asserted-by":"publisher","award":["101054974 (SimSym)"],"award-info":[{"award-number":["101054974 (SimSym)"]}],"id":[{"id":"10.13039\/501100000781","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100001659","name":"German Research Foundation","doi-asserted-by":"publisher","award":["GR 1492\\\/16-1"],"award-info":[{"award-number":["GR 1492\\\/16-1"]}],"id":[{"id":"10.13039\/501100001659","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100001659","name":"German Research Foundation","doi-asserted-by":"crossref","award":["GRK 2236 (UnRAVeL)"],"award-info":[{"award-number":["GRK 2236 (UnRAVeL)"]}],"id":[{"id":"10.13039\/501100001659","id-type":"DOI","asserted-by":"crossref"}]},{"name":"Special Research Fund (BOF) of Hasselt University","award":["BOF21D11VDBJ."],"award-info":[{"award-number":["BOF21D11VDBJ."]}]},{"name":"Flanders AI Program","award":["-"],"award-info":[{"award-number":["-"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Manag. Data"],"published-print":{"date-parts":[[2026,5,12]]},"abstract":"<jats:p>Expressive querying of machine learning models--viewed as a form of intensional data-enables their verification and interpretation using declarative languages, thus making learned representations of data more accessible. Motivated by the querying of feedforward neural networks, we investigate logics for weighted structures. In the absence of a bound on neural network depth, such logics must incorporate recursion; thereto we revisit the functional fixpoint mechanism proposed by Gr\u00e4del and Gurevich. We adopt it in a Datalog-like syntax; we extend normal forms for fixpoint logics to weighted structures; and show an equivalent ''loose'' fixpoint mechanism that allows values of inductively defined weight functions to be overwritten. We propose a ''scalar'' restriction of functional fixpoint logic, of polynomial-time data complexity, and show it can express all PTIME model-agnostic queries over reduced networks with polynomially bounded weights. In contrast, we show that very simple model-agnostic queries are already NP-complete. Finally, we consider transformations of weighted structures by iterated transductions.<\/jats:p>","DOI":"10.1145\/3801911","type":"journal-article","created":{"date-parts":[[2026,5,14]],"date-time":"2026-05-14T12:50:22Z","timestamp":1778763022000},"page":"1-20","source":"Crossref","is-referenced-by-count":1,"title":["Recursive Querying of Neural Networks via Weighted Structures"],"prefix":"10.1145","volume":"4","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-0292-9142","authenticated-orcid":false,"given":"Martin","family":"Grohe","sequence":"first","affiliation":[{"name":"RWTH Aachen University, Aachen, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3034-730X","authenticated-orcid":false,"given":"Christoph","family":"Standke","sequence":"additional","affiliation":[{"name":"RWTH Aachen University, Aachen, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-2087-9430","authenticated-orcid":false,"given":"Juno","family":"Steegmans","sequence":"additional","affiliation":[{"name":"University of Antwerp, Antwerp, Belgium and Hasselt University, Hasselt, Belgium"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0072-3252","authenticated-orcid":false,"given":"Jan","family":"Van den Bussche","sequence":"additional","affiliation":[{"name":"Hasselt University, Hasselt, Belgium"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,5,14]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"S. Abiteboul R. Hull and V. Vianu. 1995. Foundations of Databases. Addison-Wesley."},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/290179.290182"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(91)90032-Z"},{"key":"e_1_2_1_4_1","article-title":"Convergence of datalog over (pre-)semirings","volume":"71","author":"Khamis M. Abo","year":"2024","unstructured":"M. Abo Khamis, H.Q. Ngo, R. Pichler, D. Suciu, and Y.R. Wang. 2024. Convergence of datalog over (pre-)semirings. J. ACM, Vol. 71, 2 (2024), 8:1-8:55.","journal-title":"J. ACM"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/3093754.3093757"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1561\/2500000051"},{"key":"e_1_2_1_7_1","unstructured":"M. Arenas D. B\u00e1ez P. Barcel\u00f3 J. P\u00e9rez and B. Subercaseaux. 2021. Foundations of symbolic languages for model interpretability See [44] 11690-11701."},{"key":"e_1_2_1_8_1","volume-title":"Proceedings 21st International Conference on Principles of Knowledge Representation and Reasoning, P. Marquis, M. Ortiz, and M. Pagnucco (Eds.). IJCAI Organization, 60-70","author":"Arenas M.","unstructured":"M. Arenas, P. Barcel\u00f3, D. Bustamente, J. Caraball, and B. Subercaseaux. 2024. A uniform language to explain decision trees. In Proceedings 21st International Conference on Principles of Knowledge Representation and Reasoning, P. Marquis, M. Ortiz, and M. Pagnucco (Eds.). IJCAI Organization, 60-70."},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/3331445"},{"key":"e_1_2_1_10_1","volume-title":"Brix et al","year":"2024","unstructured":"Ch. Brix et al., 2024. The fifth international verification of neural networks competition (VNN-COMP): Summary and results. arXiv:2412.19985."},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/1412331.1412340"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01305232"},{"key":"e_1_2_1_13_1","doi-asserted-by":"crossref","unstructured":"B. Courcelle and J. Engelfriet. 2012. Graph Structure and Monadic Second-Order Logic. Cambridge University Press.","DOI":"10.1017\/CBO9780511977619"},{"key":"e_1_2_1_14_1","unstructured":"H.-D. Ebbinghaus and J. Flum. 1999. Finite Model Theory (second ed.). Springer."},{"key":"e_1_2_1_15_1","volume-title":"Parameterized Complexity Theory","author":"Flum J\u00f6rg","unstructured":"J\u00f6rg Flum and Martin Grohe. 2006. Parameterized Complexity Theory. Springer."},{"key":"e_1_2_1_16_1","volume-title":"The Thirty Eighth Annual Conference on Learning Theory","volume":"2189","author":"Froese Vincent","year":"2025","unstructured":"Vincent Froese, Moritz Grillo, and Martin Skutella. 2025. Complexity of Injectivity and Verification of ReLU Neural Networks (Extended Abstract). In The Thirty Eighth Annual Conference on Learning Theory, 30-4 July 2025, Lyon, France (Proceedings of Machine Learning Research, Vol. 291), Nika Haghtalab and Ankur Moitra (Eds.). PMLR, 2188-2189. https:\/\/proceedings.mlr.press\/v291\/froese25a.html"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/3584372.3589936"},{"key":"e_1_2_1_18_1","volume-title":"C. Riveros, and D. Vrgoc.","author":"Geerts F.","year":"2021","unstructured":"F. Geerts, T. Mu n, oz, C. Riveros, and D. Vrgoc. 2021. Expressive power of linear algebra query languages, See citeNpods2021, 342-354."},{"key":"e_1_2_1_19_1","volume-title":"10th International Conference on Learning Representations. OpenReview.net.","author":"Geerts F.","unstructured":"F. Geerts and J.L. Reutter. 2022. Expressiveness and approximation properties of graph neural networks. In 10th International Conference on Learning Representations. OpenReview.net."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcss.2010.04.007"},{"key":"e_1_2_1_21_1","first-page":"1","article-title":"SQL4NN: Validation and expressive querying of models as data. In Proceedings 9th Workshop on Data Management for End-to-End Machine Learning","volume":"10","author":"Gerarts M.","year":"2025","unstructured":"M. Gerarts, J. Steegmans, and J. Van den Bussche. 2025. SQL4NN: Validation and expressive querying of models as data. In Proceedings 9th Workshop on Data Management for End-to-End Machine Learning. ACM, 10:1-10:5.","journal-title":"ACM"},{"key":"e_1_2_1_22_1","unstructured":"I. Goodfellow Y. Bengio and A. Courville. 2016. Deep Learning. MIT Press."},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1006\/inco.1997.2675"},{"key":"e_1_2_1_24_1","volume-title":"Proceedings 26th ACM Symposium on Principles of Database Systems. ACM, 31-40","author":"Green T.J.","unstructured":"T.J. Green, G. Karvounarakis, and V. Tannen. 2007. Provenance semirings. In Proceedings 26th ACM Symposium on Principles of Database Systems. ACM, 31-40."},{"key":"e_1_2_1_25_1","volume-title":"Lecture Notes in Logic","author":"Grohe M.","unstructured":"M. Grohe. 2017. Descriptive Complexity, Canonisation, and Definable Graph Structure Theory. Lecture Notes in Logic, Vol. 47. Cambridge University Press."},{"key":"e_1_2_1_26_1","unstructured":"Martin Grohe Christoph Standke Juno Steegmans and Jan Van den Bussche. 2026. Recursive querying of neural networks via weighted structures. arXiv:2601.03201 [cs.LO] https:\/\/arxiv.org\/abs\/2601.03201"},{"key":"e_1_2_1_27_1","volume-title":"Proceedings 28th International Conference on Database Theory (Leibniz International Proceedings in Informatics","volume":"18","author":"Grohe M.","unstructured":"M. Grohe, C. Standke, J. Steegmans, and J. Van den Bussche. 2025. Query languages for neural networks. In Proceedings 28th International Conference on Database Theory (Leibniz International Proceedings in Informatics, Vol. 328), S. Roy and A. Kara (Eds.). Schloss Dagstuhl-Leibniz Center for Informatics, 9:1-9:18."},{"key":"e_1_2_1_28_1","volume-title":"Proceedings Annual Conference on Neural Information Processing Systems, C. Cortes, N.D","author":"Hand S.","year":"2015","unstructured":"S. Hand, J. Pool, J. Tran, et al., 2015. Learning both weights and connections for efficient neural network. In Proceedings Annual Conference on Neural Information Processing Systems, C. Cortes, N.D. Lawrence, D.D. Lee, M. Sugiyama, et al. (Eds.). 1135-1143."},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1006\/inco.1996.0070"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/502090.502100"},{"key":"e_1_2_1_31_1","volume-title":"Model Theory","author":"Hodges W.","unstructured":"W. Hodges. 1993. Model Theory. Cambridge University Press."},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1006\/jcss.1995.1051"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(91)90033-2"},{"key":"e_1_2_1_34_1","doi-asserted-by":"crossref","unstructured":"G. Kuper L. Libkin and J. Paredaens (Eds.). 2000. Constraint Databases. Springer.","DOI":"10.1007\/978-3-662-04031-7"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(02)00736-3"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-07003-1"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-68804-8_5"},{"key":"e_1_2_1_38_1","volume-title":"Reasoning Web: Causality, Explanations and Declarative Knowledge (Lecture Notes in Computer Science","author":"Marques-Silva J.","unstructured":"J. Marques-Silva. 2023. Logic-based explainability in machine learning. In Reasoning Web: Causality, Explanations and Declarative Knowledge (Lecture Notes in Computer Science, Vol. 13759), L.E. Bertossi and G. Xiao (Eds.). Springer, 24-104."},{"key":"e_1_2_1_39_1","volume-title":"Proceedings 37th International Conference on Machine Learning (Proceedings of Machine Learning Research","volume":"6774","author":"Marx C.T.","unstructured":"C.T. Marx, F. du Pin Calmon, and B. Ustin. 2020. Predictive multiplicity in classification. In Proceedings 37th International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 119). 6766-6774."},{"key":"e_1_2_1_40_1","volume-title":"Interpretable Machine Learning: A Guide for Making Black Box Models Explainable","author":"Molnar Ch.","unstructured":"Ch. Molnar. 2022. Interpretable Machine Learning: A Guide for Making Black Box Models Explainable (second ed.). https:\/\/christophm.github.io\/interpretable-ml-book"},{"key":"e_1_2_1_41_1","unstructured":"Y.N. Moschovakis. 1974. Elementary induction on abstract structures. North-Holland."},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068406002973"},{"key":"e_1_2_1_43_1","volume-title":"Proceedings 40th ACM Symposium on Principles of Database Systems. ACM.","author":"PODS","year":"2021","unstructured":"PODS 2021. Proceedings 40th ACM Symposium on Principles of Database Systems. ACM."},{"key":"e_1_2_1_44_1","volume-title":"(Eds.)","author":"M. Ranzato","year":"2021","unstructured":"M. Ranzato et al. (Eds.). 2021. ."},{"key":"e_1_2_1_45_1","volume-title":"Proceedings 22nd SIGKDD International Conference on Knowledge Discovery and Data Mining, B. Krishnapuram, M. Shah, A.J. Smola, et al. (Eds.). ACM, 1135-1144","author":"Ribeiro M.L.","unstructured":"M.L. Ribeiro, S. Singh, and C. Guestrin. 2016. ''Why should I trust you?'': Explaining the predications of any classifier. In Proceedings 22nd SIGKDD International Conference on Knowledge Discovery and Data Mining, B. Krishnapuram, M. Shah, A.J. Smola, et al. (Eds.). ACM, 1135-1144."},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1038\/s42256-019-0048-x"},{"key":"e_1_2_1_47_1","volume-title":"Artificial Intelligence: A Modern Approach","author":"Russell S.J.","year":"2022","unstructured":"S.J. Russell and P. Norvig. 2022. Artificial Intelligence: A Modern Approach (fourth ed.). Pearson."},{"key":"e_1_2_1_48_1","doi-asserted-by":"crossref","unstructured":"S. Shalev-Shwartz and S. Ben-David. 2014. Understanding Machine Learning: From Theory to Algorithms. Cambridge University Press.","DOI":"10.1017\/CBO9781107298019"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/3375395.3387660"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPICS.CSL.2021.10"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPICS.CSL.2025.15"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1006\/inco.1995.1110"},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1145\/256303.256311"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/3452021.3458815"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-60599-4_18"},{"key":"e_1_2_1_56_1","unstructured":"S. Zaidi A. Zela et al. 2021. Neural Ensemble Search for Uncertainty Estimation and Dataset Shift See [44]."}],"container-title":["Proceedings of the ACM on Management of Data"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3801911","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,5,14]],"date-time":"2026-05-14T12:50:58Z","timestamp":1778763058000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3801911"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,5,12]]},"references-count":56,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2026,5,12]]}},"alternative-id":["10.1145\/3801911"],"URL":"https:\/\/doi.org\/10.1145\/3801911","relation":{},"ISSN":["2836-6573"],"issn-type":[{"value":"2836-6573","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,5,12]]}}}