TL;DR
This paper introduces a method to automatically discover and learn multiple distinct behaviors from a messy, unlabeled dataset of trajectories. By combining a Dirichlet Process (to determine the number of behaviors) with a sparse Bayesian Lasso (to find the simplest control laws), the researchers created a system that can simultaneously cluster movements and learn the underlying "controllers" that generated them.
The Challenge of Unlabeled Trajectories
In fields like robotics and surveillance, researchers often have mountains of movement data (trajectories) but no labels explaining what the agent was actually trying to do. This presents two main difficulties:
- Perceptual Aliasing: In the raw measurement space, two different behaviors might look identical. For example, a robot moving to pick up a red ball versus a blue ball might follow the exact same path if the objects happen to be in the same direction.
- Unknown Complexity: We usually don't know how many distinct behaviors are hidden in the data, nor do we know which features (e.g., distance to walls, speed, object proximity) are actually relevant to the agent's decision-making process.
The authors argue that while raw trajectories are messy, the underlying "motor primitives" (the control logic) are often sparse and structured. If we can find a latent space where these controllers live, clustering the behaviors becomes much easier.
Methods: The Sparse DPMM
To solve this, the authors propose a Sparse Dirichlet Process Mixture Model (DPMM).
Here is the breakdown of the model's core components:
- Motion as Potential Fields: Instead of just looking at raw $(x, y)$ coordinates, the model treats motion as a particle moving along a potential field $V(x)$. The velocity is the gradient of this field, represented as a linear combination of features: $V(x) = \phi(x)^T \beta$.
- The Dirichlet Process (DP): This is a "non-parametric" Bayesian tool that allows the model to dynamically decide how many clusters (behaviors) exist based on the data, rather than forcing a fixed number upfront (as K-Means does).
- The Bayesian Lasso (Laplacian Prior): To ensure the learned controllers are simple and interpretable, a Laplacian prior is applied to the parameters ($\beta$). This forces the model to perform "feature selection," effectively ignoring irrelevant sensors or environmental factors for a specific behavior.
- Efficient Sampling: Combining these techniques usually makes the math "non-conjugate" (difficult to solve). However, the authors derived a closed-form analytical solution for the marginal likelihood, allowing them to build an efficient Gibbs sampler to find the best model.
Datasets and Evaluation
The researchers evaluated their approach on two distinct types of data:
- Simulated Robot Arena: A mobile robot was tasked with five different behaviors involving collecting or avoiding two classes of objects. This provided a controlled environment where the "ground truth" controllers were known, allowing for precise accuracy measurements.
- Edinburgh Informatics Forum Pedestrian Database (EIFPD): A real-world dataset containing 474 trajectories of people walking through a public space. This tested the model's ability to handle noisy, human-generated data where "behaviors" are loosely defined by entry and exit points.
Key Insights and Results
- Simultaneity is Key: The model doesn't cluster first and then learn; it does both at once. Knowing the controller helps cluster the data, and knowing the cluster helps learn the controller.
- Sparsity as a Clustering Cue: By enforcing sparsity via the Lasso, the model finds the most "compact" explanation for a movement. If a trajectory can be explained by a very simple controller, it’s highly likely to belong to a specific, meaningful behavior class.
- Latent Space Superiority: Clustering in the space of "control parameters" ($\beta$) proved far more robust than clustering in the space of raw coordinates, especially when trajectories were short or context-dependent.
- Superior Performance: In the robot simulation, the DPMM correctly identified the five behaviors even with short trajectories (50 time steps), whereas standard Expectation-Maximization (EM) and naive clustering methods struggled. On the real-world pedestrian data, the model achieved a lower Root Mean Square Error (RMSE) than even the "ground truth" manual labels, suggesting the learned potential functions captured the actual flow of human movement better than human-assigned categories.
- Feature Discovery: When researchers flooded the model with 78 correlated "distractor" features, the Laplacian prior successfully pruned them down to a sparse set without losing accuracy.
Limitations and Future Work
While powerful, the model has a few constraints. Currently, it assumes the "potential field" (the goal) doesn't change over time within a single trajectory, meaning it cannot handle "sequential" behaviors where an agent switches tasks mid-stream. Furthermore, the math relies on a linear parametric model; while non-linear features can be used, their underlying combination must remain linear for the efficient sampler to function.
Future directions include extending this approach to Auto-Regressive models to better handle time-series dependencies, and exploring ways to segment a single, long trajectory into a sequence of different learned behaviors.
Summary updated