Abstract
Trajectory prediction in the Internet of Vehicles (IoV) is crucial for enhancing road safety and traffic efficiency; however, existing methods often fail to address the challenges of colored noise in GPS data and long-term dependency modeling. To overcome these limitations, this paper proposes AttSCNs, a probabilistic hybrid framework integrating stochastic configuration networks (SCNs) with an attention-based encoder to model trajectories while quantifying prediction uncertainty. The model leverages SCNs' stochastic neurons for adaptive noise filtering, attention mechanisms for dependency learning, and Bayesian hyperparameter optimization to infer robust configurations as a posterior distribution. Experimental results on real-world GPS datasets (10,000+ urban/highway trajectories) demonstrate that AttSCNs significantly outperform conventional approaches, reducing RMSE by 36.51% compared to traditional SCNs and lowering MAE by 97.8% compared to Kalman filter baselines. Moreover, compared to the LSTM model, AttSCNs achieve a 52.5% reduction in RMSE and a 68.5% reduction in MAE, with real-time inference speed. These advancements position AttSCNs as a robust, noise-resistant solution for IoV applications, offering superior performance in autonomous driving and smart city systems.