Proactive Agents for Multi-Turn Text-to-Image Generation Under Uncertainty

Meera Hahn, Wenjun Zeng, Nithish Kannen, Rich Galt, Kartikeya Badola, Been Kim, Zi Wang

TL;DR

This paper introduces proactive AI agents that bridge the gap between vague user prompts and specific visual intents by actively asking clarifying questions. By representing their internal uncertainty through editable "belief graphs," these agents achieve significantly better alignment with user goals compared to standard one-shot text-to-image (T2I) models.

What Problem Does This Paper Address?

The "underspecification" problem is a major hurdle in generative AI. When a user types "a breakfast plate," they might have a specific cultural cuisine or lighting in mind, but the model is forced to make implicit assumptions to fill in the blanks. This leads to a frustrating cycle of "prompt engineering" where users painstakingly refine their text to get the right output.

The authors argue that T2I should be a collaborative, multi-turn conversation. The challenge is building an agent that knows when it is uncertain, what is important enough to ask about, and how to present its internal "understanding" to the user in a way that is easy to edit.

Methods

The researchers developed a framework for Proactive T2I Agents centered around a novel data structure called a Belief Graph.

UI and Belief Graph
  1. The Belief Graph: A symbolic representation where nodes are entities (explicitly mentioned or implicitly expected, like a "fork" with a "breakfast") and edges are relations. Each element has a probability (how likely it is to be there) and an importance score (how much it affects the final image).
  2. Questioning Strategies: They tested three agent prototypes:
  3. Ag1 (Heuristic): Uses a mathematical formula to pick the most uncertain and important element to ask about.
  4. Ag2 (Belief-prompted): Feeds the structured belief graph to an LLM to formulate questions.
  5. Ag3 (Principle-prompted): Uses high-level principles (like "No Redundancy" and "Uncertainty Reduction") to guide an LLM's questioning based on conversation history.
  6. Automated Evaluation: To scale testing, they used an "Agent Self-Play" setup. One agent acts as a "simulated user" with a ground-truth image, while the proactive agent tries to "guess" the image by asking the fewest questions possible.

Datasets

The study utilized three primary datasets:

  • COCO-Captions: The industry standard for basic image-text alignment.
  • ImageInWords: A dataset featuring hyper-detailed, human-annotated descriptions.
  • DesignBench (New): A benchmark curated by the authors specifically for this work. It contains 30 complex scenes with strong artistic and design elements (e.g., "a penguin holding balloons") to test how agents handle improbable but specific user intents.

Key Insights and Ideas

  • Importance > Uncertainty: A key "aha" moment is that not all uncertainty is equal. A model might be uncertain about the wood grain of a table, but if the user cares about the food on the table, the agent should prioritize the cuisine. The inclusion of "importance scores" prevents the agent from badgering the user with trivial details.
  • Implicit Anticipation: The agents don't just look at what you said; they look at what you didn't say. If you prompt for "a rabbit near a cat," the agent might ask about their spatial relationship or breeds—details the model needs but the user likely forgot to specify.
  • The Power of Principles: Interestingly, Ag3 (the principle-prompted agent) often performed best. This suggests that LLMs are highly effective at following abstract communication goals (like "be concise") rather than just processing raw data structures.
  • User Empowerment: Human studies showed that users didn't just find the questions helpful; they liked the Belief Graph interface. It acted as a "window" into the AI's mind, allowing users to manually correct the model's assumptions.

Key Results

Visual Comparison of Agents
  • 2x Alignment Boost: Across all datasets, the proactive agents achieved at least 2 times higher VQAScores (a metric for image-text alignment) than standard single-turn T2I generation within just five turns. As seen in the visual comparisons, the principle-prompted agent (Ag3) consistently generates images closest to the target intent.
  • Rapid Uncertainty Reduction: The Negative Log Likelihood (NLL) of the model's "beliefs" dropped significantly as turns progressed, proving the questions were effectively extracting information.
  • Human Approval: In human trials, 90% of participants found the proactive clarifications helpful. Furthermore, humans preferred images generated via the agent-guided workflow over standard T2I in more than 80% of cases.

Limitations and Future Work

  • The T2I Bottleneck: The agent is currently a "wrapper" around off-the-shelf models. If the underlying T2I model has poor prompt-following capabilities, the agent's hard-won clarifications are wasted.
  • Subjective Importance: The current model assumes a universal "importance score" for objects, but different users have different priorities. Future versions could personalize what the agent deems "important."
  • Direct Generation: The authors suggest moving toward models that can generate images directly from the belief graph or fine-tuning Vision-Language Models (VLMs) on these multi-turn interaction trajectories to make the process even more seamless.

Summary updated

BibTeX
@inproceedings{hahn2025proactive,
  author = {Meera Hahn and Wenjun Zeng and Nithish Kannen and Rich Galt and Kartikeya Badola and Been Kim and Zi Wang},
  title = {{Proactive Agents for Multi-Turn Text-to-Image Generation Under Uncertainty}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=f3iBgm2Zi0},
}
Figure