Multi-Axis Max@K Reinforcement Learning for Representative Diversity in Text-to-Image Generation

Ku Onoda, Paavo Parmas, Hiroki Furuta, Soichiro Nishimori, Yuta Oshima, Shohei Taniguchi, Yutaka MatsuoarXiv 2026

TL;DR

Text-to-image models often suffer from mode collapse, generating repetitive styles or biased demographic representations for a single prompt. This paper introduces multi-axis max@K, a group-based reinforcement learning objective that rewards a batch of images for collectively covering a diverse set of predefined target modes. By delaying reward aggregation until after selecting the best representative for each mode, the method significantly improves visual diversity and demographic fairness without sacrificing image quality or text alignment.

What Problem Does This Paper Address?

When you ask a text-to-image (T2I) model for multiple images of "an ecologist," it might generate high-quality images that all look remarkably similar—often defaulting to a specific demographic or visual style. This lack of diversity limits user choice and can amplify harmful societal biases.

Standard reinforcement learning (RL) techniques for T2I models optimize for scalar rewards (like image quality or prompt alignment) on an individual image basis. However, diversity is inherently a property of a set of images, not a single one. Standard scalar rewards fail when trying to cover multiple mutually exclusive categories (e.g., different colors or demographic attributes) because a single image cannot be everything at once. This paper tackles the challenge of target-mode coverage: ensuring a model can reliably generate a diverse set of alternatives across predefined semantic axes.

Methods

The authors propose multi-axis max@K, a set-level RL objective. Instead of scoring each image individually and averaging the results, the algorithm generates a group (or batch) of $m$ candidate images for a prompt. A reward backend evaluates each image across $D$ distinct target axes (categories). Crucially, the objective first computes the maximum score for each category across the entire batch, and only then sums these category-wise maxima.

This creates an elegant credit assignment mechanism: an individual image only receives a positive advantage for a specific category if it improves the group's maximum score for that category. This encourages samples within a batch to specialize and cover different modes. To optimize this efficiently, the authors use an Expected Improvement (EI) estimator with a Leave-Two-Out (L2O) baseline to calculate per-sample advantages for each axis before aggregating them into a single policy weight for a GRPO-style diffusion update.

The training pipeline is illustrated in Figure 2:

Figure 2. Multi-axis max@K. For each prompt, an m-sample on-policy candidate group is scored on D reward axes, forming a D × m reward matrix. Multi-axis max@K compares samples separately on each axis before aggregating axes, so different samples can receive credit for improving different target-mode representatives. The resulting axis-wise credits are summed into per-sample policy weights and used in the diffusion RL update. The set operation is used only during training; evaluation samples normally from the fine-tuned generator.

Datasets

The method was validated across three distinct setups:

  • Synthetic Mixture: A toy dataset consisting of a 3x3 grid of 2-D Gaussian modes used to isolate and test the credit assignment mechanism.
  • Pick-a-Pic Prompts: Used for a rule-based color experiment to evaluate deterministic pixel-based color rewards.
  • Fairness Training Prompts: 1,080 neutral-person prompts (e.g., "a photo of the face of a person" with various style/expression modifiers).
  • Fairness Evaluation Prompts: 200 held-out occupation prompts (e.g., "a photo of the face of a structural engineer") to test generalization.

Key Insights and Ideas

  • Set-Level vs. Image-Level Optimization: Diversity cannot be optimized by looking at images in isolation. By evaluating the batch as a set, the model learns to distribute its probability mass across all desired modes rather than collapsing into a single safe, high-reward mode.
  • Delayed Aggregation is Key: Standard methods collapse multi-dimensional rewards into a single scalar before comparing images. Multi-axis max@K preserves category-specific credit by performing axis-wise selection before aggregation, allowing different images to be credited for different reasons.
  • The Power of Soft Rewards over Counts: Unlike previous count-based fairness methods that use hard top-label assignments (which discard sub-threshold evidence and fail if a category gets zero samples), using soft max-pooled scores provides a smoother gradient that guides the model effectively even for rare categories.

Key Results

  • Color Diversification: In a controlled setting with 7 rule-based color categories, multi-axis max@K increased the batch-max coverage score by 57% relative to the base Stable Diffusion 3.5 Medium (SD3.5-M) model, whereas a standard single-image baseline failed to improve coverage (see Figure 1).
Figure 1. Diversifying color modes in T2I generation. Columns correspond to seven pixel-based reward functions, each representing a different rule-based color mode. Multi-axis max@K encourages the sampled batch to cover these color modes with different samples.
  • Fairness Improvements: When applied to perceived-appearance fairness (race and gender categories), the method improved the Fairness Score on held-out occupation prompts by 0.23 to 0.36 relative to the base model across three different automatic evaluators (CLIP, Qwen2.5-VL, and FairFace).
  • Preserved Quality: Unlike inference-time interventions (like FairImagen or Weak Guidance) which often degrade text alignment and image quality, multi-axis max@K maintained or slightly improved standard metrics like PickScore, aesthetic score, and CLIP-T alignment.

Limitations and Future Work

  • Dependence on Evaluators: The method relies entirely on the accuracy of the reward backend. If the automatic classifiers used during training are biased or flawed, the model will optimize for those flaws.
  • Predefined Axes Only: It can only diversify along axes that are explicitly defined and measurable. It does not inherently solve broader, unmeasured fairness or diversity issues.
  • Exploration Constraints: The algorithm can only boost modes that the base generator already samples occasionally; it cannot invent entirely new concepts or modes from scratch if the base model has zero probability of generating them.
  • Future Directions: The authors suggest extending this multi-axis representative credit framework beyond single-image generation to tasks like image editing and video generation.

Summary updated

BibTeX
@misc{onoda2026multi,
  author = {Ku Onoda and Paavo Parmas and Hiroki Furuta and Soichiro Nishimori and Yuta Oshima and Shohei Taniguchi and Yutaka Matsuo},
  title = {{Multi-Axis Max@K Reinforcement Learning for Representative Diversity in Text-to-Image Generation}},
  year = {2026},
  eprint = {2607.14962},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.14962},
}
Figure