Application of data twinning based on deep time series model in smart city traffic flow prediction
摘要
This paper introduces an intelligent traffic flow prediction system that combines data twinning and deep learning, aiming to improve the prediction accuracy and model adaptability by integrating grey prediction model (GM(1,1)), long-short-term memory network (LSTM) and particle swarm optimization (PSO). The system construction starts from physical layer data acquisition, deals with missing data through smoothing and interpolation, and applies the GM(1,1) model to construct a digital twin layer for preliminary prediction. The information fusion mechanism combines real-time data and forecast data to optimize the model inputs, and the PSO algorithm is used to optimize the model parameters. The LSTM model is used as a deep time-series model, and combined with the output of the data twin prediction to make a comprehensive prediction, and at the same time, feature engineering is utilized to enhance the model performance. The system implements dynamic feedback adjustment to optimize the model in real time according to the prediction error. Empirical analysis shows that the LSTM model with integrated data twin (LSTM + DT) outperforms the traditional model in prediction accuracy, stability, and generalization ability, especially in peak hours, holidays, and emergency response, and provides a reliable solution for intelligent traffic management despite the long training time.