NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Semantic-Aware Human Object Interaction Image Generation

Zhu Xu, Qingchao Chen, Yuxin Peng, Yang LiuICML 2024

TL;DR

SA-HOI is a new framework designed to fix a major weakness in text-to-image models: generating realistic human-object interactions (HOI). By combining automated pose detection and "interaction boundary" analysis with an iterative refinement loop, the system significantly reduces anatomical deformations and ensures that humans and objects actually interact as described in the prompt.

What Problem Does This Paper Address?

Current state-of-the-art diffusion models (like Stable Diffusion) are incredible at generating static objects or landscapes, but they often stumble when asked to depict a human doing something with an object. If you prompt "a person kissing a cat," you might get a person hugging a cat, or worse, a person with three arms and a floating cat.

Visual comparison of standard Stable Diffusion vs. SA-HOI, highlighting the semantic mismatch problem.

The authors identify two primary hurdles:

  1. Pose Complexity: Human anatomy is intricate. Models often produce "spaghetti limbs" or impossible joints when trying to match a complex interaction.
  2. Interaction Boundaries: The specific region where a human touches an object (the "boundary") is semantically critical. If a hand is hovering two inches away from a suitcase, the model has failed to generate the "holding" interaction.

Empirical tests showed that standard models suffer from a 60.9% semantic misalignment rate—meaning more than half the time, the generated image doesn't actually show the interaction requested.

Methods

The researchers propose a two-pronged approach called SA-HOI (Semantic-Aware HOI):

The overall framework of SA-HOI, detailing the Pose and Interaction Boundary Guidance and Iterative Refinement pipeline.
  • Pose and Interaction Boundary Guidance (PIBG): Instead of letting the model guess, SA-HOI uses a pose detector to identify "low-confidence" body parts (likely deformations) and a segmentation tool to find the boundary between the human and the object. It then applies a Gaussian blur to these specific "problem areas" in the latent space. This blurred version acts as a guide, forcing the model to re-denoise and "fill in" those regions with more anatomically and semantically plausible details.
  • Iterative Inversion and Refinement (IIR): The process isn't one-and-done. The system generates an image, evaluates its quality using a Pose Confidence Score (PCS), and if it’s not up to par, it uses "Null-text inversion" to pull the image back into the diffusion process for another round of targeted refinement. This "generate-evaluate-refine" loop continues until the interaction looks natural.

Datasets and Evaluation

The authors introduced a new, comprehensive HOI Generation Benchmark to fill the gap in existing evaluation tools:

  • The Dataset: 150 fine-grained HOI categories (e.g., "riding a horse," "holding a fork," "kissing a dog") across three scenarios: Human-Object (H-O), Human-Animal (H-A), and Human-Human (H-H).
  • Evaluation Metrics: They moved beyond standard image quality scores (like FID) to create HOI-specific metrics:
  • PDD & HODD: Measure how closely the generated pose and human-object distance match real-world distributions.
  • HOIF (HOI Fidelity): Uses an "oracle" HOI detector to see if the generated image actually contains the requested interaction.

Key Insights and Ideas

  • Pose as Feedback: One of the "aha" moments is treating pose detection confidence not just as a way to grade an image, but as a spatial map for where the diffusion model needs to try harder.
  • The "Boundary" Matters Most: The paper argues that the semantic "truth" of an interaction lives in the few pixels where contact happens. By focusing refinement energy specifically on these boundaries, they achieve better results than models that try to optimize the whole image at once.
  • Iterative is Better than One-Shot: Most text-to-image research focuses on making the first pass perfect. This paper demonstrates that an "edit" loop—where the model critiques its own anatomical mistakes—is a much more robust path to high-fidelity humans.

Key Results

SA-HOI consistently outperformed Stable Diffusion and other recent guidance methods (like SAG):

  • Lower FID/KID: It produced higher-quality, more realistic images across all scenarios (H-A, H-O, H-H).
  • Superior Fidelity: In the "Human-Animal" category, SA-HOI achieved a 34.38% HOI Fidelity score, compared to just 30.06% for standard Stable Diffusion.
  • Human Preference: In subjective user studies, participants rated SA-HOI higher in human pose realism, object appearance, and interaction semantics than all competing models.

Limitations and Future Work

  • Tool Dependency: The framework relies on external pose detectors and segmentation models. If the pose detector fails to see a person (e.g., in a very crowded or dark scene), the guidance won't trigger correctly.
  • Computational Cost: The iterative refinement loop (IIR) provides better quality but requires more sampling steps and time than a standard one-shot generation.
  • 2D vs. 3D: While the model handles 2D spatial relations well, it doesn't explicitly model 3D physics, which can still lead to "clipping" (where an object appears to pass through a person's body). The authors suggest that integrating 3D priors could be a promising future direction.

Summary updated

BibTeX
@inproceedings{xu2024semantic,
  author = {Zhu Xu and Qingchao Chen and Yuxin Peng and Yang Liu},
  title = {{Semantic-Aware Human Object Interaction Image Generation}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=vITl6CqIkk},
}
Figure