TrajEvo: Trajectory Prediction Heuristics Design via LLM-driven Evolution

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zhao, Zhikai, Hua, Chuanbo, Berto, Federico, Lee, Kanghoon, Ma, Zihan, Li, Jiachen, Park, Jinkyoo
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866908481421836288
author Zhao, Zhikai
Hua, Chuanbo
Berto, Federico
Lee, Kanghoon
Ma, Zihan
Li, Jiachen
Park, Jinkyoo
author_facet Zhao, Zhikai
Hua, Chuanbo
Berto, Federico
Lee, Kanghoon
Ma, Zihan
Li, Jiachen
Park, Jinkyoo
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2508_05616
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle TrajEvo: Trajectory Prediction Heuristics Design via LLM-driven Evolution
Zhao, Zhikai
Hua, Chuanbo
Berto, Federico
Lee, Kanghoon
Ma, Zihan
Li, Jiachen
Park, Jinkyoo
Machine Learning
Artificial Intelligence
Neural and Evolutionary Computing
Robotics
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.
title TrajEvo: Trajectory Prediction Heuristics Design via LLM-driven Evolution
topic Machine Learning
Artificial Intelligence
Neural and Evolutionary Computing
Robotics
url https://arxiv.org/abs/2508.05616