Please use this identifier to cite or link to this item: http://hdl.handle.net/1942/47507
Title: Query Languages for Neural Networks
Authors: Grohe, Martin
Standke, Christoph
STEEGMANS, Juno 
VAN DEN BUSSCHE, Jan 
Editors: Roy, S.
Kara, A.
Issue Date: 2025
Publisher: SCHLOSS DAGSTUHL, LEIBNIZ CENTER INFORMATICS
Source: 28TH International conference on database theory, ICDT 2025, SCHLOSS DAGSTUHL, LEIBNIZ CENTER INFORMATICS, p. 9:1 -9:18 (Art N° 9)
Series/Report: Leibniz International Proceedings in Informatics
Abstract: We lay the foundations for a database-inspired approach to interpreting and understanding neural network models by querying them using declarative languages. Towards this end we study different query languages, based on first-order logic, that mainly differ in their access to the neural network model. First-order logic over the reals naturally yields a language which views the network as a black box; only the input-output function defined by the network can be queried. This is essentially the approach of constraint query languages. On the other hand, a white-box language can be obtained by viewing the network as a weighted graph, and extending first-order logic with summation over weight terms. The latter approach is essentially an abstraction of SQL. In general, the two approaches are incomparable in expressive power, as we will show. Under natural circumstances, however, the white-box approach can subsume the black-box approach; this is our main result. We prove the result concretely for linear constraint queries over real functions definable by feedforward neural networks with a fixed number of hidden layers and piecewise linear activation functions.
Notes: Grohe, M; Standke, C (corresponding author), Rhein Westfal TH Aachen, Aachen, Germany.; Steegmans, J; Van den Bussche, J (corresponding author), UHasselt, Data Sci Inst, Diepenbeek, Belgium.
Keywords: Expressive power of query languages;Machine learning models;languages for interpretability;explainable AI
Document URI: http://hdl.handle.net/1942/47507
Link to publication/dataset: https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ICDT.2025.9
ISBN: 978-3-95977-364-5
DOI: 10.4230/LIPIcs.ICDT.2025.9
ISI #: 001533987300009
Rights: Martin Grohe, Christoph Standke, Juno Steegmans, and Jan Van den Bussche; licensed under Creative Commons License CC-BY 4.0
Category: C1
Type: Proceedings Paper
Appears in Collections:Research publications

Files in This Item:
File Description SizeFormat 
Query Languages for Neural Networks.pdfPublished version802.48 kBAdobe PDFView/Open
Show full item record

Google ScholarTM

Check

Altmetric


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.