Abstract
Time series data specific to traffic flow often exhibit periodically repeating morphological patterns, which are commonly learned features of forecasting methods based on deep learning (DL). However, DL models require a large number of parameters for modeling such patterns, resulting in complex black-box approaches with high resource requirements and reduced transparency. In this paper, we introduce VPNgbNet, a model-based neural network architecture for time series forecasting that incorporates domain-specific morphological patterns as a priori information. This is achieved by integrating the nonlinear grey Bernoulli (Ngb) model into a variable projection (VP) network, learning periodic trends from data as inverted U-shaped trajectories. This approach results in a compact architecture, effectively reducing the complexity required to model such patterns to the four parameters of the Ngb system, along with a shallow neural network modeling additional noise. As a result, the model stays transparent by performing simultaneous pattern identification and is robust on time series exhibiting inverted U-shaped and asymmetric double-peaked patterns and reasonable on flat-topped morphologies. The effectiveness of this method is demonstrated through comprehensive numerical experiments and a case study on traffic flow prediction based on two real-world datasets. The results show that the proposed approach has comparable performance to state-of-the-art DL-based models including N-BEATS, temporal convolutional networks and transformer-based architectures, while being significantly more compact and resource-efficient. Moreover, the necessity of the architectural components is demonstrated through an ablation study on the evaluated datasets.