TrajEvo: Trajectory Prediction Heuristics Design via LLM-driven Evolution
Not on the map. Why?
Abstract (arXiv)
Trajectory prediction is a critical task in modeling human behavior, especially in safety-critical domains such as social robotics and autonomous vehicle navigation. Traditional heuristics based on handcrafted rules often lack accuracy and generalizability. Although deep learning approaches offer improved performance, they typically suffer from high computational cost, limited explainability, and, importantly, poor generalization to out-of-distribution (OOD) scenarios. In this paper, we introduce TrajEvo, a framework that leverages Large Language Models (LLMs) to automatically design trajectory prediction heuristics. TrajEvo employs an evolutionary algorithm to generate and refine prediction heuristics from past trajectory data. We propose two key innovations: Cross-Generation Elite Sampling to encourage population diversity, and a Statistics Feedback Loop that enables the LLM to analyze and improve alternative predictions. Our evaluations demonstrate that TrajEvo outperforms existing heuristic methods across multiple real-world datasets, and notably surpasses both heuristic and deep learning methods in generalizing to an unseen OOD real-world dataset. TrajEvo marks a promising step toward the automated design of fast, explainable, and generalizable trajectory prediction heuristics. We release our source code to facilitate future research at https://github.com/ai4co/trajevo.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 40 of its 80 references that are in the map. First posted on arXiv 7 Aug 2025.
Builds on
40 of 80 references.
References · 40
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 867
- 2018Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networkscited by 690
- 2020Social-STGCNN: A Social Spatio-Temporal Graph Convolutional Neural Network for Human Trajectory Predictioncited by 325
- 2024ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolutioncited by 276
- 2019Human Motion Trajectory Prediction: A Surveycited by 232
- 2022Stochastic Trajectory Prediction via Motion Indeterminacy Diffusioncited by 185
- 2025Monte Carlo Tree Search for Comprehensive Exploration in LLM-Based Automatic Heuristic Designcited by 109
- 2021Core Challenges of Social Robot Navigation: A Surveycited by 106
- 2024Evolutionary Computation in the Era of Large Language Model: Survey and Roadmapcited by 90
- 2019What the Constant Velocity Model Can Teach Us About Pedestrian Motion Predictioncited by 80
- 2019Conditional Generative Neural System for Probabilistic Trajectory Predictioncited by 76
- 2024HSEvo: Elevating Automatic Heuristic Design with Diversity-Driven Harmony Search and Genetic Algorithm Using LLMscited by 73
28 more
- 2021MG-GAN: A Multi-Generator Model Preventing Out-of-Distribution Samples in Pedestrian Trajectory Predictioncited by 61
- 2023EigenTrajectory: Low-Rank Descriptors for Multi-Modal Trajectory Forecastingcited by 41
- 2021Spectral Temporal Graph Neural Network for Trajectory Predictioncited by 36
- 2021Spatio-Temporal Graph Dual-Attention Network for Multi-Agent Prediction and Trackingcited by 35
- 2020Shared Cross-Modal Trajectory Prediction for Autonomous Drivingcited by 31
- 2024Can Language Beat Numerical Regression? Language-Based Multimodal Trajectory Predictioncited by 31
- 2025MoFlow: One-Step Flow Matching for Human Trajectory Forecasting via Implicit Maximum Likelihood Estimation based Distillationcited by 31
- 2021Review of Pedestrian Trajectory Prediction Methods: Comparing Deep Learning and Knowledge-based Approachescited by 30
- 2024CMP: Cooperative Motion Prediction with Multi-Agent Communicationcited by 25
- 2022Interpretable Self-Aware Neural Networks for Robust Trajectory Predictioncited by 22
- 2020OpenTraj: Assessing Prediction Complexity in Human Trajectories Datasetscited by 21
- 2024Multi-Agent Dynamic Relational Reasoning for Social Robot Navigationcited by 20
- 2021Grouptron: Dynamic Multi-Scale Graph Convolutional Networks for Group-Aware Dense Crowd Trajectory Forecastingcited by 19
- 2023Pedestrian Crossing Action Recognition and Trajectory Prediction with 3D Human Keypointscited by 12
- 2022EvolveHypergraph: Group-Aware Dynamic Relational Reasoning for Trajectory Predictioncited by 10
- 2024MATRIX: Multi-Agent Trajectory Generation with Diverse Contextscited by 9
- 2024SoNIC: Safe Social Navigation with Adaptive Conformal Inference and Constrained Reinforcement Learningcited by 9
- 2024Disentangled Neural Relational Inference for Interpretable Motion Predictioncited by 7
- 2024Adaptive Prediction Ensemble: Improving Out-of-Distribution Generalization of Motion Forecastingcited by 7
- 2024Self-supervised Multi-future Occupancy Forecasting for Autonomous Drivingcited by 7
- 2021Semantics-STGCNN: A Semantics-guided Spatial-Temporal Graph Convolutional Network for Multi-class Trajectory Predictioncited by 6
- 2023Predicting Future Spatiotemporal Occupancy Grids with Semantics for Autonomous Drivingcited by 5
- 2024Uncovering the human motion pattern: Pattern Memory-based Diffusion Model for Trajectory Predictioncited by 4
- 2025GUIDE-CoT: Goal-driven and User-Informed Dynamic Estimation for Pedestrian Trajectory using Chain-of-Thoughtcited by 4
- 2018Runtime Analysis of Probabilistic Crowding and Restricted Tournament Selection for Bimodal Optimisationcited by 3
- 2024Not All Errors Are Made Equal: A Regret Metric for Detecting System-level Trajectory Prediction Failurescited by 3
- 2018Efficient Reciprocal Collision Avoidance between Heterogeneous Agents Using CTMATcited by 2
- 2024PWTO: A Heuristic Approach for Trajectory Optimization in Complex Terrainscited by 2
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026Drive My Way: Preference Alignment of Vision-Language-Action Model for Personalized Drivingcited by 5
- 2026Digital Twin AI: Opportunities and Challenges from Large Language Models to World Modelscited by 4
- 2026EvoNav: Evolutionary Reward Function Design for Robot Navigation with Large Language Modelscited by 2
- 2026Automated Kernel Discovery Towards Understanding High-dimensional Bayesian Optimizationcited by 1
- 2026LLM-Driven Algorithm Design for Quantum Circuit Synthesis based on Binary Decision Diagramscited by 0
- 2026LLM-Driven Algorithm Design for Quantum Circuit Synthesis based on Binary Decision Diagrams4 Sep 2026
- 2026Automated Kernel Discovery Towards Understanding High-dimensional Bayesian Optimization18 May 2026
- 2026EvoNav: Evolutionary Reward Function Design for Robot Navigation with Large Language Models12 May 2026
- 2026Drive My Way: Preference Alignment of Vision-Language-Action Model for Personalized Driving26 Mar 2026
- 2026Digital Twin AI: Opportunities and Challenges from Large Language Models to World Models4 Jan 2026