Recursive querying of neural networks via weighted structures

πŸ“… 2026-01-06
πŸ›οΈ arXiv.org
πŸ“ˆ Citations: 1
✨ Influential: 1
πŸ“„ PDF
πŸ€– AI Summary
This work investigates expressive, verifiable, and interpretable querying of deep, unbounded feedforward neural networks. To this end, it introduces a weighted fixpoint logic with a Datalog-like syntax and a β€œrelaxed” fixpoint mechanism, enabling accessibility analysis and verification over learned representations. The scalar-restricted variant of this logic enjoys polynomial-time data complexity and captures precisely all PTIME model-agnostic queries over polynomially bounded weight-restricted networks. Moreover, the paper establishes that certain simple model-agnostic queries are already NP-complete, thereby revealing the intrinsic computational hardness inherent in the problem.

Technology Category

Application Category

πŸ“ Abstract
Expressive querying of machine learning models - viewed as a form of intentional data - enables their verification and interpretation using declarative languages, thereby 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\"adel 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.
Problem

Research questions and friction points this paper is trying to address.

recursive querying
neural networks
weighted structures
expressive querying
model-agnostic queries
Innovation

Methods, ideas, or system contributions that make the work stand out.

weighted structures
functional fixpoint logic
recursive querying
model-agnostic queries
Datalog-like syntax
πŸ”Ž Similar Papers
No similar papers found.
M
Martin Grohe
RWTH Aachen University
C
Christoph Standke
RWTH Aachen University
J
Juno Steegmans
Hasselt University
Jan Van den Bussche
Jan Van den Bussche
Professor, Hasselt University
Computer Science