FreeA: Human-object Interaction Detection using Free Annotation Labels

Yuxiao Wang, Zhenao Wei, Xinyu Jiang, Yu Lei, Weiying Xue, Jinxiu Liu, Qi LiuarXiv 2024 · DOI

TL;DR

This paper introduces FreeA, a novel method for human-object interaction (HOI) detection that eliminates the need for manual annotation by leveraging large language models (LLMs) to generate training labels. FreeA achieves state-of-the-art performance among weakly supervised HOI methods, significantly reducing the cost and effort associated with HOI dataset creation.

What Problem Does This Paper Address?

Human-object interaction (HOI) detection aims to identify and classify actions performed by humans on objects within an image, often represented as (human, interaction, object) triplets. Existing HOI detection methods, whether fully or weakly supervised, heavily rely on meticulously annotated datasets. These annotations are incredibly labor-intensive and expensive to create, especially for large-scale datasets with numerous interaction categories. For instance, even weakly supervised approaches require significant manual labeling. This paper addresses the critical bottleneck of data annotation in HOI detection by proposing a method that can train HOI detectors without any manual labels.

Methods

FreeA is a "plug-and-play" framework designed to automatically generate HOI labels for training existing HOI detection models. It comprises three main modules:

  1. Candidate Image Construction (CIC): This module first uses a pre-trained object detector (Yolov8) to localize humans and objects in an image. Then, it pairs humans with objects to create candidate interaction images. Instance segmentation is applied to refine these pairs and reduce background noise.
  2. Human-Object Potential Interaction Mining (PIM): This module leverages a text-image matching model (like CLIP) to bridge the gap between visual and textual information. It encodes image features of human-object pairs and text templates describing potential interactions. By computing cross-modal similarity, it generates initial "similarity vectors" indicating the likelihood of various interactions. Two types of text templates are used: one for specific actions ("a photo of a person riding a motorcycle") and another to emphasize the action itself ("a photo of a person riding").
  3. Human-Object Interaction Inference (HII): This module refines the initial interaction predictions from PIM. It includes:
  4. Interaction Correlation Matching (ICM): This component accounts for the fact that multiple related actions often co-occur (e.g., "racing" a motorcycle also implies "riding" and "sitting"). It amplifies the similarity scores of actions that are highly correlated with the top-predicted action.
  5. Prior Knowledge-based Mask (PKM) Filter: This module uses a priori knowledge about object-action associations (e.g., "apple" is associated with "eat" or "pick," not "ride") to filter out implausible interactions.
  6. Dynamic Threshold Selector: A dynamic threshold is employed to determine if an interaction is present, adapting to the confidence scores of predicted actions. This helps distinguish genuine interactions from noise.
  7. Interaction Action Filter: Finally, this filters the candidate actions based on the dynamic threshold and the refined similarity scores.

The output of these modules is a set of automatically generated HOI labels that can then be used to train standard HOI detection models.

Datasets

The paper evaluates FreeA on two widely used benchmark datasets for HOI detection:

  • HICO-DET: This dataset contains 47,776 images with 80 object categories, 117 action categories, and 600 distinct interaction types.
  • V-COCO: This dataset includes 10,346 images, featuring 80 object categories and 29 action categories, with some actions specifically related to body poses.

Key Insights and Ideas

  • Label-free HOI detection is feasible: The core insight is that LLMs and text-image models can be powerful enough to generate high-quality training labels for HOI detection, bypassing the need for expensive manual annotation. This opens up HOI research to a much wider audience.
  • Leveraging LLM adaptability: The paper effectively demonstrates how the cross-modal understanding capabilities of models like CLIP can be adapted to the HOI domain, even for generating training data.
  • Contextualizing interactions: The ICM module is a clever way to address the multi-faceted nature of human actions. Recognizing that actions rarely occur in isolation significantly improves the realism and completeness of generated labels.
  • Domain knowledge is crucial: The PKM filter highlights the importance of incorporating common-sense knowledge about object-action relationships to prune unlikely interactions, making the generated labels more accurate.
  • Dynamic thresholds improve robustness: Using a dynamic threshold for interaction detection, rather than a fixed one, allows the system to adapt to varying levels of confidence and image complexity.

Key Results

FreeA achieves state-of-the-art performance among weakly supervised HOI detection methods on both HICO-DET and V-COCO datasets.

  • On HICO-DET:
    • Outperforms the latest weakly supervised model by +8.58 mAP.
  • Outperforms the latest weakly+ supervised model by +1.68 mAP.
  • With a Swin-L backbone and YOLOv8 detector, it achieves 21.67 mAP in the "Full" setting under weakly supervised conditions.
  • On V-COCO:
    • Outperforms the VLHOI† method (using video-captured labels) by 13.11 mAP (APSale).
  • Surpasses the SOTA weakly+ supervised Weakly HOI-CLIP model by 7.28 mAP (APS1 Prole).
  • With a Swin-L backbone and YOLOv8 detector, it achieves 35.01 mAP in the "Full" setting under weakly supervised conditions.
  • The method also shows promising results in zero-shot HOI detection settings.

Limitations and Future Work

  • Performance on rare categories: The paper notes that performance on rare interaction categories can be lower. This is attributed to LLMs potentially filtering out rare-class actions due to lower similarity scores during the pseudo-labeling process.
  • Dependence on LLM quality: The effectiveness of FreeA is inherently tied to the capabilities of the underlying text-image model. Improvements in LLMs could further enhance FreeA's performance.
  • Future work: The authors suggest that further improvements could be made by exploring more sophisticated LLM prompting strategies and by investigating how to better handle rare interaction categories. The framework's plug-and-play nature also suggests it can be readily integrated with future advancements in HOI detection models.

Summary updated

BibTeX
@misc{wang2024freea,
  author = {Yuxiao Wang and Zhenao Wei and Xinyu Jiang and Yu Lei and Weiying Xue and Jinxiu Liu and Qi Liu},
  title = {{FreeA: Human-object Interaction Detection using Free Annotation Labels}},
  year = {2024},
  eprint = {2403.01840},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.01840},
}
Figure