TL;DR
This paper introduces a novel, theoretically grounded algorithm to learn individual Hidden Markov Model (HMM) parameters when only population-level aggregate counts are available. By combining the Expectation-Maximization (EM) framework with Sinkhorn belief propagation, the method provides robust convergence guarantees and successfully scales to real-world tracking problems like urban population flows.
What Problem Does This Paper Address?
Standard HMM learning algorithms (such as the Baum-Welch algorithm) rely on tracking individual trajectories over time. However, in many real-world scenarios—such as tracking disease spread, bird migrations, or urban mobility patterns—individual data is inaccessible due to privacy concerns, high collection costs, or sensor limitations.
Instead, data is often collected as "aggregate observations": population-level histograms or counts at each time step. Learning the underlying individual transition and emission behaviors from this highly compressed, noisy macro data is a notoriously difficult inverse problem. Existing methods often lack convergence guarantees or fail to scale efficiently.
Methods
The authors propose an Approximate EM algorithm tailored for collective graphical models:
- E-step (Inference): Instead of exact inference (which is computationally intractable for large populations), the algorithm uses the Collective Forward-Backward (CFB) algorithm, a specialized variant of Sinkhorn belief propagation. This treats the inference step as a convex free energy minimization problem over a local polytope, ensuring stable and fast linear convergence.
- M-step (Parameter Update): The authors derive elegant, closed-form updates for the initial state distribution, transition probabilities, and emission parameters.
- Extensions: The framework naturally handles both discrete observations and continuous observations (modeled via Gaussian emission densities). Crucially, when the population size is exactly one ($M=1$), the algorithm gracefully reduces to the classical Baum-Welch algorithm.
Datasets
- Synthetic Datasets: The authors generated discrete and continuous (Gaussian) HMM trajectories with varying hidden state dimensions ($d = 3$ to $25$) and population sizes ($M = 1$ to $5000$) to rigorously test scalability and convergence.
- Real-World Tokyo Population Flow: This dataset consists of anonymous geotagged tweets (SNS-based People Flow Data from Nightley, Inc.) collected across six days in 2013. The city was discretized into a $14 \times 16$ grid ($d = 224$ states), and aggregate counts were formed every 30 minutes with artificial noise injected to simulate sensor inaccuracies.
Key Insights and Ideas
- Noise at the Individual Level: Unlike previous methods that add noise directly to the aggregate population counts ($y_t$), this framework models observation noise at the individual level before aggregation. This subtle shift allows the model to perfectly align with standard HMM theory when $M=1$.
- The Power of Sinkhorn: Utilizing Sinkhorn belief propagation transforms a messy, intractable combinatorial inference problem into a well-behaved convex optimization problem. This provides the mathematical bedrock for the overall EM convergence guarantee, a property lacking in prior message-passing approaches like Non-Linear Belief Propagation (NLBP).
- Information Loss vs. Population Size: As expected, larger aggregate group sizes ($M$) lead to more information loss about individuals, resulting in a slightly higher final error ($\Delta NLL$) and slower convergence. However, the algorithm remains remarkably stable even at large population sizes like $M=5000$.
Key Results
- Faster and More Accurate: In comparative experiments against state-of-the-art methods (NLBP, Bethe-RDA, Prox), the proposed CFB-based EM algorithm converged significantly faster in wall-clock time and achieved lower negative log-likelihood ($\Delta NLL$) gaps relative to the ground truth.
- Real-World Validation: When applied to the Tokyo mobility dataset ($N = 49,538$ trajectories aggregated into groups of $M = 20$), the algorithm successfully reconstructed the underlying spatio-temporal population dynamics across different times of day (e.g., morning rush hour vs. late night), matching the ground-truth movement patterns closely.
Limitations and Future Work
- Time-Homogeneity: The current formulation assumes that transition and observation probabilities are constant over time. While the authors bypassed this in the experiments by using short time windows (e.g., 1.5 hours for Tokyo flow), it restricts the model's capacity for long-term dynamic modeling.
- Future Directions: The authors explicitly note plans to extend this framework to time-varying (non-homogeneous) HMMs to better capture complex, evolving real-world phenomena over extended periods.
Summary updated