From Neural Networks to Logical Theories: The Correspondence between Fibring Modal Logics and Fibring Neural Networks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Harzli, Ouns El, Grau, Bernardo Cuenca, Garcez, Artur d'Avila, Horrocks, Ian, Besold, Tarek R.
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912612940251136
author Harzli, Ouns El
Grau, Bernardo Cuenca
Garcez, Artur d'Avila
Horrocks, Ian
Besold, Tarek R.
author_facet Harzli, Ouns El
Grau, Bernardo Cuenca
Garcez, Artur d'Avila
Horrocks, Ian
Besold, Tarek R.
contents Fibring of modal logics is a well-established formalism for combining countable families of modal logics into a single fibred language with common semantics, characterized by fibred models. Inspired by this formalism, fibring of neural networks was introduced as a neurosymbolic framework for combining learning and reasoning in neural networks. Fibring of neural networks uses the (pre-)activations of a trained network to evaluate a fibring function computing the weights of another network whose outputs are injected back into the original network. However, the exact correspondence between fibring of neural networks and fibring of modal logics was never formally established. In this paper, we close this gap by formalizing the idea of fibred models \emph{compatible} with fibred neural networks. Using this correspondence, we then derive non-uniform logical expressiveness results for Graph Neural Networks (GNNs), Graph Attention Networks (GATs) and Transformer encoders. Longer-term, the goal of this paper is to open the way for the use of fibring as a formalism for interpreting the logical theories learnt by neural networks with the tools of computational logic.
format Preprint
id arxiv_https___arxiv_org_abs_2509_23912
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle From Neural Networks to Logical Theories: The Correspondence between Fibring Modal Logics and Fibring Neural Networks
Harzli, Ouns El
Grau, Bernardo Cuenca
Garcez, Artur d'Avila
Horrocks, Ian
Besold, Tarek R.
Artificial Intelligence
Fibring of modal logics is a well-established formalism for combining countable families of modal logics into a single fibred language with common semantics, characterized by fibred models. Inspired by this formalism, fibring of neural networks was introduced as a neurosymbolic framework for combining learning and reasoning in neural networks. Fibring of neural networks uses the (pre-)activations of a trained network to evaluate a fibring function computing the weights of another network whose outputs are injected back into the original network. However, the exact correspondence between fibring of neural networks and fibring of modal logics was never formally established. In this paper, we close this gap by formalizing the idea of fibred models \emph{compatible} with fibred neural networks. Using this correspondence, we then derive non-uniform logical expressiveness results for Graph Neural Networks (GNNs), Graph Attention Networks (GATs) and Transformer encoders. Longer-term, the goal of this paper is to open the way for the use of fibring as a formalism for interpreting the logical theories learnt by neural networks with the tools of computational logic.
title From Neural Networks to Logical Theories: The Correspondence between Fibring Modal Logics and Fibring Neural Networks
topic Artificial Intelligence
url https://arxiv.org/abs/2509.23912