mlsanityData to 7 Oct 2026

Encoding Agent Trajectories as Representations with Sequence Transformers

arXiv 2410.09204 ↗First posted 11 Oct 2024cs.LG cs.AI cs.CLcited by 0

On the map: LLM agents and tool use → Multimodal and embodied agents

Abstract (arXiv)

Spatiotemporal data faces many analogous challenges to natural language text including the ordering of locations (words) in a sequence, long range dependencies between locations, and locations having multiple meanings. In this work, we propose a novel model for representing high dimensional spatiotemporal trajectories as sequences of discrete locations and encoding them with a Transformer-based neural network architecture. Similar to language models, our Sequence Transformer for Agent Representation Encodings (STARE) model can learn representations and structure in trajectory data through both supervisory tasks (e.g., classification), and self-supervisory tasks (e.g., masked modelling). We present experimental results on various synthetic and real trajectory datasets and show that our proposed model can learn meaningful encodings that are useful for many downstream tasks including discriminating between labels and indicating similarity between locations. Using these encodings, we also learn relationships between agents and locations present in spatiotemporal data.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Multimodal and embodied agents, one of 16 directions in LLM agents and tool use. Builds on 17 of its 38 references that are in the map. First posted on arXiv 11 Oct 2024.

Builds on

17 of 38 references.

References · 17

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  4. 2021Graph Neural Network for Traffic Forecasting: A Surveycited by 260
  5. 2020Transformer Networks for Trajectory Forecastingcited by 180
  6. 2016OSMnx: New Methods for Acquiring, Constructing, Analyzing, and Visualizing Complex Street Networkscited by 109
  7. 2020A Survey on Deep Learning for Human Mobilitycited by 87
  8. 2022Leveraging Language Foundation Models for Human Mobility Forecastingcited by 50
  9. 2021MobTCast: Leveraging Auxiliary Trajectory Forecasting for Human Mobility Predictioncited by 48
  10. 2022SpaBERT: A Pretrained Language Model from Geographic Data for Geo-Entity Representationcited by 23
  11. 2022RNTrajRec: Road Network Enhanced Trajectory Recovery with Spatial-Temporal Transformercited by 21
  12. 2015Artificial Neural Networks Applied to Taxi Destination Predictioncited by 18
5 more
  1. 2022How do you go where? Improving next location prediction by learning travel mode information using transformerscited by 12
  2. 2023Revisiting Mobility Modeling with Graph: A Graph Transformer Model for Next Point-of-Interest Recommendationcited by 11
  3. 2021Predicting Vehicles Trajectories in Urban Scenarios with Transformer Networks and Augmented Informationcited by 9
  4. 2023Cross-attention Spatio-temporal Context Transformer for Semantic Segmentation of Historical Mapscited by 8
  5. 2015PlanetSense: A Real-time Streaming and Spatio-temporal Analytics Platform for Gathering Geo-spatial Intelligence from Open Source Datacited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Linguistic Trajectory Encoding for Efficient Long-Horizon Spatial Memory in Embodied Agents
  2. 2022Reshaping Robot Trajectories Using Natural Language Commands: A Study of Multi-Modal Data Alignment Using Transformers
  3. 2021Scene Transformer: A unified architecture for predicting multiple agent trajectories
  4. 2025Trajectory Prediction Meets Large Language Models: A Survey
  5. 2024AgentTrek: Agent Trajectory Synthesis via Guiding Replay with Web Tutorials
  6. 2024AgentMove: A Large Language Model based Agentic Framework for Zero-shot Next Location Prediction
  7. 2026Spatio-Temporal Grounding of Large Language Models from Perception Streams ↗
  8. 2026AutoTraces: Autoregressive Trajectory Forecasting via Multimodal Large Language Models