Skip to main content
QUICK REVIEW

[Paper Review] DeepTrend: A Deep Hierarchical Neural Network for Traffic Flow Prediction

Xingyuan Dai, Rui Fu|arXiv (Cornell University)|Jul 11, 2017
Traffic Prediction and Management TechniquesEngineering11 references46 citations
TL;DR

DeepTrend proposes a deep hierarchical neural network that explicitly models time-variant traffic flow trends by separating them from residuals via a two-layer architecture: an extraction layer for trend learning and an LSTM-based prediction layer. It outperforms standard LSTM and detrending-based models, achieving a 5-minute prediction MSE of 984.47 and MAE of 21.21, demonstrating superior performance in capturing temporal patterns in traffic flow.

ABSTRACT

In this paper, we consider the temporal pattern in traffic flow time series, and implement a deep learning model for traffic flow prediction. Detrending based methods decompose original flow series into trend and residual series, in which trend describes the fixed temporal pattern in traffic flow and residual series is used for prediction. Inspired by the detrending method, we propose DeepTrend, a deep hierarchical neural network used for traffic flow prediction which considers and extracts the time-variant trend. DeepTrend has two stacked layers: extraction layer and prediction layer. Extraction layer, a fully connected layer, is used to extract the time-variant trend in traffic flow by feeding the original flow series concatenated with corresponding simple average trend series. Prediction layer, an LSTM layer, is used to make flow prediction by feeding the obtained trend from the output of extraction layer and calculated residual series. To make the model more effective, DeepTrend needs first pre-trained layer-by-layer and then fine-tuned in the entire network. Experiments show that DeepTrend can noticeably boost the prediction performance compared with some traditional prediction models and LSTM with detrending based methods.

Motivation & Objective

  • To address the limitation of standard LSTM in capturing intrinsic temporal patterns in traffic flow time series.
  • To improve prediction accuracy by explicitly modeling and learning time-variant trends in traffic flow data.
  • To design a deep hierarchical architecture that separates trend extraction from flow prediction for enhanced performance.
  • To validate that pre-training and fine-tuning improve model generalization in traffic flow forecasting.
  • To demonstrate that integrating trend modeling leads to better performance than using raw data or basic detrending methods.

Proposed method

  • The model uses a two-layer architecture: a fully connected extraction layer to learn time-variant trends from concatenated original flow and simple average trend series.
  • The prediction layer is a 128-unit LSTM network that takes the extracted trend and residual series as input to predict future traffic flow.
  • The network is trained in two stages: first, the extraction layer is pre-trained layer-by-layer using autoencoder-like objectives, followed by end-to-end fine-tuning of the full network.
  • Residual series are computed as the difference between original flow and the extracted trend, and are fed into the prediction layer alongside the trend output.
  • The model uses ReLU activation in both layers and Adam optimization with learning rates of 0.001 (pre-training), 0.005 (pre-training), and 0.00002 (fine-tuning).
  • The architecture is implemented using Keras with TensorFlow backend, and compared against ARIMA, MVLR, SVR, RF, and standard LSTM models.

Experimental results

Research questions

  • RQ1Can a deep neural network like LSTM effectively learn the temporal patterns in raw traffic flow time series without explicit trend modeling?
  • RQ2Does integrating a dedicated trend extraction module improve prediction performance compared to standard LSTM on raw data?
  • RQ3How does a hierarchical deep learning architecture that separates trend learning from flow prediction compare to detrending-based baselines?
  • RQ4To what extent does pre-training and fine-tuning improve the performance of a deep traffic flow prediction model?
  • RQ5Can modeling time-variant trends lead to significant improvements in MSE and MAE metrics for short-term traffic flow forecasting?

Key findings

  • Standard LSTM performs comparably to traditional models like SVR when trained on raw traffic flow data, indicating it fails to capture dominant temporal patterns without prior decomposition.
  • Detrending-based models significantly outperform models trained on raw data, confirming the importance of trend separation in traffic flow prediction.
  • DeepTrend achieves a 5-minute prediction MSE of 984.47 and MAE of 21.21, which are the lowest among all evaluated models.
  • The cumulative distribution function (CDF) analysis shows DeepTrend outperforms all other models in the majority of the 50 test stations for both MSE and MAE.
  • The model’s two-stage training (pre-training followed by fine-tuning) is essential for effective feature learning and improved generalization.
  • The integration of time-variant trend learning via a dedicated extraction layer leads to measurable gains over standard LSTM and detrending-based approaches.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.