[Mobile Sensing] Beyond Proximity: Detecting Leadership and Following Patterns in Indoor Crowds

Time-lag method for detecting following and leadership behavior of pedestrians from mobile sensing data

2013-03-01
Mikkel Baun Kjærgaard, Henrik Blunck, Markus Wüstenberg, Kaj Grønbæk, Martin Wirz, Daniel Roggen, Gerhard Tröster
Summary
Problem
Method
Results
Takeaways
Abstract

The paper proposes a novel sensing framework for detecting "following" and "leadership" behaviors in pedestrians using mobile sensors. It introduces a time-lagged similarity analysis method primarily utilizing WiFi signal strength and location fingerprinting to identify spatial-temporal dependencies between individuals.

TL;DR

Researchers have developed a robust method to identify who's leading a group and who’s just following by analyzing the "time-lag" in WiFi signal patterns between smartphones. By shifting away from simple geometric proximity toward temporal similarity analysis (using Dynamic Time Warping), the system achieves a 93% accuracy rate even in complex, multi-story buildings where traditional GPS and vision-based systems fail.

Context: The Indoor Social Sensing Gap

In the world of "Reality Mining," understanding how humans interact is as important as knowing where they are. While we can easily detect if two people are near each other using Bluetooth, determining the hierarchy—who is leading the way—has remained a challenge. Prior work relied heavily on 2D geometric "wedges" (if B is in a cone behind A, B is following). However, in a multi-story mall or an office with frequent turns and floor changes, these 2D models break down.

The Core Insight: Movement as a Time-Lagged Echo

The authors' fundamental intuition is that if Person B is following Person A, B’s movement trajectory (and the resulting WiFi signal fluctuations) will look like an "echo" of A’s, delayed by a few seconds.

Instead of looking at where people are at time t, the method looks at the similarity of the entire signal sequence over a window (e.g., 10 seconds). By checking various time offsets (lags), the system finds the specific delay that maximizes similarity. If the best match happens at a negative lag, the leadership is established.

Methodology: From Signals to Graphs

The process follows a sophisticated pipeline:

  1. Activity Detection: Acceleration data filters out stationary users.
  2. Similarity Analysis: The system compares WiFi Signal Strength (RSSI) or Fingerprinted Locations between pairs using Dynamic Time Warping (DTW).
  3. Graph Construction: Individual "following" pairs are treated as directed edges in a social graph.
  4. Leadership Analysis: A weighted scoring algorithm (similar to PageRank) analyzes the graph to find the "ultimate" leader, even when sensor noise creates impossible cycles (e.g., A follows B follows C follows A).

Following Detection Architecture Figure 1: The full pipeline from measurement to leadership identification.

Why Dynamic Time Warping (DTW)?

Traditional Euclidean distance is sensitive to "noise"—if one person walks slightly faster or takes a wider turn, the raw data points won't align. DTW is the hero here because it allows for non-linear alignment; it "warps" the time axis to account for variations in walking pace, making it far superior for detecting natural human following behavior.

Results: Crushing the Baseline

The researchers tested this in two environments: a scripted office setting and a "Follower-Evader" smartphone game.

  • Accuracy: The DTW method reached an error rate of just 7%.
  • Comparison: It outperformed the previous state-of-the-art "Geometric" approach by 11-20%, particularly in leadership detection.
  • Signal vs. Location: Interestingly, the system performed slightly better using raw WiFi signal strength than processed location data, proving that high-level patterns can be extracted even without a perfect indoor positioning system.

Experimental Performance Comparison Figure 2: Leadership detection accuracy across different methods. Note the significant jump when using the proposed LDP (Leadership Detection Pattern) logic.

Critical Perspective & Future Work

Takeaway: This work proves that temporal correlation is a more "signal-rich" feature than spatial proximity for social sensing. It opens doors for marketing (tracking which displays trigger group movements) and emergency services (monitoring police/firefighter team cohesion).

Limitations: The window size (5-15s) introduces a slight latency in detection. Furthermore, while the system is robust to noise, "co-leading" (walking side-by-side) remains a subtle edge case that requires fine-tuned thresholds to distinguish from a very close "following" relationship.

Future Outlook: The next step for this tech is multi-modal fusion. Imagine combining this WiFi time-lag method with audio "vibe" analysis to not just see who is leading, but to understand the social context—is this a boss and an employee, or a parent and a child?

Find Similar Papers

Try Our Examples

  • Search for recent papers that utilize Dynamic Time Warping (DTW) or Transformer-based temporal models for pedestrian social interaction recognition from smartphone IMU data.
  • Which study first introduced the "wedge-based" geometric leader-follower model for trajectory mining, and how have subsequent works addressed its limitations in non-Euclidean indoor spaces?
  • Investigate how graph-based leadership detection methods from mobile sensing have been applied to emergency evacuation modeling or crowd density management in public transit hubs.
Contents
[Mobile Sensing] Beyond Proximity: Detecting Leadership and Following Patterns in Indoor Crowds
1. TL;DR
2. Context: The Indoor Social Sensing Gap
3. The Core Insight: Movement as a Time-Lagged Echo
4. Methodology: From Signals to Graphs
5. Why Dynamic Time Warping (DTW)?
6. Results: Crushing the Baseline
7. Critical Perspective & Future Work