A two stage framework integrating base deep models with multiscale residual attention fusion for complex temporal dynamics
This work introduces a two-stage deep learning architecture designed to enhance the modeling of complex temporal dynamics in real-world time-series data. In the first stage, a Hybrid Transformer–CNN model, pretrained to extract robust temporal representations, is employed as the base learner. This component captures global trends, long-range dependencies, and general temporal regularities. To further enrich these representations, a novel multi-feature meta-learning layer is integrated to dynamically reweight extracted features across heterogeneous temporal conditions. In the second stage, we propose a novel Multi-Scale Residual Attention Fusion (MSRAF) network that operates on the residual errors produced by the base model. MSRAF is specifically designed to learn nonlinear residual structures, capture multi-scale temporal dependencies, and model local irregularities that conventional sequence models often fail to represent. By jointly leveraging deep temporal encoding and multi-scale residual refinement, the framework achieves consistent improvements over standard Transformer and CNN-based baselines, particularly in settings characterized by non-stationarity, noise, and irregular fluctuations. The results demonstrate that this two-stage learning strategy effectively decomposes forecasting complexity: the base model addresses general temporal patterns, while MSRAF focuses on fine-grained error correction. This separation of responsibilities significantly enhances accuracy and stability across diverse forecasting horizons and data regimes.
Authors
- Toufik Bakir (ORCID: https://orcid.org/0000-0002-3591-8458)
- Nabil Benaya (ORCID: https://orcid.org/0000-0002-8897-0137)
- A. El Allati (ORCID: https://orcid.org/0000-0002-2465-8515)
- Abdellah Elzaar (ORCID: https://orcid.org/0000-0002-3113-0495)
Institutions
- Université de Bourgogne (FR)
- Abdelmalek Essaâdi University (MA)
Publication Details
- Journal
- Discover Artificial Intelligence
- Published
- 2026-05-17
- DOI
- https://doi.org/10.1007/s44163-026-01316-x
- Primary Topic
- Traffic Prediction and Management Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00