语言能否超越数值回归?基于语言的多模态轨迹预测
Can Language Beat Numerical Regression? Language-Based Multimodal Trajectory Prediction
AI总结:
本文提出LMTraj,将轨迹预测转化为问答问题,通过数值分词器和多任务问答引导语言模型理解场景与社交关系,实现确定性和随机性推理,优于传统数值预测方法。
摘要:
语言模型在上下文理解和生成性能方面展现了令人印象深刻的能力。受近期语言基础模型成功的启发,本文提出了LMTraj(基于语言的多模态轨迹预测器),将轨迹预测任务重新转化为一种问答问题。传统的数值回归模型将轨迹坐标序列视为连续信号,与此不同,我们将其视为类似于文本提示的离散信号。具体而言,我们首先将轨迹坐标的输入空间转换为自然语言空间。在此,行人的整个时间序列轨迹被转换为文本提示,场景图像通过图像描述被转化为文本信息。转换后的数值和图像数据随后被封装到问答模板中,供语言模型使用。接下来,为了引导语言模型理解和推理诸如场景上下文和行人之间的社交关系等高级知识,我们引入了辅助多任务问答。然后,我们使用提示数据训练了一个数值分词器。我们鼓励该分词器很好地分离整数和小数部分,并利用它在语言模型中捕获连续数字之间的相关性。最后,我们使用数值分词器和所有问答提示训练语言模型。在此,我们提出了基于束搜索的最大似然预测和基于温度的多模态预测,以实现确定性和随机性推理。应用我们的LMTraj,我们表明基于语言的模型可以成为强大的行人轨迹预测器,并优于现有的基于数值的预测方法。代码公开于https://github.com/inhwanbae/LMTrajectory。
英文摘要:
Language models have demonstrated impressive ability in context understanding and generative performance. Inspired by the recent success of language foundation models, in this paper, we propose LMTraj (Language-based Multimodal Trajectory predictor), which recasts the trajectory prediction task into a sort of question-answering problem. Departing from traditional numerical regression models, which treat the trajectory coordinate sequence as continuous signals, we consider them as discrete signals like text prompts. Specially, we first transform an input space for the trajectory coordinate into the natural language space. Here, the entire time-series trajectories of pedestrians are converted into a text prompt, and scene images are described as text information through image captioning. The transformed numerical and image data are then wrapped into the question-answering template for use in a language model. Next, 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 answering. We then train a numerical tokenizer with the prompt data. We encourage the tokenizer to separate the integer and decimal parts well, and leverage it to capture correlations between the consecutive numbers in the language model. Lastly, we train the language model using the numerical tokenizer and all of the question-answer prompts. Here, we propose a beam-search-based most-likely prediction and a temperature-based multimodal prediction to implement both deterministic and stochastic inferences. Applying our LMTraj, we show that the language-based model can be a powerful pedestrian trajectory predictor, and outperforms existing numerical-based predictor methods. Code is publicly available at https://github.com/inhwanbae/LMTrajectory .
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。