Introduction
Modern complex systems, ranging from additive manufacturing to swarm robotics, produce vast amounts of spatial-temporal data. These systems are often modeled as graphs where nodes and edges possess time-varying properties, such as local temperatures or physical distances. While temporal logic inference is well-studied, there is a significant gap in methods for extracting spatial-temporal logic—rules that describe how states evolve across both time and network topology. This paper introduces Graph Temporal Logic (GTL) to bridge this gap, providing a mathematically rigorous framework for classifying system behaviors and identifying descriptive patterns directly from observational data.
Graph Temporal Logic (GTL)
The authors propose parametric Graph Temporal Logic (pGTL), which extends standard temporal operators (Always, Eventually, Until) with spatial neighbor operations. This allows for complex queries, such as "if a node is in state X, do at least $k$ neighbors within distance $d$ transition to state Y within time $t$?" This logic uniquely allows for constraints on both nodes and edges simultaneously, enabling highly specific spatial queries that traditional temporal logic cannot handle. By modeling systems as graphs with time-varying labels, GTL can capture the intricate dependencies inherent in networked systems.
Inference Tasks and Methodology
The framework addresses two primary objectives:
- Classification: Finding a GTL formula that distinguishes between two classes of system trajectories (e.g., successful vs. failed manufacturing runs). This uses a "pruning and growing" approach. Starting with basic pGTL templates, the system employs Particle Swarm Optimization (PSO) to tune parameters and minimize misclassification. If simple rules are insufficient, they are combined using logical operators until a complexity limit is reached.
- Identification: Discovering the most informative rule that characterizes a single dataset. To avoid trivial truths (tautologies), the algorithm maximizes Information Gain, measured via Kullback-Leibler divergence between a prior distribution and the posterior given the formula. To make this computationally feasible, the authors use Deterministic Finite Automata (DFA) for probability calculation and a Hausdorff distance-based binary search to efficiently locate optimal parameter boundaries.
Experimental Evaluation
The proposed methods were tested on diverse datasets representing real-world and simulated complex systems.
- SLS 3D Printing: Using infrared recordings of a Selective Laser Sintering (SLS) process, the algorithm successfully classified tensile specimens by strength based on thermal history. It achieved a 0% misclassification rate on the training set and an 8.33% rate on validation data. Furthermore, it identified key thermal dynamics during the powder bed cooldown process, such as specific temperature thresholds and neighbor cooling behaviors, with 100% coverage.
- Swarm Robotics: In a simulation of 72 robots navigating sub-regions, the method identified the underlying transition rules governing swarm density with 100% validation coverage. The algorithm successfully captured the probabilistic density transitions, proving its effectiveness in modeling collective behaviors in multi-agent systems.
Conclusion and Future Directions
GTL provides a powerful, interpretable means of analyzing networked systems. By combining spatial and temporal constraints, it captures nuances that traditional logics miss. While currently reliant on user-provided templates, future work aims to develop template-free inference methods and handle more complex spatial dependencies, such as those governed by Markov random fields. These advancements will further broaden the applicability of GTL in formal verification and automated controller synthesis for complex autonomous systems.
Summary updated