Sandra -- A Neuro-Symbolic Reasoner Based On Descriptions And Situations
Nicolas Lazzari, Stefano De Giorgis, Aldo Gangemi, Valentina Presutti
TL;DR
Sandra introduces a differentiable, probabilistic formalization of the Description and Situation (DnS) ontology to enable perspective-based reasoning. By mapping descriptions and situations into a jointly constructed vector space and tying satisfiability to subspace membership, it yields a differentiable, neuro-symbolic layer denoted $d\mathds{P}$-Sandra that can be integrated into arbitrary neural nets. The approach achieves competitive results on I-RAVEN visual reasoning and Domain Generalization (Rotated-FashionMNIST) while adding interpretability through inferred descriptions and controllable vector-space structure. This work provides a practical pathway to combine deductive reasoning with neural representations, with potential impact on robotics, medicine, and law where partial information and multiple interpretations matter.
Abstract
This paper presents sandra, a neuro-symbolic reasoner combining vectorial representations with deductive reasoning. Sandra builds a vector space constrained by an ontology and performs reasoning over it. The geometric nature of the reasoner allows its combination with neural networks, bridging the gap with symbolic knowledge representations. Sandra is based on the Description and Situation (DnS) ontology design pattern, a formalization of frame semantics. Given a set of facts (a situation) it allows to infer all possible perspectives (descriptions) that can provide a plausible interpretation for it, even in presence of incomplete information. We prove that our method is correct with respect to the DnS model. We experiment with two different tasks and their standard benchmarks, demonstrating that, without increasing complexity, sandra (i) outperforms all the baselines (ii) provides interpretability in the classification process, and (iii) allows control over the vector space, which is designed a priori.
