Introduction
Time series data is foundational to critical sectors such as healthcare, industrial monitoring, and autonomous systems. While deep learning models achieve state-of-the-art accuracy in classifying these signals, their "black-box" nature poses significant risks in safety-critical applications. Traditional interpretability methods often rely on post-hoc explanations—approximations of a model's logic after a decision is made—which can be unfaithful to the actual underlying reasoning of the model.
To address this, the researchers introduce STELLE (Signal Temporal logic Embedding for Logically-grounded Learning and Explanation), a neuro-symbolic framework designed to be interpretable by construction. STELLE transforms raw time series data into a space of human-readable Signal Temporal Logic (STL) concepts, providing transparent reasoning alongside high-performance classification.
The STELLE Architecture
STELLE integrates formal logic with neural networks through three primary components that bridge the gap between raw data and symbolic reasoning:
- Trajectory Embedding Kernel: This component maps raw time series trajectories into a mathematical space shared with STL formulae. This allows the model to quantify the alignment between a signal and specific logical concepts (e.g., "the signal remains above a threshold for a specific duration").
- Discriminability Mechanism: Rather than just checking for concept satisfaction, STELLE calculates a discriminability score. This identifies features that are not just present, but uniquely characteristic of a specific class compared to others.
- Neuro-Symbolic Integration: The logical embeddings are processed by a Multi-Layer Perceptron (MLP) to generate the final prediction. By applying techniques like Integrated Gradients to this MLP, the framework can pinpoint exactly which logical rules influenced a specific decision.
Experimental Evaluation
The framework was evaluated on ten diverse multivariate datasets from the University of East Anglia (UEA) Time Series Archive, spanning medical ECG data, motion tracking, and spectrographic signals. These datasets represent a wide range of signal lengths and real-world application domains.
Performance and Separability
STELLE demonstrates competitive accuracy against established black-box models like InceptionTime and ROCKET. For instance, on the BasicMotions dataset, it achieved an accuracy of 0.96, nearly matching the performance of complex ensemble methods. Beyond accuracy, the model produces highly "separable" explanations, meaning the logical rules identified for one class are distinct and rarely apply to others, facilitating clear differentiation.
Human-Readable Explanations
A key strength of STELLE is its "readability" pipeline, which simplifies complex logical expressions into concise statements. Instead of abstract heatmaps or importance scores, the model outputs rules such as Eventually[30,40] (x1 ≥ 2.156), which domain experts can directly verify and trust.
Key Insights and Discussion
STELLE provides a dual-level approach to interpretability: local explanations justify individual predictions, while global explanations characterize the general logic of an entire class. By using logic as a regularizer, the model avoids picking up spurious correlations—noise that looks like a pattern but isn't—favoring patterns that align with human-understandable concepts.
However, challenges remain. The process of mining and evaluating thousands of candidate STL formulae is computationally intensive. Furthermore, for particularly complex or noisy samples, the generated formulas can become lengthy and difficult for humans to parse. Future research aims to explore hierarchical or probabilistic temporal logics to enhance expressive power while maintaining the framework's inherent transparency.
Conclusion
STELLE represents a significant step toward trustworthy AI for time series. By grounding neural network predictions in formal logic, it offers a path toward models that are not only accurate but also verifiable and explainable by design, ensuring that AI-driven decisions in critical fields are guided by clear, human-readable logic.
Summary updated