arXiv:2610.18097cs.CVOct 2026

Manuscript Offprint

arXiv:2610.18097

APT: Feedback-Driven Agentic Post-Training for Text-to-Image Generation

Sirui Zhang, Fangyun Wei, Dong Chen, Jinjing Zhao, Yitong Wang, Yunuo Chen, Baining Guo, Zheng-Jun Zha

Sirui Zhang 1,2∗^{1,2*} Fangyun Wei 2^{2} Dong Chen 2^{2} Jinjing Zhao 3^{3} Yitong Wang 4^{4} Yunuo Chen 5^{5} Baining Guo 2^{2} Zheng-Jun Zha 1†^{1\dagger}

1^{1} University of Science and Technology of China

2^{2} Microsoft Research Asia

3^{3} University of Sydney

4^{4} Fudan University

5^{5} Shanghai Jiao Tong University

{zsr200901, zhazj}@mail.ustc.edu.cn

{fawe, doch, bainguo}@microsoft.com

Figure

Figure 1: APT (Agentic Post-Training) turns post-training into a fully automated, evaluation-driven adaptive loop. Given a user-specified evaluation scope, the Evaluation Set Generation Agent constructs a diverse evaluation set consisting of prompt-evaluation rubric pairs; the Diagnosis Agent evaluates the current model on these pairs to identify its strengths and failure modes; and the RL Data Generation Agent adaptively samples next-round training prompts, prioritizing underperforming capabilities. The updated model is then re-evaluated in the next round, allowing the training distribution to continuously adapt to the model's evolving capability profile. This design eliminates the need for manually curated post-training data and makes APT model-agnostic, benchmark-agnostic, architecture-agnostic, and fully automated.

ABSTRACT

Post-training is crucial for improving text-to-image models, yet existing pipelines typically rely on manually curated training data and fixed training distributions. We introduce APT (Agentic Post-Training), a fully automated framework that adaptively post-trains a base model according to its evolving capability profile. APT coordinates three agents to construct evaluation sets from user requirements, diagnose model-specific strengths and failure modes, and generate reinforcement learning data with an adaptive prompt distribution that emphasizes underperforming capabilities. By repeatedly evaluating, diagnosing, and updating the generator, APT lets the current model's behavior shape its next training tasks, forming a feedback loop inspired by recursive self-improvement. For general-purpose settings without user-specified evaluation scenarios, we further develop an evaluation harness that enables broad and diverse evaluation set generation. Experiments across multiple base models, benchmarks, and generation architectures demonstrate that APT is model-agnostic, benchmark-agnostic, architecture-agnostic, and fully automated.

*Work done during internship in MSRA. † Corresponding author.

1 INTRODUCTION

Recent text-to-image (T2I) models have achieved remarkable progress in visual quality, prompt following, text rendering, compositional generation, and controllability (Black Forest Labs, 2025; OpenAI, 2026; Google, 2026; SeedDance, 2026; Zhao et al., 2026). Beyond large-scale pre-training, post-training has become increasingly important for correcting specific failure modes and aligning model behavior with desired objectives (Xu et al., 2026; Chen et al., 2026a; Jiang et al., 2026a; Feng et al., 2026b). Existing post-training pipelines, however, typically rely on manually constructed training distributions: practitioners identify model weaknesses, collect or synthesize corresponding training data, and repeatedly adjust the data distribution based on empirical observations (Xu et al., 2026; Chen et al., 2026a; Feng et al., 2026b; Geng et al., 2025). Such a workflow is labor-intensive and difficult to scale as models, benchmarks, and user requirements continue to diversify.

More fundamentally, we argue that post-training should be model-adaptive. Different base models exhibit substantially different capability distributions: a model that performs well on text rendering may struggle with counting or spatial relations, while another may exhibit the opposite behavior. Consequently, a post-training dataset that is effective for one model is not necessarily optimal for another. We can view each base model M as inducing its own capability and failure distribution pMp_{M} over generation tasks. Effective post-training should therefore identify where the current model underperforms, sample training examples accordingly (Chen et al., 2026b), and continuously adapt the sampling distribution as the model improves (Li et al., 2026). In other words, the key question is not only how to optimize a model, but also what the current model should be trained on. This perspective naturally connects post-training to recursive self-improvement (RSI), in which the evaluation results of the updated model are used to determine the training tasks for the next round (Zelikman et al., 2023; Zweiger et al., 2026; Huang et al., 2026).

To address this problem, we introduce APT (Agentic Post-Training), a fully automated framework that turns post-training into an adaptive, evaluation-driven self-improvement loop, as illustrated in Figure 1. Given a T2I base model and an evaluation requirement, APT automatically constructs an evaluation set of prompt–rubric pairs, diagnoses the current model's strengths and weaknesses, and generates model-specific RL training data. The updated model is then re-evaluated, allowing its evolving behavior to continuously reshape the training distribution for the next round. Rather than relying on a fixed, manually curated dataset, APT lets the current model determine what should be learned next.

As shown in Figure 1, APT is built around three collaborative agents. The Evaluation Set Generation Agent converts a high-level evaluation scope into a structured evaluation suite with an adaptive taxonomy, prompts, and task-specific rubrics. The Diagnosis Agent evaluates the current model at the instance and category levels and summarizes systematic strengths and failure modes. The RL Data Generation Agent then converts this diagnosis into an adaptive prompt distribution that prioritizes underperforming capabilities while retaining moderate and mastered ones, producing model-specific data for RL-based post-training (Zheng et al., 2026; Liu et al., 2026a; Shao et al., 2024). Repeated evaluation, diagnosis, and adaptive sampling provide an implicit mechanism for discovering and tracking the evolving model-dependent distribution pMp_{M} without explicitly estimating it.

APT also supports general-purpose post-training when no evaluation scope is specified. For this setting, we develop an evaluation harness that guides the Evaluation Set Generation Agent to systematically construct a broad and diverse evaluation set spanning common generation scenarios and capability dimensions (Feng et al., 2026c).

The resulting framework is model-agnostic, benchmark-agnostic, architecture-agnostic, and fully automated, and we validate these properties across multiple T2I models, generation architectures, and benchmarks (Chen et al., 2026a; Esser et al., 2024; Black Forest Labs, 2024; Team et al., 2025; Chen et al., 2025). APT consistently improves diverse base models and outperforms post-training with a carefully handcrafted RL training set. Moreover, transferring APT-generated training data across models is consistently inferior to adaptively generating data for the target model, supporting our central hypothesis that effective post-training distributions are model-specific and should evolve together with the model. Together, these results establish agentic, evaluation-driven adaptation as a practical step toward recursive self-improvement for text-to-image generation.

2 METHOD

Overview. Figure 1 provides an overview of APT. The Evaluation Set Generation Agent is invoked once before post-training to construct the fixed evaluation set E of prompt–rubric pairs (Section 2.1). Users may specify an evaluation scope; when no scope is provided, we use our general-purpose evaluation harness to ensure broad and comprehensive coverage. APT then enters an iterative post-training loop. At each round, the Diagnosis Agent (Section 2.2) evaluates the current model and produces an evaluation report, which is passed to the RL Data Generation Agent (Section 2.3) to generate training data for the next RL update. This RSI-inspired loop repeats after each update, enabling the training distribution to adapt to the model's evolving weaknesses. As described in Section 2.4, APT is model-agnostic, benchmark-agnostic, and architecture-agnostic, and can therefore be applied to diverse text-to-image models and evaluation settings.

Round-Wise Learning Objective. At the beginning of round tt, MtM_t denotes the current text-to-image generator; pp and xx denote a text prompt and a generated image, respectively. Let DtD_t be the generated dataset of training prompts for this round, and write (p,R)∼Dt(p, R) \sim D_t to denote sampling a prompt–rubric-set pair from this dataset. For a prompt pip_i, let RiR_i be its associated rubric set and ρ∈Ri\rho \in R_i an individual evaluation criterion. Both diagnosis and training use GPT-4.1-mini as vision-language evaluator, denoted by VV. Its binary output V(x,p,ρ)∈{0,1}V(x, p, \rho) \in \{0, 1\} is 1 if image xx satisfies criterion ρ\rho for prompt pp, and 0 otherwise. For an image xix_i generated from pip_i, the training reward is the arithmetic mean of these rubric-level scores:

r(xi,pi)=1∣Ri∣∑ρ∈RiV(xi,pi,ρ).r(x_{i},p_{i})=\frac{1}{|R_{i}|}\sum_{\rho\in R_{i}}V(x_{i},p_{i},\rho).

Each prompt’s rubric set is fixed and shared across all its generated images within a rollout round. The evaluator’s scoring instructions are provided in Appendix E.3. The round-wise expected-reward objective is

J(Mt)=E(p,R)∼Dt,x∼Mt(⋅∣p)[r(x,p)].(1)J(M_{t})=\mathbb{E}_{(p,R)\sim D_{t},x\sim M_{t}(\cdot|p)}[r(x,p)]. \tag{1}

Starting from MtM_t, the configured RL algorithm takes a finite number of optimization steps aimed at increasing J(Mt)J(M_t), with DtD_t and the reward procedure fixed within the round.

Recursive Data–Model Coupling. APT couples an outer loop of diagnostic-driven task adaptation with an inner loop of RL-based model optimization. At round tt, Bt⊂E\mathcal{B}_t \subset \mathcal{E} is a sampled diagnostic batch of prompt–rubric pairs, and Rt\mathcal{R}_t denotes the resulting rubric-level evaluation report for MtM_t. Let Diag and G\mathcal{G} denote the diagnosis and data-generation procedures, respectively, and let U\mathcal{U} denote the RL update operator. The coupled update is

Rt=Diag(Mt,Bt),Dt=G(Rt),Mt+1=U(Mt,Dt;V).\begin{align*}\mathcal{R}_{t}&=\mathrm{Diag}(M_{t},\mathcal{B}_{t}),\qquad D_{t}=\mathcal{G}(\mathcal{R}_{t}),\\M_{t+1}&=\mathcal{U}(M_{t},D_{t};V).\end{align*}

(2)

The update operator U\mathcal{U} returns Mt+1M_{t+1} by applying the configured finite number of RL steps to MtM_t, with the aim of maximizing J(Mt)J(M_t) in Equation 1. Re-evaluating Mt+1M_{t+1} yields a diagnostic report Rt+1\mathcal{R}_{t+1} that guides the generation of training prompts Dt+1D_{t+1} for the next RL update. We next describe the three agents that instantiate this feedback-driven post-training loop.

2.1 EVALUATION SET GENERATION AGENT

The Evaluation Set Generation Agent is responsible for constructing the evaluation data used to diagnose the current model before the post-training stage. When a user specifies an evaluation scope, the agent directly generates evaluation examples tailored to the requested scenarios. For the more general setting where no evaluation scope is provided, we further design a general-purpose evaluation harness that guides the agent to systematically construct a broad-coverage evaluation set spanning diverse image-generation scenarios and capabilities. Each evaluation example consists of an image-generation prompt paired with its corresponding prompt-specific evaluation rubrics. The evaluation set is constructed through a multi-step generation pipeline consisting of scenario generation, prompt generation, and rubric generation.

Step 1: Scenario Generation. We begin with a broad set of common image-generation scenario categories, including Human, Object, Animal, Plant, Scene, Food, Event, Fictional World, Text,

Figure

Prompt-Rubrics Pair Number