# Trajeform: Embedding Crowd Data

DevFeed: [Trajeform: Embedding Crowd Data](<https://devfeed.tech/articles/trajeform-embedding-crowd-data-108821.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.39563>)

Author: Marilena Lemonari, Panayiotis Charalambous, Yiorgos Chrysanthou

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [VAE](<https://devfeed.tech/topics/vae.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [autoencoder](<https://devfeed.tech/tags/autoencoder.md>), [behaviour](<https://devfeed.tech/tags/behaviour.md>), [capabilities](<https://devfeed.tech/tags/capabilities.md>), [capture](<https://devfeed.tech/tags/capture.md>), [compare](<https://devfeed.tech/tags/compare.md>), [complex](<https://devfeed.tech/tags/complex.md>), [continuous](<https://devfeed.tech/tags/continuous.md>), [cs-gr](<https://devfeed.tech/tags/cs-gr.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [cycling](<https://devfeed.tech/tags/cycling.md>), [data](<https://devfeed.tech/tags/data.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [distributions](<https://devfeed.tech/tags/distributions.md>), [diversity](<https://devfeed.tech/tags/diversity.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [environment](<https://devfeed.tech/tags/environment.md>), [focus](<https://devfeed.tech/tags/focus.md>), [framework](<https://devfeed.tech/tags/framework.md>)

## AI overview

Trajeform evaluates crowd simulators by comparing behavior-level embeddings of their trajectories with embeddings learned from real crowd data. It trains a reconstruction VAE on real trajectories, then uses its encoder to map synthetic trajectories into the same continuous space and compare distributions. The framework evaluates CCP, modCCP, and RVO against ground-truth datasets using latent-space analysis, distributional metrics, and trajectories sampled from the aggregated posterior. The authors report that the latent space captures meaningful dependencies in real trajectories; it can also help assess supplementary data, including principal simulator behaviors and controlled-environment trajectories such as cycling. The abstract presents Trajeform as an additional measure of synthetic-data believability and a way to inform future trajectory-model training.

## Source excerpt

arXiv:2610.39563v1 Announce Type: cross Abstract: Crowd simulation aims to generate agent behaviours that are rich, natural, and appropriate to their surrounding environment. Recent advances in Machine Learning have enabled such behavioural patterns to be learned directly from trajectory data, allowing simulation models to capture increasingly complex crowd dynamics. However, the capabilities of these systems remain strongly dependent on the type and diversity of the data used during training. When evaluating how well crowd simulators generalise to real-world datasets, most existing metrics focus primarily on trajectory-level differences rather than behaviour-level similarity. In this paper, we present Trajeform, a framework that trains a reconstruction VAE (Variational Autoencoder) on real trajectory data to learn a meaningful continuous embedding that preserves behavioural characteristics of real crowds. The trained encoder can then be applied to synthetic trajectories generated by simulators and used to compare the resulting embedding distributions. Additionally, the learned embedding can be used to analyse supplementary data, such as trajectories corresponding to a simulator's principal behaviours or captured data from controlled environments (e.g., cycling), providing insight into their ability to span the real behavioural embedding space. The framework compares data from three simulators (CCP, modCCP, and RVO) against ground-truth datasets and is evaluated quantitatively and qualitatively using latent-space analysis, distributional metrics, and trajectory generation through sampling from the aggregated posterior distribution. The results indicate that the learned latent space captures meaningful trajectory dependencies found in the real data, making the framework useful both as an additional measure of synthetic data believability and as a tool for informing the training of future trajectory models.