Code from: SECT: A spatiotemporal explicit causal transformer for path-faithful spatiotemporal attribution
收藏资源简介:
This package gives the implementation of the Spatiotemporal Explicit Causal Transformer (SECT), a dual-stream architecture that encodes self and neighbor sequences with causal convolutions and temporal transformers, integrates spatial self-information (SSI) as a localized anomaly metric, and fuses the streams with attention-based pooling. Interpretability is achieved through layer-wise relevance propagation with conservation checks, ensuring attribution is preserved and comparable at the neighborâvariableâlag (NVL) level. In a winter storm outage case study, SECT achieves competitive predictive performance relative to strong temporal and spatial baselines while preserving explicit neighbor identity and lag structure. Multi-seed ablation, knockout, and falsification experiments demonstrate that the model's performance degrades systematically when temporal order, neighbor alignment, or anomaly structure are perturbed, supporting the structural validity of its learned pathways. These resul..., , # Code from: SECT: A spatiotemporal explicit causal transformer for path-faithful spatiotemporal attribution ## Description of the data and file structure Spatiotemporal prediction remains a central challenge in geographical information science, particularly when both accurate forecasts and causally grounded explanations are required. Existing sequence and graph models capture dependencies across time and space but typically aggregate spatial context into latent representations and provide coarse or non-conserved attributions, limiting traceability to specific neighbors, variables, and lags. This package gives the implementation of the Spatiotemporal Explicit Causal Transformer (SECT), a dual-stream architecture that encodes self and neighbor sequences with causal convolutions and temporal transformers, integrates spatial self-information (SSI) as a localized anomaly metric, and fuses the streams with attention-based pooling. Interpretability is achieved through layer-wise relevance p..., ,



