Abstract—Recent advancements in language models have demonstrated its capacity of context understanding and generative representations. Leveraged by these developments, we propose a novel multimodal trajectory predictor based on a vision-language model, named VLMTraj, which fully takes advantage of the prior knowledge of multimodal large language models and the humanlike reasoning across diverse modality information. The key idea of our model is to reframe the trajectory prediction task into a visual question answering format, using historical information as context and instructing the language model to make predictions in a conversational manner. Specifically, we transform all the inputs into a natural language style: historical trajectories are converted into text prompts, and scene images are described through image captioning. Additionally, visual features from input images are also transformed into tokens via a modality encoder and connector. The transformed data is then formatted to be used in a language model. Next, in order to guide the language model in understanding and reasoning high-level knowledge, such as scene context and social relationships between pedestrians, we introduce an auxiliary multi- task question and answers. For training, we first optimize a numerical tokenizer with the prompt data to effectively separate integer and decimal parts, allowing us to capture correlations between consecutive numbers in the language model. We then train our language model using all the visual question answering prompts. During model inference, we implement both deterministic and stochastic prediction methods through beam-search-based most- likely prediction and temperature-based multimodal generation. Our VLMTrajvalidates that the language-based model can be a powerful pedestrian trajectory predictor, and outperforms existing numerical-based predictor methods. Extensive experiments show that VLMTrajcan successfully understand social relationships and accurately extrapolate the multimodal futures on public pedestrian trajectory prediction benchmarks.
摘要——语言模型的最新进展展示了其在理解语境和生成表示方面的能力。借助这些发展,我们提出了一种基于视觉语言模型的新型多模态轨迹预测器,名为 VLMTraj,它充分利用了大型多模态语言模型的先验知识以及不同模态信息之间的类人推理能力。我们模型的关键思想是将轨迹预测任务重新表述为视觉问答格式,以历史信息作为背景,并指示语言模型以对话的方式进行预测。具体而言,我们将所有输入转换为自然语言风格:历史轨迹转换为文本提示,场景图像通过图像描述来描述。此外,输入图像的视觉特征也通过模态编码器和连接器转换为标记。转换后的数据随后被格式化以供语言模型使用。接下来,为了引导语言模型理解并推理诸如场景背景以及行人之间的社会关系等高级知识,我们引入了一个辅助的多任务问题及答案。在训练过程中,我们首先使用提示数据对数值分词器进行优化,以有效地区分整数和小数部分,从而使我们能够捕捉语言模型中连续数字之间的相关性。然后,我们使用所有的视觉问答提示来训练我们的语言模型。在模型推理过程中,我们通过基于束搜索的最可能预测和基于温度的多模态生成这两种方法来实现确定性和随机性的预测方式。我们的 VLMTraj 证明了基于语言的模型可以成为强大的行人轨迹预测器,并且其性能优于现有的基于数值的预测方法。大量的实验表明,VLMTraj 能够成功理解社会关系,并在公共行人轨迹预测基准上准确地推断多模态的未来。
正在加载评论...
链上评论区