HOComp: Interaction-Aware Human-Object Composition

Dong Liang, Jinyuan Jia, Yuhao Liu, Rynson W. H. Lau

Introduction

Image composition—the process of inserting a foreground object into a new background—is a fundamental task in graphic design and advertising. While modern diffusion models have made significant strides in blending colors and lighting, they frequently struggle with human-centric scenes. Specifically, existing methods often fail to model realistic human-object interactions, leading to unnatural poses or the loss of visual identity for both the person and the object.

HOComp introduces a novel framework designed to address these challenges by combining high-level reasoning with fine-grained constraints to produce harmonious, interaction-aware compositions.

HOComp enables realistic interaction, such as a subject holding a hat naturally while maintaining background consistency.

Methodology

HOComp is built upon the FLUX.1 [dev] diffusion transformer (DiT) architecture and utilizes a two-pronged approach to ensure both structural realism and detail preservation.

1. MRPG: MLLMs-driven Region-based Pose Guidance

To act as a "director" for the scene, HOComp employs Multi-modal Large Language Models (MLLMs) like GPT-4o. The MLLM analyzes the background and foreground to identify plausible interactions (e.g., "holding a mug") and predicts the specific interaction region and object bounding box. To ensure anatomical correctness, a pose-guided loss is applied using human skeletal landmarks, providing coarse-to-fine constraints that force the generated image to align with realistic human gestures.

2. DCAP: Detail-Consistent Appearance Preservation

To prevent the model from "hallucinating" changes to the object or the person, the DCAP module enforces strict consistency:

  • Shape-Aware Attention Modulation (SAAM): This technique manipulates internal attention maps to follow the object's original geometry, preventing shape distortion.
  • Multi-view Appearance Loss: By generating and comparing multiple virtual angles of the object (via Zero123+), the model learns a robust 3D understanding of the object's identity, ensuring textures and logos remain accurate.
  • Background Consistency Loss: A masking strategy ensures that regions not involved in the interaction, such as the subject's face, remain pixel-perfectly identical to the original background image.

The IHOC Dataset

The researchers introduced the IHOC (Interaction-aware Human-Object Composition) benchmark to facilitate this research. The dataset contains 11,700 examples, split between real-world images from HICO-DET and high-quality synthetic pairs. Uniquely, IHOC provides comprehensive "before and after" data, including isolated human and object images, interaction regions, and final compositions.

Results and Evaluation

HOComp was evaluated against nine state-of-the-art methods. Quantitatively, it achieved a superior FID of 9.27, indicating high image quality, and an HOI-Score of 87.39, reflecting its ability to model complex interactions.

HOComp preserves fine details, such as text on a mug, while ensuring the subject's identity and the background remain intact.

Visually, the model maintained a 96.57% SSIM on background regions, significantly outperforming competitors who often altered the subject's facial features. In user studies, HOComp was consistently ranked as the top performer in image quality, interaction harmony, and appearance preservation.

Conclusion

HOComp demonstrates that integrating MLLM-driven spatial reasoning with fine-grained pose and appearance constraints can solve the long-standing problem of interaction in image composition. While future work aims to further refine MLLM region prediction with anatomical priors, HOComp currently sets a new standard for creating realistic, identity-preserving human-object interactions.

Summary updated

BibTeX
@inproceedings{liang2025hocomp,
  author = {Dong Liang and Jinyuan Jia and Yuhao LIU and Rynson W. H. Lau},
  title = {{HOComp: Interaction-Aware Human-Object Composition}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=vzVoMvpSYC},
}
Figure