Abstract
Learning accurate, data-driven predictive models for multiple interacting agents following unknown dynamics is crucial in many real-world physical and social systems. In many scenarios, dynamics prediction must be performed under incomplete observations, where only a subset of agents are observable from a larger topological system. When some states remain hidden, learning a closed-form model is generally not possible. We propose STEMFold, a spatiotemporal attention-based generative model, to learn a stochastic manifold that predicts the underlying unmeasured dynamics of multi-agent systems from visible observations. Our method uses a spatiotemporal graph with time anchors to map visible agent data to a stochastic manifold without prior information about the interaction graph topology. STEMFold outperforms existing networks in predicting complex multi-agent interactions, even with many unobserved agents.
Introduction: The Challenge of Hidden Agents
In fields ranging from swarm robotics to social network analysis, predicting the trajectories of interacting agents is a fundamental task. Most state-of-the-art models assume full observability, requiring data for every agent in the system. However, real-world scenarios often involve sensors failing, agents moving behind obstacles, or limited tracking budgets.
When agents are "hidden," they still influence visible ones through underlying physical or social forces. This creates a "latent" influence that standard models struggle to capture. STEMFold addresses the "Agent-Unobservable" problem: predicting the future of a system when only a fraction of the agents are visible and the total number of agents or their interaction topology is unknown.
Methodology: The STEMFold Framework
STEMFold (Stochastic Temporal Manifold) is built upon three main architectural pillars designed to handle irregular sampling and unobservable agents:
- Dynamic Spatiotemporal Graph with Temporal Anchors: Instead of static snapshots, STEMFold constructs a graph where nodes represent agent states at specific times. Temporal anchors encode the chronological position of each observation, allowing the model to process irregular sequences.
- Stochastic Manifold via Hierarchical Attention: Since multiple hidden configurations can produce the same visible behavior, the system is inherently uncertain. STEMFold uses graph-attention to learn a distribution of possible latent states (a manifold) rather than a fixed point, trained via an Evidence Lower Bound (ELBO) loss.
- Neural ODE (Ordinary Differential Equations): After estimating the initial latent state, a Neural ODE evolves that state forward in continuous time. This enables smooth trajectory prediction over any horizon, regardless of the training data's sampling frequency.
Datasets and Evaluation
The model was evaluated on both synthetic and real-world datasets:
- Simulated Physics: Particle systems with springs or electromagnetic charges, testing up to 83.33% unobservability.
- CMU Motion Capture (Mocap): Human walking sequences where individual body joints act as agents.
- Basketball Dataset: Professional player trajectories, featuring both hidden agents (50% hidden) and temporal sparsity (missing frames).
Results and Key Insights
STEMFold consistently outperformed baselines like Joint RNNs and Dynamic Neural Relational Inference (D-NRI). In spring simulations with 83% hidden agents, STEMFold achieved a Mean Squared Error (MSE) of 0.97, significantly lower than the best baseline's 2.31.
Key insights from the study include:
- Temporal Information Gain: Mathematical proofs demonstrate that a multiset of temporal observations contains more Fisher Information than individual snapshots, revealing more about hidden agents.
- Robustness to "Ghost" Influences: In experiments with 75% hidden agents, the model successfully predicted the paths of agents connected only to hidden entities, proving it can infer the influence of unobserved agents rather than just smoothing visible data.
Conclusion
STEMFold represents a significant advancement in modeling partially observable systems. While it currently does not explicitly estimate the number of hidden agents, it effectively models their collective influence. Future work will focus on scaling the model to systems with thousands of agents and transitioning from trajectory prediction to active control in the presence of hidden adversaries or obstacles.
Summary updated