No-Frills Human-Object Interaction Detection: Factorization, Layout Encodings, and Training Techniques

Tanmay Gupta, Alexander G. Schwing, Derek Hoiem · DOI

Abstract

We show that for human-object interaction (HOI) detection, a relatively simple factorized model with appearance and layout encodings constructed from pre-trained object detectors outperforms more sophisticated approaches. Our model includes factors for detection scores, human and object appearance, and coarse (box-pair configuration) and optionally fine-grained layout (human pose). We also develop training techniques that improve learning efficiency by: (1) eliminating a train-inference mismatch; (2) rejecting easy negatives during mini-batch training; and (3) using a ratio of negatives to positives that is two orders of magnitude larger than existing approaches. We conduct a thorough ablation study to understand the importance of different factors and training techniques using the challenging HICO-Det dataset.

Introduction: The "Needle-in-a-Haystack" Problem

Human-Object Interaction (HOI) detection extends standard object detection by identifying not just the entities present, but the specific actions connecting them (e.g., "human-riding-horse"). This task is computationally and statistically challenging because the number of potential human-object pairs grows quadratically with the number of detections in an image.

Existing state-of-the-art methods often rely on complex neural architectures, such as specialized CNN branches for spatial patterns, attention mechanisms, or mixture density networks. This paper argues that these "frills" often obscure simpler, more effective ways to encode layout information and train models efficiently.

Methodology: A Factorized Approach

The proposed "No-Frills" model decomposes the probability of an interaction into three primary components derived from pre-trained features:

  1. Object Detection Scores: Probabilities from a pre-trained Faster R-CNN detector indicating the presence of a "human" and a specific "object."
  2. Appearance Features: Frozen fc7 features from the pre-trained detector, avoiding the need for task-specific backbone fine-tuning.
  3. Layout Encodings: Geometric features representing relative positions and box sizes, supplemented by human pose keypoints (e.g., from OpenPose) for fine-grained detail.
Illustration of layout and pose encodings for 'Walk' and 'Straddle' interactions. The model uses both coarse bounding box configurations and fine-grained pose keypoints to distinguish between similar actions.

Training Innovations

The core strength of this approach lies in three specific training techniques designed to maximize learning efficiency:

1. Eliminating Train-Inference Mismatch

Standard models often train interaction and detection branches independently, only combining them during testing. This creates a mismatch. The "No-Frills" model optimizes the final HOI score directly using a multi-label binary cross-entropy loss, ensuring all factors are calibrated together during training.

Comparison of training strategies: standard independent training (left) vs. the proposed joint training (right) that aligns with inference and uses indicator terms to mask irrelevant candidates.

2. Indicator Terms for Easy Negative Rejection

To focus the model's capacity on meaningful interactions, the authors use "indicator terms." These mask out semantically impossible interactions based on detected labels (e.g., a person cannot "ride" a "spoon"). This forces the model to learn from "hard negatives"—pairs where the labels match but the interaction is absent.

3. Massive Negative Sampling

Given the sparsity of interactions, the authors employ a negative-to-positive ratio of 1000:1 during mini-batch training. This is two orders of magnitude higher than typical approaches and proves critical for performance.

Results and Discussion

Evaluated on the HICO-Det dataset (600 HOI categories), the "No-Frills" model achieved 17.18 mAP, significantly outperforming more complex models like iCAN (14.84 mAP) and GPNN (13.11 mAP).

Ablation studies highlighted the impact of the training techniques: increasing the negative sampling ratio from 10:1 to 1000:1 alone improved mAP from 13.40 to 16.96. Furthermore, the results suggest that high-quality features from standard detectors are sufficient for HOI detection, and complex "appearance learning" branches may be redundant if layout and training logic are well-handled.

Conclusion

The "No-Frills" approach demonstrates that architectural simplicity, when paired with robust training strategies and effective layout encodings, can define the state-of-the-art in HOI detection. While the model remains dependent on the quality of the underlying object detector, its efficiency and performance provide a strong baseline for future research into scene context and global interaction modeling.

Summary updated

BibTeX
@misc{gupta2018no,
  author = {Tanmay Gupta and Alexander G. Schwing and Derek Hoiem},
  title = {{No-Frills Human-Object Interaction Detection: Factorization, Layout Encodings, and Training Techniques}},
  year = {2018},
  eprint = {1811.05967},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.05967},
}
Figure