TrTr:一种基于Transformer的多功能预训练大规模交通模型,用于捕捉车辆群体中的轨迹多样性
TrTr: A Versatile Pre-Trained Large Traffic Model based on Transformer for Capturing Trajectory Diversity in Vehicle Population
AI总结:
本文提出TrTr,一种基于Transformer的预训练交通模型,通过定制数据结构和时空噪声预训练任务,有效捕捉车辆群体轨迹多样性,在空间分布、时间序列预测和稳定性测试中表现优异,并为下游任务提供基础。
摘要:
理解轨迹多样性是解决实际交通任务的一个基本方面。然而,捕捉轨迹的多样性面临挑战,尤其是传统机器学习和循环神经网络由于需要大规模参数而难以胜任。新兴的Transformer技术以其并行计算能力而闻名,能够利用具有数亿参数的模型,提供了一种有前景的解决方案。在本研究中,我们将Transformer架构应用于交通任务,旨在学习车辆群体内轨迹的多样性。我们分析了Transformer的注意力机制及其对交通任务目标的适应性,并随后设计了特定的预训练任务。为了实现这一目标,我们创建了一种针对注意力机制量身定制的数据结构,并引入了一组与时空需求相对应的噪声,在预训练过程中将这些噪声纳入结构化数据。所设计的预训练模型在捕捉车辆群体的空间分布方面表现出色,没有出现车辆重叠的情况,与真实值相比,RMSE为0.6059。在时间序列预测方面,大约95%的预测轨迹速度与真实速度高度一致,偏差在7.5144m/s以内。此外,在稳定性测试中,该模型表现出鲁棒性,能够连续预测比输入序列长十倍的时间序列,生成平滑的轨迹并展示多样化的驾驶行为。该预训练模型还为下游微调任务提供了良好的基础。我们模型的参数数量超过5000万。
英文摘要:
Understanding trajectory diversity is a fundamental aspect of addressing practical traffic tasks. However, capturing the diversity of trajectories presents challenges, particularly with traditional machine learning and recurrent neural networks due to the requirement of large-scale parameters. The emerging Transformer technology, renowned for its parallel computation capabilities enabling the utilization of models with hundreds of millions of parameters, offers a promising solution. In this study, we apply the Transformer architecture to traffic tasks, aiming to learn the diversity of trajectories within vehicle populations. We analyze the Transformer's attention mechanism and its adaptability to the goals of traffic tasks, and subsequently, design specific pre-training tasks. To achieve this, we create a data structure tailored to the attention mechanism and introduce a set of noises that correspond to spatio-temporal demands, which are incorporated into the structured data during the pre-training process. The designed pre-training model demonstrates excellent performance in capturing the spatial distribution of the vehicle population, with no instances of vehicle overlap and an RMSE of 0.6059 when compared to the ground truth values. In the context of time series prediction, approximately 95% of the predicted trajectories' speeds closely align with the true speeds, within a deviation of 7.5144m/s. Furthermore, in the stability test, the model exhibits robustness by continuously predicting a time series ten times longer than the input sequence, delivering smooth trajectories and showcasing diverse driving behaviors. The pre-trained model also provides a good basis for downstream fine-tuning tasks. The number of parameters of our model is over 50 million.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。