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

Semantic Derivative Flow: Graph-Guided Diffusion for Controllable Instance Interactions

Shibin Mei, Hang Wang, Bingbing NiCVPR 2026

TL;DR

Text-to-image diffusion models often struggle to generate realistic human-object interactions because they treat entities as independent objects rather than modeling their logical dependencies. To solve this, Semantic Derivative Flow (SDF) structures the diffusion process using a directed acyclic graph that enforces a logical interaction chain (subject $\rightarrow$ predicate $\rightarrow$ object). This approach establishes a new state-of-the-art in both image fidelity and spatial controllability on the challenging HICODet benchmark.

What Problem Does This Paper Address?

While modern diffusion models excel at generating images from text prompts or bounding boxes, they frequently stumble when tasked with complex compositional scenes involving interactions. For instance, given the prompt "a person carrying a suitcase," a standard model might correctly place a person and a suitcase in close proximity, but fail to depict the actual physical action of "carrying" plausibly.

The authors identify two core reasons for this failure:

  1. Noun-Centric Bias: Pre-trained text encoders like CLIP are inherently biased toward nouns. Predicates (verbs like "carrying" or "feeding") are weakly aligned and often semantically disconnected from their associated subjects and objects.
  2. Lack of Relational Constraints: Current layout-to-image models treat bounding boxes as independent entities. They lack a mechanism to enforce that the generation of one instance is functionally and semantically dependent on another.
Comparison of interaction generation quality.

Methods

The authors introduce Semantic Derivative Flow (SDF), a graph-guided framework that models interactions through three coordinated components:

  • Interaction Graph Encoding: An interaction is formalized as a directed acyclic graph $G = (V, E)$, where the vertices $V$ represent the subject ($s$), predicate ($p$), object ($o$), and a global context node ($g$). Textual labels and spatial bounding boxes are fused using multi-layer perceptrons (MLPs) to initialize the graph nodes.
  • Derivative Attention Mechanism: Instead of standard cross-attention or simple feature concatenation, this novel module enforces structured message passing along the graph edges ($s \rightarrow p \rightarrow o$). It uses a gating function to ensure that the refined predicate embedding is functionally derived from the subject, and the object embedding is derived from the predicate.
  • Regional Refinement Module: To prevent the model from drifting into abstract planning, this module introduces a bottom-up feedback loop. It extracts real-time visual features from the denoising latents using RoIAlign and injects them back into the graph nodes, ensuring the semantic flow remains grounded in the evolving image structure.
Figure 2. Overview of the Semantic Derivative Flow framework, integrating interaction graphs with the diffusion process (left). In- teraction region grounding using subject, predicate, object, and global bounding boxes (right).

Datasets

The model was trained and evaluated on HICODet (Human-Object Interaction AnnoTation), a standard benchmark for HOI tasks. It contains 600 interaction categories, including a challenging "Rare" subset of 138 categories designed to evaluate long-tail generalization.

Key Insights and Ideas

  • The "Chain of Command" in Semantics: Interactions are inherently hierarchical, not flat triplets. By forcing the model to compute features sequentially along the logical path of the action, the semantic ambiguity of verbs is dramatically reduced.
  • Anchoring Verbs to Nouns: Since text encoders struggle with verbs, deriving the predicate's representation directly from the subject noun anchors the action in physical reality.
  • Dynamic Visual Feedback: Top-down semantic planning is insufficient on its own. By feeding intermediate visual states back into the interaction graph during the denoising process, the model dynamically corrects and refines its generation layout.

Key Results

SDF significantly outperforms existing layout-control and interaction-generation baselines across both quantitative metrics and qualitative evaluations:

  • Controllability (mAP): Evaluated using a pre-trained FGAHOI detector, SDF (built on SDXL) achieved a 33.55 mAP on the Full dataset and 28.03 mAP on the Rare subset, comfortably outperforming its closest competitor, InteractDiffusion (31.56 and 26.09 mAP, respectively).
  • Fidelity (FID/KID): SDF achieved the lowest Frechet Inception Distance (18.42) and Kernel Inception Distance (0.00656), proving that structured relational priors actually improve overall image quality and reduce local artifacts.
  • Qualitative Superiority: As shown in the paper's visual comparisons, SDF successfully renders challenging poses (e.g., "person walking a horse" or "person holding a handbag") where baseline models generate detached objects or physically impossible postures.

Limitations and Future Work

Despite its strong performance, the authors note a few limitations:

  • Data Dependency: The framework relies heavily on detailed interaction annotations (subject, predicate, object, and bounding boxes) for training, which can be expensive to acquire.
  • Idealized Generations: The model can occasionally produce overly idealized or sterile interactions, lacking some of the chaotic diversity found in real-world scenes.
  • Graph Complexity: The current architecture is optimized for interactions between two instances. Extending the graph formulation to handle multi-relation, multi-instance scenes remains an open direction for future research.

Summary updated

BibTeX
@inproceedings{mei2026semantic,
  author = {Shibin Mei and Hang Wang and Bingbing Ni},
  title = {{Semantic Derivative Flow: Graph-Guided Diffusion for Controllable Instance Interactions}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=lZOSoGqEP8},
}
Figure