Preference Adaptive and Sequential Text-to-Image Generation

Ofir Nabati, Guy Tennenholtz, ChihWei Hsu, Moonkyung Ryu, Deepak Ramachandran, Yinlam Chow, Xiang Li, Craig Boutilier

Introduction

Current text-to-image (T2I) models like Stable Diffusion or Midjourney typically operate in a single turn: a user provides a prompt, and the model generates an image. However, capturing precise user intent is notoriously difficult. Initial prompts are often underspecified or abstract, and users may not know the exact phrasing required to achieve the specific style or composition they envision.

To address this gap in interactive co-creation, researchers have introduced PASTA (Preference Adaptive and Sequential Text-to-image Agent). PASTA is a reinforcement learning agent that transforms T2I generation from a "one-shot" prompt into an interactive, multi-turn dialogue. By leveraging a novel sequential preference dataset and modeling diverse user "types," PASTA iteratively refines images to match a user's evolving intent, achieving an 85% relative improvement in satisfaction over standard large multimodal model (LMM) baselines.

Methodology

The PASTA framework treats multi-turn image generation as a sequential decision-making problem, specifically modeled as a Latent Markov Decision Process. The system operates through several key steps:

  1. Candidate Generation: At each turn, an LMM (Gemini 1.5 Flash) generates a diverse set of 25 prompt expansions categorized into five themes, such as "Artistic Styles," "Adding Detail," or "Different Perspectives."
  2. Candidate Selection: Instead of overwhelming the user with all 25 options, a value-based RL agent selects a curated "slate" of 4 prompts. This selection is powered by a prompt-value model (fine-tuned from Gemma 2B) that predicts which expansions will lead to the highest cumulative user satisfaction.
Example of a stylistic variation (e.g., cartoon/anime) generated to explore user preferences.
  1. User Modeling via EM: Recognizing that different users have distinct tastes, the researchers employed an Expectation-Maximization (EM) strategy to identify latent user types (e.g., users who prefer "Anime/Abstract" versus "Scenic Views").
  2. Implicit Q-Learning (IQL): The agent is trained using IQL, an offline RL algorithm. This enables the model to learn from a fixed dataset of interactions without overestimating the value of unseen prompt expansions.

Datasets and Key Insights

To train and evaluate PASTA, the researchers released a comprehensive dataset comprising over 7,000 human-rated five-step interaction sequences (500,000+ images) and over 30,000 simulated interaction rollouts (2.5 million images). They also utilized existing single-turn datasets like HPS V2 and Pick-a-Pic for initial training.

Several key insights emerged from the development of PASTA:

  • The Power of User Types: Modeling users as a mixture of distinct "types" significantly improved the model's ability to predict preferences. Increasing the number of modeled user types directly correlated with higher choice accuracy.
  • Iterative Elicitation: The agent balances "exploration" (showing diverse styles to gauge user preference) and "exploitation" (refining the current favorite style), rather than attempting to guess the final image immediately.
Another trajectory example showing a highly stylized, fantasy-oriented expansion of a base prompt.
  • Simulated vs. Real Data: While simulated data aids in scaling, training on a mix of real human interactions and simulated data yielded the best results. Relying solely on synthetic data led to a slight performance decline, underscoring the importance of real human feedback.
  • Model Agnosticism: Though trained using Stable Diffusion XL, PASTA's prompt expansions generalized well to other models like Flux.1, demonstrating that the underlying logic of refinement is transferable.

Results and Future Work

In human evaluations, PASTA demonstrated a monotonic improvement in image quality over five turns. By the final turn, it achieved an 85% relative improvement in user preference compared to a non-RL Gemini 1.5 Flash baseline. Furthermore, the user model achieved approximately 70% accuracy in predicting human choices on the test set.

Despite these strong results, the study notes several limitations for future work. The current framework uses a fixed horizon of 5 turns, whereas real-world users might prefer variable interaction lengths. Additionally, while the system allows for free-text critiques, most raters did not utilize them; future iterations could better integrate natural language nudges alongside image selections. Finally, distilling the RL agent's logic into a single, faster model remains a key goal for real-time production deployment.

Summary updated

BibTeX
@inproceedings{nabati2025preference,
  author = {Ofir Nabati and Guy Tennenholtz and ChihWei Hsu and Moonkyung Ryu and Deepak Ramachandran and Yinlam Chow and Xiang Li and Craig Boutilier},
  title = {{Preference Adaptive and Sequential Text-to-Image Generation}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=LCr6CIAEye},
}
Figure