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

CEIDM: A Controlled Entity and Interaction Diffusion Model for Enhanced Text-to-Image Generation

Mingyue Yang, Dianxi Shi, Jialu Zhou, Xinyu Wei, Leqian Li, Shaowu Yang, Chunping QiuarXiv 2025 · OpenReview

Abstract

In Text-to-Image (T2I) generation, the complexity of entities and their intricate interactions pose a significant challenge for diffusion-based methods. We propose CEIDM, a novel framework that introduces dual controls for entities and interactions. By leveraging Large Language Models (LLMs) for implicit relationship mining and an action clustering/offset method, CEIDM generates images with superior logical consistency and entity quality. Experimental results on the HICO-DET dataset demonstrate that CEIDM outperforms existing state-of-the-art methods in both quantitative metrics and qualitative realism.

Introduction

Current T2I diffusion models, such as Stable Diffusion, excel at generating individual objects but often struggle with scenes involving multiple entities in specific interactions. A common failure mode is the violation of "common sense" logic—for example, a person "feeding" a dog might be rendered without food, or with the food placed in an impossible position. This stems from two primary issues: the lack of explicit interaction control and the degradation of entity-specific details (such as hands or faces) when the model focuses on global scene composition.

Proposed Method

CEIDM addresses these challenges through a multi-stage "dual control" architecture designed to plug into existing diffusion pipelines:

  1. Implicit Relationship Mining: Using the Qwen-Turbo LLM with Chain-of-Thought (CoT) prompting, CEIDM expands simple text prompts into logical "triplets" (Subject, Action, Object). This process uncovers implicit spatial rules (e.g., "hand must be near the dog's mouth") that guide the diffusion process toward realistic configurations.
  2. Interactive Action Clustering and Offset: To improve the precision of actions, the model clusters action features using K-means and introduces global and local offsets. This allows the model to distinguish between semantically similar but physically distinct actions, such as "carrying" versus "holding."
  3. Entity Control Network (ECN): This module generates soft attention masks based on entity semantics. By using a multi-scale convolutional network, it enhances the features of specific subjects and objects, preventing common artifacts like distorted limbs or facial features.
Spatial layout logic for a 'person feeding dog' prompt, illustrating how CEIDM maps entities and their interactive zones.
  1. Interaction Enhance Attention (IEA): This gated self-attention layer integrates the mined logic and action offsets into the U-Net's denoising process, ensuring that the final image adheres to the specified interaction constraints.

Experimental Results

The model was evaluated using the HICO-DET dataset, which contains over 47,000 images annotated with human-object interactions. CEIDM achieved a Fréchet Inception Distance (FID) of 16.12, a significant improvement over Stable Diffusion (35.85) and InteractDiffusion (18.69). Furthermore, using the mean Average Precision (mAP) metric from a pre-trained HOI detector, CEIDM outperformed all baselines, confirming its superior accuracy in depicting requested interactions.

A high-quality image generated by CEIDM showing a person feeding a dog, characterized by logical spatial alignment and realistic entity rendering.

Beyond quantitative metrics, CEIDM resolves qualitative issues such as "suspended" objects and anatomical errors. By treating actions as a spectrum in feature space rather than rigid labels, the model produces more natural and varied interactions. The use of soft masks ensures that entities are well-defined while remaining coherently blended with the background.

Conclusion and Future Work

CEIDM represents a significant step forward in controlled T2I generation by bridging the gap between textual descriptions and logical spatial synthesis. While the added complexity increases inference time—requiring approximately 185 hours on an NVIDIA A100 for full testing set evaluation—the resulting improvements in logical consistency and image quality are substantial. Future research will focus on optimizing the computational efficiency of the LLM-guided mining process and extending the model's capabilities to more crowded and complex scenes.

Summary updated

BibTeX
@misc{yang2025ceidm,
  author = {Mingyue Yang and Dianxi Shi and Jialu Zhou and Xinyu Wei and Leqian Li and Shaowu Yang and Chunping Qiu},
  title = {{CEIDM: A Controlled Entity and Interaction Diffusion Model for Enhanced Text-to-Image Generation}},
  year = {2025},
  eprint = {2508.17760},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.17760},
}
Figure