mlsanityData to 14 Oct 2026

Towards Predicting Any Human Trajectory In Context

arXiv 2506.00871 ↗First posted 1 Jun 2025cs.CV cs.AI cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

Predicting accurate future trajectories of pedestrians is essential for autonomous systems but remains a challenging task due to the need for adaptability in different environments and domains. A common approach involves collecting scenario-specific data and performing fine-tuning via backpropagation. However, the need to fine-tune for each new scenario is often impractical for deployment on edge devices. To address this challenge, we introduce TrajICL, an In-Context Learning (ICL) framework for pedestrian trajectory prediction that enables adaptation without fine-tuning on the scenario-specific data at inference time without requiring weight updates. We propose a spatio-temporal similarity-based example selection (STES) method that selects relevant examples from previously observed trajectories within the same scene by identifying similar motion patterns at corresponding locations. To further refine this selection, we introduce prediction-guided example selection (PG-ES), which selects examples based on both the past trajectory and the predicted future trajectory, rather than relying solely on the past trajectory. This approach allows the model to account for long-term dynamics when selecting examples. Finally, instead of relying on small real-world datasets with limited scenario diversity, we train our model on a large-scale synthetic dataset to enhance its prediction ability by leveraging in-context examples. Extensive experiments demonstrate that TrajICL achieves remarkable adaptation across both in-domain and cross-domain scenarios, outperforming even fine-tuned approaches across multiple public benchmarks. Project Page: https://fujiry0.github.io/TrajICL-project-page/.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 61 of its 82 references that are in the map. First posted on arXiv 1 Jun 2025.

Builds on

61 of 82 references.

References · 61

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
  4. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
  5. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
  6. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
  7. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
  8. 2022Token Merging: Your ViT But Fastercited by 1,021
  9. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
  10. 2017Simple Online and Realtime Tracking with a Deep Association Metriccited by 910
  11. 2018Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networkscited by 690
  12. 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 688
38 more
  1. 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
  2. 2016MOT16: A Benchmark for Multi-Object Trackingcited by 532
  3. 2022Images Speak in Images: A Generalist Painter for In-Context Visual Learningcited by 318
  4. 2018Multimodal Trajectory Predictions for Autonomous Driving using Deep Convolutional Networkscited by 289
  5. 2022Visual Prompting via Image Inpaintingcited by 250
  6. 2020It Is Not the Journey but the Destination: Endpoint Conditioned Trajectory Predictioncited by 236
  7. 2019Social-BiGAT: Multimodal Trajectory Forecasting using Bicycle-GAN and Graph Attention Networkscited by 229
  8. 2023Sequential Modeling Enables Scalable Learning for Large Vision Modelscited by 212
  9. 2023UniControl: A Unified Diffusion Model for Controllable Visual Generation In the Wildcited by 200
  10. 2022Stochastic Trajectory Prediction via Motion Indeterminacy Diffusioncited by 185
  11. 2023MMICL: Empowering Vision-language Model with Multi-Modal In-Context Learningcited by 172
  12. 2020From Goals, Waypoints & Paths To Long Term Human Trajectory Forecastingcited by 167
  13. 2023What Makes Good Examples for Visual In-Context Learning?cited by 150
  14. 2019The inD Dataset: A Drone Dataset of Naturalistic Road User Trajectories at German Intersectionscited by 137
  15. 2023Leapfrog Diffusion Model for Stochastic Trajectory Predictioncited by 132
  16. 2023EqMotion: Equivariant Multi-agent Motion Prediction with Invariant Interaction Reasoningcited by 97
  17. 2022Remember Intentions: Retrospective-Memory-based Trajectory Predictioncited by 86
  18. 2018Learning to Detect and Track Visible and Occluded Body Joints in a Virtual Worldcited by 82
  19. 2023In-Context Learning with Iterative Demonstration Selectioncited by 74
  20. 2023Forecast-MAE: Self-supervised Pre-training for Motion Forecasting with Masked Autoencoderscited by 73
  21. 2020MANTRA: Memory Augmented Networks for Multiple Trajectory Predictioncited by 69
  22. 2021MOTSynth: How Can Synthetic Data Help Pedestrian Detection and Tracking?cited by 69
  23. 2022SocialVAE: Human Trajectory Prediction using Timewise Latentscited by 67
  24. 2023Multi-modal In-Context Learning Makes an Ego-evolving Scene Text Recognizercited by 53
  25. 2022Adaptive Trajectory Prediction via Transferable GNNcited by 51
  26. 2023OpenICL: An Open-Source Framework for In-context Learningcited by 51
  27. 2023Uncovering the Missing Pattern: Unified Framework Towards Trajectory Imputation and Predictioncited by 47
  28. 2018Generating Multi-Agent Trajectories using Programmatic Weak Supervisioncited by 46
  29. 2021Three Steps to Multimodal Trajectory Prediction: Modality Clustering, Classification and Synthesiscited by 46
  30. 2023Explore In-Context Learning for 3D Point Cloud Understandingcited by 40
  31. 2022Self-Prompting Large Language Models for Zero-Shot Open-Domain QAcited by 39
  32. 2023Social-Transmotion: Promptable Human Trajectory Predictioncited by 33
  33. 2023Instruct Me More! Random Prompting for Visual In-Context Learningcited by 30
  34. 2023Skeleton-in-Context: Unified Skeleton Sequence Modeling with In-Context Learningcited by 27
  35. 2022Expanding the Deployment Envelope of Behavior Prediction via Adaptive Meta-Learningcited by 23
  36. 2024Multi-Transmotion: Pre-trained Model for Human Motion Predictioncited by 21
  37. 2021Online Multi-Agent Forecasting with Interpretable Collaborative Graph Neural Networkcited by 20
  38. 2024T4P: Test-Time Training of Trajectory Prediction via Masked Autoencoder and Actor-specific Token Memorycited by 20

50 most cited of 61 All 61 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.