TrajEvo: Trajectory Prediction Heuristics Design via LLM-driven Evolution

Authors

  • Zhikai Zhao Korea Advanced Institute of Science and Technology
  • Chuanbo Hua Korea Advanced Institute of Science and Technology
  • Federico Berto Korea Advanced Institute of Science and Technology Radical Numerics
  • Kanghoon Lee Korea Advanced Institute of Science and Technology
  • Zihan Ma Korea Advanced Institute of Science and Technology
  • Jiachen Li University of California, Riverside
  • Jinkyoo Park Korea Advanced Institute of Science and Technology OMELET

DOI:

https://doi.org/10.1609/aaai.v40i21.38868

Abstract

Trajectory prediction is a crucial task in modeling human behavior, especially in safety-critical fields such as social robotics and autonomous vehicle navigation. Traditional heuristics based on handcrafted rules often lack accuracy, while recently proposed deep learning approaches suffer from computational cost, slow inference speed, lack of explainability, and generalization issues that limit their practical adoption in such environments. 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 introduce a Cross-Generation Elite Sampling to promote population diversity and a Statistics Feedback Loop allowing the LLM to analyze alternative predictions. Our evaluations show TrajEvo outperforms previous heuristic methods on various real-world datasets, and remarkably outperforms both heuristics and deep learning methods when generalizing to an unseen real-world dataset. TrajEvo represents a first step toward automated design of fast, explainable, and generalizable trajectory prediction heuristics. We make our source code publicly available to foster future research.

Downloads

Published

2026-03-14

How to Cite

Zhao, Z., Hua, C., Berto, F., Lee, K., Ma, Z., Li, J., & Park, J. (2026). TrajEvo: Trajectory Prediction Heuristics Design via LLM-driven Evolution. Proceedings of the AAAI Conference on Artificial Intelligence, 40(21), 18072–18080. https://doi.org/10.1609/aaai.v40i21.38868

Issue

Section

AAAI Technical Track on Humans and AI