Probabilistic activity recognition in navigation

Octavi Font, Guillem Francès, Anders Jonsson, Phil J. Bartie, William A. MackanessWPNC 2014

Abstract

In this paper we present a novel probabilistic approach to activity recognition. Our approach is to estimate posterior probabilities of different activities using Bayes' rule. The approach can handle any type of activities as long as it is possible to estimate the conditional probabilities of potential observations, and easily scales to large numbers of activities. We test our approach empirically in an environment where observations are GPS signals of users moving around in a city.

Introduction

Activity recognition—the task of inferring what a user is doing or intends to do—is a fundamental challenge in cognitive inference. Because intent is internal and unobservable, systems must rely on noisy sensor data, such as GPS trajectories, to make educated guesses. Existing approaches often rely on complex, data-heavy models like Conditional Random Fields or specific data-mining patterns that do not always scale well or adapt to different environments. This research addresses the need for a flexible, probabilistic model that can handle a massive number of potential goals (e.g., thousands of different shops in a city) without requiring specialized sensors beyond basic location tracking.

Methodology

The proposed Bayesian approach estimates the posterior probability $P(A|O)$—the probability of activity $A$ given a sequence of observations $O$. The framework incorporates several key components:

  • Markov Decision Process (MDP): The pedestrian's journey is modeled as a sequence of state-action pairs at junctions. The likelihood of an observation is calculated as the product of the probabilities of each choice made along the path.
  • Likelihood Estimation: To determine $P(O|A)$, the system compares the user's actual path to the optimal path toward a specific Point of Interest (POI).
  • Dynamic Filtering ($\Phi$): A filtering mechanism weighs the posterior to account for short-term context (like being physically near a shop) without letting that proximity permanently bias the long-term probability if the user simply walks past it.
  • Familiarity Heuristic: An "unfamiliarity factor" ($U$) is calculated based on path efficiency. If a user seems lost, the system reduces the weight of their individual directional choices.
  • Visibility and Duration: The model integrates "viewshed" data, arguing that choices made when a target is visible are more informative. It also uses Gaussian distributions to model expected stay durations at different POI types.

Experimental Setup

The system was evaluated using city models of Edinburgh (~3,300 POIs) and Stockholm (~1,000 POIs). Testing involved both simulated trajectories and real-world data, such as a GPS trajectory of a user searching for a postbox in Stockholm.

Figure 3: Real-world GPS trajectory of a user searching for a postbox in Stockholm.

Results and Discussion

The system demonstrated high scalability and accuracy in identifying user intent. In the Stockholm experiment, the system successfully identified "postbox" as the top-ranked activity once the user turned toward the target, even though other POIs like restaurants were initially more likely due to proximity.

Figure 5: Ranking of potential activities over time during the Stockholm experiment, showing the eventual dominance of the 'postbox' activity.

Key insights from the evaluation include:

  • Decoupling Memory from Context: Separating the core posterior from the proximity filter prevents the system from getting "stuck" on nearby locations.
  • Informational Value of Sight: In Edinburgh simulations, enabling visibility and familiarity modules significantly improved accuracy. Visible POIs accounted for 11% of the total posterior probability in the top 20 rankings with these modules, compared to 0% without them.
  • Intent vs. Abstract Activity: The model effectively distinguishes between specific targets and abstract needs (e.g., "find a bar"), allowing it to remain useful even without a predefined destination.

Limitations and Future Work

While effective, the current model relies on manually crafted Gaussian distributions for activity durations rather than learned data. Future iterations could improve accuracy by incorporating temporal context (e.g., time of day), user velocity (rushing vs. ambling), and user-generated content like social media check-ins to better estimate prior probabilities for specific POIs.

Summary updated

Abstract

In this paper we present a novel probabilistic approach to activity recognition. Our approach is to estimate posterior probabilities of different activities using Bayes' rule. The approach can handle any type of activities as long as it is possible to estimate the conditional probabilities of potential observations, and easily scales to large numbers of activities. We test our approach empirically in an environment where observations are GPS signals of users moving around in a city.
BibTeX
@inproceedings{font2014probabilistic,
  author = {Octavi Font and Guillem Francès and Anders Jonsson and Phil J. Bartie and William A. Mackaness},
  title = {{Probabilistic activity recognition in navigation}},
  booktitle = {WPNC},
  year = {2014},
  url = {https://openreview.net/forum?id=BG69BbPEJ6f},
}
Figure