SpeQNet: Query-Enhanced Spectral Graph Filtering for Spatiotemporal Forecasting
Abstract
1. Introduction
- Frequency-aware spatial modeling—We design an enhanced ChebNetII-based spectral graph filtering block that captures both global and local spatial dependencies, boosting forecasting accuracy.
- Query-enhanced node representations—We introduce a lightweight spatiotemporal query that injects global spatial context into temporal node representations. The enriched spatiotemporal representations contribute to consistent forecasting improvements.
2. Related Works
3. Preliminaries
3.1. Problem Definition
3.2. Graph Spectral Theory and Filtering
3.3. Chebyshev-II Approximation
4. Methodology
4.1. Overview of SpeQNet
4.2. Query-Enhanced Spatiotemporal Representation
4.2.1. Temporal Embedding
4.2.2. Query-Enhanced Spatial Embedding
4.2.3. Spatiotemporal Fusion
4.3. Adaptive Graph Learning and Node Feature Extraction
4.4. Spectral Graph Filtering Block
4.5. Forecasting Head
5. Experiments
5.1. Experimental Settings
5.1.1. Datasets
5.1.2. Baselines
5.1.3. Experiment Setup
| Algorithm 1 SpeQNet forward pass and training procedure | |
| Input: Historical window , horizon S, Chebyshev order K, number of spectral blocks L | |
| Output: Forecast | |
| 1: Temporal embedding: | ▹ Equation (11) |
| 2: Query-enhanced spatial embedding: initialize learnable queries | |
| 3: | ▹ Equations (12)–(14) |
| 4: | ▹ Equation (15) |
| 5: Fusion: | ▹ Equation (16) |
| 6: Adaptive graph learning: | ▹ Equation (17) |
| 7: Compute from using Equations (2) and (8) with | |
| 8: Node feature init: | ▹ Equation (18) |
| 9: for to L do | |
| 10: | ▹ Equation (19), ChebNetII (Equation (10)) |
| 11: | ▹ Equation (20) |
| 12: | ▹ Equation (21) |
| 13: | ▹ Equation (22) |
| 14: | ▹ Equation (23) |
| 15: end for | |
| 16: Forecast head: | ▹ Equation (24) |
| 17: Training: minimize (Huber loss) with Adam (Section 5.1) | |
| 18: return | |
5.2. Main Results
5.2.1. Long-Term Forecasting
5.2.2. Short-Term Forecasting
5.3. Ablation Studies
5.4. Learned Spectral Filter Response Analysis
5.5. Sensitivity to Chebyshev Polynomial Order
5.6. Scaling Analysis
5.7. Computational Efficiency Analysis
5.8. Graph Interpretability Analysis
5.9. Qualitative Forecasting Visualization
6. Conclusions
Limitations and Future Work
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Satpathy, I.; Nayak, A.; Jain, V. The green city: Sustainable and smart urban living through artificial intelligence. In Utilizing Technology to Manage Territories; IGI Global: Hershey, PA, USA, 2025; pp. 273–304. [Google Scholar]
- Fang, Y.; Liang, Y.; Hui, B.; Shao, Z.; Deng, L.; Liu, X.; Jiang, X.; Zheng, K. Efficient large-scale traffic forecasting with transformers: A spatial data management perspective. In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 1, Toronto, ON, Canada, 3–7 August 2025; pp. 307–317. [Google Scholar]
- Dong, Q.; Huang, R.; Cui, C.; Towey, D.; Zhou, L.; Tian, J.; Wang, J. Short-Term Electricity-Load Forecasting by deep learning: A comprehensive survey. Eng. Appl. Artif. Intell. 2025, 154, 110980. [Google Scholar] [CrossRef]
- Zhang, H.; Liu, Y.; Zhang, C.; Li, N. Machine learning methods for weather forecasting: A survey. Atmosphere 2025, 16, 82. [Google Scholar] [CrossRef]
- Kim, S.J.; Cho, Y. Enhancing environmental monitoring of harmful algal blooms with ConvLSTM image prediction. Environ. Res. Commun. 2025, 7, 025012. [Google Scholar] [CrossRef]
- Jin, M.; Koh, H.Y.; Wen, Q.; Zambon, D.; Alippi, C.; Webb, G.I.; King, I.; Pan, S. A survey on graph neural networks for time series: Forecasting, classification, imputation, and anomaly detection. arXiv 2023, arXiv:2307.03759. [Google Scholar] [CrossRef] [PubMed]
- Cini, A.; Marisca, I.; Zambon, D.; Alippi, C. Graph deep learning for time series forecasting. ACM Comput. Surv. 2025, 57, 321. [Google Scholar] [CrossRef]
- Yu, B.; Yin, H.; Zhu, Z. Spatio-temporal graph convolutional networks: A deep learning framework for traffic forecasting. arXiv 2017, arXiv:1709.04875. [Google Scholar]
- Pan, Z.; Liang, Y.; Wang, W.; Yu, Y.; Zheng, Y.; Zhang, J. Urban traffic prediction from spatio-temporal data using deep meta learning. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Anchorage, AK, USA, 4–8 August 2019; pp. 1720–1730. [Google Scholar]
- Liu, Y.; Hu, T.; Zhang, H.; Wu, H.; Wang, S.; Ma, L.; Long, M. itransformer: Inverted transformers are effective for time series forecasting. arXiv 2023, arXiv:2310.06625. [Google Scholar]
- Wang, Y.; Wu, H.; Dong, J.; Qin, G.; Zhang, H.; Liu, Y.; Qiu, Y.; Wang, J.; Long, M. Timexer: Empowering transformers for time series forecasting with exogenous variables. Adv. Neural Inf. Process. Syst. 2024, 37, 469–498. [Google Scholar]
- Cini, A.; Marisca, I.; Zambon, D.; Alippi, C. Taming local effects in graph-based spatiotemporal forecasting. Adv. Neural Inf. Process. Syst. 2023, 36, 55375–55393. [Google Scholar]
- Defferrard, M.; Bresson, X.; Vandergheynst, P. Convolutional neural networks on graphs with fast localized spectral filtering. In Proceedings of the 30th International Conference on Neural Information Processing Systems (NIPS’16), Barcelona, Spain, 5–10 December 2016; pp. 3844–3852. [Google Scholar]
- Balcilar, M.; Renton, G.; Héroux, P.; Gaüzère, B.; Adam, S.; Honeine, P. Analyzing the expressive power of graph neural networks in a spectral perspective. In Proceedings of the International Conference on Learning Representations, Vienna, Austria, 4 May 2021. [Google Scholar]
- Kipf, T. Semi-supervised classification with graph convolutional networks. arXiv 2016, arXiv:1609.02907. [Google Scholar]
- Wu, F.; Souza, A.; Zhang, T.; Fifty, C.; Yu, T.; Weinberger, K. Simplifying graph convolutional networks. In Proceedings of the International Conference on Machine Learning, Long Beach, CA, USA, 9–15 June 2019; pp. 6861–6871. [Google Scholar]
- Xu, B.; Shen, H.; Cao, Q.; Cen, K.; Cheng, X. Graph convolutional networks using heat kernel for semi-supervised learning. arXiv 2020, arXiv:2007.16002. [Google Scholar] [CrossRef]
- Nt, H.; Maehara, T. Revisiting graph neural networks: All we have is low-pass filters. arXiv 2019, arXiv:1905.09550. [Google Scholar] [CrossRef]
- Meng, G.; Jiang, Q.; Fu, K.; Lin, B.; Lu, C.T.; Chen, Z. Early forecasting of the impact of traffic accidents using a single shot observation. In Proceedings of the 2022 SIAM International Conference on Data Mining (SDM), Alexandria, VA, USA, 28–30 April 2022; pp. 100–108. [Google Scholar]
- Wang, X.; Zhang, M. How powerful are spectral graph neural networks. In Proceedings of the International Conference on Machine Learning, Baltimore, MD, USA, 17–23 July 2022; pp. 23341–23362. [Google Scholar]
- He, M.; Wei, Z.; Xu, H. Bernnet: Learning arbitrary graph spectral filters via bernstein approximation. Adv. Neural Inf. Process. Syst. 2021, 34, 14239–14251. [Google Scholar]
- He, M.; Wei, Z.; Wen, J.R. Convolutional neural networks on graphs with chebyshev approximation, revisited. Adv. Neural Inf. Process. Syst. 2022, 35, 7264–7276. [Google Scholar]
- Li, Y.; Yu, R.; Shahabi, C.; Liu, Y. Diffusion convolutional recurrent neural network: Data-driven traffic forecasting. arXiv 2017, arXiv:1707.01926. [Google Scholar]
- Shao, Z.; Zhang, Z.; Wei, W.; Wang, F.; Xu, Y.; Cao, X.; Jensen, C.S. Decoupled dynamic spatial-temporal graph neural network for traffic forecasting. arXiv 2022, arXiv:2206.09112. [Google Scholar] [CrossRef]
- Bai, L.; Yao, L.; Li, C.; Wang, X.; Wang, C. Adaptive Graph Convolutional Recurrent Network for Traffic Forecasting. arXiv 2020, arXiv:2007.02842. [Google Scholar] [CrossRef]
- Wu, Z.; Pan, S.; Long, G.; Jiang, J.; Chang, X.; Zhang, C. Connecting the Dots: Multivariate Time Series Forecasting with Graph Neural Networks. arXiv 2020, arXiv:2005.11650. [Google Scholar] [CrossRef]
- Lee, H.; Ko, S. TESTAM: A time-enhanced spatio-temporal attention model with mixture of experts. arXiv 2024, arXiv:2403.02600. [Google Scholar]
- Park, C.; Lee, C.; Bahng, H.; Tae, Y.; Jin, S.; Kim, K.; Ko, S.; Choo, J. ST-GRAT: A novel spatio-temporal graph attention networks for accurately forecasting dynamically changing road speed. In Proceedings of the 29th ACM International Conference on Information & Knowledge Management, Virtual Event, 19–23 October 2020; pp. 1215–1224. [Google Scholar]
- Nie, Y. A Time Series is Worth 64Words: Long-term Forecasting with Transformers. arXiv 2022, arXiv:2211.14730. [Google Scholar]
- Zeng, A.; Chen, M.; Zhang, L.; Xu, Q. Are transformers effective for time series forecasting? In Proceedings of the AAAI Conference on Artificial Intelligence, Washington, DC, USA, 7–14 February 2023; Volume 37, pp. 11121–11128. [Google Scholar]
- Li, Z.; Qi, S.; Li, Y.; Xu, Z. Revisiting long-term time series forecasting: An investigation on linear mapping. arXiv 2023, arXiv:2305.10721. [Google Scholar] [CrossRef]
- Ansari, A.F.; Stella, L.; Turkmen, C.; Zhang, X.; Mercado, P.; Shen, H.; Shchur, O.; Rangapuram, S.S.; Arango, S.P.; Kapoor, S.; et al. Chronos: Learning the language of time series. arXiv 2024, arXiv:2403.07815. [Google Scholar] [CrossRef]
- Jin, M.; Wang, S.; Ma, L.; Chu, Z.; Zhang, J.Y.; Shi, X.; Chen, P.Y.; Liang, Y.; Li, Y.F.; Pan, S.; et al. Time-llm: Time series forecasting by reprogramming large language models. arXiv 2023, arXiv:2310.01728. [Google Scholar]
- Wu, H.; Hu, T.; Liu, Y.; Zhou, H.; Wang, J.; Long, M. Timesnet: Temporal 2d-variation modeling for general time series analysis. arXiv 2022, arXiv:2210.02186. [Google Scholar]
- Lin, S.; Lin, W.; Hu, X.; Wu, W.; Mo, R.; Zhong, H. Cyclenet: Enhancing time series forecasting through modeling periodic patterns. Adv. Neural Inf. Process. Syst. 2024, 37, 106315–106345. [Google Scholar]
- Zhang, Y.; Yan, J. Crossformer: Transformer utilizing cross-dimension dependency for multivariate time series forecasting. In Proceedings of the the Eleventh International Conference on Learning Representations, Kigali, Rwanda, 1–5 May 2023. [Google Scholar]
- Yang, Y.; Zhu, Q.; Chen, J. Vcformer: Variable correlation transformer with inherent lagged correlation for multivariate time series forecasting. arXiv 2024, arXiv:2405.11470. [Google Scholar] [CrossRef]
- Woo, G.; Liu, C.; Kumar, A.; Xiong, C.; Savarese, S.; Sahoo, D. Unified training of universal time series forecasting transformers. arXiv 2024, arXiv:2402.02592. [Google Scholar] [CrossRef]
- Gao, S.; Koker, T.; Queen, O.; Hartvigsen, T.; Tsiligkaridis, T.; Zitnik, M. Units: A unified multi-task time series model. Adv. Neural Inf. Process. Syst. 2024, 37, 140589–140631. [Google Scholar]
- Liu, Y.; Wu, H.; Wang, J.; Long, M. Non-stationary transformers: Exploring the stationarity in time series forecasting. Adv. Neural Inf. Process. Syst. 2022, 35, 9881–9893. [Google Scholar]
- Zhu, J.; Wang, Q.; Tao, C.; Deng, H.; Zhao, L.; Li, H. AST-GCN: Attribute-augmented spatiotemporal graph convolutional network for traffic forecasting. IEEE Access 2021, 9, 35973–35983. [Google Scholar] [CrossRef]
- Song, C.; Lin, Y.; Guo, S.; Wan, H. Spatial-temporal synchronous graph convolutional networks: A new framework for spatial-temporal network data forecasting. In Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA, 7–12 February 2020; Volume 34, pp. 914–921. [Google Scholar]
- Wu, Z.; Pan, S.; Long, G.; Jiang, J.; Zhang, C. Graph wavenet for deep spatial-temporal graph modeling. arXiv 2019, arXiv:1906.00121. [Google Scholar]
- Cai, W.; Liang, Y.; Liu, X.; Feng, J.; Wu, Y. Msgnet: Learning multi-scale inter-series correlations for multivariate time series forecasting. In Proceedings of the AAAI Conference on Artificial Intelligence, Vancouver, BC, Canada, 20–27 February 2024; Volume 38, pp. 11141–11149. [Google Scholar]
- Huang, Q.; Shen, L.; Zhang, R.; Ding, S.; Wang, B.; Zhou, Z.; Wang, Y. Crossgnn: Confronting noisy multivariate time series via cross interaction refinement. Adv. Neural Inf. Process. Syst. 2023, 36, 46885–46902. [Google Scholar]
- Bauer, F. Normalized graph Laplacians for directed graphs. Linear Algebra Appl. 2012, 436, 4193–4222. [Google Scholar] [CrossRef]
- Hu, J.; Shen, L.; Sun, G. Squeeze-and-excitation networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–22 June 2018; pp. 7132–7141. [Google Scholar]
- Das, A.; Kong, W.; Leach, A.; Mathur, S.; Sen, R.; Yu, R. Long-term forecasting with tide: Time-series dense encoder. arXiv 2023, arXiv:2304.08424. [Google Scholar]
- Liu, M.; Zeng, A.; Chen, M.; Xu, Z.; Lai, Q.; Ma, L.; Xu, Q. Scinet: Time series modeling and forecasting with sample convolution and interaction. Adv. Neural Inf. Process. Syst. 2022, 35, 5816–5828. [Google Scholar]









| Task | Dataset | Variates | Frequency | Domain |
|---|---|---|---|---|
| Long-term Forecasting | ETTm1 | 7 | 15 min | Electricity |
| ETTm2 | 7 | 15 min | Electricity | |
| ETTh1 | 7 | 1 h | Electricity | |
| ETTh2 | 7 | 1 h | Electricity | |
| Electricity | 321 | 1 h | Electricity | |
| Traffic | 862 | 1 h | Transportation | |
| Weather | 21 | 10 min | Weather | |
| Solar-Energy | 137 | 10 min | Solar Power | |
| Short-term Forecasting | PEMS03 | 358 | 5 min | Transportation |
| PEMS04 | 307 | 5 min | Transportation | |
| PEMS07 | 883 | 5 min | Transportation | |
| PEMS08 | 170 | 5 min | Transportation |
| Dataset | E | Blocks | Batch | LR |
|---|---|---|---|---|
| ETTh1 | 512 | 3 | 32 | 0.0001 |
| ETTh2 | 128 | 3 | 32 | 0.0001 |
| ETTm1 | 128 | 3 | 32 | 0.0001 |
| ETTm2 | 128 | 3 | 32 | 0.0001 |
| Electricity | 512 | 4 | 16 | 0.0005 |
| Solar-Energy | 512 | 3 | 32 | 0.0005 |
| Traffic | 512 | 5 | 16 | 0.001 |
| Weather | 512 | 4 | 64 | 0.0003 |
| PEMS03 | 512 | 5 | 32 | 0.001 |
| PEMS04 | 512 | 5 | 32 | 0.0005 |
| PEMS07 | 512 | 5 | 32 | 0.001 |
| PEMS08 | 512 | 5 | 32 | 0.0005 |
| Models | SpeQNet | TimeXer(2024) [11] | CycleNet(2024) [35] | iTransformer(2024) [10] | MSGNet(2024) [44] | TimesNet(2023) [10] | PatchTST(2023) [10] | Crossformer(2023) [10] | DLinear(2023) [10] | SCINet(2022) [10] | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Metric | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | |
| ETTh1 | 96 | 0.373 | 0.396 | 0.382 | 0.403 | 0.375 | 0.395 | 0.386 | 0.405 | 0.390 | 0.411 | 0.384 | 0.402 | 0.414 | 0.419 | 0.423 | 0.448 | 0.386 | 0.400 | 0.654 | 0.599 |
| 192 | 0.428 | 0.423 | 0.429 | 0.435 | 0.436 | 0.428 | 0.441 | 0.436 | 0.443 | 0.442 | 0.436 | 0.429 | 0.460 | 0.445 | 0.471 | 0.474 | 0.437 | 0.432 | 0.719 | 0.631 | |
| 336 | 0.473 | 0.446 | 0.468 | 0.448 | 0.496 | 0.455 | 0.487 | 0.458 | 0.482 | 0.469 | 0.491 | 0.469 | 0.501 | 0.466 | 0.570 | 0.546 | 0.481 | 0.459 | 0.778 | 0.659 | |
| 720 | 0.509 | 0.483 | 0.469 | 0.461 | 0.520 | 0.484 | 0.503 | 0.491 | 0.496 | 0.488 | 0.521 | 0.500 | 0.500 | 0.488 | 0.653 | 0.621 | 0.519 | 0.516 | 0.836 | 0.699 | |
| Avg | 0.446 | 0.437 | 0.437 | 0.437 | 0.457 | 0.441 | 0.454 | 0.448 | 0.453 | 0.453 | 0.458 | 0.450 | 0.469 | 0.455 | 0.529 | 0.522 | 0.456 | 0.452 | 0.747 | 0.647 | |
| ETTh2 | 96 | 0.263 | 0.329 | 0.286 | 0.338 | 0.298 | 0.344 | 0.297 | 0.349 | 0.329 | 0.371 | 0.340 | 0.374 | 0.302 | 0.348 | 0.745 | 0.584 | 0.333 | 0.387 | 0.707 | 0.621 |
| 192 | 0.321 | 0.365 | 0.363 | 0.389 | 0.372 | 0.396 | 0.380 | 0.400 | 0.402 | 0.414 | 0.402 | 0.414 | 0.388 | 0.400 | 0.877 | 0.656 | 0.477 | 0.476 | 0.860 | 0.689 | |
| 336 | 0.365 | 0.396 | 0.414 | 0.423 | 0.431 | 0.439 | 0.428 | 0.432 | 0.440 | 0.445 | 0.452 | 0.452 | 0.426 | 0.433 | 1.043 | 0.731 | 0.594 | 0.541 | 1.000 | 0.744 | |
| 720 | 0.427 | 0.444 | 0.408 | 0.432 | 0.450 | 0.458 | 0.427 | 0.445 | 0.480 | 0.477 | 0.462 | 0.468 | 0.431 | 0.446 | 1.104 | 0.763 | 0.831 | 0.657 | 1.249 | 0.838 | |
| Avg | 0.344 | 0.384 | 0.368 | 0.396 | 0.388 | 0.409 | 0.383 | 0.407 | 0.413 | 0.427 | 0.414 | 0.427 | 0.387 | 0.407 | 0.942 | 0.684 | 0.559 | 0.515 | 0.954 | 0.723 | |
| ETTm1 | 96 | 0.312 | 0.350 | 0.318 | 0.356 | 0.319 | 0.360 | 0.334 | 0.368 | 0.319 | 0.366 | 0.338 | 0.375 | 0.329 | 0.367 | 0.404 | 0.426 | 0.345 | 0.372 | 0.418 | 0.438 |
| 192 | 0.358 | 0.373 | 0.362 | 0.383 | 0.360 | 0.381 | 0.377 | 0.391 | 0.377 | 0.397 | 0.374 | 0.387 | 0.367 | 0.385 | 0.450 | 0.451 | 0.380 | 0.389 | 0.439 | 0.450 | |
| 336 | 0.389 | 0.395 | 0.395 | 0.407 | 0.389 | 0.403 | 0.426 | 0.420 | 0.417 | 0.422 | 0.410 | 0.411 | 0.399 | 0.410 | 0.532 | 0.515 | 0.413 | 0.413 | 0.490 | 0.485 | |
| 720 | 0.457 | 0.434 | 0.452 | 0.441 | 0.447 | 0.441 | 0.491 | 0.459 | 0.487 | 0.463 | 0.478 | 0.450 | 0.454 | 0.439 | 0.666 | 0.589 | 0.474 | 0.453 | 0.595 | 0.550 | |
| Avg | 0.379 | 0.388 | 0.382 | 0.397 | 0.379 | 0.396 | 0.407 | 0.410 | 0.400 | 0.412 | 0.400 | 0.406 | 0.387 | 0.400 | 0.513 | 0.495 | 0.403 | 0.407 | 0.485 | 0.481 | |
| ETTm2 | 96 | 0.175 | 0.256 | 0.171 | 0.256 | 0.163 | 0.246 | 0.180 | 0.264 | 0.182 | 0.266 | 0.187 | 0.267 | 0.175 | 0.259 | 0.287 | 0.366 | 0.193 | 0.292 | 0.286 | 0.377 |
| 192 | 0.242 | 0.300 | 0.237 | 0.299 | 0.229 | 0.290 | 0.250 | 0.309 | 0.248 | 0.306 | 0.249 | 0.309 | 0.241 | 0.302 | 0.414 | 0.492 | 0.284 | 0.362 | 0.399 | 0.445 | |
| 336 | 0.298 | 0.336 | 0.296 | 0.338 | 0.284 | 0.327 | 0.311 | 0.348 | 0.312 | 0.346 | 0.321 | 0.351 | 0.305 | 0.343 | 0.597 | 0.542 | 0.369 | 0.427 | 0.637 | 0.591 | |
| 720 | 0.408 | 0.400 | 0.392 | 0.394 | 0.389 | 0.391 | 0.412 | 0.407 | 0.414 | 0.404 | 0.408 | 0.403 | 0.402 | 0.400 | 1.730 | 1.042 | 0.554 | 0.522 | 0.960 | 0.735 | |
| Avg | 0.281 | 0.323 | 0.274 | 0.322 | 0.266 | 0.314 | 0.288 | 0.332 | 0.289 | 0.330 | 0.291 | 0.333 | 0.281 | 0.326 | 0.757 | 0.611 | 0.350 | 0.401 | 0.571 | 0.537 | |
| Electricity | 96 | 0.121 | 0.225 | 0.140 | 0.242 | 0.136 | 0.229 | 0.148 | 0.240 | 0.165 | 0.274 | 0.168 | 0.272 | 0.181 | 0.270 | 0.219 | 0.314 | 0.197 | 0.282 | 0.247 | 0.345 |
| 192 | 0.141 | 0.242 | 0.157 | 0.256 | 0.152 | 0.244 | 0.162 | 0.253 | 0.185 | 0.292 | 0.184 | 0.289 | 0.188 | 0.274 | 0.231 | 0.322 | 0.196 | 0.285 | 0.257 | 0.255 | |
| 336 | 0.160 | 0.260 | 0.176 | 0.275 | 0.170 | 0.264 | 0.178 | 0.269 | 0.197 | 0.304 | 0.198 | 0.300 | 0.204 | 0.293 | 0.246 | 0.337 | 0.209 | 0.301 | 0.269 | 0.369 | |
| 720 | 0.196 | 0.290 | 0.211 | 0.306 | 0.212 | 0.299 | 0.225 | 0.317 | 0.231 | 0.332 | 0.220 | 0.320 | 0.246 | 0.324 | 1.730 | 1.042 | 0.245 | 0.333 | 0.299 | 0.390 | |
| Avg | 0.155 | 0.255 | 0.171 | 0.270 | 0.168 | 0.259 | 0.178 | 0.270 | 0.194 | 0.301 | 0.193 | 0.295 | 0.205 | 0.290 | 0.244 | 0.334 | 0.212 | 0.300 | 0.268 | 0.365 | |
| Solar-Energy | 96 | 0.170 | 0.230 | 0.215 | 0.295 | 0.190 | 0.247 | 0.203 | 0.237 | 0.210 | 0.246 | 0.250 | 0.292 | 0.234 | 0.286 | 0.310 | 0.331 | 0.290 | 0.378 | 0.237 | 0.344 |
| 192 | 0.188 | 0.243 | 0.236 | 0.301 | 0.210 | 0.266 | 0.233 | 0.261 | 0.265 | 0.290 | 0.296 | 0.318 | 0.267 | 0.310 | 0.734 | 0.725 | 0.320 | 0.398 | 0.280 | 0.380 | |
| 336 | 0.202 | 0.251 | 0.252 | 0.307 | 0.217 | 0.266 | 0.248 | 0.273 | 0.294 | 0.318 | 0.319 | 0.330 | 0.290 | 0.315 | 0.750 | 0.735 | 0.353 | 0.415 | 0.304 | 0.389 | |
| 720 | 0.215 | 0.257 | 0.244 | 0.305 | 0.223 | 0.266 | 0.249 | 0.275 | 0.285 | 0.315 | 0.338 | 0.337 | 0.289 | 0.317 | 0.769 | 0.765 | 0.356 | 0.413 | 0.308 | 0.388 | |
| Avg | 0.194 | 0.245 | 0.237 | 0.302 | 0.210 | 0.261 | 0.233 | 0.262 | 0.263 | 0.292 | 0.301 | 0.319 | 0.270 | 0.307 | 0.641 | 0.639 | 0.330 | 0.401 | 0.282 | 0.375 | |
| Traffic | 96 | 0.426 | 0.249 | 0.428 | 0.271 | 0.458 | 0.296 | 0.395 | 0.268 | 0.608 | 0.349 | 0.593 | 0.321 | 0.462 | 0.290 | 0.522 | 0.290 | 0.650 | 0.396 | 0.788 | 0.499 |
| 192 | 0.446 | 0.262 | 0.448 | 0.282 | 0.457 | 0.294 | 0.417 | 0.276 | 0.634 | 0.371 | 0.617 | 0.336 | 0.466 | 0.290 | 0.530 | 0.293 | 0.598 | 0.370 | 0.789 | 0.505 | |
| 336 | 0.469 | 0.277 | 0.473 | 0.289 | 0.470 | 0.299 | 0.433 | 0.283 | 0.669 | 0.388 | 0.629 | 0.336 | 0.482 | 0.300 | 0.558 | 0.305 | 0.605 | 0.373 | 0.797 | 0.508 | |
| 720 | 0.564 | 0.335 | 0.516 | 0.307 | 0.502 | 0.314 | 0.467 | 0.302 | 0.729 | 0.420 | 0.640 | 0.350 | 0.514 | 0.320 | 0.589 | 0.328 | 0.645 | 0.394 | 0.841 | 0.523 | |
| Avg | 0.476 | 0.281 | 0.466 | 0.287 | 0.472 | 0.301 | 0.428 | 0.282 | 0.660 | 0.382 | 0.620 | 0.336 | 0.481 | 0.300 | 0.550 | 0.304 | 0.625 | 0.383 | 0.804 | 0.509 | |
| Weather | 96 | 0.158 | 0.199 | 0.157 | 0.205 | 0.158 | 0.203 | 0.174 | 0.214 | 0.163 | 0.212 | 0.172 | 0.220 | 0.177 | 0.210 | 0.158 | 0.230 | 0.196 | 0.255 | 0.221 | 0.306 |
| 192 | 0.207 | 0.251 | 0.204 | 0.247 | 0.207 | 0.247 | 0.221 | 0.254 | 0.211 | 0.254 | 0.219 | 0.261 | 0.225 | 0.250 | 0.206 | 0.277 | 0.237 | 0.296 | 0.261 | 0.340 | |
| 336 | 0.262 | 0.290 | 0.261 | 0.290 | 0.262 | 0.289 | 0.278 | 0.296 | 0.273 | 0.299 | 0.280 | 0.306 | 0.278 | 0.290 | 0.272 | 0.335 | 0.283 | 0.335 | 0.309 | 0.378 | |
| 720 | 0.347 | 0.343 | 0.340 | 0.341 | 0.344 | 0.344 | 0.358 | 0.349 | 0.351 | 0.348 | 0.365 | 0.359 | 0.354 | 0.340 | 0.398 | 0.418 | 0.345 | 0.381 | 0.377 | 0.427 | |
| Avg | 0.243 | 0.271 | 0.241 | 0.271 | 0.243 | 0.271 | 0.258 | 0.278 | 0.249 | 0.278 | 0.259 | 0.287 | 0.259 | 0.273 | 0.259 | 0.315 | 0.265 | 0.317 | 0.292 | 0.363 | |
| # 1st | 4 | 7 | 2 | 2 | 2 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| Models | SpeQNet | CycleNet(2024) [35] | iTransformer(2024) [10] | RLinear(2023) [10] | TiDE(2023) [10] | TimesNet(2023) [10] | PatchTST(2023) [10] | Crossformer(2023) [10] | DLinear(2023) [10] | SCINet(2022) [10] | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Metric | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | |
| PEMS03 | 12 | 0.064 | 0.165 | 0.066 | 0.172 | 0.126 | 0.236 | 0.178 | 0.305 | 0.078 | 0.187 | 0.085 | 0.192 | 0.099 | 0.216 | 0.090 | 0.203 | 0.122 | 0.243 | 0.066 | 0.172 |
| 24 | 0.078 | 0.182 | 0.089 | 0.201 | 0.093 | 0.201 | 0.246 | 0.334 | 0.257 | 0.371 | 0.118 | 0.223 | 0.142 | 0.259 | 0.121 | 0.240 | 0.201 | 0.317 | 0.085 | 0.198 | |
| 48 | 0.106 | 0.210 | 0.136 | 0.247 | 0.125 | 0.236 | 0.551 | 0.529 | 0.379 | 0.463 | 0.155 | 0.260 | 0.211 | 0.319 | 0.202 | 0.317 | 0.333 | 0.425 | 0.127 | 0.238 | |
| 96 | 0.131 | 0.235 | 0.182 | 0.282 | 0.164 | 0.275 | 1.057 | 0.787 | 0.490 | 0.539 | 0.269 | 0.370 | 0.228 | 0.317 | 0.262 | 0.367 | 0.457 | 0.515 | 0.178 | 0.287 | |
| Avg | 0.095 | 0.198 | 0.118 | 0.226 | 0.113 | 0.222 | 0.495 | 0.472 | 0.326 | 0.419 | 0.147 | 0.248 | 0.180 | 0.291 | 0.169 | 0.282 | 0.278 | 0.375 | 0.114 | 0.224 | |
| PEMS04 | 12 | 0.069 | 0.173 | 0.078 | 0.186 | 0.078 | 0.183 | 0.138 | 0.252 | 0.219 | 0.340 | 0.087 | 0.195 | 0.105 | 0.224 | 0.098 | 0.218 | 0.148 | 0.272 | 0.073 | 0.177 |
| 24 | 0.078 | 0.185 | 0.099 | 0.212 | 0.095 | 0.205 | 0.258 | 0.348 | 0.292 | 0.398 | 0.103 | 0.215 | 0.153 | 0.275 | 0.131 | 0.256 | 0.224 | 0.340 | 0.084 | 0.193 | |
| 48 | 0.097 | 0.205 | 0.133 | 0.248 | 0.120 | 0.233 | 0.572 | 0.544 | 0.409 | 0.478 | 0.136 | 0.250 | 0.229 | 0.339 | 0.205 | 0.326 | 0.355 | 0.437 | 0.099 | 0.211 | |
| 96 | 0.112 | 0.220 | 0.167 | 0.281 | 0.150 | 0.262 | 1.137 | 0.820 | 0.492 | 0.532 | 0.190 | 0.303 | 0.291 | 0.389 | 0.402 | 0.457 | 0.452 | 0.504 | 0.114 | 0.227 | |
| Avg | 0.089 | 0.196 | 0.119 | 0.232 | 0.111 | 0.221 | 0.526 | 0.491 | 0.353 | 0.437 | 0.129 | 0.241 | 0.195 | 0.307 | 0.209 | 0.314 | 0.295 | 0.388 | 0.093 | 0.202 | |
| PEMS07 | 12 | 0.053 | 0.145 | 0.062 | 0.162 | 0.067 | 0.165 | 0.118 | 0.235 | 0.173 | 0.304 | 0.082 | 0.181 | 0.095 | 0.207 | 0.094 | 0.200 | 0.115 | 0.242 | 0.068 | 0.171 |
| 24 | 0.062 | 0.154 | 0.086 | 0.192 | 0.088 | 0.190 | 0.242 | 0.341 | 0.271 | 0.383 | 0.101 | 0.204 | 0.150 | 0.262 | 0.139 | 0.247 | 0.210 | 0.329 | 0.119 | 0.225 | |
| 48 | 0.076 | 0.168 | 0.128 | 0.234 | 0.110 | 0.215 | 0.562 | 0.541 | 0.446 | 0.495 | 0.134 | 0.238 | 0.253 | 0.340 | 0.311 | 0.369 | 0.398 | 0.458 | 0.149 | 0.237 | |
| 96 | 0.100 | 0.191 | 0.176 | 0.268 | 0.139 | 0.245 | 1.096 | 0.795 | 0.628 | 0.577 | 0.181 | 0.279 | 0.346 | 0.404 | 0.396 | 0.442 | 0.594 | 0.553 | 0.141 | 0.234 | |
| Avg | 0.073 | 0.164 | 0.113 | 0.214 | 0.101 | 0.204 | 0.504 | 0.478 | 0.380 | 0.440 | 0.125 | 0.226 | 0.211 | 0.303 | 0.235 | 0.315 | 0.329 | 0.396 | 0.119 | 0.217 | |
| PEMS08 | 12 | 0.070 | 0.168 | 0.082 | 0.185 | 0.079 | 0.182 | 0.133 | 0.247 | 0.227 | 0.343 | 0.112 | 0.212 | 0.168 | 0.232 | 0.165 | 0.214 | 0.154 | 0.276 | 0.087 | 0.184 |
| 24 | 0.092 | 0.190 | 0.117 | 0.226 | 0.115 | 0.219 | 0.249 | 0.343 | 0.318 | 0.409 | 0.141 | 0.238 | 0.224 | 0.281 | 0.215 | 0.260 | 0.248 | 0.353 | 0.122 | 0.221 | |
| 48 | 0.141 | 0.230 | 0.169 | 0.268 | 0.186 | 0.235 | 0.569 | 0.544 | 0.497 | 0.510 | 0.198 | 0.283 | 0.321 | 0.354 | 0.315 | 0.355 | 0.440 | 0.470 | 0.189 | 0.270 | |
| 96 | 0.206 | 0.284 | 0.233 | 0.306 | 0.221 | 0.267 | 1.166 | 0.814 | 0.721 | 0.592 | 0.320 | 0.351 | 0.408 | 0.417 | 0.377 | 0.397 | 0.674 | 0.565 | 0.236 | 0.300 | |
| Avg | 0.127 | 0.218 | 0.150 | 0.246 | 0.150 | 0.226 | 0.529 | 0.487 | 0.441 | 0.464 | 0.193 | 0.271 | 0.280 | 0.321 | 0.268 | 0.307 | 0.379 | 0.416 | 0.159 | 0.244 | |
| # 1st | 4 | 4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| Models | SpeQNet | w/o Query | Attn-Graph | Corr-Graph | GCN | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Metric | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | |
| Weather | 96 | 0.158 | 0.199 | 0.165 | 0.205 | 0.167 | 0.211 | 0.169 | 0.213 | 0.213 | 0.261 |
| 192 | 0.207 | 0.251 | 0.210 | 0.248 | 0.211 | 0.250 | 0.212 | 0.253 | 0.258 | 0.294 | |
| 336 | 0.262 | 0.290 | 0.264 | 0.288 | 0.265 | 0.290 | 0.266 | 0.292 | 0.303 | 0.323 | |
| 720 | 0.347 | 0.343 | 0.346 | 0.341 | 0.347 | 0.342 | 0.348 | 0.343 | 0.379 | 0.366 | |
| Avg | 0.243 | 0.271 | 0.247 | 0.271 | 0.248 | 0.273 | 0.249 | 0.275 | 0.288 | 0.311 | |
| Solar | 96 | 0.170 | 0.230 | 0.193 | 0.243 | 0.187 | 0.236 | 0.202 | 0.259 | 0.212 | 0.285 |
| 192 | 0.188 | 0.243 | 0.209 | 0.256 | 0.208 | 0.250 | 0.224 | 0.271 | 0.233 | 0.298 | |
| 336 | 0.202 | 0.251 | 0.215 | 0.260 | 0.214 | 0.255 | 0.236 | 0.274 | 0.253 | 0.304 | |
| 720 | 0.215 | 0.257 | 0.222 | 0.261 | 0.222 | 0.256 | 0.244 | 0.275 | 0.256 | 0.298 | |
| Avg | 0.194 | 0.245 | 0.210 | 0.255 | 0.208 | 0.249 | 0.226 | 0.270 | 0.239 | 0.296 | |
| Electricity | 96 | 0.121 | 0.225 | 0.129 | 0.229 | 0.126 | 0.229 | 0.127 | 0.232 | 0.185 | 0.287 |
| 192 | 0.141 | 0.242 | 0.145 | 0.243 | 0.143 | 0.243 | 0.148 | 0.252 | 0.194 | 0.294 | |
| 336 | 0.160 | 0.260 | 0.162 | 0.259 | 0.162 | 0.261 | 0.176 | 0.278 | 0.212 | 0.309 | |
| 720 | 0.196 | 0.290 | 0.199 | 0.288 | 0.201 | 0.294 | 0.225 | 0.315 | 0.254 | 0.338 | |
| Avg | 0.155 | 0.255 | 0.159 | 0.255 | 0.158 | 0.257 | 0.169 | 0.269 | 0.211 | 0.307 | |
| PEMS07 | 12 | 0.053 | 0.145 | 0.075 | 0.154 | 0.070 | 0.173 | 0.061 | 0.157 | 0.290 | 0.382 |
| 24 | 0.062 | 0.154 | 0.084 | 0.165 | 0.081 | 0.185 | 0.070 | 0.168 | 0.297 | 0.387 | |
| 48 | 0.076 | 0.168 | 0.095 | 0.177 | 0.095 | 0.199 | 0.083 | 0.181 | 0.312 | 0.400 | |
| 96 | 0.100 | 0.191 | 0.107 | 0.188 | 0.114 | 0.214 | 0.097 | 0.193 | 0.322 | 0.404 | |
| Avg | 0.073 | 0.164 | 0.090 | 0.171 | 0.090 | 0.193 | 0.078 | 0.175 | 0.305 | 0.393 | |
| Dataset | Layer | Low Freq. | Mid Freq. | High Freq. | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Gain | Energy | Var | Gain | Energy | Var | Gain | Energy | Var | ||
| PEMS07 | First | 0.82 | 29.4 | 0.10 | 0.37 | 7.7 | 0.06 | 1.11 | 62.4 | 0.32 |
| Last | 1.06 | 32.9 | 0.07 | 0.14 | 2.8 | 0.09 | 1.29 | 64.0 | 0.59 | |
| Solar | First | 0.88 | 25.5 | 0.13 | −0.05 | 1.40 | 0.05 | 1.37 | 73.0 | 0.63 |
| Last | 0.91 | 34.5 | 0.02 | 0.62 | 15.6 | 0.03 | 1.07 | 49.2 | 0.05 | |
| Weather | First | 1.00 | 34.9 | 0.02 | 0.76 | 19.9 | 0.01 | 1.12 | 44.4 | 0.03 |
| Last | 1.05 | 38.0 | 0.04 | 0.64 | 13.9 | 0.03 | 1.17 | 47.3 | 0.06 | |
| Dataset | Traffic (862 Variates) | |||||
| Model | Params (M) | GFLOPs | Train (ms) | Infer (ms) | Memory (GB) | |
| SpeQNet | 11.85 | 364.91 | 168.86 | 1.50 | 4.92 | |
| iTransformer | 6.73 | 141.53 | 98.63 | 0.35 | 5.85 | |
| PatchTST | 1.51 | 82.45 | 169.96 | 0.30 | 4.93 | |
| Dataset | ETTm1 (7 variates) | |||||
| Model | Params (M) | GFLOPs | Train (ms) | Infer (ms) | Memory (GB) | |
| SpeQNet | 0.59 | 0.13 | 61.41 | 0.45 | 0.04 | |
| iTransformer | 0.30 | 0.07 | 12.95 | 0.09 | 0.16 | |
| PatchTST | 1.51 | 1.34 | 16.52 | 0.14 | 0.13 | |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Feng, Z.; Markov, K. SpeQNet: Query-Enhanced Spectral Graph Filtering for Spatiotemporal Forecasting. Appl. Sci. 2026, 16, 1176. https://doi.org/10.3390/app16031176
Feng Z, Markov K. SpeQNet: Query-Enhanced Spectral Graph Filtering for Spatiotemporal Forecasting. Applied Sciences. 2026; 16(3):1176. https://doi.org/10.3390/app16031176
Chicago/Turabian StyleFeng, Zongyao, and Konstantin Markov. 2026. "SpeQNet: Query-Enhanced Spectral Graph Filtering for Spatiotemporal Forecasting" Applied Sciences 16, no. 3: 1176. https://doi.org/10.3390/app16031176
APA StyleFeng, Z., & Markov, K. (2026). SpeQNet: Query-Enhanced Spectral Graph Filtering for Spatiotemporal Forecasting. Applied Sciences, 16(3), 1176. https://doi.org/10.3390/app16031176

