Learning Human-Human Interactions in Images from Weak Textual Supervision

Morris Alper, Hadar Averbuch-ElorICCV 2023

Abstract

Interactions between humans are diverse and context-dependent, yet traditional computer vision models often treat them as simple categorical labels. This approach fails to capture the "heavy tail" of possible social interactions. We propose a new paradigm: learning human-human interactions (HHI) as free-form text from single still images. By leveraging knowledge distillation from large language models (LLMs) to process noisy internet captions, we generate high-quality pseudo-labels for training. Our results demonstrate that this method significantly outperforms state-of-the-art image captioning and situation recognition models in capturing the semantic richness and factual groundedness of human social behavior.

Introduction

Human-human interaction is a cornerstone of social life, encompassing everything from a simple handshake to complex scenarios like "comforting a friend" or "having a picnic." Most existing computer vision systems approach this as a classification problem, typically restricted to fewer than ten categories. This rigid structure cannot account for the infinite variety of ways people relate to one another.

Furthermore, the field suffers from a lack of high-quality, manually labeled data for complex interactions. While the internet is full of images with captions, these captions are often "noisy"—they may describe the location or the names of the subjects without explicitly mentioning the interaction. This research addresses these challenges by using weak textual supervision to teach models to understand and describe HHI in natural language.

Methodology: The Distillation Pipeline

To overcome the lack of labeled data, we developed a three-stage pipeline that transforms noisy internet data into a refined training set without manual intervention.

1. Syntactic Seed Extraction

Starting with the "Who’s Waldo" dataset (270,000 image-caption pairs), we used rule-based syntactic parsing to extract basic "verb-object" relationships from existing captions. For example, a caption might be distilled into a seed like "Person A giving a high five to Person B."

2. LLM-Based Knowledge Distillation

Because raw seeds are often clunky or incomplete, we employed an LLM (GPT-Neo) to generate thousands of synthetic, clean interaction pairs. These pairs were used to fine-tune a smaller "student" model (T5) to act as an abstractive summarizer. This student model effectively learns to boil down rambling internet captions into concise, accurate interaction descriptions, which we call "pseudo-labels."

3. Vision Training

Finally, we trained standard image-captioning architectures, such as CLIPCap, using these pseudo-labels as ground truth. By training on distilled descriptions rather than raw noise, the vision model learns to prioritize social interactions over background objects or irrelevant scene details.

Datasets and Benchmarks

Our research utilizes and introduces several key datasets:

  • Who’s Waldo: The primary source of 270k raw image-caption pairs from Wikimedia Commons.
  • pHHI (pseudo-HHI): Our generated training set of ~126k images with LLM-derived pseudo-labels.
  • Waldo and Wenda: A new, manually-curated benchmark of 1,000 image-interaction pairs sourced from diverse datasets (Who’s Waldo, COCO, and Conceptual Captions) to test model generalization.
  • imSitu-HHI: A filtered subset of the imSitu dataset used for comparative evaluation.

Key Insights

  • The Power of Free Text: Treating HHI as a text generation task allows the model to describe an unlimited variety of situations, moving beyond the constraints of fixed categories.
  • LLMs as Semantic Filters: The core innovation lies in using an LLM not to label images directly, but to "clean" the textual data. This bridges the gap between messy human writing and the precise supervision required by vision models.
  • Contextual Awareness: Understanding HHI often requires "non-local" cues. For instance, identifying a "wedding celebration" requires the model to look at clothing and environmental cues (like a cake) rather than just the physical proximity of the individuals.

Results and Performance

We evaluated the model using BLEURT (for semantic similarity) and Natural Language Inference (NLI) to check for logical consistency between predictions and ground truth.

  • Superior Accuracy: Our model achieved a BLEURT score of 0.42, significantly outperforming the off-the-shelf CLIPCap (0.28) and specialized models like CoFormer (0.41).
  • Factual Groundedness: NLI tests showed a much higher probability of "entailment," meaning our model's predictions were more factually supported by the image context than those of models trained on raw captions.
  • Linguistic Diversity: The model successfully predicted 1,263 unique verbs and over 16,000 unique interaction phrases, demonstrating its ability to handle the "heavy tail" of social interactions.

Limitations and Future Work

While the model shows strong performance, several challenges remain. The current system describes what is happening but does not provide localization (e.g., bounding boxes) for the participants. Additionally, the model can sometimes be misled by visual "style"—for example, assuming people in military uniforms are "saluting" even when stationary. Future work will focus on hierarchical interactions, group dynamics beyond two-person pairs, and improving the model's ability to distinguish between correlation and causation in visual scenes.

Summary updated

BibTeX
@inproceedings{alper2023learning,
  author = {Morris Alper and Hadar Averbuch-Elor},
  title = {{Learning Human-Human Interactions in Images from Weak Textual Supervision}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  url = {https://openreview.net/forum?id=Lkf6gdGEGp},
}
Figure