AINEROMay 7, 2025

TrajEvo: Designing Trajectory Prediction Heuristics via LLM-driven Evolution

arXiv:2505.04480v19 citationsh-index: 8Has Code
Originality Incremental advance
AI Analysis

This addresses the need for fast, explainable, and generalizable trajectory prediction in applications like social robotics and autonomous vehicles, representing an incremental advance by combining existing techniques in a novel way.

The paper tackles the problem of trajectory prediction by introducing TrajEvo, a framework that uses LLMs and evolutionary algorithms to automatically design heuristics, which outperforms previous heuristic methods on ETH-UCY datasets and generalizes better to unseen SDD data.

Trajectory prediction is a crucial task in modeling human behavior, especially in fields 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, lack of explainability, and generalization issues that limit their practical adoption. 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 the ETH-UCY datasets, and remarkably outperforms both heuristics and deep learning methods when generalizing to the unseen SDD 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 at https://github.com/ai4co/trajevo.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes