A Neuro-Symbolic Framework for Sequence Classification with Relational and Temporal Knowledge
Luca Salvatore Lorello, Marco Lippi, Stefano Melacci
TL;DR
This work tackles sequence classification when background knowledge spans relational and temporal dimensions. It introduces LTLZinc, a benchmarking framework that generates multi-channel, temporally constrained sequences and provides datasets to evaluate neural-only and neuro-symbolic pipelines. A multi-stage architecture combines neural image classification with symbolic constraint reasoning and temporal state prediction, enabling end-to-end evaluation through $LTL_f$-based temporal logic. Key findings show that while symbolic-symbolic configurations often outperform neural setups, neuro-symbolic methods face training instabilities and the relational-temporal coupling remains challenging, underscoring the need for tighter integration and robust time-aware reasoning in real-world tasks.
Abstract
One of the goals of neuro-symbolic artificial intelligence is to exploit background knowledge to improve the performance of learning tasks. However, most of the existing frameworks focus on the simplified scenario where knowledge does not change over time and does not cover the temporal dimension. In this work we consider the much more challenging problem of knowledge-driven sequence classification where different portions of knowledge must be employed at different timesteps, and temporal relations are available. Our experimental evaluation compares multi-stage neuro-symbolic and neural-only architectures, and it is conducted on a newly-introduced benchmarking framework. Results demonstrate the challenging nature of this novel setting, and also highlight under-explored shortcomings of neuro-symbolic methods, representing a precious reference for future research.
