Renbin Pan, Feng Xiao, Hegui Zhang, Minyu Shen, Dapeng Zhang
Accurately estimating data in areas without sensors is crucial for understanding system dynamics, such as traffic state estimation and environmental monitoring. However, this task faces challenges due to sparse sensor deployment, insufficient mobile sensor coverage, and unreliable sensor data. To address these issues, this study frames the problem as a spatiotemporal kriging task and proposes a novel graph transformer model, Kriformer. This model accurately estimates data at locations lacking installed sensors by mining complex spatial and temporal correlations, even with limited sensor resources. Specifically, the Kriformer leverages transformer architecture to expand the model's perceptual range and solve edge information aggregation challenges, enabling the collection of spatiotemporal information from relevant locations. To capture the information embedded in the graph structure more accurately, we carefully constructed a positional encoding module that deeply embeds the spatiotemporal features of nodes. Moreover, to further enhance the estimation accuracy of the model, we designed a sophisticated spatiotemporal attention mechanism. In particular, the multi-head spatial interaction attention module introduced in this mechanism can keenly capture the subtle spatial relationships between observed and unobserved locations. During the training phase, a random masking strategy forces the model to learn and optimize with partial information loss. In this process, the spatiotemporal embedding mechanism and multi-head attention mechanism work in synergy, guiding the model to comprehensively capture the spatiotemporal correlations among different locations. Experimental results show that Kriformer excels in representation learning, particularly for unobserved locations, with extensive validation on two real-world traffic speed datasets demonstrating its effectiveness in spatiotemporal kriging tasks. This research provides a powerful tool for traffic managers to estimate traffic states and alleviate congestion, offering valuable insights for data estimation and prediction in other fields.