Can Language Beat Numerical Regression? Language-Based Multimodal Trajectory Prediction
Inhwan Bae, Junoh Lee, Hae-Gon Jeon
Abstract
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 timeseries 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. Extensive experiments show that our LMTraj can successfully understand social relationships and accurately extrapolate the multimodal futures on the public pedestrian trajectory prediction benchmark. Code is publicly available at https: //github.com/inhwanbae/LMTrajectory .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
12 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- AgentFormer: Agent-Aware Transformers for Socio-Temporal Multi-Agent Forecasting cites STGAT: Modeling Spatial-Temporal Interactions for Human Trajectory Prediction
- W2W: Language-Model-Based Trajectory Prediction with Reinforcement Learning cites AgentFormer: Agent-Aware Transformers for Socio-Temporal Multi-Agent Forecasting
- CogView: Mastering Text-to-Image Generation via Transformers cites Learning Transferable Visual Models From Natural Language Supervision
- NATRA: Noise-Agnostic Framework for Trajectory Prediction with Noisy Observations cites AgentFormer: Agent-Aware Transformers for Socio-Temporal Multi-Agent Forecasting
- NATRA: Noise-Agnostic Framework for Trajectory Prediction with Noisy Observations cites STGAT: Modeling Spatial-Temporal Interactions for Human Trajectory Prediction
- Resonance: Learning to Predict Social-Aware Pedestrian Trajectories as Co-Vibrations cites AgentFormer: Agent-Aware Transformers for Socio-Temporal Multi-Agent Forecasting
- Resonance: Learning to Predict Social-Aware Pedestrian Trajectories as Co-Vibrations cites STGAT: Modeling Spatial-Temporal Interactions for Human Trajectory Prediction
- TrajEvo: Trajectory Prediction Heuristics Design via LLM-driven Evolution cites STGAT: Modeling Spatial-Temporal Interactions for Human Trajectory Prediction
Cited by top-tier papers12
- NATRA: Noise-Agnostic Framework for Trajectory Prediction with Noisy ObservationsRongqing Li, Changsheng Li, Ruilin Lv, Yuhang Li et al.ICCV 2025 · 3 citations
- Generative Active Learning for Long-Tail Trajectory Prediction via Controllable Diffusion ModelDaehee Park, Monu Surana, Pranav Desai, Ashish Mehta et al.ICCV 2025 · 2 citations
- W2W: Language-Model-Based Trajectory Prediction with Reinforcement LearningZirui Xu, Biao Yang, Rongrong Ni, Zhongkai Zhou et al.CVPR 2026 · 2 citations
- TrajEvo: Trajectory Prediction Heuristics Design via LLM-driven EvolutionZhikai Zhao, Chuanbo Hua, Federico Berto, Kanghoon Lee et al.AAAI 2026 · 2 citations
- Resonance: Learning to Predict Social-Aware Pedestrian Trajectories as Co-VibrationsConghao Wong, Ziqian Zou, Beihao XiaICCV 2025 · 1 citation
Builds on65
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language ModelsJunnan Li, Dongxu Li, Silvio Savarese, Steven C. H. HoiICML 2023 · 7,873 citations
- CogView: Mastering Text-to-Image Generation via TransformersMing Ding, Zhuoyi Yang, Wenyi Hong, Wendi Zheng et al.NeurIPS 2021 · 1,026 citations
- AgentFormer: Agent-Aware Transformers for Socio-Temporal Multi-Agent ForecastingYe Yuan, Xinshuo Weng, Yanglan Ou, Kris KitaniICCV 2021 · 658 citations
- STGAT: Modeling Spatial-Temporal Interactions for Human Trajectory PredictionYingfan Huang, Huikun Bi, Zhaoxin Li, Tianlu Mao et al.ICCV 2019 · 615 citations
Related papers
- Traj-MLLM: Can Multimodal Large Language Models Reform Trajectory Data Mining?Shuo Liu, Di Yao, Yan Lin, Gao Cong et al.KDD 2026 · 2 citations
- AutoTraces: Autoregressive Trajectory Forecasting via Multimodal Large Language ModelsTeng Wang, Yanting Lu, Ruize WangCVPR 2026
- MotionLM: Multi-Agent Motion Forecasting as Language ModelingAri Seff, Brian Cera, Dian Chen, Mason Ng et al.ICCV 2023 · 186 citations
- CoMaPOI: A Collaborative Multi-Agent Framework for Next POI Prediction Bridging the Gap Between Trajectory and LanguageLin Zhong, Lingzhi Wang, Xu Yang, Qing LiaoSIGIR 2025 · 6 citations
- Text-to-TrajVis: Enabling Trajectory Data Visualizations from Natural Language QuestionsTian Bai, Huiyan Ying, Kailong Suo, Victor Junqiu Wei et al.ACL Findings 2026
