Abstract
Why do some streets attract more social activities than others? Is it due to street design, or do land use patterns in neighborhoods create opportunities for businesses where people gather? These questions have intrigued urban sociologists, designers, and planners for decades. Yet, most research in this area has remained limited in scale, lacking a comprehensive perspective on the various factors influencing social interactions in urban settings. Exploring these issues requires fine-level data on the frequency and variety of social interactions on urban street. Recent advances in computer vision and the emergence of the open-vocabulary detection models offer a unique opportunity to address this long-standing issue on a scale that was previously impossible using traditional observational methods. In this paper, we propose a new benchmark dataset for Evaluating Localization of Social Activities (ELSA) in urban street images. ELSA draws on theoretical frameworks in urban sociology and design. While majority of action recognition datasets are collected in controlled settings, we use in-the-wild street-level imagery, where the size of social groups and the types of activities can vary significantly. ELSA includes 937 manually annotated images with more than 4,300 multi-labeled bounding boxes for individual and group activities, categorized into three primary groups: Condition, State, and Action. Each category contains various sub-categories, e.g., alone or group under Condition category, standing or walking, which fall under the State category, and talking or dining with regards to the Action category. ELSA is publicly available for the research community.
Introduction: The OVD Challenge in Urban Contexts
Open-Vocabulary Detection (OVD) has significantly advanced computer vision by enabling the detection of objects beyond fixed training labels. However, while these models excel at identifying discrete objects like "bicycle" or "car," they frequently struggle with the complex, multi-layered social interactions found in urban environments. Detecting a "group of people sitting and talking" requires a level of semantic understanding that current models often lack.
Existing OVD models face three primary hurdles in social activity localization:
- Semantic Inconsistency: Models are highly sensitive to minor variations in prompt phrasing.
- Poor Calibration: Standard "Max-Logit" confidence scores are often overconfident, identifying a common object (e.g., "person") while ignoring the nuanced action (e.g., "dining").
- Evaluation Gaps: Traditional metrics like Average Precision (AP) can be inflated by models making multiple disjoint, contradictory predictions for the same object.
The ELSA Dataset
To address these gaps, we introduce the ELSA (Evaluating Localization of Social Activities) dataset. ELSA consists of 937 street-level images from New York City, featuring over 4,300 manually annotated bounding boxes.
The dataset employs a multi-label scheme with 33 distinct labels across four categories: Condition (alone, pair, group), State (sitting, standing, walking), Activity (talking, dining, snacking), and Other (kid, dog, stroller). To test linguistic robustness, the dataset includes 830 unique, naturally phrased prompts and synonyms.
Evaluation Framework
We propose two technical innovations to provide a more honest assessment of model performance in complex scenes: the Normalized Log-Sum-Exp (N-LSE) score and Dynamic Box Aggregation (DBA).
Normalized Log-Sum-Exp (N-LSE)
Standard OVD models typically calculate confidence based on the single highest logit (Max-Logit) among all tokens in a query. This can lead to false positives where a model is confident about one word (e.g., "person") but ignores the rest of the prompt (e.g., "walking"). N-LSE aggregates the logits of all relevant tokens, forcing the model to show evidence for the entire semantic description.
Dynamic Box Aggregation (DBA)
Traditional Non-Maximum Suppression (NMS) selects the highest-confidence box and suppresses others, which can hide model confusion. If a model predicts "sitting," "walking," and "running" for the same person, it lacks true scene understanding. DBA groups overlapping predictions and checks for semantic coherence, penalizing contradictory "disjoint" predictions (e.g., predicting both "alone" and "group" for the same box).
Key Insights and Results
Evaluation of state-of-the-art models (Grounding DINO, MDETR, Detic, and OWL) revealed several critical findings:
- The Max-Logit Trap: Max-Logit scores are often inflated. N-LSE acts as a necessary filter, reducing the number of retained boxes by nearly 15x while maintaining high-quality detections.
- Semantic Fragility: Models are surprisingly unstable; changing "a person walking" to "an individual strolling" can lead to wildly different results.
- The DBA Reality Check: When using the DBA algorithm, AP scores dropped significantly (e.g., Grounding DINO's Global AP fell from 0.57 to 0.16). This exposure of contradictory predictions highlights that models often guess multiple states rather than understanding the context.
- Social Context Difficulty: While models are proficient at identifying "Condition" (group size), they struggle significantly with "State" (physical posture) and "Activity" (social interaction).
Conclusion and Future Work
ELSA exposes the limitations of current OVD models in understanding the nuances of urban social life. While Grounding DINO and OWL showed the best zero-shot performance, all models struggled as prompt complexity increased. Future work should address the temporal nature of social activities by extending this framework to video data and exploring more efficient multi-label OVD architectures to handle the computational cost of complex prompting.
Summary updated