Abstract
Human-Object Interaction (HOI) detection is a critical task in computer vision that requires identifying the relationships between humans and objects within a scene. While Transformer-based architectures have significantly advanced the field, they often struggle with zero-shot generalization and a lack of semantic common sense. This paper discusses LOGICHOI, a framework introduced at NeurIPS 2023 that integrates the representational power of neural networks with the structured reasoning of symbolic logic. By utilizing a triplet-reasoning mechanism and logic-guided constraints, LOGICHOI achieves state-of-the-art performance and demonstrates superior ability in identifying unseen interactions.
Introduction
In the domain of computer vision, identifying discrete objects is a well-established task. However, understanding the nuanced ways humans interact with those objects—such as "riding" a bicycle versus "repairing" it—presents a significantly higher level of complexity. This task, known as Human-Object Interaction (HOI) detection, is essential for applications ranging from autonomous robotics to advanced surveillance.
Despite the success of Transformer-based detectors, current models face three primary limitations: they rely on pre-composed human-object pairs, they struggle to generalize to interactions not seen during training (zero-shot learning), and they lack the "common sense" to filter out physically impossible interactions. LOGICHOI addresses these gaps by bridging the divide between neural representational learning and symbolic logic.
Methodology
Triplet-Reasoning Attention
Standard Transformer-based HOI detectors typically process pre-defined human-object pairs. This rigid structure limits the model's ability to explore novel combinations during the decoding phase. LOGICHOI introduces a triplet-reasoning process that decomposes the interaction into three distinct queries: human, action, and object.
The model's self-attention mechanism is modified to traverse these three elements simultaneously. This allows the decoder to dynamically "compose" interactions, providing the flexibility needed to recognize complex or novel scenes that do not fit standard pair-wise templates.
Logic-Induced Learning
To instill a sense of physical and semantic reality into the model, LOGICHOI incorporates First-Order Logic (FOL) into the learning process. The researchers focused on two fundamental properties:
- Affordances: The inherent actions an object can facilitate (e.g., a "chair" is for "sitting").
- Proxemics: The spatial relationships between entities (e.g., a "kite" must be "above" a human to be "flown").
Rather than using these rules as rigid post-processing filters, LOGICHOI "grounds" these discrete logic rules into continuous, differentiable functions using product logic. This allows the logic to function as a loss function ($L_{LOG}$) during training. Consequently, the neural network's internal weights are optimized to favor predictions that are both statistically likely and logically sound.
Experimental Evaluation
Benchmarks and Performance
The framework was evaluated on two primary HOI benchmarks: HICO-DET and V-COCO. LOGICHOI established new state-of-the-art (SOTA) records across both datasets:
- HICO-DET: The model achieved 35.47% mAP (Full), significantly outperforming previous leading models like GEN-VLKT.
- V-COCO: The model reached 65.0% mAP under Scenario 2.
Zero-Shot Generalization
A key highlight of the LOGICHOI framework is its performance in zero-shot scenarios. In tests involving "unseen" objects, the model outperformed its competitors by +5.16% mAP. This suggests that by learning the constituent parts of an interaction (the human, the action, and the object) and applying logical constraints, the model can successfully infer interactions it has never encountered in its training data.
Discussion and Future Work
The integration of logic as a "teacher" rather than a "gatekeeper" proves to be a powerful paradigm. By embedding logic into the loss function, the model achieves faster convergence and develops more robust features. Furthermore, the inclusion of spatial proxemics helps resolve ambiguity in crowded scenes, such as correctly attributing a "holding" action to the person closest to a phone.
However, challenges remain. The current logic is limited to five basic spatial relationships, and the model still faces difficulties in highly cluttered scenes or instances of heavy occlusion. Future research will focus on scaling these logic-induced methods to "open-world" scenarios and incorporating more complex 3D spatial reasoning to further refine the model's understanding of the physical world.
Conclusion
LOGICHOI represents a significant step toward more intelligent and reasoning-capable vision systems. By combining the flexibility of Transformers with the rigor of symbolic logic, the framework not only improves detection accuracy but also provides a scalable path toward solving the zero-shot generalization problem in human-object interaction.
Summary updated