Abstract
Bayesian Filtering for plan and activity recognition is challenging for scenarios that contain many observation equivalent entities (i.e. entities that produce the same observations). This is due to the combinatorial explosion in the number of hypotheses that need to be tracked. However, this class of problems exhibits a certain symmetry that can be exploited for state space representation and inference. We analyze current state of the art methods and find that none of them completely fits the requirements arising in this problem class. We sketch a novel inference algorithm that provides a solution by incorporating concepts from Lifted Inference algorithms, Probabilistic Multiset Rewriting Systems, and Computational State Space Models. Two experiments confirm that this novel algorithm has the potential to perform efficient probabilistic inference on this problem class.
Introduction
Tracking multiple identical-looking entities—such as people in an office or robots in a warehouse—presents a significant challenge for traditional Bayesian filtering. When entities are indistinguishable to sensors, the system faces a "data association" problem. For instance, if two identical forklifts enter a room and one leaves, a standard filter must track every possible permutation of their identities to maintain mathematical certainty. As the number of entities and locations grows, the number of hypotheses to track increases exponentially, leading to a "combinatorial explosion."
Existing methods generally fall into two categories: Identity Management (IM), which is efficient but struggles with complex interactions, and State Space Models (e.g., CSSM), which handle complexity but fail under identity uncertainty. A comparison of these methods against the specific requirements of multi-entity tracking reveals that no single existing approach is sufficient.
Methods: Lifted Marginal Filtering (LiMa)
The proposed solution, Lifted Marginal Filtering (LiMa), leverages symmetry to compress the state space. It integrates three core concepts:
- Multiset Rewriting Systems (MRS): Models states as "bags" of entities rather than ordered lists, naturally handling identical objects.
- Computational State Space Models (CSSM): Defines dynamic rules for world changes without pre-calculating the entire state space.
- Lifted Inference (LI): Reasons about groups of indistinguishable entities collectively.
LiMa employs two primary operations to manage identity:
- Splitting: When an identifying sensor (e.g., a face scanner) triggers, the algorithm "splits" a specific individual out of a lifted group.
- Merging: When entities become indistinguishable again, their hypotheses are merged back into a compact, lifted representation.
This "lazy grounding" approach ensures that identities are only tracked individually when necessary, maintaining exact probabilistic inference while drastically reducing computational overhead.
Experimental Evaluation
The algorithm was tested on two simulated scenarios: a warehouse with 10 forklifts and an office with 3 people. These benchmarks were designed to push the limits of hypothesis tracking under identity uncertainty.
Key Results
In the Warehouse scenario, a standard "grounded" inference engine—which tracks every individual permutation—crashed after only two timesteps, exceeding 128 GB of RAM. In contrast, LiMa successfully tracked the entire sequence, peaking at only 630 hypotheses.
In the Office scenario, LiMa maintained a maximum of 16 hypotheses, compared to 46 for the grounded approach. These results demonstrate that exploiting symmetry through lifting allows for exact inference in scenarios that were previously computationally intractable.
Conclusion and Future Work
LiMa provides a robust framework for tracking multiple identical entities by avoiding redundant calculations through state-space compression. While highly efficient, extremely complex environments may still challenge exact inference. Future work will explore "approximate merging"—combining nearly identical states—and "automatic switching" to approximate inference when memory limits are approached. Additionally, the authors plan to extend the model to represent the number of entities (multiplicity) as a variable itself.
Summary updated