ELSA: Evaluating Localization of Social Activities in Urban Streets using Open-Vocabulary Detection

Maryam Hosseini, Marco Cipriano, Daniel Hodczak, Sedigheh Eslami, Liu Liu, Andres Sevtsuk, Gerard de Melo · Submission to NeurIPS 2024 Track Datasets and Benchmarks · Rejected

TL;DR

Current Open-Vocabulary Detection (OVD) models struggle with multi-label contextual scenarios, often generating overconfident predictions based on isolated words like "person" while ignoring complex interactions. To tackle this, the authors introduce ELSA, a benchmark dataset capturing multi-person social activities in street-level imagery, alongside a token-aware confidence re-ranking method (N-LSE) and dynamic box aggregation (CDBA) that significantly improve detection accuracy and semantic stability.

What Problem Does This Paper Address?

Observing how humans interact in urban spaces has traditionally relied either on expensive field surveys or continuous video surveillance. While still street-level photos (like Google Street View) are scalable and cost-effective, recognizing human actions from a single snapshot is notoriously difficult because models must infer interactions without temporal motion cues.

Open-Vocabulary Detectors (such as Grounding DINO) are theoretically well-suited for this task because they accept free-form text prompts. However, they exhibit critical flaws in multi-label scenarios:

  1. Semantic Instability: Minor rephrasings of the prompt cause large fluctuations in detection confidence.
  2. Confidence Inflation: Models conventionally rank candidate bounding boxes using Max-Logit—the single highest token score (frequently triggered by standard objects like "person")—ignoring whether the action or interaction tokens (like "talking" or "sitting") are actually grounded.
  3. Flawed Non-Maximum Suppression (NMS): Existing suppression methods discard close predictions that might reflect valid multi-label attributes.

Methods

To evaluate and address these challenges, the paper introduces three key techniques:

  • Normalized Log-Sum-Exp (N-LSE) Re-Ranking: Instead of relying on the maximum token logit, N-LSE pools logits over all tokens in the text prompt: $$\text{N-LSE}(z) = \log\left(\frac{1}{T}\sum_{t=1}^T e^{z_t}\right) = \log\left(\sum_{t=1}^T e^{z_t}\right) - \log(T)$$ This penalizes detections that only match a single word (e.g., "person") while failing to match the accompanying activity or state description.

  • Confidence-Based Dynamic Box Aggregation (CDBA): Replaces standard class-agnostic NMS. It analyzes overlapping boxes predicted across multiple prompts, retaining predictions within a tight confidence delta ($< 0.20$ of the maximum score) and testing prompt coherence and ground-truth IoU ($\ge 0.85$) rather than blindly suppressing them as false positives.

  • Semantic Stability Evaluation ($S$): Measures the standard deviation of detection confidence scores across groups of semantically synonymous sentences to quantify a model's robustness to prompt variations.

Datasets

The authors introduce ELSA (Evaluating Localization of Social Activities):

  • Source & Size: 924 in-the-wild street-level images from New York City (sourced via Google Street View and Microsoft Bing Side-view) containing over 4,300 manually verified bounding boxes.
  • Label Hierarchy: Employs non-disjoint, multi-label annotations categorized into:
  • Condition (Alone, Two people, Group)
  • State (Walking, Standing, Sitting, Biking, etc.)
  • Activity (Talking, Dining, Using phone, Shopping, etc.)
  • Other (carrying objects, interacting with pets, etc.)
  • Complexity & "Hard" Negatives: Contains 112 unique activity combinations and includes deliberate challenge scenarios: distant pedestrians, heavy occlusions, and negative visual distractors (posters, billboards, and store mannequins).

Key Insights and Ideas

  • Max-Logit hides false positives: Because standard OVD evaluation scores a box by its best-matching token, Grounding DINO predicts high confidence on queries like "a person sitting alone" simply because it clearly spots a person, even if the individual is actually walking.
  • Sequence-level scoring restores balance: Integrating all token logits via N-LSE forces the vision-language decoder to verify every descriptive attribute before retaining a detection.
  • Prompt phrasing matters deeply: Existing models vary wildly in confidence when queried with near-synonyms. Systematically benchmarking this variation is necessary before deploying OVDs in automated urban analysis.

Key Results

Evaluating the state-of-the-art Grounding DINO on ELSA revealed substantial improvements when switching from standard Max-Logit to N-LSE:

  • Drastic False Positive Reduction: Applying a 0.3 score threshold to ~762M raw candidate boxes pruned predictions down to 387,544 boxes with N-LSE (0.05% retained), compared to 2,489,685 boxes with Max-Logit (0.3% retained)—eliminating over 2.1 million spurious detections.
  • Higher Localization mAP (IoU 0.75–0.90):
  • Condition + State (CS): Improved from 28.9% (Max-Logit) to 30.4% (N-LSE).
  • Condition + State + Activity (CSA): Improved from 29.7% to 32.4%.
  • All categories (CSAO): Improved from 29.3% to 31.1%.
  • Improved Semantic Stability: N-LSE achieved higher consistency across synonymous prompts, boosting the stability metric from 57% to 64% on CS and 56% to 64% overall.

Limitations and Future Work

  • Geographic Focus: The dataset is restricted to New York City streetscapes; generalizability to rural areas or distinct architectural/cultural environments remains unverified.
  • Model Scope: Quantitative experiments focus primarily on Grounding DINO; evaluating additional recent open-vocabulary frameworks (e.g., YOLO-World, OWL-ViT) would further test N-LSE's universality.
  • Still Images vs. Complex Dynamics: Certain fleeting actions (e.g., discerning between brief gestures vs. sustained conversations) remain fundamentally difficult to capture reliably from a single static image without temporal information.

Summary updated

BibTeX
@misc{hosseini2024elsa,
  author = {Maryam Hosseini and Marco Cipriano and Daniel Hodczak and Sedigheh Eslami and Liu Liu and Andres Sevtsuk and Gerard de Melo},
  title = {{ELSA: Evaluating Localization of Social Activities in Urban Streets using Open-Vocabulary Detection}},
  year = {2024},
  eprint = {2406.01551},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.01551},
}
Figure