Upload folder using huggingface_hub
Browse files- iclr26/5K9XW9gQ5r/appendix_chunks.jsonl +53 -0
- iclr26/5K9XW9gQ5r/appendix_text_v3.txt +158 -0
- iclr26/5K9XW9gQ5r/assets.json +68 -0
- iclr26/5K9XW9gQ5r/assets/_page_15_Picture_3.jpeg +3 -0
- iclr26/5K9XW9gQ5r/assets/_page_15_Picture_6.jpeg +3 -0
- iclr26/5K9XW9gQ5r/assets/_page_15_Picture_9.jpeg +3 -0
- iclr26/5K9XW9gQ5r/assets/_page_8_Figure_1.jpeg +3 -0
- iclr26/5K9XW9gQ5r/chunks_v3_anonymized.jsonl +128 -0
- iclr26/5K9XW9gQ5r/dataset_meta.json +64 -0
- iclr26/5K9XW9gQ5r/main_body_chunks.jsonl +71 -0
- iclr26/5K9XW9gQ5r/marker_meta.json +1873 -0
- iclr26/5K9XW9gQ5r/model_text_v3.txt +212 -0
- iclr26/5K9XW9gQ5r/paper.blocks.json +0 -0
- iclr26/5K9XW9gQ5r/paper.md +587 -0
- iclr26/5K9XW9gQ5r/parse_report.json +77 -0
- iclr26/5K9XW9gQ5r/reference_chunks.jsonl +4 -0
- iclr26/5K9XW9gQ5r/reference_text_v3.txt +11 -0
- iclr26/5K9XW9gQ5r/sanitization_report.json +60 -0
- iclr26/5K9XW9gQ5r/sanitized_v3.txt +334 -0
iclr26/5K9XW9gQ5r/appendix_chunks.jsonl
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0075", "section": "A TECHNICAL APPENDICES", "page_start": 14, "page_end": 14, "type": "Text", "text": "In this appendix, we provide additional implementation details of our experiments (Sec. A.1) and describe the formulation of the Straight-Through Gumbel-Softmax estimator (Sec. A.2) . We then present more details and the loss formulation for the non-end-to-end training pipeline (Sec. A.3) . Additional results for both tasks, including human evaluation and extended visualization examples, are provided in Sec. A.5, Sec. A.6, Sec. A.4, and Sec. A.7. We also include a distributional analysis (Sec. A.9) , a detailed discussion of the reward design (Sec. A.10) , and further analysis comparing SFT and GRPO in non-end-to-end settings (Sec. A.8) . In addition, we describe our use of LLMs (Sec. A.13) . Finally, we discuss the limitations of our work (Sec. A.14) .", "source": "marker_v2", "marker_block_id": "/page/13/Text/2"}
|
| 2 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0076", "section": "Training details.", "page_start": 14, "page_end": 14, "type": "Text", "text": "For the SFT and GRPO phases, we set the learning rate to 1 × 10− 5 for both the Janus and Showo models. We use the constructed prompts as input and randomly select one sentence from the six predefined categories, treating these as the training set, while the prompts from the GenEval benchmark are reserved for testing. In the GRPO phase, the group size is set equal to the batch size on each GPU, with a batch size of 3 for Show-o and 8 for Janus, using a total of 8 H100 GPUs. Training is run until the reward converges: about 3k steps for Show-o and 1k steps for Janus, after which the reward stabilizes without further increase.", "source": "marker_v2", "marker_block_id": "/page/13/Text/5"}
|
| 3 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0077", "section": "Training details.", "page_start": 14, "page_end": 14, "type": "Text", "text": "Understanding benchmark. For the understanding benchmarks, we use other unified multimodal models to generate images based on the prompts from the GenEval benchmark. We then filter and retain only the correctly generated images. These images, along with the constructed questions, are used as inputs to evaluate the model's understanding capability. We compute the accuracy as the percentage of predicted answers that match the ground-truth answers.", "source": "marker_v2", "marker_block_id": "/page/13/Text/6"}
|
| 4 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0078", "section": "Training details.", "page_start": 14, "page_end": 14, "type": "Text", "text": "New metric. For the T2I→MMU chain, we use the prompts from the GenEval benchmark for evaluation. For the MMU→T2I chain, we follow the input format of our understanding benchmarks, feeding an external image and corresponding questions for evaluation. To assess the imbalance between the two tasks using our proposed metric, we employ external language models such as Qwen (Yang et al., 2025a) or GPT (Jaech et al., 2024) to judge whether the predicted answers match the ground-truth answers and compute accuracy for each category. For image evaluation, we follow the GenEval protocol, using MMDetection (Chen et al., 2019) and Mask2Former (Cheng et al., 2022) to determine whether the generated image is correct.", "source": "marker_v2", "marker_block_id": "/page/13/Text/7"}
|
| 5 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0079", "section": "A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX", "page_start": 14, "page_end": 14, "type": "Text", "text": "The Straight-Through Gumbel-Softmax (ST-GS) estimator enables differentiable sampling of discrete tokens, which is crucial for gradient-based optimization in end-to-end training. It approximates the sampling process using a soft relaxation during the backward pass while retaining hard discrete choices during the forward pass.", "source": "marker_v2", "marker_block_id": "/page/13/Text/9"}
|
| 6 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0080", "section": "A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX", "page_start": 14, "page_end": 14, "type": "Text", "text": "The Gumbel-Softmax distribution samples a continuous approximation of one-hot vectors using the following formula:", "source": "marker_v2", "marker_block_id": "/page/13/Text/10"}
|
| 7 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0081", "section": "A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX", "page_start": 14, "page_end": 14, "type": "Equation", "text": "y_i = \\frac{\\exp\\left(\\frac{\\log(\\pi_i) + g_i}{\\tau}\\right)}{\\sum_{j=1}^K \\exp\\left(\\frac{\\log(\\pi_j) + g_j}{\\tau}\\right)},\\tag{7}", "source": "marker_v2", "marker_block_id": "/page/13/Equation/11"}
|
| 8 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0082", "section": "A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX", "page_start": 14, "page_end": 14, "type": "Text", "text": "where π i is the unnormalized probability of the i-th category, g i is sampled from the Gumbel(0, 1) distribution, τ is a temperature parameter controlling the smoothness, and K is the number of categories.", "source": "marker_v2", "marker_block_id": "/page/13/Text/12"}
|
| 9 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0083", "section": "A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX", "page_start": 14, "page_end": 14, "type": "Text", "text": "In the straight-through version, a hard one-hot vector z is obtained during the forward pass by applying arg max over the sampled logits:", "source": "marker_v2", "marker_block_id": "/page/13/Text/13"}
|
| 10 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0084", "section": "A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX", "page_start": 14, "page_end": 14, "type": "Equation", "text": "z_i = \\begin{cases} 1, & \\text{if } i = \\arg\\max_j y_j \\\\ 0, & \\text{otherwise} \\end{cases} (8)", "source": "marker_v2", "marker_block_id": "/page/13/Equation/14"}
|
| 11 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0085", "section": "A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX", "page_start": 15, "page_end": 15, "type": "Text", "text": "While the forward pass uses hard selection, the backward pass uses the soft y i values to compute gradients, enabling smooth updates.", "source": "marker_v2", "marker_block_id": "/page/14/Text/1"}
|
| 12 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0086", "section": "A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX", "page_start": 15, "page_end": 15, "type": "Text", "text": "We adopt the Straight-Through Gumbel-Softmax in our method to allow gradients from downstream tasks to propagate through discrete image tokens. This is critical for end-to-end training, as it ensures that the generation module receives meaningful gradient signals and participates in joint optimization with the understanding module.", "source": "marker_v2", "marker_block_id": "/page/14/Text/2"}
|
| 13 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0087", "section": "A.3 NON END-TO-END TRAINING PIPELINE", "page_start": 15, "page_end": 15, "type": "Text", "text": "For non-end-to-end training, we decouple the GRPO loss into two separate objectives for the T2I and MMU modules.", "source": "marker_v2", "marker_block_id": "/page/14/Text/4"}
|
| 14 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0088", "section": "A.3 NON END-TO-END TRAINING PIPELINE", "page_start": 15, "page_end": 15, "type": "Text", "text": "T2I optimization. For the image generation task, we directly optimize the image token logits using rewards computed from MMU performance. The GRPO loss is defined as:", "source": "marker_v2", "marker_block_id": "/page/14/Text/5"}
|
| 15 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0089", "section": "A.3 NON END-TO-END TRAINING PIPELINE", "page_start": 15, "page_end": 15, "type": "Equation", "text": "\\mathcal{L}_{T2I}(\\theta) = -\\sum_{k=1}^{K} w_k \\log p_{\\theta} (\\hat{\\mathbf{u}}_k \\mid p) + \\beta \\operatorname{KL} (p_{\\theta}(\\mathbf{u} \\mid p) \\parallel p_{\\theta_{ref}}(\\mathbf{u} \\mid p)),", "source": "marker_v2", "marker_block_id": "/page/14/Equation/6"}
|
| 16 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0090", "section": "A.3 NON END-TO-END TRAINING PIPELINE", "page_start": 15, "page_end": 15, "type": "Text", "text": "where p is the input prompt, uˆ k is the k-th sampled image token sequence, and w k is a reward-based importance weight derived from MMU outputs.", "source": "marker_v2", "marker_block_id": "/page/14/Text/7"}
|
| 17 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0091", "section": "A.3 NON END-TO-END TRAINING PIPELINE", "page_start": 15, "page_end": 15, "type": "Text", "text": "MMU optimization. For the multimodal understanding task, we optimize the answer prediction directly using rewards based on answer correctness. The GRPO loss is given by:", "source": "marker_v2", "marker_block_id": "/page/14/Text/8"}
|
| 18 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0092", "section": "A.3 NON END-TO-END TRAINING PIPELINE", "page_start": 15, "page_end": 15, "type": "Equation", "text": "\\mathcal{L}_{\\text{MMU}}(\\theta) = -\\sum_{k=1}^{K} w_k \\log p_{\\theta} (\\hat{a}_k \\mid \\mathbf{u}, q) + \\beta \\operatorname{KL} \\left( p_{\\theta}(a \\mid \\mathbf{u}, q) \\parallel p_{\\theta_{\\text{ref}}}(a \\mid \\mathbf{u}, q) \\right),", "source": "marker_v2", "marker_block_id": "/page/14/Equation/9"}
|
| 19 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0093", "section": "A.3 NON END-TO-END TRAINING PIPELINE", "page_start": 15, "page_end": 15, "type": "Text", "text": "where u is the input image token sequence, q is the question, aˆ k is the predicted answer, and w k is computed based on the answer reward.", "source": "marker_v2", "marker_block_id": "/page/14/Text/10"}
|
| 20 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0094", "section": "A.3 NON END-TO-END TRAINING PIPELINE", "page_start": 15, "page_end": 15, "type": "Text", "text": "Although the two modules are optimized independently, reward signals still facilitate cross-task influence, allowing the model to benefit from mutual supervision even without gradient sharing.", "source": "marker_v2", "marker_block_id": "/page/14/Text/11"}
|
| 21 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0095", "section": "A.4 MORE GENERATION RESULTS", "page_start": 15, "page_end": 15, "type": "Text", "text": "In our main experiments using the Show-o model (Xie et al., 2024) , both our method and the baselines adopt a guidance scale of 2 and 16 generation steps during training and inference. Here, we present additional comparison results under a higher guidance scale of 5 and an extended generation length of 50 steps. We observe that our SFT-based method achieves a final score of 0.79, while our GRPO-based method reaches 0.74—both significantly outperforming all baselines.", "source": "marker_v2", "marker_block_id": "/page/14/Text/13"}
|
| 22 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0096", "section": "A.4 MORE GENERATION RESULTS", "page_start": 15, "page_end": 15, "type": "TableGroup", "text": "Table 5: Comparison of UniRL with baseline methods on the GenEval benchmark under a guidance scale of 5 and 50 generation steps. Method Single. Two. Count. Colors Posi. Attri. Overall↑ Show-o 0.98 0.81 0.69 0.82 0.32 0.53 0.68 HermesFlow 0.98 0.84 0.66 0.82 0.32 0.52 0.69 UniRL(SFT) 1.00 0.97 0.61 0.91 0.56 0.70 0.79 UniRL(GRPO) 0.96 0.80 0.67 0.86 0.50 0.67 0.74", "source": "marker_v2", "marker_block_id": "/page/14/TableGroup/537"}
|
| 23 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0097", "section": "A.5 MORE UNDERSTANDING RESULTS", "page_start": 15, "page_end": 15, "type": "Text", "text": "Since our work primarily focuses on the understanding of basic visual attributes, the main results on tasks such as counting and color recognition have been reported in Sec. 4.2. We further evaluate our method on more comprehensive benchmarks, including POPE (Li et al., 2023a) and MMMU (Yue et al., 2024) , as shown in Tab. 6. The", "source": "marker_v2", "marker_block_id": "/page/14/Text/17"}
|
| 24 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0098", "section": "A.5 MORE UNDERSTANDING RESULTS", "page_start": 15, "page_end": 15, "type": "TableGroup", "text": "Table 6: Benchmark results for multimodal understanding tasks. Method POPE↑ MMMU_val↑ Show-o 79.8 26.7 UniRL (GRPO) 78.1 26.1", "source": "marker_v2", "marker_block_id": "/page/14/TableGroup/538"}
|
| 25 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0099", "section": "Text to Image Generation Multi-modal Understanding", "page_start": 16, "page_end": 16, "type": "PictureGroup", "text": "Paper artwork, layered paper, colorful Chinese dragon surrounded by clouds.", "source": "marker_v2", "marker_block_id": "/page/15/PictureGroup/378"}
|
| 26 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0100", "section": "Text to Image Generation Multi-modal Understanding", "page_start": 16, "page_end": 16, "type": "PictureGroup", "text": "Q : Give a caption of the image", "source": "marker_v2", "marker_block_id": "/page/15/PictureGroup/379"}
|
| 27 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0101", "section": "Text to Image Generation Multi-modal Understanding", "page_start": 16, "page_end": 16, "type": "Caption", "text": "A :The image features a squirrel playing a blue electric guitar, sitting on the ground.", "source": "marker_v2", "marker_block_id": "/page/15/Caption/11"}
|
| 28 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0102", "section": "Text to Image Generation Multi-modal Understanding", "page_start": 16, "page_end": 16, "type": "Caption", "text": "Figure 4: Visualization results of our method.", "source": "marker_v2", "marker_block_id": "/page/15/Caption/12"}
|
| 29 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0103", "section": "Text to Image Generation Multi-modal Understanding", "page_start": 16, "page_end": 16, "type": "Text", "text": "Copyright©Jiawei Liu, NUS 19 slightly lower scores can be explained by the fact that our training data mainly targets basic visual understanding, whereas benchmarks such as MMMU emphasize text-based reasoning and numerical calculation. Moreover, we observe that when relying on the existing prompts during GRPO training, the model is prone to reward hacking, leading to a slightly decline in more general capabilities (e.g., arithmetic skills) that are not directly related to our target prompts. We believe that this limitation could be mitigated by either enlarging the KL coefficient to better preserve general-purpose abilities or incorporating a broader set of understanding categories, and potentially by scaling up the model size in future work.", "source": "marker_v2", "marker_block_id": "/page/15/Text/13"}
|
| 30 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0104", "section": "A.6 HUMAN EVALUATION", "page_start": 16, "page_end": 16, "type": "Text", "text": "The breathtaking view of Moraine Lake, a renowned landmark in Canada. The turquoise waters of the lake reflect the rugged peaks of the Valley of the Ten Peaks, creating a scene of unparalleled", "source": "marker_v2", "marker_block_id": "/page/15/Text/29"}
|
| 31 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0105", "section": "A.6 HUMAN EVALUATION", "page_start": 16, "page_end": 16, "type": "Text", "text": "natural beauty.", "source": "marker_v2", "marker_block_id": "/page/15/Text/30"}
|
| 32 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0106", "section": "A.6 HUMAN EVALUATION", "page_start": 16, "page_end": 16, "type": "Text", "text": "We conduct a human evaluation with 20 participants using 10 prompts that cover a broad range of lengths, styles, and content. Each participant compares the outputs of our method against those of the original Show-o for all prompts, yielding 200 total comparisons. In each comparison, selecting our method scores 1 point (0 otherwise). Averaging these scores across all participants and prompts gives a mean of 0.86, indicating that participants prefer our method in 86% of cases. In contrast, the original Show-o scores 0.14. This result demonstrates that our method performs better on general cases. An example question is shown in Fig. 5.", "source": "marker_v2", "marker_block_id": "/page/15/Text/15"}
|
| 33 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0107", "section": "A.7 MORE VISUALIZATION RESULTS", "page_start": 16, "page_end": 16, "type": "Text", "text": "We provide additional visualization results in Fig. 4, including several out-of-distribution examples. These results demonstrate that our method (GRPO) generalizes beyond the specific categories seen during training.", "source": "marker_v2", "marker_block_id": "/page/15/Text/17"}
|
| 34 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0108", "section": "A.8 MORE ANALYSIS OF SFT AND GRPO", "page_start": 16, "page_end": 16, "type": "Text", "text": "End-to-end training. For end-to-end training, supervision for T2I is inherently indirect, as the optimization signal comes from downstream tasks such as answer prediction rather than direct supervision of the generated image. Compared to MMU, T2I is generally less prone to overfitting due to the structured nature of image reconstruction. In this setting, SFT may outperform GRPO, as it leverages the ground-truth answer to directly compute the loss and guide the model toward a clearer optimization direction. This process does not heavily depend on the capacity of the base model; instead, the ground-truth serves as a strong supervision signal that helps SFT converge more efficiently.", "source": "marker_v2", "marker_block_id": "/page/15/Text/19"}
|
| 35 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0109", "section": "A.8 MORE ANALYSIS OF SFT AND GRPO", "page_start": 16, "page_end": 16, "type": "Text", "text": "In contrast, GRPO optimizes the model by generating a group of candidate answers and computing rewards to update the policy. When the model capacity is limited, the generated answers may all be incorrect, leading to weak or noisy reward signals and thus making optimization more difficult.", "source": "marker_v2", "marker_block_id": "/page/15/Text/20"}
|
| 36 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0110", "section": "A.8 MORE ANALYSIS OF SFT AND GRPO", "page_start": 17, "page_end": 17, "type": "Text", "text": "For MMU, which primarily relies on learning from text-based inputs, SFT tends to overfit easily by memorizing token patterns. GRPO, on the other hand, benefits from its reward-based training and KL regularization term, which encourages the updated model to remain close to the original pretrained model. This constraint improves generalization and helps prevent overfitting, especially in cases where training data is limited or highly structured.", "source": "marker_v2", "marker_block_id": "/page/16/Text/1"}
|
| 37 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0111", "section": "A.8 MORE ANALYSIS OF SFT AND GRPO", "page_start": 17, "page_end": 17, "type": "Text", "text": "Non end-to-end training. For non end-to-end training, applying SFT to T2I is often unstable due to error accumulation from the generation pipeline. The optimization direction can easily become unreliable, leading to training collapse. To mitigate this, one option is to follow prior works (Yang et al., 2025b; Guo et al., 2025), which use offline-generated images and filter out incorrect samples to construct a reliable training set for SFT. In comparison, GRPO is more robust in non end-to-end settings, as it directly optimizes with reward signals and demonstrates better stability and performance.", "source": "marker_v2", "marker_block_id": "/page/16/Text/2"}
|
| 38 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0112", "section": "A.9 DISTRIBUTION ANALYSIS", "page_start": 17, "page_end": 17, "type": "Text", "text": "To demonstrate that our method does not introduce data leakage, we include a distribution analysis. We encode both the T2I training prompts and the GenEval benchmark prompts with the CLIP text encoder and map them into the same semantic vector space. We then apply t-SNE to reduce the embeddings to two dimensions and compute the Jensen–Shannon divergence (JSD) between the two distributions, obtaining a value of 0.17. Formally,", "source": "marker_v2", "marker_block_id": "/page/16/Text/4"}
|
| 39 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0113", "section": "A.9 DISTRIBUTION ANALYSIS", "page_start": 17, "page_end": 17, "type": "Equation", "text": "JSD(P|Q) = \\frac{1}{2}KL(P|M) + \\frac{1}{2}KL(Q|M), \\quad M = \\frac{1}{2}(P+Q), \\tag{9}", "source": "marker_v2", "marker_block_id": "/page/16/Equation/5"}
|
| 40 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0114", "section": "A.9 DISTRIBUTION ANALYSIS", "page_start": 17, "page_end": 17, "type": "Text", "text": "where KL(\\cdot|\\cdot) denotes the Kullback–Leibler divergence. In practice, many data-drift detection tools and practitioners consider a JSD below 0.1 as an empirical threshold suggesting that two distributions are nearly identical. Our result indicates that while the two prompt sets are similar in semantics, they are not identical.", "source": "marker_v2", "marker_block_id": "/page/16/Text/6"}
|
| 41 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0115", "section": "A.9 DISTRIBUTION ANALYSIS", "page_start": 17, "page_end": 17, "type": "TableGroup", "text": "Table 8: Examples of prompts constructed for six categories of image-based question—answer tasks: single object, two object, counting, colors, position, and attribute. Category Prompt Question Answer Single object a photo of a bench What is the main object of the image? Bench Two object a photo of a table and a soccer What are two main objects of the image? A table and a soccer Counting a photo of three vases How many items in this image? Three vases Colors a photo of a green fork What is the color of the object? Green Position a photo of a train above of an elephant What are two objects and what is position relationship between two main items? The train is above of an elephant Attribute a photo of a blue chair and a red umbrella What are two objects and the colors of two objects in the image? The chair is blue and the umbrella is red", "source": "marker_v2", "marker_block_id": "/page/16/TableGroup/236"}
|
| 42 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0116", "section": "A.10 REWARD FUNCTION", "page_start": 17, "page_end": 17, "type": "Text", "text": "The reward function assigns scores based on the alignment between the predicted answer \\hat{a}_k and the ground-truth answer a^* . Although the specific reward criteria vary across question categories, all rewards rely on two key components: (1) the correct identification of object names, and (2) the accurate prediction of associated attributes, such as number, color, or spatial position.", "source": "marker_v2", "marker_block_id": "/page/16/Text/10"}
|
| 43 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0117", "section": "A.10 REWARD FUNCTION", "page_start": 17, "page_end": 17, "type": "Text", "text": "A complete summary of the category-specific reward rules is provided in Tab. 7.", "source": "marker_v2", "marker_block_id": "/page/16/Text/11"}
|
| 44 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0118", "section": "A.11 PROMPT AND QA PAIR CONSTRUCTION", "page_start": 17, "page_end": 17, "type": "Text", "text": "We provide the details and examples of the constructed prompts and question—answer pairs in Tab. 8.", "source": "marker_v2", "marker_block_id": "/page/16/Text/13"}
|
| 45 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0119", "section": "A.11 PROMPT AND QA PAIR CONSTRUCTION", "page_start": 17, "page_end": 17, "type": "TableGroup", "text": "Table 7: Examples of reward rules based on key words in generated answers Category Score Key Word Single object 1 bench Two object 2 table, soccer Counting 2 three, vase Colors 1 green Position 3 train, above of, elephant Attribute 4 blue, chair, red, umbrella", "source": "marker_v2", "marker_block_id": "/page/16/TableGroup/237"}
|
| 46 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0120", "section": "A.11 PROMPT AND QA PAIR CONSTRUCTION", "page_start": 18, "page_end": 18, "type": "Caption", "text": "Figure 5: The human evaluation.", "source": "marker_v2", "marker_block_id": "/page/17/Caption/2"}
|
| 47 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0121", "section": "A.12 ANALYSIS OF OBSERVED INCONSISTENCIES", "page_start": 18, "page_end": 18, "type": "Text", "text": "We analyze the observed inconsistencies from three perspectives:", "source": "marker_v2", "marker_block_id": "/page/17/Text/4"}
|
| 48 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0122", "section": "A.12 ANALYSIS OF OBSERVED INCONSISTENCIES", "page_start": 18, "page_end": 18, "type": "Text", "text": "Pretraining Data Imbalance. Unified models rely on large-scale datasets that differ by task. For text-to-image (T2I), datasets such as JourneyDB contain high-quality, often cartoon-style images. For multimodal understanding (MMU), datasets like LLaVA and Cambrian typically use COCO images of real-world scenes. As a result, after pretraining, Show-o tends to generate images in the style of its T2I data while still being able to answer questions about COCO-style images, reflecting a domain mismatch. This imbalance enables the model to generate images correctly—since they match the T2I training domain—but limits its ability to answer questions about those images when they lie outside the MMU training domain. Since no single large-scale dataset covers both image generation and understanding, our work focuses on the post-training stage, where we address this imbalance using only constructed prompts without external data.", "source": "marker_v2", "marker_block_id": "/page/17/Text/5"}
|
| 49 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0123", "section": "A.12 ANALYSIS OF OBSERVED INCONSISTENCIES", "page_start": 18, "page_end": 18, "type": "Text", "text": "Differences Between the Two Tasks. MMU requires the model to interpret an image and produce text, which is generally less complex than generating a detailed image in T2I. Moreover, MMU covers a wide range of tasks—such as mathematical problem solving—that lie outside the scope of image generation. These differences in task requirements naturally lead to varying performance across the two tasks.", "source": "marker_v2", "marker_block_id": "/page/17/Text/6"}
|
| 50 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0124", "section": "A.12 ANALYSIS OF OBSERVED INCONSISTENCIES", "page_start": 18, "page_end": 18, "type": "Text", "text": "Model Initialization. Some unified models are initialized with weights pretrained on a single task—either image generation or language understanding—before being fine-tuned on the other task. While this provides a strong starting point for the first capability, the secondary task must be learned from scratch and therefore often lags in performance. Differences in initialization strategies thus further contribute to the inconsistencies observed.", "source": "marker_v2", "marker_block_id": "/page/17/Text/7"}
|
| 51 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0125", "section": "A.13 USE OF LLMS", "page_start": 18, "page_end": 18, "type": "Text", "text": "In this work, large language models (LLMs) were used solely to assist with paper writing, for example in language polishing and improving clarity of presentation.", "source": "marker_v2", "marker_block_id": "/page/17/Text/9"}
|
| 52 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0126", "section": "A.14 LIMITATIONS", "page_start": 18, "page_end": 18, "type": "Text", "text": "While our work presents an effective post-training method for unified multimodal models, it also has several limitations. First, our current focus is limited to basic visual understanding tasks such as counting and color recognition. More complex reasoning abilities, such as mathematical problemsolving or abstract inference, are beyond the scope of this work and are left for future exploration.", "source": "marker_v2", "marker_block_id": "/page/17/Text/11"}
|
| 53 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0127", "section": "A.14 LIMITATIONS", "page_start": 19, "page_end": 19, "type": "Text", "text": "Second, the training speed per iteration is relatively slow. This is a known limitation of GRPO-based methods, as they require multiple forward passes during inference before optimization.", "source": "marker_v2", "marker_block_id": "/page/18/Text/1"}
|
iclr26/5K9XW9gQ5r/appendix_text_v3.txt
ADDED
|
@@ -0,0 +1,158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[p. 14 | section: A TECHNICAL APPENDICES | type: Text]
|
| 2 |
+
In this appendix, we provide additional implementation details of our experiments (Sec. A.1) and describe the formulation of the Straight-Through Gumbel-Softmax estimator (Sec. A.2) . We then present more details and the loss formulation for the non-end-to-end training pipeline (Sec. A.3) . Additional results for both tasks, including human evaluation and extended visualization examples, are provided in Sec. A.5, Sec. A.6, Sec. A.4, and Sec. A.7. We also include a distributional analysis (Sec. A.9) , a detailed discussion of the reward design (Sec. A.10) , and further analysis comparing SFT and GRPO in non-end-to-end settings (Sec. A.8) . In addition, we describe our use of LLMs (Sec. A.13) . Finally, we discuss the limitations of our work (Sec. A.14) .
|
| 3 |
+
|
| 4 |
+
[p. 14 | section: Training details. | type: Text]
|
| 5 |
+
For the SFT and GRPO phases, we set the learning rate to 1 × 10− 5 for both the Janus and Showo models. We use the constructed prompts as input and randomly select one sentence from the six predefined categories, treating these as the training set, while the prompts from the GenEval benchmark are reserved for testing. In the GRPO phase, the group size is set equal to the batch size on each GPU, with a batch size of 3 for Show-o and 8 for Janus, using a total of 8 H100 GPUs. Training is run until the reward converges: about 3k steps for Show-o and 1k steps for Janus, after which the reward stabilizes without further increase.
|
| 6 |
+
|
| 7 |
+
[p. 14 | section: Training details. | type: Text]
|
| 8 |
+
Understanding benchmark. For the understanding benchmarks, we use other unified multimodal models to generate images based on the prompts from the GenEval benchmark. We then filter and retain only the correctly generated images. These images, along with the constructed questions, are used as inputs to evaluate the model's understanding capability. We compute the accuracy as the percentage of predicted answers that match the ground-truth answers.
|
| 9 |
+
|
| 10 |
+
[p. 14 | section: Training details. | type: Text]
|
| 11 |
+
New metric. For the T2I→MMU chain, we use the prompts from the GenEval benchmark for evaluation. For the MMU→T2I chain, we follow the input format of our understanding benchmarks, feeding an external image and corresponding questions for evaluation. To assess the imbalance between the two tasks using our proposed metric, we employ external language models such as Qwen (Yang et al., 2025a) or GPT (Jaech et al., 2024) to judge whether the predicted answers match the ground-truth answers and compute accuracy for each category. For image evaluation, we follow the GenEval protocol, using MMDetection (Chen et al., 2019) and Mask2Former (Cheng et al., 2022) to determine whether the generated image is correct.
|
| 12 |
+
|
| 13 |
+
[p. 14 | section: A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX | type: Text]
|
| 14 |
+
The Straight-Through Gumbel-Softmax (ST-GS) estimator enables differentiable sampling of discrete tokens, which is crucial for gradient-based optimization in end-to-end training. It approximates the sampling process using a soft relaxation during the backward pass while retaining hard discrete choices during the forward pass.
|
| 15 |
+
|
| 16 |
+
[p. 14 | section: A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX | type: Text]
|
| 17 |
+
The Gumbel-Softmax distribution samples a continuous approximation of one-hot vectors using the following formula:
|
| 18 |
+
|
| 19 |
+
[p. 14 | section: A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX | type: Equation]
|
| 20 |
+
y_i = \frac{\exp\left(\frac{\log(\pi_i) + g_i}{\tau}\right)}{\sum_{j=1}^K \exp\left(\frac{\log(\pi_j) + g_j}{\tau}\right)},\tag{7}
|
| 21 |
+
|
| 22 |
+
[p. 14 | section: A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX | type: Text]
|
| 23 |
+
where π i is the unnormalized probability of the i-th category, g i is sampled from the Gumbel(0, 1) distribution, τ is a temperature parameter controlling the smoothness, and K is the number of categories.
|
| 24 |
+
|
| 25 |
+
[p. 14 | section: A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX | type: Text]
|
| 26 |
+
In the straight-through version, a hard one-hot vector z is obtained during the forward pass by applying arg max over the sampled logits:
|
| 27 |
+
|
| 28 |
+
[p. 14 | section: A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX | type: Equation]
|
| 29 |
+
z_i = \begin{cases} 1, & \text{if } i = \arg\max_j y_j \\ 0, & \text{otherwise} \end{cases} (8)
|
| 30 |
+
|
| 31 |
+
[p. 15 | section: A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX | type: Text]
|
| 32 |
+
While the forward pass uses hard selection, the backward pass uses the soft y i values to compute gradients, enabling smooth updates.
|
| 33 |
+
|
| 34 |
+
[p. 15 | section: A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX | type: Text]
|
| 35 |
+
We adopt the Straight-Through Gumbel-Softmax in our method to allow gradients from downstream tasks to propagate through discrete image tokens. This is critical for end-to-end training, as it ensures that the generation module receives meaningful gradient signals and participates in joint optimization with the understanding module.
|
| 36 |
+
|
| 37 |
+
[p. 15 | section: A.3 NON END-TO-END TRAINING PIPELINE | type: Text]
|
| 38 |
+
For non-end-to-end training, we decouple the GRPO loss into two separate objectives for the T2I and MMU modules.
|
| 39 |
+
|
| 40 |
+
[p. 15 | section: A.3 NON END-TO-END TRAINING PIPELINE | type: Text]
|
| 41 |
+
T2I optimization. For the image generation task, we directly optimize the image token logits using rewards computed from MMU performance. The GRPO loss is defined as:
|
| 42 |
+
|
| 43 |
+
[p. 15 | section: A.3 NON END-TO-END TRAINING PIPELINE | type: Equation]
|
| 44 |
+
\mathcal{L}_{T2I}(\theta) = -\sum_{k=1}^{K} w_k \log p_{\theta} (\hat{\mathbf{u}}_k \mid p) + \beta \operatorname{KL} (p_{\theta}(\mathbf{u} \mid p) \parallel p_{\theta_{ref}}(\mathbf{u} \mid p)),
|
| 45 |
+
|
| 46 |
+
[p. 15 | section: A.3 NON END-TO-END TRAINING PIPELINE | type: Text]
|
| 47 |
+
where p is the input prompt, uˆ k is the k-th sampled image token sequence, and w k is a reward-based importance weight derived from MMU outputs.
|
| 48 |
+
|
| 49 |
+
[p. 15 | section: A.3 NON END-TO-END TRAINING PIPELINE | type: Text]
|
| 50 |
+
MMU optimization. For the multimodal understanding task, we optimize the answer prediction directly using rewards based on answer correctness. The GRPO loss is given by:
|
| 51 |
+
|
| 52 |
+
[p. 15 | section: A.3 NON END-TO-END TRAINING PIPELINE | type: Equation]
|
| 53 |
+
\mathcal{L}_{\text{MMU}}(\theta) = -\sum_{k=1}^{K} w_k \log p_{\theta} (\hat{a}_k \mid \mathbf{u}, q) + \beta \operatorname{KL} \left( p_{\theta}(a \mid \mathbf{u}, q) \parallel p_{\theta_{\text{ref}}}(a \mid \mathbf{u}, q) \right),
|
| 54 |
+
|
| 55 |
+
[p. 15 | section: A.3 NON END-TO-END TRAINING PIPELINE | type: Text]
|
| 56 |
+
where u is the input image token sequence, q is the question, aˆ k is the predicted answer, and w k is computed based on the answer reward.
|
| 57 |
+
|
| 58 |
+
[p. 15 | section: A.3 NON END-TO-END TRAINING PIPELINE | type: Text]
|
| 59 |
+
Although the two modules are optimized independently, reward signals still facilitate cross-task influence, allowing the model to benefit from mutual supervision even without gradient sharing.
|
| 60 |
+
|
| 61 |
+
[p. 15 | section: A.4 MORE GENERATION RESULTS | type: Text]
|
| 62 |
+
In our main experiments using the Show-o model (Xie et al., 2024) , both our method and the baselines adopt a guidance scale of 2 and 16 generation steps during training and inference. Here, we present additional comparison results under a higher guidance scale of 5 and an extended generation length of 50 steps. We observe that our SFT-based method achieves a final score of 0.79, while our GRPO-based method reaches 0.74—both significantly outperforming all baselines.
|
| 63 |
+
|
| 64 |
+
[p. 15 | section: A.4 MORE GENERATION RESULTS | type: TableGroup]
|
| 65 |
+
Table 5: Comparison of UniRL with baseline methods on the GenEval benchmark under a guidance scale of 5 and 50 generation steps. Method Single. Two. Count. Colors Posi. Attri. Overall↑ Show-o 0.98 0.81 0.69 0.82 0.32 0.53 0.68 HermesFlow 0.98 0.84 0.66 0.82 0.32 0.52 0.69 UniRL(SFT) 1.00 0.97 0.61 0.91 0.56 0.70 0.79 UniRL(GRPO) 0.96 0.80 0.67 0.86 0.50 0.67 0.74
|
| 66 |
+
|
| 67 |
+
[p. 15 | section: A.5 MORE UNDERSTANDING RESULTS | type: Text]
|
| 68 |
+
Since our work primarily focuses on the understanding of basic visual attributes, the main results on tasks such as counting and color recognition have been reported in Sec. 4.2. We further evaluate our method on more comprehensive benchmarks, including POPE (Li et al., 2023a) and MMMU (Yue et al., 2024) , as shown in Tab. 6. The
|
| 69 |
+
|
| 70 |
+
[p. 15 | section: A.5 MORE UNDERSTANDING RESULTS | type: TableGroup]
|
| 71 |
+
Table 6: Benchmark results for multimodal understanding tasks. Method POPE↑ MMMU_val↑ Show-o 79.8 26.7 UniRL (GRPO) 78.1 26.1
|
| 72 |
+
|
| 73 |
+
[p. 16 | section: Text to Image Generation Multi-modal Understanding | type: PictureGroup]
|
| 74 |
+
Paper artwork, layered paper, colorful Chinese dragon surrounded by clouds.
|
| 75 |
+
|
| 76 |
+
[p. 16 | section: Text to Image Generation Multi-modal Understanding | type: PictureGroup]
|
| 77 |
+
Q : Give a caption of the image
|
| 78 |
+
|
| 79 |
+
[p. 16 | section: Text to Image Generation Multi-modal Understanding | type: Caption]
|
| 80 |
+
A :The image features a squirrel playing a blue electric guitar, sitting on the ground.
|
| 81 |
+
|
| 82 |
+
[p. 16 | section: Text to Image Generation Multi-modal Understanding | type: Caption]
|
| 83 |
+
Figure 4: Visualization results of our method.
|
| 84 |
+
|
| 85 |
+
[p. 16 | section: Text to Image Generation Multi-modal Understanding | type: Text]
|
| 86 |
+
Copyright©Jiawei Liu, NUS 19 slightly lower scores can be explained by the fact that our training data mainly targets basic visual understanding, whereas benchmarks such as MMMU emphasize text-based reasoning and numerical calculation. Moreover, we observe that when relying on the existing prompts during GRPO training, the model is prone to reward hacking, leading to a slightly decline in more general capabilities (e.g., arithmetic skills) that are not directly related to our target prompts. We believe that this limitation could be mitigated by either enlarging the KL coefficient to better preserve general-purpose abilities or incorporating a broader set of understanding categories, and potentially by scaling up the model size in future work.
|
| 87 |
+
|
| 88 |
+
[p. 16 | section: A.6 HUMAN EVALUATION | type: Text]
|
| 89 |
+
The breathtaking view of Moraine Lake, a renowned landmark in Canada. The turquoise waters of the lake reflect the rugged peaks of the Valley of the Ten Peaks, creating a scene of unparalleled
|
| 90 |
+
|
| 91 |
+
[p. 16 | section: A.6 HUMAN EVALUATION | type: Text]
|
| 92 |
+
natural beauty.
|
| 93 |
+
|
| 94 |
+
[p. 16 | section: A.6 HUMAN EVALUATION | type: Text]
|
| 95 |
+
We conduct a human evaluation with 20 participants using 10 prompts that cover a broad range of lengths, styles, and content. Each participant compares the outputs of our method against those of the original Show-o for all prompts, yielding 200 total comparisons. In each comparison, selecting our method scores 1 point (0 otherwise). Averaging these scores across all participants and prompts gives a mean of 0.86, indicating that participants prefer our method in 86% of cases. In contrast, the original Show-o scores 0.14. This result demonstrates that our method performs better on general cases. An example question is shown in Fig. 5.
|
| 96 |
+
|
| 97 |
+
[p. 16 | section: A.7 MORE VISUALIZATION RESULTS | type: Text]
|
| 98 |
+
We provide additional visualization results in Fig. 4, including several out-of-distribution examples. These results demonstrate that our method (GRPO) generalizes beyond the specific categories seen during training.
|
| 99 |
+
|
| 100 |
+
[p. 16 | section: A.8 MORE ANALYSIS OF SFT AND GRPO | type: Text]
|
| 101 |
+
End-to-end training. For end-to-end training, supervision for T2I is inherently indirect, as the optimization signal comes from downstream tasks such as answer prediction rather than direct supervision of the generated image. Compared to MMU, T2I is generally less prone to overfitting due to the structured nature of image reconstruction. In this setting, SFT may outperform GRPO, as it leverages the ground-truth answer to directly compute the loss and guide the model toward a clearer optimization direction. This process does not heavily depend on the capacity of the base model; instead, the ground-truth serves as a strong supervision signal that helps SFT converge more efficiently.
|
| 102 |
+
|
| 103 |
+
[p. 16 | section: A.8 MORE ANALYSIS OF SFT AND GRPO | type: Text]
|
| 104 |
+
In contrast, GRPO optimizes the model by generating a group of candidate answers and computing rewards to update the policy. When the model capacity is limited, the generated answers may all be incorrect, leading to weak or noisy reward signals and thus making optimization more difficult.
|
| 105 |
+
|
| 106 |
+
[p. 17 | section: A.8 MORE ANALYSIS OF SFT AND GRPO | type: Text]
|
| 107 |
+
For MMU, which primarily relies on learning from text-based inputs, SFT tends to overfit easily by memorizing token patterns. GRPO, on the other hand, benefits from its reward-based training and KL regularization term, which encourages the updated model to remain close to the original pretrained model. This constraint improves generalization and helps prevent overfitting, especially in cases where training data is limited or highly structured.
|
| 108 |
+
|
| 109 |
+
[p. 17 | section: A.8 MORE ANALYSIS OF SFT AND GRPO | type: Text]
|
| 110 |
+
Non end-to-end training. For non end-to-end training, applying SFT to T2I is often unstable due to error accumulation from the generation pipeline. The optimization direction can easily become unreliable, leading to training collapse. To mitigate this, one option is to follow prior works (Yang et al., 2025b; Guo et al., 2025), which use offline-generated images and filter out incorrect samples to construct a reliable training set for SFT. In comparison, GRPO is more robust in non end-to-end settings, as it directly optimizes with reward signals and demonstrates better stability and performance.
|
| 111 |
+
|
| 112 |
+
[p. 17 | section: A.9 DISTRIBUTION ANALYSIS | type: Text]
|
| 113 |
+
To demonstrate that our method does not introduce data leakage, we include a distribution analysis. We encode both the T2I training prompts and the GenEval benchmark prompts with the CLIP text encoder and map them into the same semantic vector space. We then apply t-SNE to reduce the embeddings to two dimensions and compute the Jensen–Shannon divergence (JSD) between the two distributions, obtaining a value of 0.17. Formally,
|
| 114 |
+
|
| 115 |
+
[p. 17 | section: A.9 DISTRIBUTION ANALYSIS | type: Equation]
|
| 116 |
+
JSD(P|Q) = \frac{1}{2}KL(P|M) + \frac{1}{2}KL(Q|M), \quad M = \frac{1}{2}(P+Q), \tag{9}
|
| 117 |
+
|
| 118 |
+
[p. 17 | section: A.9 DISTRIBUTION ANALYSIS | type: Text]
|
| 119 |
+
where KL(\cdot|\cdot) denotes the Kullback–Leibler divergence. In practice, many data-drift detection tools and practitioners consider a JSD below 0.1 as an empirical threshold suggesting that two distributions are nearly identical. Our result indicates that while the two prompt sets are similar in semantics, they are not identical.
|
| 120 |
+
|
| 121 |
+
[p. 17 | section: A.9 DISTRIBUTION ANALYSIS | type: TableGroup]
|
| 122 |
+
Table 8: Examples of prompts constructed for six categories of image-based question—answer tasks: single object, two object, counting, colors, position, and attribute. Category Prompt Question Answer Single object a photo of a bench What is the main object of the image? Bench Two object a photo of a table and a soccer What are two main objects of the image? A table and a soccer Counting a photo of three vases How many items in this image? Three vases Colors a photo of a green fork What is the color of the object? Green Position a photo of a train above of an elephant What are two objects and what is position relationship between two main items? The train is above of an elephant Attribute a photo of a blue chair and a red umbrella What are two objects and the colors of two objects in the image? The chair is blue and the umbrella is red
|
| 123 |
+
|
| 124 |
+
[p. 17 | section: A.10 REWARD FUNCTION | type: Text]
|
| 125 |
+
The reward function assigns scores based on the alignment between the predicted answer \hat{a}_k and the ground-truth answer a^* . Although the specific reward criteria vary across question categories, all rewards rely on two key components: (1) the correct identification of object names, and (2) the accurate prediction of associated attributes, such as number, color, or spatial position.
|
| 126 |
+
|
| 127 |
+
[p. 17 | section: A.10 REWARD FUNCTION | type: Text]
|
| 128 |
+
A complete summary of the category-specific reward rules is provided in Tab. 7.
|
| 129 |
+
|
| 130 |
+
[p. 17 | section: A.11 PROMPT AND QA PAIR CONSTRUCTION | type: Text]
|
| 131 |
+
We provide the details and examples of the constructed prompts and question—answer pairs in Tab. 8.
|
| 132 |
+
|
| 133 |
+
[p. 17 | section: A.11 PROMPT AND QA PAIR CONSTRUCTION | type: TableGroup]
|
| 134 |
+
Table 7: Examples of reward rules based on key words in generated answers Category Score Key Word Single object 1 bench Two object 2 table, soccer Counting 2 three, vase Colors 1 green Position 3 train, above of, elephant Attribute 4 blue, chair, red, umbrella
|
| 135 |
+
|
| 136 |
+
[p. 18 | section: A.11 PROMPT AND QA PAIR CONSTRUCTION | type: Caption]
|
| 137 |
+
Figure 5: The human evaluation.
|
| 138 |
+
|
| 139 |
+
[p. 18 | section: A.12 ANALYSIS OF OBSERVED INCONSISTENCIES | type: Text]
|
| 140 |
+
We analyze the observed inconsistencies from three perspectives:
|
| 141 |
+
|
| 142 |
+
[p. 18 | section: A.12 ANALYSIS OF OBSERVED INCONSISTENCIES | type: Text]
|
| 143 |
+
Pretraining Data Imbalance. Unified models rely on large-scale datasets that differ by task. For text-to-image (T2I), datasets such as JourneyDB contain high-quality, often cartoon-style images. For multimodal understanding (MMU), datasets like LLaVA and Cambrian typically use COCO images of real-world scenes. As a result, after pretraining, Show-o tends to generate images in the style of its T2I data while still being able to answer questions about COCO-style images, reflecting a domain mismatch. This imbalance enables the model to generate images correctly—since they match the T2I training domain—but limits its ability to answer questions about those images when they lie outside the MMU training domain. Since no single large-scale dataset covers both image generation and understanding, our work focuses on the post-training stage, where we address this imbalance using only constructed prompts without external data.
|
| 144 |
+
|
| 145 |
+
[p. 18 | section: A.12 ANALYSIS OF OBSERVED INCONSISTENCIES | type: Text]
|
| 146 |
+
Differences Between the Two Tasks. MMU requires the model to interpret an image and produce text, which is generally less complex than generating a detailed image in T2I. Moreover, MMU covers a wide range of tasks—such as mathematical problem solving—that lie outside the scope of image generation. These differences in task requirements naturally lead to varying performance across the two tasks.
|
| 147 |
+
|
| 148 |
+
[p. 18 | section: A.12 ANALYSIS OF OBSERVED INCONSISTENCIES | type: Text]
|
| 149 |
+
Model Initialization. Some unified models are initialized with weights pretrained on a single task—either image generation or language understanding—before being fine-tuned on the other task. While this provides a strong starting point for the first capability, the secondary task must be learned from scratch and therefore often lags in performance. Differences in initialization strategies thus further contribute to the inconsistencies observed.
|
| 150 |
+
|
| 151 |
+
[p. 18 | section: A.13 USE OF LLMS | type: Text]
|
| 152 |
+
In this work, large language models (LLMs) were used solely to assist with paper writing, for example in language polishing and improving clarity of presentation.
|
| 153 |
+
|
| 154 |
+
[p. 18 | section: A.14 LIMITATIONS | type: Text]
|
| 155 |
+
While our work presents an effective post-training method for unified multimodal models, it also has several limitations. First, our current focus is limited to basic visual understanding tasks such as counting and color recognition. More complex reasoning abilities, such as mathematical problemsolving or abstract inference, are beyond the scope of this work and are left for future exploration.
|
| 156 |
+
|
| 157 |
+
[p. 19 | section: A.14 LIMITATIONS | type: Text]
|
| 158 |
+
Second, the training speed per iteration is relatively slow. This is a known limitation of GRPO-based methods, as they require multiple forward passes during inference before optimization.
|
iclr26/5K9XW9gQ5r/assets.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"filename": "_page_15_Picture_3.jpeg",
|
| 4 |
+
"path": "/network/scratch/j/jianan.zhao/ReviewAgent/data/processed_papers/iclr26_20260429_1952_all/marker_raw/5K9XW9gQ5r/marker_markdown/5K9XW9gQ5r/_page_15_Picture_3.jpeg",
|
| 5 |
+
"bytes": 10513,
|
| 6 |
+
"width": 233,
|
| 7 |
+
"height": 241,
|
| 8 |
+
"aspect_ratio": 0.966804979253112,
|
| 9 |
+
"keep": true,
|
| 10 |
+
"reject_reason": null,
|
| 11 |
+
"model_path": "assets/_page_15_Picture_3.jpeg"
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"filename": "_page_15_Picture_6.jpeg",
|
| 15 |
+
"path": "/network/scratch/j/jianan.zhao/ReviewAgent/data/processed_papers/iclr26_20260429_1952_all/marker_raw/5K9XW9gQ5r/marker_markdown/5K9XW9gQ5r/_page_15_Picture_6.jpeg",
|
| 16 |
+
"bytes": 17464,
|
| 17 |
+
"width": 260,
|
| 18 |
+
"height": 255,
|
| 19 |
+
"aspect_ratio": 1.0196078431372548,
|
| 20 |
+
"keep": true,
|
| 21 |
+
"reject_reason": null,
|
| 22 |
+
"model_path": "assets/_page_15_Picture_6.jpeg"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"filename": "_page_15_Picture_7.jpeg",
|
| 26 |
+
"path": "/network/scratch/j/jianan.zhao/ReviewAgent/data/processed_papers/iclr26_20260429_1952_all/marker_raw/5K9XW9gQ5r/marker_markdown/5K9XW9gQ5r/_page_15_Picture_7.jpeg",
|
| 27 |
+
"bytes": 2394,
|
| 28 |
+
"width": 219,
|
| 29 |
+
"height": 38,
|
| 30 |
+
"aspect_ratio": 5.7631578947368425,
|
| 31 |
+
"keep": false,
|
| 32 |
+
"reject_reason": "too_small",
|
| 33 |
+
"model_path": null
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"filename": "_page_15_Picture_8.jpeg",
|
| 37 |
+
"path": "/network/scratch/j/jianan.zhao/ReviewAgent/data/processed_papers/iclr26_20260429_1952_all/marker_raw/5K9XW9gQ5r/marker_markdown/5K9XW9gQ5r/_page_15_Picture_8.jpeg",
|
| 38 |
+
"bytes": 5999,
|
| 39 |
+
"width": 243,
|
| 40 |
+
"height": 66,
|
| 41 |
+
"aspect_ratio": 3.6818181818181817,
|
| 42 |
+
"keep": false,
|
| 43 |
+
"reject_reason": "too_small",
|
| 44 |
+
"model_path": null
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"filename": "_page_15_Picture_9.jpeg",
|
| 48 |
+
"path": "/network/scratch/j/jianan.zhao/ReviewAgent/data/processed_papers/iclr26_20260429_1952_all/marker_raw/5K9XW9gQ5r/marker_markdown/5K9XW9gQ5r/_page_15_Picture_9.jpeg",
|
| 49 |
+
"bytes": 9605,
|
| 50 |
+
"width": 258,
|
| 51 |
+
"height": 258,
|
| 52 |
+
"aspect_ratio": 1.0,
|
| 53 |
+
"keep": true,
|
| 54 |
+
"reject_reason": null,
|
| 55 |
+
"model_path": "assets/_page_15_Picture_9.jpeg"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"filename": "_page_8_Figure_1.jpeg",
|
| 59 |
+
"path": "/network/scratch/j/jianan.zhao/ReviewAgent/data/processed_papers/iclr26_20260429_1952_all/marker_raw/5K9XW9gQ5r/marker_markdown/5K9XW9gQ5r/_page_8_Figure_1.jpeg",
|
| 60 |
+
"bytes": 74373,
|
| 61 |
+
"width": 1145,
|
| 62 |
+
"height": 501,
|
| 63 |
+
"aspect_ratio": 2.285429141716567,
|
| 64 |
+
"keep": true,
|
| 65 |
+
"reject_reason": null,
|
| 66 |
+
"model_path": "assets/_page_8_Figure_1.jpeg"
|
| 67 |
+
}
|
| 68 |
+
]
|
iclr26/5K9XW9gQ5r/assets/_page_15_Picture_3.jpeg
ADDED
|
Git LFS Details
|
iclr26/5K9XW9gQ5r/assets/_page_15_Picture_6.jpeg
ADDED
|
Git LFS Details
|
iclr26/5K9XW9gQ5r/assets/_page_15_Picture_9.jpeg
ADDED
|
Git LFS Details
|
iclr26/5K9XW9gQ5r/assets/_page_8_Figure_1.jpeg
ADDED
|
Git LFS Details
|
iclr26/5K9XW9gQ5r/chunks_v3_anonymized.jsonl
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0000", "section": "ABSTRACT", "page_start": 1, "page_end": 1, "type": "Text", "text": "Unified multimodal large language models such as Show-o and Janus have achieved strong performance across both generation and understanding tasks. However, these models typically rely on large-scale datasets and require substantial computation during the pretraining stage. In addition, several post-training methods have been proposed, but they often depend on external data or are limited to task-specific customization. In this work, we introduce UniRL, a self-improving post-training approach. Our approach enables the model to generate images from prompts and use them as training data in each iteration, without relying on any external image data. Moreover, it enables the two tasks to enhance each other: the generated images are used for understanding, and the understanding results are used to supervise generation. We explore supervised fine-tuning (SFT) and Group Relative Policy Optimization (GRPO) to optimize the models. UniRL offers three key advantages: (1) it requires no external image data, as all training samples are generated by the model itself during training; (2) it not only improves individual task performance, but also reduces the imbalance between generation and understanding; and (3) it requires only several additional training steps during the post-training stage. We evaluate UniRL on top of Show-o and Janus, achieving a GenEval score of 0.77 for Show-o and 0.65 for Janus. Code and models will be released.", "source": "marker_v2", "marker_block_id": "/page/0/Text/4"}
|
| 2 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0001", "section": "1 INTRODUCTION", "page_start": 1, "page_end": 1, "type": "Text", "text": "Unified multimodal large language models are designed to handle both generation and understanding tasks within a shared parameter space. Recently, models such as Show-o, Janus, and others (Xie et al., 2024; Wu et al., 2024a; Ma et al., 2024; Zhou et al., 2024; Wang et al., 2024) have made rapid progress by adopting various architectural and training strategies. Most existing work focuses on the pretraining stage, leveraging large-scale data to train models built upon large language models (LLMs) (Li et al., 2023b; Abdin et al., 2024; Touvron et al., 2023) or multimodal LLMs (MLLMs) (Bai et al., 2023; Liu et al., 2024d; c) . However, these methods often face challenges such as high computational cost and the need for vast amounts of data. Meanwhile, several studies (Yang et al., 2025b; Guo et al., 2025; Li et al., 2025) have explored the post-training phase, but they face limitations: some require additional external data (Yang et al., 2025b; Zhao et al., 2025; Li et al., 2025) , others target only a single task (Guo et al., 2025; Li et al., 2025) , or focus on task-specific customization (Zhao et al., 2025) . Therefore, developing effective post-training methods to improve the performance of unified multimodal models remains a significant challenge.", "source": "marker_v2", "marker_block_id": "/page/0/Text/6"}
|
| 3 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0002", "section": "1 INTRODUCTION", "page_start": 1, "page_end": 1, "type": "Text", "text": "In this work, we propose a self-improving post-training method for unified multimodal models without external image data. We begin by constructing prompts and question–answer (QA) pairs inspired by the GenEval (Ghosh et al., 2023) benchmark, which evaluates generation quality by categorizing prompts into six types—such as counting, color, and position—designed to reflect fundamental visual features of natural images. We adopt this categorization to design the prompts used in our training process. In each training iteration, a constructed prompt is fed into the model to generate a group of images. These images, along with the corresponding questions, are then input back into the model to predict answers. The model is optimized using both the predicted and ground-truth answers to improve generation and understanding simultaneously. For optimization, we explore two strategies: supervised fine-tuning (SFT) and reinforcement learning.", "source": "marker_v2", "marker_block_id": "/page/0/Text/7"}
|
| 4 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0003", "section": "1 INTRODUCTION", "page_start": 2, "page_end": 2, "type": "Caption", "text": "Figure 1: The imbalance between Text-to-Image Generation (T2I) and Multi-modal Understanding (MMU). For the same image, unified multimodal models may struggle to perform both generation and understanding consistently.", "source": "marker_v2", "marker_block_id": "/page/1/Caption/2"}
|
| 5 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0004", "section": "1 INTRODUCTION", "page_start": 2, "page_end": 2, "type": "Text", "text": "In the post-training stage, supervised fine-tuning (SFT) and reinforcement learning have traditionally been widely used. Recently, Group Relative Policy Optimization (GRPO) (Shao et al., 2024), a reinforcement learning method, has shown strong performance in large language models (LLMs) (DeepSeek-AI et al., 2025), enabling effective post-training optimization through chain-of-thought (CoT) reasoning. In this work, we explore two optimization strategies—SFT and GRPO—for unified multimodal models and analyze the advantages of each strategy. Previous applications of GRPO typically rely on chain-of-thought outputs to estimate reward distributions. However, most current unified multimodal models lack the ability to produce structured reasoning steps. Therefore, we explore a GRPO-based method that does not rely on reasoning outputs, aiming to improve the performance of unified multimodal models.", "source": "marker_v2", "marker_block_id": "/page/1/Text/3"}
|
| 6 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0005", "section": "1 INTRODUCTION", "page_start": 2, "page_end": 2, "type": "Text", "text": "For the performance of the unified multimodal models, we define it along three dimensions: (1) image generation capability, (2) image understanding capability, and (3) the balance between the two. While prior work has primarily focused on improving performance for a single task, unified multimodal models frequently exhibit poor alignment between the two capabilities. As shown in Fig. 1, these models often fail to simultaneously support both tasks on the same image. The model may succeed in generating a plausible image but fail to answer the corresponding question, or fail in generation while answering correctly. Therefore, beyond improving individual tasks, our self-improving method explicitly targets the imbalance between image generation and understanding. To quantitatively assess this imbalance, we design a new evaluation metric. While visual understanding spans a wide range of tasks, including reasoning and mathematical problem solving, we focus on basic visual features of natural images—such as object count, color, and position—in both training and evaluation to ensure alignment between generation and understanding tasks.", "source": "marker_v2", "marker_block_id": "/page/1/Text/4"}
|
| 7 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0006", "section": "1 INTRODUCTION", "page_start": 2, "page_end": 2, "type": "Text", "text": "Our method offers three main advantages. (1) It does not rely on external image data, using only images generated in real time during training. (2) It improves the performance of individual tasks while also reducing the imbalance between generation and understanding. Specifically, the same set of generated images is used for both tasks, enabling shared supervision that helps improve the imbalance between them. (3) It requires only a small number of training steps during the post-training stage. To evaluate our method, we adopt Show-o and Janus as base models, assessing improvements in both single-task performance and the balance between tasks. Our approach achieves post-training GenEval scores of 0.77 on Show-o and 0.65 on Janus.", "source": "marker_v2", "marker_block_id": "/page/1/Text/5"}
|
| 8 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0007", "section": "1 INTRODUCTION", "page_start": 2, "page_end": 2, "type": "Text", "text": "Our main contributions are summarized as follows:", "source": "marker_v2", "marker_block_id": "/page/1/Text/6"}
|
| 9 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0008", "section": "1 INTRODUCTION", "page_start": 2, "page_end": 2, "type": "ListGroup", "text": "To the best of our knowledge, we propose the first self-improving post-training optimization method for unified multimodal models via supervised and reinforcement learning. We investigate the effectiveness of both supervised fine-tuning (SFT) and Group Relative Policy Optimization (GRPO) for unified multimodal models, and provide a detailed comparison of their respective performance.", "source": "marker_v2", "marker_block_id": "/page/1/ListGroup/236"}
|
| 10 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0009", "section": "1 INTRODUCTION", "page_start": 3, "page_end": 3, "type": "ListGroup", "text": "We introduce a new metric to quantify the imbalance between generation and understanding tasks within a single model. Our evaluations across multiple unified models reveal that such imbalance is common. Our method substantially improves image generation and understanding quality and effectively reduces task imbalance, enabling better consistency between text-to-image generation and multimodal understanding.", "source": "marker_v2", "marker_block_id": "/page/2/ListGroup/395"}
|
| 11 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0010", "section": "2.1 UNIFIED MULTIMODAL UNDERSTANDING AND GENERATION", "page_start": 3, "page_end": 3, "type": "Text", "text": "Several recent studies (Ge et al., 2024; Wu et al., 2023; Team, 2024; Xie et al., 2024; Liu et al., 2024b; Sun et al., 2023b; Zhou et al., 2024; Tang et al., 2024; Dong et al., 2024; Wang et al., 2024; Ma et al., 2024; Liu et al., 2024a; Wu et al., 2024b; Shi et al., 2024; Anil et al., 2023; Qu et al., 2024; Li et al., 2024a; Kou et al., 2024; Li et al., 2024b; Chen et al., 2025b; Tong et al., 2024) have explored unified transformers capable of both generation and comprehension. Chameleon (Team, 2024) ,Emu3 (Wang et al., 2024) , Janus (Wu et al., 2024a) , JanusPro (Chen et al., 2025b) adopt autoregressive methods for both tasks. SEED-X (Ge et al., 2024) incorporates a diffusion model alongside a large language model to support multimodal generation and understanding. While both Show-o (Xie et al., 2024) and JanusFlow (Ma et al., 2024) use autoregression for understanding, the former adopts discrete diffusion for generation, whereas the latter employs flow matching. These models primarily focus on the pretraining stage using different methods for different tasks. These approaches require substantial training time and large-scale training data. Some studies (Mao et al., 2025; Guo et al., 2025) have explored more efficient training or inference strategies. In this work, we take Show-o and Janus as our base model and explore post-training optimization techniques to further improve unified multimodal performance.", "source": "marker_v2", "marker_block_id": "/page/2/Text/5"}
|
| 12 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0011", "section": "2.2 GRPO IN LLM AND MLLMS", "page_start": 3, "page_end": 3, "type": "Text", "text": "Supervised fine-tuning (SFT) and reinforcement learning have been widely adopted in the posttraining of large language models (LLMs) (Jaech et al., 2024; Li et al., 2023b; Abdin et al., 2024; Touvron et al., 2023) and multimodal LLMs (MLLMs) (Bai et al., 2023; Liu et al., 2024d) . Group Relative Policy Optimization (GRPO) is introduced in (Shao et al., 2024) to optimize LLMs by generating a group of chain-of-thought outputs and applying a task-specific reward function to guide learning. More recently, GRPO has also been explored in the context of MLLMs (Chen et al., 2025a) . In addition to GRPO, other reinforcement learning approaches such as Direct Preference Optimization (DPO) (Rafailov et al., 2023; Yang et al., 2025b) and Proximal Policy Optimization (PPO) (Schulman et al., 2017) have also been applied to both LLMs and MLLMs. Hermesflow (Yang et al., 2025b) and Emu3 (Wang et al., 2024) use DPO to optimize unified multimodal models. However, PPO requires a separate value network to estimate the baseline, and DPO relies on predefined positive and negative examples, which introduces additional complexity. In our work, we explore SFT and GRPO method to optimize unified multimodal models and improve their generation and understanding performance during the post-training stage.", "source": "marker_v2", "marker_block_id": "/page/2/Text/7"}
|
| 13 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0012", "section": "3 METHOD", "page_start": 3, "page_end": 3, "type": "Text", "text": "In this section, we first introduce the background of unified multimodal models and the GRPO optimization method (Sec .3.1) . We then describe the construction of training prompts (Sec .A.11) , the proposed self-improving framework (Sec .3.3) , and two optimization strategies: SFT and GRPO (Sec .3.4) . We also present a non-end-to-end training approach designed for models that use different image representations in the two tasks (Sec .3.5) . Finally, we introduce a new metric to evaluate the imbalance between the two tasks (Sec .3.6) . The pipeline of training is shown in Fig. 2.", "source": "marker_v2", "marker_block_id": "/page/2/Text/9"}
|
| 14 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0013", "section": "3.1 PRELIMINARY", "page_start": 3, "page_end": 3, "type": "Text", "text": "Unified Multimodal Models. Unified multimodal models can be divided into two main categories: (1) both generation and understanding tasks use autoregressive methods; (2) generation makes use of", "source": "marker_v2", "marker_block_id": "/page/2/Text/11"}
|
| 15 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0014", "section": "3.1 PRELIMINARY", "page_start": 4, "page_end": 4, "type": "Text", "text": "diffusion or flow matching while comprehension relies on autoregressive methods. We focus on two example models: Show-o (Xie et al., 2024) and Janus (Wu et al., 2024a).", "source": "marker_v2", "marker_block_id": "/page/3/Text/1"}
|
| 16 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0015", "section": "3.1 PRELIMINARY", "page_start": 4, "page_end": 4, "type": "Text", "text": "In Show-o, the text tokens are denoted as T = \\{t_1, \\ldots, t_N\\} and the image tokens as I = \\{i_1, \\ldots, i_M\\} . The training objective includes two components: one maximizes the likelihood of each text token given all previous text and image tokens; the other reconstructs masked image tokens based on the remaining image tokens and the full text sequence. The two loss terms are:", "source": "marker_v2", "marker_block_id": "/page/3/Text/2"}
|
| 17 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0016", "section": "3.1 PRELIMINARY", "page_start": 4, "page_end": 4, "type": "Equation", "text": "\\mathcal{L}_{\\text{NTP}} = \\sum_{n=1}^{N} \\log p_{\\theta} (t_n \\mid t_{1:n-1}, i_{1:M}), \\quad \\mathcal{L}_{\\text{MTP}} = \\sum_{m=1}^{M} \\log p_{\\theta} (i_m^* \\mid i_{1:m-1}, i_{m+1:M}, t_{1:N}). \\quad (1)", "source": "marker_v2", "marker_block_id": "/page/3/Equation/3"}
|
| 18 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0017", "section": "3.1 PRELIMINARY", "page_start": 4, "page_end": 4, "type": "Text", "text": "Janus uses only the NTP objective, predicting every next token (image or text) in a single autoregressive pass.", "source": "marker_v2", "marker_block_id": "/page/3/Text/4"}
|
| 19 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0018", "section": "3.1 PRELIMINARY", "page_start": 4, "page_end": 4, "type": "Text", "text": "Group Relative Policy Optimization(GRPO) We use a reinforcement learning method called Group Relative Policy Optimization (GRPO) (Shao et al., 2024), which optimizes the model by comparing a group of generated outputs and assigning relative rewards. Suppose inputs x come from a distribution D. For each x \\sim D , we sample M candidate outputs \\{y_j\\}_{j=1}^M under an old policy \\pi_{\\varphi_{\\text{old}}} . We then update our new policy \\pi_{\\varphi} by maximising the following objective:", "source": "marker_v2", "marker_block_id": "/page/3/Text/5"}
|
| 20 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0019", "section": "3.1 PRELIMINARY", "page_start": 4, "page_end": 4, "type": "Equation", "text": "L(\\varphi) = \\mathbb{E}_{\\substack{x \\sim D, \\\\ \\{y_j\\} \\sim \\pi_{\\varphi_{\\text{old}}}}} \\left[ \\frac{1}{M} \\sum_{j=1}^{M} \\min(s_j A_j, \\operatorname{clip}(s_j, 1 - \\delta, 1 + \\delta) Z_j) \\right] - \\lambda D_{\\text{KL}}(\\pi_{\\varphi} \\parallel \\pi_{\\psi}), \\quad (2)", "source": "marker_v2", "marker_block_id": "/page/3/Equation/6"}
|
| 21 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0020", "section": "3.1 PRELIMINARY", "page_start": 4, "page_end": 4, "type": "Text", "text": "where", "source": "marker_v2", "marker_block_id": "/page/3/Text/7"}
|
| 22 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0021", "section": "3.1 PRELIMINARY", "page_start": 4, "page_end": 4, "type": "Equation", "text": "s_j = \\frac{\\pi_{\\varphi}(y_j \\mid x)}{\\pi_{\\varphi_{\\text{old}}}(y_j \\mid x)}, \\quad A_j = \\frac{R_j - \\text{mean}(R_1, \\dots, R_M)}{\\text{std}(R_1, \\dots, R_M)}.", "source": "marker_v2", "marker_block_id": "/page/3/Equation/8"}
|
| 23 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0022", "section": "3.1 PRELIMINARY", "page_start": 4, "page_end": 4, "type": "Text", "text": "R_j is the reward for output y_j , \\delta sets the clipping range, \\lambda weighs the divergence penalty, and \\pi_\\psi is a fixed reference policy. In the inner sum, s_j measures how the new policy probability differs from the old policy for the same output. Multiplying by the normalised advantage A_j gives a gradient direction. Clipping s_j to [1-\\delta, 1+\\delta] ensures that no single sample drives the update too far. Averaging over M outputs makes the estimate stable across different group sizes. Finally, subtracting \\lambda D_{\\mathrm{KL}}(\\pi_\\varphi \\parallel \\pi_\\psi) discourages large shifts away from a trusted policy, which helps to keep learning smooth.", "source": "marker_v2", "marker_block_id": "/page/3/Text/9"}
|
| 24 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0023", "section": "3.2 PROMPT AND QA PAIR CONSTRUCTION", "page_start": 4, "page_end": 4, "type": "Text", "text": "In our study, we take inspiration from GenEval (Ghosh et al., 2023) to construct prompt—question—answer pairs. GenEval evaluates image generation models across six categories: single object, two objects, counting, colors, color attributes, and position. We expand the object pool by adding eighty everyday objects with GPT-40 to the eighty from COCO, yielding 160 in total. Following the GenEval procedure, we generate prompts and corresponding questions and answers (e.g., prompt: 'a photo of three vases', question: 'How many items are in this image?', answer: 'three vases'). To avoid data leakage, we reserve GenEval prompts strictly for evaluation, while all training prompts are independently created. Examples are shown in Tab. 8.", "source": "marker_v2", "marker_block_id": "/page/3/Text/11"}
|
| 25 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0024", "section": "3.3 Self-improving optimization", "page_start": 4, "page_end": 4, "type": "Text", "text": "We propose a self-improving training framework that requires no external image data. In this framework, the image generation and multimodal understanding tasks mutually reinforce each other: the understanding task provides feedback to evaluate and guide image quality, while the generation task supplies training data that enhances the model's understanding capability.", "source": "marker_v2", "marker_block_id": "/page/3/Text/13"}
|
| 26 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0025", "section": "3.3 Self-improving optimization", "page_start": 4, "page_end": 4, "type": "Text", "text": "As shown in Fig. 2, given a constructed prompt, the model first generates a sequence of image tokens \\mathbf{u} = \\{u_1, \\dots, u_M\\} . Regardless of whether the image generation module uses a diffusion-based or autoregressive pipeline, we feed the generated image tokens and the prompt back into the model following the original T2I training process to obtain the image logits. Let \\mathbf{z} = \\{z_1, \\dots, z_L\\} denote the output logits corresponding to the L target positions to be predicted.", "source": "marker_v2", "marker_block_id": "/page/3/Text/14"}
|
| 27 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0026", "section": "3.3 Self-improving optimization", "page_start": 5, "page_end": 5, "type": "Caption", "text": "Figure 2: Training pipeline of UniRL (a) SFT Optimization: A prompt is used to generate a single image, which, together with the corresponding question, is used to predict an answer and compute the SFT loss. (b) GRPO Optimization: The same prompt generates a set of images, each paired with the same question to produce multiple answers, which are used to compute the GRPO loss.", "source": "marker_v2", "marker_block_id": "/page/4/Caption/2"}
|
| 28 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0027", "section": "3.3 Self-improving optimization", "page_start": 5, "page_end": 5, "type": "Text", "text": "To enable gradient flow through the discrete image tokens, we apply the Straight-Through Gumbel-Softmax (ST-GS) estimator to obtain differentiable approximations:", "source": "marker_v2", "marker_block_id": "/page/4/Text/3"}
|
| 29 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0028", "section": "3.3 Self-improving optimization", "page_start": 5, "page_end": 5, "type": "Equation", "text": "\\hat{u}_l = \\text{ST-GumbelSoftmax}(z_l), \\quad \\text{for } l = 1, \\dots, L, (3)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/4"}
|
| 30 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0029", "section": "3.3 Self-improving optimization", "page_start": 5, "page_end": 5, "type": "Text", "text": "resulting in a completed image token sequence uˆ that includes differentiably sampled tokens. The formulation and implementation details of the Straight-Through Gumbel-Softmax estimator are provided in Sec. A.2. This image sequence, together with the corresponding constructed question q, is then used to predict an answer. We use the predicted answers and ground-truth answer to optimize the model exploring two techniques, SFT and GRPO.", "source": "marker_v2", "marker_block_id": "/page/4/Text/5"}
|
| 31 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0030", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "SFT optimization. We use the predicted answers and the ground-truth answers to calculate the SFT loss to optimize the models. The SFT loss is computed as:", "source": "marker_v2", "marker_block_id": "/page/4/Text/7"}
|
| 32 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0031", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 5, "page_end": 5, "type": "Equation", "text": "\\mathcal{L}_{SFT} = -\\sum_{t=1}^{T} \\log p_{\\theta}(y_t \\mid y_{< t}, \\hat{\\mathbf{u}}, q), \\tag{4}", "source": "marker_v2", "marker_block_id": "/page/4/Equation/8"}
|
| 33 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0032", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "where y t is the t-th token of the ground-truth answer, and y<t are the preceding tokens. This formulation applies generally to both masked and autoregressive image generation models. The variable uˆ denotes the generated image token sequence, which includes differentiably sampled tokens and serves as input to the answer generation module. This formulation is compatible with both masked and autoregressive image generation models. The SFT loss enables joint optimization of image generation and understanding tasks by allowing gradients to flow through the image tokens.", "source": "marker_v2", "marker_block_id": "/page/4/Text/9"}
|
| 34 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0033", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "GRPO optimization. We also adopt Group Relative Policy Optimization (GRPO) to optimize the unified multimodal models. During the GRPO phase, the model takes a prompt p and generates a group of K images {uˆ1, . . . , uˆK}. Each image uˆk, together with its corresponding question q, is then fed back into the model to produce a predicted answer aˆk. A reward r k = r(ˆak) is computed by comparing the predicted answer to the ground-truth answer a ∗ , based on the designed reward function. Similar to SFT, we also apply the Straight-Through Gumbel-Softmax estimator to enable differentiable sampling of image tokens, allowing gradients to propagate through both generation and understanding tasks. The overall GRPO loss is defined as:", "source": "marker_v2", "marker_block_id": "/page/4/Text/10"}
|
| 35 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0034", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 6, "page_end": 6, "type": "Equation", "text": "\\mathcal{L}(\\theta) = \\mathbb{E}_{\\substack{x \\sim D, \\\\ \\{\\hat{a}_k\\} \\sim \\pi_{\\theta_{\\text{old}}}}} \\left[ -\\sum_{k=1}^{K} w_k \\log p_{\\theta} (\\hat{a}_k \\mid \\hat{\\mathbf{u}}_k, q) \\right] + \\beta \\operatorname{KL}(p_{\\theta}(a \\mid \\hat{\\mathbf{u}}, q) \\parallel p_{\\theta_{\\text{ref}}}(a \\mid \\hat{\\mathbf{u}}, q)), \\quad (5)", "source": "marker_v2", "marker_block_id": "/page/5/Equation/2"}
|
| 36 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0035", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 6, "page_end": 6, "type": "Text", "text": "where the importance weight w_k is computed as:", "source": "marker_v2", "marker_block_id": "/page/5/Text/4"}
|
| 37 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0036", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 6, "page_end": 6, "type": "Equation", "text": "w_k = \\frac{\\exp\\left(\\alpha \\left(r_k - r_{\\text{mean}}\\right)\\right)}{\\sum_{j=1}^K \\exp\\left(\\alpha \\left(r_j - r_{\\text{mean}}\\right)\\right)},", "source": "marker_v2", "marker_block_id": "/page/5/Equation/5"}
|
| 38 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0037", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 6, "page_end": 6, "type": "Text", "text": "with r_{\\rm mean} denoting the average reward within the group and \\alpha controlling the sharpness of the weight distribution.", "source": "marker_v2", "marker_block_id": "/page/5/Text/6"}
|
| 39 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0038", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 6, "page_end": 6, "type": "Text", "text": "The first term in the loss is the GRPO objective, which applies a weighted log-likelihood over the K sampled answers. \\pi_{\\theta_{\\rm old}} is the fixed sampling policy, typically a frozen copy of the model, while \\pi_{\\theta} (or p_{\\theta} ) is the current policy being optimized. Rewards are centered by subtracting the group mean r_{\\rm mean} , scaled by temperature \\alpha , and converted into weights w_k to emphasize better answers. The second term is a KL penalty, scaled by \\beta , to keep the updated policy close to a reference model, improving stability and preventing mode collapse.", "source": "marker_v2", "marker_block_id": "/page/5/Text/7"}
|
| 40 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0039", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 6, "page_end": 6, "type": "Text", "text": "Importantly, because the image tokens \\hat{\\mathbf{u}}_k are sampled in a differentiable manner, the reward signals from answer prediction can flow through both the understanding and image generation branches. This enables effective end-to-end optimization of both tasks.", "source": "marker_v2", "marker_block_id": "/page/5/Text/8"}
|
| 41 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0040", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 6, "page_end": 6, "type": "Text", "text": "Reward Function. The reward function assigns scores based on alignment between the predicted answer \\hat{a}_k and the ground-truth answer a^* . While the specific reward criteria vary by question category, all rewards are based on two main components: (1) correct identification of object names, and (2) accurate prediction of associated attributes, such as number, color, or spatial position. The detailed reward rules for each category are summarized in Sec. A.10.", "source": "marker_v2", "marker_block_id": "/page/5/Text/9"}
|
| 42 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0041", "section": "3.5 END-TO-END TRAINING VS. NON-END-TO-END TRAINING", "page_start": 6, "page_end": 6, "type": "Text", "text": "Unified multimodal models such as Show-o (Xie et al., 2024), Emu3 (Wang et al., 2024), Chameleon (Team, 2024), and Vila-u (Wu et al., 2024c) use shared image representations—typically via VQGAN (Esser et al., 2021) or custom tokenizers—allowing end-to-end training. Gradients from MMU loss can flow through the T2I module via the Straight-Through Gumbel-Softmax estimator. In contrast, Janus (Wu et al., 2024a) and JanusPro (Chen et al., 2025b) use separate representations: discrete tokens for T2I and ViT features (Dosovitskiy et al., 2021) for MMU. This mismatch prevents effective gradient flow; although gradients can technically propagate, they cannot meaningfully guide the discrete tokens, often leading to unstable training.", "source": "marker_v2", "marker_block_id": "/page/5/Text/11"}
|
| 43 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0042", "section": "3.5 END-TO-END TRAINING VS. NON-END-TO-END TRAINING", "page_start": 6, "page_end": 6, "type": "Text", "text": "To handle such cases, we adopt a non-end-to-end training strategy. For T2I, rewards computed from MMU performance are used to directly optimize the image generation module. Conversely, for MMU, the model generates images, answers the corresponding questions, and uses the rewards to update the MMU branch. In the end-to-end setting, a unified GRPO loss is used to jointly optimize both tasks. In contrast, the non-end-to-end setting applies separate GRPO objectives to T2I and MMU. Although the two modules are trained independently, reward signals still enable cross-task interaction, mitigating the limitations of mismatched representations. Full details and loss formulas are provided in the Sec. A.3.", "source": "marker_v2", "marker_block_id": "/page/5/Text/12"}
|
| 44 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0043", "section": "3.6 The balance between image understanding and generation", "page_start": 6, "page_end": 6, "type": "Text", "text": "To evaluate the balance between text-to-image generation (T2I) and multimodal understanding (MMU), we propose a bidirectional evaluation metric with two chains: T2I→MMU and MMU→T2I. In T2I→MMU, the model generates an image from a prompt and answers a question only if the image is correct; we then compute the answer accuracy. In MMU→T2I, the model first answers a question based on a given image; if correct, we regenerate the image from the prompt and evaluate its", "source": "marker_v2", "marker_block_id": "/page/5/Text/16"}
|
| 45 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0044", "section": "3.6 The balance between image understanding and generation", "page_start": 6, "page_end": 6, "type": "TableGroup", "text": "Table 1: Performance of the proposed metric for evaluating the imbalance between two tasks. Method Accuracy_{MMU\\mid T2I} Accuracy T2I|MMU Show-o 0.83 0.70 Janus 0.67 0.68 JanusPro 0.69 0.85 Vila-u 0.68 0.85", "source": "marker_v2", "marker_block_id": "/page/5/TableGroup/280"}
|
| 46 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0045", "section": "3.6 The balance between image understanding and generation", "page_start": 7, "page_end": 7, "type": "Text", "text": "quality. This setup assesses the consistency between generation and understanding. The conditional accuracies are defined as:", "source": "marker_v2", "marker_block_id": "/page/6/Text/1"}
|
| 47 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0046", "section": "3.6 The balance between image understanding and generation", "page_start": 7, "page_end": 7, "type": "Equation", "text": "Accuracy_{MMU|T2I} = \\frac{N_{A \\cap I}}{N_{I}}, \\quad Accuracy_{T2I|MMU} = \\frac{N_{A \\cap I}}{N_{A}}. (6)", "source": "marker_v2", "marker_block_id": "/page/6/Equation/2"}
|
| 48 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0047", "section": "3.6 The balance between image understanding and generation", "page_start": 7, "page_end": 7, "type": "Text", "text": "N I denotes the number of correctly generated images, N A the number of correctly answered questions, and NA∩ I the number of samples where both are correct. These metrics quantitatively assess the consistency between generation and understanding. AccuracyMMU|T2I measures answer correctness given a correct image, while AccuracyT2I|MMU measures image correctness given a correct answer. This bidirectional formulation evaluates the alignment between the two tasks beyond isolated performance. As shown in Tab. 1, we apply this metric to several unified models, including Show-o (Xie et al., 2024) , Janus (Wu et al., 2024a) , Janus-Pro (Chen et al., 2025b) , and Vila-u (Wu et al., 2024c) , and observe that task imbalance is consistently present across all models. More details can be seen in Sec. A.1.", "source": "marker_v2", "marker_block_id": "/page/6/Text/3"}
|
| 49 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0048", "section": "4.1 IMPLEMENTATION DETAILS", "page_start": 7, "page_end": 7, "type": "Text", "text": "We evaluate our method on two base models: Show-o (Xie et al., 2024) and Janus (Wu et al., 2024a) . For Show-o, we adopt end-to-end training. The SFT stage uses a global batch size of 16 for 5,000 iterations, and the GRPO stage is configured with a global batch size of 24, a KL coefficient β = 0.2, and 3,000 training steps on 8 H100 GPUs. During inference, we set the guidance scale to 2, diffusion steps to 16, and resolution to 512. For Janus, due to its use of different representations for generation and understanding, we apply a non-end-to-end training strategy. The model is trained with a global batch size of 64 for 1,000 iterations using the same KL coefficient. Inference is performed with a guidance scale of 5 and resolution of 384. More implementation details can be seen in Sec. A.1.", "source": "marker_v2", "marker_block_id": "/page/6/Text/6"}
|
| 50 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0049", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 7, "page_end": 7, "type": "Text", "text": "Baselines and our method. We compare our method against several baselines. Original Model. We evaluate the performance of the pretrained model without any post-training. HermesFlow. (Yang et al., 2025b) This method fine-tunes the Show-o model with DPO optimization on the JourneyDB dataset (Sun et al., 2023a) . We evaluate two variants of our post-training framework: UniRL (SFT). Our method using supervised fine-tuning (SFT) without reinforcement learning. UniRL (GRPO). Our method using Group Relative Policy Optimization (GRPO). For the Janus model, we only compare our GRPO-based method with the original model, as applying SFT leads to unstable training and failure. The specific reasons are discussed in Sec. 4.4.", "source": "marker_v2", "marker_block_id": "/page/6/Text/8"}
|
| 51 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0050", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 7, "page_end": 7, "type": "Text", "text": "Text to image generation. For the image generation task, we evaluate model performance using three benchmarks: GenEval (Ghosh et al., 2023) , DSG-1K (Cho et al., 2024) , and CLIP-Score (Radford et al., 2021) . To calculate the CLIP score, we use 2,000 generated images sampled from the GenEval and DSG-1K benchmarks. As shown in Tab. 2, our method with SFT improves the GenEval score from 0.60 to 0.76, while the GRPO-based variant achieves 0.71—both outperforming the baselines by a large margin. In addition, our approach yields notable gains on DSG-1K and CLIP-Score, demonstrating the effectiveness of our post-training strategy in improving image generation quality. More results will be shown in Sec. A.4.", "source": "marker_v2", "marker_block_id": "/page/6/Text/9"}
|
| 52 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0051", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 7, "page_end": 7, "type": "Text", "text": "We conduct a human evaluation with diverse prompts and find that 85% of participants prefer our method over Show-o (Sec. A.6) . Through three benchmarks and human evaluation, we demonstrate that our method substantially improves T2I capacity, and the gains are general rather than limited to the GenEval domain. Furthermore, we conduct a distribution analysis between the training and test prompt sets in Sec. A.9.", "source": "marker_v2", "marker_block_id": "/page/6/Text/10"}
|
| 53 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0052", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 7, "page_end": 7, "type": "Text", "text": "Multimodal understanding. We evaluate the model's ability to understand natural visual features across six categories: single object , two objects , counting , colors , position , and color attributes . These categories capture core aspects of visual understanding, including object recognition, counting, color perception, and spatial reasoning—fundamental properties of natural images. To assess generalization", "source": "marker_v2", "marker_block_id": "/page/6/Text/11"}
|
| 54 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0053", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 8, "page_end": 8, "type": "TableGroup", "text": "Table 2: Comparison of UniRL with baseline methods across Text-to-Image (T2I) benchmarks. Method GenEval ↑ DSG-1K↑ Clip score ↑ Single. Two. Count. Colors Posi. Attri. Overall r 1 Show-o 0.96 0.64 0.67 0.81 0.25 0.37 0.60 0.77 0.331 HermersFlow 0.97 0.67 0.65 0.77 0.28 0.42 0.61 0.78 0.334 UniRL(SFT) 0.99 0.93 0.62 0.89 0.55 0.68 0.77 0.82 0.337 UniRL(GRPO) 0.95 0.77 0.65 0.82 0.50 0.60 0.71 0.80 0.335 Janus 0.96 0.64 0.29 0.81 0.49 0.46 0.60 0.80 0.332 UniRL(GRPO) 0.95 0.74 0.27 0.81 0.62 0.52 0.65 0.81 0.335 Table 4: Comparison using our proposed metric to evaluate the imbalance between the two tasks.", "source": "marker_v2", "marker_block_id": "/page/7/TableGroup/229"}
|
| 55 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0054", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 8, "page_end": 8, "type": "Table", "text": "Method Acc uracy MN /U|T2I Acci uracy T21 MMU Single. Two. Count. Colors Posi. Attri. Overall ↑ Single. Two. Count. Colors Posi. Attri. Overall↑ Show-o 0.98 0.89 0.92 0.94 0.10 0.61 0.83 0.96 0.66 0.67 0.85 0.18 0.41 0.70 HermesFlow 0.99 0.85 0.90 0.96 0.23 0.57 0.83 0.97 0.68 0.69 0.84 0.24 0.41 0.71 UniRL(SFT) 0.11 0.99 0.97 0.99 0.83 0.98 0.81 0.99 0.95 0.58 0.93 0.60 0.74 0.80 UniRL(GRPO) 0.99 0.97 0.90 0.99 0.81 0.85 0.93 0.97 0.85 0.70 0.90 0.67 0.68 0.81 Janus 0.91 0.59 0.71 0.96 0.20 0.42 0.67 0.95 0.67 0.27 0.90 0.39 0.49 0.68 UniRL(GRPO) 0.94 0.78 0.52 0.98 0.31 0.77 0.76 0.96 0.76 0.34 0.88 0.63 0.59 0.74", "source": "marker_v2", "marker_block_id": "/page/7/Table/5"}
|
| 56 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0055", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 8, "page_end": 8, "type": "Text", "text": "beyond the training distribution, we use images generated by external models such as JanusPro. The generated images, along with their corresponding questions, are then fed into the target model to evaluate its understanding capabilities on out-of-distribution visual inputs. We compute the accuracy for each categories, allowing a fine-grained analysis of the model's generalization across different aspects of visual understanding.", "source": "marker_v2", "marker_block_id": "/page/7/Text/6"}
|
| 57 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0056", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 8, "page_end": 8, "type": "Text", "text": "As shown in Tab. 3, our SFT-based method performs slightly worse than the original model, primarily due to overfitting, particularly in the single-object category. In contrast, our GRPO-based method achieves an overall score of 0.79, significantly outperforming all baselines. The underlying reasons are analyzed in Sec. 4.4, and further evaluation details as well as broader benchmark results, including POPE (Li et al., 2023a) and MMMU (Yue et al., 2024), are presented in Sec. A.1 and Sec. A.5.", "source": "marker_v2", "marker_block_id": "/page/7/Text/7"}
|
| 58 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0057", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 8, "page_end": 8, "type": "Caption", "text": "The imbalance between two tasks. To evaluate the balance between image understanding and generation, we apply our proposed metric, as shown in Tab. 4. The prompts used for Accuracy<sub>MMU|T2I</sub> are taken from the GenEval benchmark, while those for Accuracy<sub>T2I|MMU</sub> are aligned with the MMU evaluation setup. The results show that our GRPO-based method significantly reduces the imbalance between the", "source": "marker_v2", "marker_block_id": "/page/7/Caption/8"}
|
| 59 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0058", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 8, "page_end": 8, "type": "TableGroup", "text": "Table 3: Comparison of UniRL with baseline methods across Multi-modal Understanding(MMU) benchmarks. across main modui Ciia orotaire ****** 11110 , ounc Jiiiiidi Ito Method Single. Two. Count. Colors Posi. Attri. Overall† Show-o 0.99 0.88 0.79 0.98 0.20 0.54 0.71 HermesFlow 0.99 0.88 0.79 0.98 0.34 0.52 0.73 UniRL(SFT) 0.08 0.87 0.71 0.99 0.45 0.85 0.67 UniRL(GRPO) 0.92 0.88 0.77 0.94 0.46 0.72 0.79 Janus 0.93 0.93 0.92 0.97 0.38 0.74 0.84 UniRL(GRPO) 0.94 0.95 0.83 0.99 0.52 0.89 0.88", "source": "marker_v2", "marker_block_id": "/page/7/TableGroup/230"}
|
| 60 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0059", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 8, "page_end": 8, "type": "Text", "text": "two tasks. For certain subtasks, the model achieves nearly 100% accuracy, indicating strong consistency between generation and understanding. We further analyze the causes of task imbalance in Sec. A.12.", "source": "marker_v2", "marker_block_id": "/page/7/Text/11"}
|
| 61 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0060", "section": "4.3 VISUALIZATION RESULTS", "page_start": 8, "page_end": 8, "type": "Text", "text": "As shown in Fig. 3, we present qualitative comparisons between our method and the original models on both tasks. Our approach produces more visually faithful generations conditioned on prompts and yields more accurate answers for corresponding questions, demonstrating improved consistency across the two tasks. More results will be shown in Sec. A.7.", "source": "marker_v2", "marker_block_id": "/page/7/Text/13"}
|
| 62 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0061", "section": "4.4 ANALYSIS OF SFT VS. GRPO", "page_start": 8, "page_end": 8, "type": "Text", "text": "From these experimental results, we can draw some key observations.", "source": "marker_v2", "marker_block_id": "/page/7/Text/17"}
|
| 63 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0062", "section": "4.4 ANALYSIS OF SFT VS. GRPO", "page_start": 9, "page_end": 9, "type": "FigureGroup", "text": "Figure 3: Qualitative comparison of our method with the original models on both text-to-image generation (T2I) and multimodal understanding (MMU) tasks.", "source": "marker_v2", "marker_block_id": "/page/8/FigureGroup/411"}
|
| 64 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0063", "section": "4.4 ANALYSIS OF SFT VS. GRPO", "page_start": 9, "page_end": 9, "type": "Text", "text": "Observation 1: SFT is more prone to overfitting and memorization than GRPO in the image understanding task.", "source": "marker_v2", "marker_block_id": "/page/8/Text/3"}
|
| 65 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0064", "section": "4.4 ANALYSIS OF SFT VS. GRPO", "page_start": 9, "page_end": 9, "type": "Text", "text": "As shown in Tab. 3, SFT performs significantly worse than both the original model and GRPO on the single object category, where the training and test sets are fully disjoint in both examples and object types. In contrast, categories like position and colors share abstract features (e.g., position or color attributes), which partially mitigate overfitting. Compared to SFT, GRPO demonstrates better generalization under the same conditions.", "source": "marker_v2", "marker_block_id": "/page/8/Text/4"}
|
| 66 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0065", "section": "4.4 ANALYSIS OF SFT VS. GRPO", "page_start": 9, "page_end": 9, "type": "Text", "text": "Observation 2: In the generation task, SFT outperforms GRPO under an end-to-end training pipeline.", "source": "marker_v2", "marker_block_id": "/page/8/Text/5"}
|
| 67 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0066", "section": "4.4 ANALYSIS OF SFT VS. GRPO", "page_start": 9, "page_end": 9, "type": "Text", "text": "As shown in Tab. 2, SFT achieves better T2I results than GRPO, with no noticeable overfitting. We hypothesize two reasons for this difference. (1) MMU is more prone to overfitting than T2I, as it mainly learns from text token patterns, while T2I involves more structured image reconstruction. (2) Our training pipeline is end-to-end. The SFT supervision signal for MMU is more direct and localized, whereas for T2I it is more indirect and distributed, which may promote better generalization in image generation. Under indirect supervision in T2I, SFT may optimize more effectively, as its loss is directly based on ground-truth answers. More analysis will be discussed in Sec. A.8.", "source": "marker_v2", "marker_block_id": "/page/8/Text/6"}
|
| 68 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0067", "section": "4.4 ANALYSIS OF SFT VS. GRPO", "page_start": 9, "page_end": 9, "type": "Text", "text": "Observation 3: For non-end-to-end training setups such as Janus, SFT leads to failure in the image generation task.", "source": "marker_v2", "marker_block_id": "/page/8/Text/7"}
|
| 69 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0068", "section": "4.4 ANALYSIS OF SFT VS. GRPO", "page_start": 9, "page_end": 9, "type": "Text", "text": "If we directly use the model's generated images to supervise T2I at each iteration, training will become unstable. We speculate that early-stage generation errors are repeatedly reinforced, leading to input distribution drift and eventual collapse. Therefore, for unified models with different representations for the two tasks, only the GRPO-based method is effective for improving performance. More analysis will be discussed in Sec. A.8.", "source": "marker_v2", "marker_block_id": "/page/8/Text/8"}
|
| 70 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0069", "section": "4.4 ANALYSIS OF SFT VS. GRPO", "page_start": 9, "page_end": 9, "type": "Text", "text": "Overall, GRPO is a more general and robust optimization strategy compared to SFT. Regardless of the specific task or model architecture—whether the two tasks share the same image representation or not—GRPO consistently improves performance and effectively reduces the imbalance between generation and understanding. In contrast, while SFT tends to perform better on tasks like T2I in end-to-end setups (e.g., Show-o), it is more prone to memorization and overfitting.", "source": "marker_v2", "marker_block_id": "/page/8/Text/9"}
|
| 71 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0070", "section": "5 CONCLUSION", "page_start": 9, "page_end": 9, "type": "Text", "text": "In this work, we propose a self-improving post-training method for unified multimodal models. By combining supervised fine-tuning (SFT) with Group Relative Policy Optimization (GRPO), our approach improves both generation and understanding performance while reducing task imbalance. Experiments on Show-o and Janus validate the effectiveness of our method.", "source": "marker_v2", "marker_block_id": "/page/8/Text/11"}
|
| 72 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0071", "section": "REFERENCES", "page_start": 11, "page_end": 11, "type": "Text", "text": "Yuying Ge, Sijie Zhao, Jinguo Zhu, Yixiao Ge, Kun Yi, Lin Song, Chen Li, Xiaohan Ding, and Ying Shan. Seed-x: Multimodal models with unified multi-granularity comprehension and generation. arXiv preprint arXiv:2404.14396 , 2024.", "source": "marker_v2", "marker_block_id": "/page/10/Text/1"}
|
| 73 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0072", "section": "REFERENCES", "page_start": 11, "page_end": 11, "type": "ListGroup", "text": "Dhruba Ghosh, Hannaneh Hajishirzi, and Ludwig Schmidt. Geneval: An object-focused framework for evaluating text-to-image alignment. In NeurIPS , 2023. Ziyu Guo, Renrui Zhang, Chengzhuo Tong, Zhizheng Zhao, Peng Gao, Hongsheng Li, and Pheng-Ann Heng. Can we generate images with cot? let's verify and reinforce image generation step by step. CoRR , abs/2501.13926, 2025. Aaron Jaech, Adam Kalai, Adam Lerer, Adam Richardson, Ahmed El-Kishky, Aiden Low, Alec Helyar, Aleksander Madry, Alex Beutel, Alex Carney, Alex Iftimie, Alex Karpenko, Alex Tachard Passos, Alexander Neitz, Alexander Prokofiev, Alexander Wei, Allison Tam, Ally Bennett, Ananya Kumar, Andre Saraiva, Andrea Vallone, Andrew Duberstein, Andrew Kondrich, Andrey Mishchenko, Andy Applebaum, Angela Jiang, Ashvin Nair, Barret Zoph, Behrooz Ghorbani, Ben Rossen, Benjamin Sokolowsky, Boaz Barak, Bob McGrew, Borys Minaiev, Botao Hao, Bowen Baker, Brandon Houghton, Brandon McKinzie, Brydon Eastman, Camillo Lugaresi, Cary Bassin, Cary Hudson, Chak Ming Li, Charles de Bourcy, Chelsea Voss, Chen Shen, Chong Zhang, Chris Koch, Chris Orsinger, Christopher Hesse, Claudia Fischer, Clive Chan, Dan Roberts, Daniel Kappler, Daniel Levy, Daniel Selsam, David Dohan, David Farhi, David Mely, David Robinson, Dimitris Tsipras, Doug Li, Dragos Oprica, Eben Freeman, Eddie Zhang, Edmund Wong, Elizabeth Proehl, Enoch Cheung, Eric Mitchell, Eric Wallace, Erik Ritter, Evan Mays, Fan Wang, Felipe Petroski Such, Filippo Raso, Florencia Leoni, Foivos Tsimpourlas, Francis Song, Fred von Lohmann, Freddie Sulit, Geoff Salmon, Giambattista Parascandolo, Gildas Chabot, Grace Zhao, Greg Brockman, Guillaume Leclerc, Hadi Salman, Haiming Bao, Hao Sheng, Hart Andrin, Hessam Bagherinezhad, Hongyu Ren, Hunter Lightman, Hyung Won Chung, Ian Kivlichan, Ian O'Connell, Ian Osband, Ignasi Clavera Gilaberte, and Ilge Akkaya. Openai o1 system card. CoRR , abs/2412.16720, 2024. Siqi Kou, Jiachun Jin, Chang Liu, Ye Ma, Jian Jia, Quan Chen, Peng Jiang, and Zhijie Deng. Orthus: Autoregressive interleaved image-text generation with modality-specific heads. CoRR , abs/2412.00127, 2024. Chengzu Li, Wenshan Wu, Huanyu Zhang, Yan Xia, Shaoguang Mao, Li Dong, Ivan Vulic, and Furu Wei. Imagine while reasoning in space: Multimodal visualization-of-thought. CoRR , abs/2501.07542, 2025. Hao Li, Changyao Tian, Jie Shao, Xizhou Zhu, Zhaokai Wang, Jinguo Zhu, Wenhan Dou, Xiaogang Wang, Hongsheng Li, Lewei Lu, and Jifeng Dai. Synergen-vl: Towards synergistic image understanding and generation with vision experts and token folding. CoRR , abs/2412.09604, 2024a. Shufan Li, Konstantinos Kallidromitis, Akash Gokul, Zichun Liao, Yusuke Kato, Kazuki Kozuka, and Aditya Grover. Omniflow: Any-to-any generation with multi-modal rectified flows. CoRR , abs/2412.01169, 2024b. Yifan Li, Yifan Du, Kun Zhou, Jinpeng Wang, Wayne Xin Zhao, and Ji-Rong Wen. Evaluating object hallucination in large vision-language models. In EMNLP , pp. 292–305. Association for Computational Linguistics, 2023a. Yuanzhi Li, Sébastien Bubeck, Ronen Eldan, Allie Del Giorno, Suriya Gunasekar, and Yin Tat Lee. Textbooks are all you need ii: phi-1.5 technical report. arXiv preprint arXiv:2309.05463 , 2023b. Dongyang Liu, Shitian Zhao, Le Zhuo, Weifeng Lin, Yu Qiao, Hongsheng Li, and Peng Gao. Luminamgpt: Illuminate flexible photorealistic text-to-image generation with multimodal generative pretraining. CoRR , abs/2408.02657, 2024a. Hao Liu, Wilson Yan, Matei Zaharia, and Pieter Abbeel. World model on million-length video and language with ringattention. arXiv preprint , 2024b. Haotian Liu, Chunyuan Li, Yuheng Li, Bo Li, Yuanhan Zhang, Sheng Shen, and Yong Jae Lee. Llava-next: Improved reasoning, ocr, and world knowledge, 2024c.", "source": "marker_v2", "marker_block_id": "/page/10/ListGroup/322"}
|
| 74 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0073", "section": "REFERENCES", "page_start": 12, "page_end": 12, "type": "ListGroup", "text": "Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee. Visual instruction tuning. NeurIPS , 36, 2024d. Yiyang Ma, Xingchao Liu, Xiaokang Chen, Wen Liu, Chengyue Wu, Zhiyu Wu, Zizheng Pan, Zhenda Xie, Haowei Zhang, Liang Zhao, et al. Janusflow: Harmonizing autoregression and rectified flow for unified multimodal understanding and generation. arXiv preprint arXiv:2411.07975 , 2024. Weijia Mao, Zhenheng Yang, and Mike Zheng Shou. Unimod: Efficient unified multimodal transformers with mixture-of-depths. CoRR , abs/2502.06474, 2025. Liao Qu, Huichao Zhang, Yiheng Liu, Xu Wang, Yi Jiang, Yiming Gao, Hu Ye, Daniel K. Du, Zehuan Yuan, and Xinglong Wu. Tokenflow: Unified image tokenizer for multimodal understanding and generation. CoRR , abs/2412.03069, 2024. Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In ICML , pp. 8748–8763, 2021. Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning, Stefano Ermon, and Chelsea Finn. Direct preference optimization: Your language model is secretly a reward model. In NeurIPS , 2023. John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. CoRR , abs/1707.06347, 2017. Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. CoRR , abs/2402.03300, 2024. Weijia Shi, Xiaochuang Han, Chunting Zhou, Weixin Liang, Xi Victoria Lin, Luke Zettlemoyer, and Lili Yu. Llamafusion: Adapting pretrained language models for multimodal generation. arXiv preprint arXiv:2412.15188 , 2024. Keqiang Sun, Junting Pan, Yuying Ge, Hao Li, Haodong Duan, Xiaoshi Wu, Renrui Zhang, Aojun Zhou, Zipeng Qin, Yi Wang, Jifeng Dai, Yu Qiao, Limin Wang, and Hongsheng Li. Journeydb: A benchmark for generative image understanding. In NeurIPS , 2023a. Quan Sun, Qiying Yu, Yufeng Cui, Fan Zhang, Xiaosong Zhang, Yueze Wang, Hongcheng Gao, Jingjing Liu, Tiejun Huang, and Xinlong Wang. Emu: Generative pretraining in multimodality. In ICLR , 2023b. Zineng Tang, Ziyi Yang, Chenguang Zhu, Michael Zeng, and Mohit Bansal. Any-to-any generation via composable diffusion. NeurIPS , 36, 2024. Chameleon Team. Chameleon: Mixed-modal early-fusion foundation models. arXiv preprint arXiv:2405.09818 , 2024. Shengbang Tong, David Fan, Jiachen Zhu, Yunyang Xiong, Xinlei Chen, Koustuv Sinha, Michael Rabbat, Yann LeCun, Saining Xie, and Zhuang Liu. Metamorph: Multimodal understanding and generation via instruction tuning. arXiv preprint arXiv:2412.14164 , 2024. Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, Aurélien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. Llama: Open and efficient foundation language models. CoRR , abs/2302.13971, 2023. Xinlong Wang, Xiaosong Zhang, Zhengxiong Luo, Quan Sun, Yufeng Cui, Jinsheng Wang, Fan Zhang, Yueze Wang, Zhen Li, Qiying Yu, et al. Emu3: Next-token prediction is all you need. arXiv preprint arXiv:2409.18869 , 2024. Chengyue Wu, Xiaokang Chen, Zhiyu Wu, Yiyang Ma, Xingchao Liu, Zizheng Pan, Wen Liu, Zhenda Xie, Xingkai Yu, Chong Ruan, and Ping Luo. Janus: Decoupling visual encoding for unified multimodal understanding and generation. CoRR , abs/2410.13848, 2024a.", "source": "marker_v2", "marker_block_id": "/page/11/ListGroup/349"}
|
| 75 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0074", "section": "REFERENCES", "page_start": 13, "page_end": 13, "type": "ListGroup", "text": "Junfeng Wu, Yi Jiang, Chuofan Ma, Yuliang Liu, Hengshuang Zhao, Zehuan Yuan, Song Bai, and Xiang Bai. Liquid: Language models are scalable multi-modal generators. CoRR , abs/2412.04332, 2024b. Shengqiong Wu, Hao Fei, Leigang Qu, Wei Ji, and Tat-Seng Chua. Next-gpt: Any-to-any multimodal llm. arXiv preprint arXiv:2309.05519 , 2023. Yecheng Wu, Zhuoyang Zhang, Junyu Chen, Haotian Tang, Dacheng Li, Yunhao Fang, Ligeng Zhu, Enze Xie, Hongxu Yin, Li Yi, Song Han, and Yao Lu. VILA-U: a unified foundation model integrating visual understanding and generation. CoRR , abs/2409.04429, 2024c. Jinheng Xie, Weijia Mao, Zechen Bai, David Junhao Zhang, Weihao Wang, Kevin Qinghong Lin, Yuchao Gu, Zhijie Chen, Zhenheng Yang, and Mike Zheng Shou. Show-o: One single transformer to unify multimodal understanding and generation. arXiv preprint arXiv:2408.12528 , 2024. An Yang, Bowen Yu, Chengyuan Li, Dayiheng Liu, Fei Huang, Haoyan Huang, Jiandong Jiang, Jianhong Tu, Jianwei Zhang, Jingren Zhou, Junyang Lin, Kai Dang, Kexin Yang, Le Yu, Mei Li, Minmin Sun, Qin Zhu, Rui Men, Tao He, Weijia Xu, Wenbiao Yin, Wenyuan Yu, Xiafei Qiu, Xingzhang Ren, Xinlong Yang, Yong Li, Zhiying Xu, and Zipeng Zhang. Qwen2.5-1m technical report. CoRR , abs/2501.15383, 2025a. Ling Yang, Xinchen Zhang, Ye Tian, Chenming Shang, Minghao Xu, Wentao Zhang, and Bin Cui. Hermesflow: Seamlessly closing the gap in multimodal understanding and generation. CoRR , abs/2502.12148, 2025b. Xiang Yue, Yuansheng Ni, Tianyu Zheng, Kai Zhang, Ruoqi Liu, Ge Zhang, Samuel Stevens, Dongfu Jiang, Weiming Ren, Yuxuan Sun, Cong Wei, Botao Yu, Ruibin Yuan, Renliang Sun, Ming Yin, Boyuan Zheng, Zhenzhu Yang, Yibo Liu, Wenhao Huang, Huan Sun, Yu Su, and Wenhu Chen. MMMU: A massive multi-discipline multimodal understanding and reasoning benchmark for expert AGI. In CVPR , pp. 9556–9567. IEEE, 2024. Rui Zhao, Weijia Mao, and Mike Zheng Shou. Doracycle: Domain-oriented adaptation of unified generative model in multimodal cycles. CoRR , abs/2503.03651, 2025. Chunting Zhou, Lili Yu, Arun Babu, Kushal Tirumala, Michihiro Yasunaga, Leonid Shamis, Jacob Kahn, Xuezhe Ma, Luke Zettlemoyer, and Omer Levy. Transfusion: Predict the next token and diffuse images with one multi-modal model. CoRR , abs/2408.11039, 2024.", "source": "marker_v2", "marker_block_id": "/page/12/ListGroup/263"}
|
| 76 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0075", "section": "A TECHNICAL APPENDICES", "page_start": 14, "page_end": 14, "type": "Text", "text": "In this appendix, we provide additional implementation details of our experiments (Sec. A.1) and describe the formulation of the Straight-Through Gumbel-Softmax estimator (Sec. A.2) . We then present more details and the loss formulation for the non-end-to-end training pipeline (Sec. A.3) . Additional results for both tasks, including human evaluation and extended visualization examples, are provided in Sec. A.5, Sec. A.6, Sec. A.4, and Sec. A.7. We also include a distributional analysis (Sec. A.9) , a detailed discussion of the reward design (Sec. A.10) , and further analysis comparing SFT and GRPO in non-end-to-end settings (Sec. A.8) . In addition, we describe our use of LLMs (Sec. A.13) . Finally, we discuss the limitations of our work (Sec. A.14) .", "source": "marker_v2", "marker_block_id": "/page/13/Text/2"}
|
| 77 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0076", "section": "Training details.", "page_start": 14, "page_end": 14, "type": "Text", "text": "For the SFT and GRPO phases, we set the learning rate to 1 × 10− 5 for both the Janus and Showo models. We use the constructed prompts as input and randomly select one sentence from the six predefined categories, treating these as the training set, while the prompts from the GenEval benchmark are reserved for testing. In the GRPO phase, the group size is set equal to the batch size on each GPU, with a batch size of 3 for Show-o and 8 for Janus, using a total of 8 H100 GPUs. Training is run until the reward converges: about 3k steps for Show-o and 1k steps for Janus, after which the reward stabilizes without further increase.", "source": "marker_v2", "marker_block_id": "/page/13/Text/5"}
|
| 78 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0077", "section": "Training details.", "page_start": 14, "page_end": 14, "type": "Text", "text": "Understanding benchmark. For the understanding benchmarks, we use other unified multimodal models to generate images based on the prompts from the GenEval benchmark. We then filter and retain only the correctly generated images. These images, along with the constructed questions, are used as inputs to evaluate the model's understanding capability. We compute the accuracy as the percentage of predicted answers that match the ground-truth answers.", "source": "marker_v2", "marker_block_id": "/page/13/Text/6"}
|
| 79 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0078", "section": "Training details.", "page_start": 14, "page_end": 14, "type": "Text", "text": "New metric. For the T2I→MMU chain, we use the prompts from the GenEval benchmark for evaluation. For the MMU→T2I chain, we follow the input format of our understanding benchmarks, feeding an external image and corresponding questions for evaluation. To assess the imbalance between the two tasks using our proposed metric, we employ external language models such as Qwen (Yang et al., 2025a) or GPT (Jaech et al., 2024) to judge whether the predicted answers match the ground-truth answers and compute accuracy for each category. For image evaluation, we follow the GenEval protocol, using MMDetection (Chen et al., 2019) and Mask2Former (Cheng et al., 2022) to determine whether the generated image is correct.", "source": "marker_v2", "marker_block_id": "/page/13/Text/7"}
|
| 80 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0079", "section": "A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX", "page_start": 14, "page_end": 14, "type": "Text", "text": "The Straight-Through Gumbel-Softmax (ST-GS) estimator enables differentiable sampling of discrete tokens, which is crucial for gradient-based optimization in end-to-end training. It approximates the sampling process using a soft relaxation during the backward pass while retaining hard discrete choices during the forward pass.", "source": "marker_v2", "marker_block_id": "/page/13/Text/9"}
|
| 81 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0080", "section": "A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX", "page_start": 14, "page_end": 14, "type": "Text", "text": "The Gumbel-Softmax distribution samples a continuous approximation of one-hot vectors using the following formula:", "source": "marker_v2", "marker_block_id": "/page/13/Text/10"}
|
| 82 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0081", "section": "A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX", "page_start": 14, "page_end": 14, "type": "Equation", "text": "y_i = \\frac{\\exp\\left(\\frac{\\log(\\pi_i) + g_i}{\\tau}\\right)}{\\sum_{j=1}^K \\exp\\left(\\frac{\\log(\\pi_j) + g_j}{\\tau}\\right)},\\tag{7}", "source": "marker_v2", "marker_block_id": "/page/13/Equation/11"}
|
| 83 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0082", "section": "A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX", "page_start": 14, "page_end": 14, "type": "Text", "text": "where π i is the unnormalized probability of the i-th category, g i is sampled from the Gumbel(0, 1) distribution, τ is a temperature parameter controlling the smoothness, and K is the number of categories.", "source": "marker_v2", "marker_block_id": "/page/13/Text/12"}
|
| 84 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0083", "section": "A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX", "page_start": 14, "page_end": 14, "type": "Text", "text": "In the straight-through version, a hard one-hot vector z is obtained during the forward pass by applying arg max over the sampled logits:", "source": "marker_v2", "marker_block_id": "/page/13/Text/13"}
|
| 85 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0084", "section": "A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX", "page_start": 14, "page_end": 14, "type": "Equation", "text": "z_i = \\begin{cases} 1, & \\text{if } i = \\arg\\max_j y_j \\\\ 0, & \\text{otherwise} \\end{cases} (8)", "source": "marker_v2", "marker_block_id": "/page/13/Equation/14"}
|
| 86 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0085", "section": "A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX", "page_start": 15, "page_end": 15, "type": "Text", "text": "While the forward pass uses hard selection, the backward pass uses the soft y i values to compute gradients, enabling smooth updates.", "source": "marker_v2", "marker_block_id": "/page/14/Text/1"}
|
| 87 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0086", "section": "A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX", "page_start": 15, "page_end": 15, "type": "Text", "text": "We adopt the Straight-Through Gumbel-Softmax in our method to allow gradients from downstream tasks to propagate through discrete image tokens. This is critical for end-to-end training, as it ensures that the generation module receives meaningful gradient signals and participates in joint optimization with the understanding module.", "source": "marker_v2", "marker_block_id": "/page/14/Text/2"}
|
| 88 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0087", "section": "A.3 NON END-TO-END TRAINING PIPELINE", "page_start": 15, "page_end": 15, "type": "Text", "text": "For non-end-to-end training, we decouple the GRPO loss into two separate objectives for the T2I and MMU modules.", "source": "marker_v2", "marker_block_id": "/page/14/Text/4"}
|
| 89 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0088", "section": "A.3 NON END-TO-END TRAINING PIPELINE", "page_start": 15, "page_end": 15, "type": "Text", "text": "T2I optimization. For the image generation task, we directly optimize the image token logits using rewards computed from MMU performance. The GRPO loss is defined as:", "source": "marker_v2", "marker_block_id": "/page/14/Text/5"}
|
| 90 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0089", "section": "A.3 NON END-TO-END TRAINING PIPELINE", "page_start": 15, "page_end": 15, "type": "Equation", "text": "\\mathcal{L}_{T2I}(\\theta) = -\\sum_{k=1}^{K} w_k \\log p_{\\theta} (\\hat{\\mathbf{u}}_k \\mid p) + \\beta \\operatorname{KL} (p_{\\theta}(\\mathbf{u} \\mid p) \\parallel p_{\\theta_{ref}}(\\mathbf{u} \\mid p)),", "source": "marker_v2", "marker_block_id": "/page/14/Equation/6"}
|
| 91 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0090", "section": "A.3 NON END-TO-END TRAINING PIPELINE", "page_start": 15, "page_end": 15, "type": "Text", "text": "where p is the input prompt, uˆ k is the k-th sampled image token sequence, and w k is a reward-based importance weight derived from MMU outputs.", "source": "marker_v2", "marker_block_id": "/page/14/Text/7"}
|
| 92 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0091", "section": "A.3 NON END-TO-END TRAINING PIPELINE", "page_start": 15, "page_end": 15, "type": "Text", "text": "MMU optimization. For the multimodal understanding task, we optimize the answer prediction directly using rewards based on answer correctness. The GRPO loss is given by:", "source": "marker_v2", "marker_block_id": "/page/14/Text/8"}
|
| 93 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0092", "section": "A.3 NON END-TO-END TRAINING PIPELINE", "page_start": 15, "page_end": 15, "type": "Equation", "text": "\\mathcal{L}_{\\text{MMU}}(\\theta) = -\\sum_{k=1}^{K} w_k \\log p_{\\theta} (\\hat{a}_k \\mid \\mathbf{u}, q) + \\beta \\operatorname{KL} \\left( p_{\\theta}(a \\mid \\mathbf{u}, q) \\parallel p_{\\theta_{\\text{ref}}}(a \\mid \\mathbf{u}, q) \\right),", "source": "marker_v2", "marker_block_id": "/page/14/Equation/9"}
|
| 94 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0093", "section": "A.3 NON END-TO-END TRAINING PIPELINE", "page_start": 15, "page_end": 15, "type": "Text", "text": "where u is the input image token sequence, q is the question, aˆ k is the predicted answer, and w k is computed based on the answer reward.", "source": "marker_v2", "marker_block_id": "/page/14/Text/10"}
|
| 95 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0094", "section": "A.3 NON END-TO-END TRAINING PIPELINE", "page_start": 15, "page_end": 15, "type": "Text", "text": "Although the two modules are optimized independently, reward signals still facilitate cross-task influence, allowing the model to benefit from mutual supervision even without gradient sharing.", "source": "marker_v2", "marker_block_id": "/page/14/Text/11"}
|
| 96 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0095", "section": "A.4 MORE GENERATION RESULTS", "page_start": 15, "page_end": 15, "type": "Text", "text": "In our main experiments using the Show-o model (Xie et al., 2024) , both our method and the baselines adopt a guidance scale of 2 and 16 generation steps during training and inference. Here, we present additional comparison results under a higher guidance scale of 5 and an extended generation length of 50 steps. We observe that our SFT-based method achieves a final score of 0.79, while our GRPO-based method reaches 0.74—both significantly outperforming all baselines.", "source": "marker_v2", "marker_block_id": "/page/14/Text/13"}
|
| 97 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0096", "section": "A.4 MORE GENERATION RESULTS", "page_start": 15, "page_end": 15, "type": "TableGroup", "text": "Table 5: Comparison of UniRL with baseline methods on the GenEval benchmark under a guidance scale of 5 and 50 generation steps. Method Single. Two. Count. Colors Posi. Attri. Overall↑ Show-o 0.98 0.81 0.69 0.82 0.32 0.53 0.68 HermesFlow 0.98 0.84 0.66 0.82 0.32 0.52 0.69 UniRL(SFT) 1.00 0.97 0.61 0.91 0.56 0.70 0.79 UniRL(GRPO) 0.96 0.80 0.67 0.86 0.50 0.67 0.74", "source": "marker_v2", "marker_block_id": "/page/14/TableGroup/537"}
|
| 98 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0097", "section": "A.5 MORE UNDERSTANDING RESULTS", "page_start": 15, "page_end": 15, "type": "Text", "text": "Since our work primarily focuses on the understanding of basic visual attributes, the main results on tasks such as counting and color recognition have been reported in Sec. 4.2. We further evaluate our method on more comprehensive benchmarks, including POPE (Li et al., 2023a) and MMMU (Yue et al., 2024) , as shown in Tab. 6. The", "source": "marker_v2", "marker_block_id": "/page/14/Text/17"}
|
| 99 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0098", "section": "A.5 MORE UNDERSTANDING RESULTS", "page_start": 15, "page_end": 15, "type": "TableGroup", "text": "Table 6: Benchmark results for multimodal understanding tasks. Method POPE↑ MMMU_val↑ Show-o 79.8 26.7 UniRL (GRPO) 78.1 26.1", "source": "marker_v2", "marker_block_id": "/page/14/TableGroup/538"}
|
| 100 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0099", "section": "Text to Image Generation Multi-modal Understanding", "page_start": 16, "page_end": 16, "type": "PictureGroup", "text": "Paper artwork, layered paper, colorful Chinese dragon surrounded by clouds.", "source": "marker_v2", "marker_block_id": "/page/15/PictureGroup/378"}
|
| 101 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0100", "section": "Text to Image Generation Multi-modal Understanding", "page_start": 16, "page_end": 16, "type": "PictureGroup", "text": "Q : Give a caption of the image", "source": "marker_v2", "marker_block_id": "/page/15/PictureGroup/379"}
|
| 102 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0101", "section": "Text to Image Generation Multi-modal Understanding", "page_start": 16, "page_end": 16, "type": "Caption", "text": "A :The image features a squirrel playing a blue electric guitar, sitting on the ground.", "source": "marker_v2", "marker_block_id": "/page/15/Caption/11"}
|
| 103 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0102", "section": "Text to Image Generation Multi-modal Understanding", "page_start": 16, "page_end": 16, "type": "Caption", "text": "Figure 4: Visualization results of our method.", "source": "marker_v2", "marker_block_id": "/page/15/Caption/12"}
|
| 104 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0103", "section": "Text to Image Generation Multi-modal Understanding", "page_start": 16, "page_end": 16, "type": "Text", "text": "Copyright©Jiawei Liu, NUS 19 slightly lower scores can be explained by the fact that our training data mainly targets basic visual understanding, whereas benchmarks such as MMMU emphasize text-based reasoning and numerical calculation. Moreover, we observe that when relying on the existing prompts during GRPO training, the model is prone to reward hacking, leading to a slightly decline in more general capabilities (e.g., arithmetic skills) that are not directly related to our target prompts. We believe that this limitation could be mitigated by either enlarging the KL coefficient to better preserve general-purpose abilities or incorporating a broader set of understanding categories, and potentially by scaling up the model size in future work.", "source": "marker_v2", "marker_block_id": "/page/15/Text/13"}
|
| 105 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0104", "section": "A.6 HUMAN EVALUATION", "page_start": 16, "page_end": 16, "type": "Text", "text": "The breathtaking view of Moraine Lake, a renowned landmark in Canada. The turquoise waters of the lake reflect the rugged peaks of the Valley of the Ten Peaks, creating a scene of unparalleled", "source": "marker_v2", "marker_block_id": "/page/15/Text/29"}
|
| 106 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0105", "section": "A.6 HUMAN EVALUATION", "page_start": 16, "page_end": 16, "type": "Text", "text": "natural beauty.", "source": "marker_v2", "marker_block_id": "/page/15/Text/30"}
|
| 107 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0106", "section": "A.6 HUMAN EVALUATION", "page_start": 16, "page_end": 16, "type": "Text", "text": "We conduct a human evaluation with 20 participants using 10 prompts that cover a broad range of lengths, styles, and content. Each participant compares the outputs of our method against those of the original Show-o for all prompts, yielding 200 total comparisons. In each comparison, selecting our method scores 1 point (0 otherwise). Averaging these scores across all participants and prompts gives a mean of 0.86, indicating that participants prefer our method in 86% of cases. In contrast, the original Show-o scores 0.14. This result demonstrates that our method performs better on general cases. An example question is shown in Fig. 5.", "source": "marker_v2", "marker_block_id": "/page/15/Text/15"}
|
| 108 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0107", "section": "A.7 MORE VISUALIZATION RESULTS", "page_start": 16, "page_end": 16, "type": "Text", "text": "We provide additional visualization results in Fig. 4, including several out-of-distribution examples. These results demonstrate that our method (GRPO) generalizes beyond the specific categories seen during training.", "source": "marker_v2", "marker_block_id": "/page/15/Text/17"}
|
| 109 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0108", "section": "A.8 MORE ANALYSIS OF SFT AND GRPO", "page_start": 16, "page_end": 16, "type": "Text", "text": "End-to-end training. For end-to-end training, supervision for T2I is inherently indirect, as the optimization signal comes from downstream tasks such as answer prediction rather than direct supervision of the generated image. Compared to MMU, T2I is generally less prone to overfitting due to the structured nature of image reconstruction. In this setting, SFT may outperform GRPO, as it leverages the ground-truth answer to directly compute the loss and guide the model toward a clearer optimization direction. This process does not heavily depend on the capacity of the base model; instead, the ground-truth serves as a strong supervision signal that helps SFT converge more efficiently.", "source": "marker_v2", "marker_block_id": "/page/15/Text/19"}
|
| 110 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0109", "section": "A.8 MORE ANALYSIS OF SFT AND GRPO", "page_start": 16, "page_end": 16, "type": "Text", "text": "In contrast, GRPO optimizes the model by generating a group of candidate answers and computing rewards to update the policy. When the model capacity is limited, the generated answers may all be incorrect, leading to weak or noisy reward signals and thus making optimization more difficult.", "source": "marker_v2", "marker_block_id": "/page/15/Text/20"}
|
| 111 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0110", "section": "A.8 MORE ANALYSIS OF SFT AND GRPO", "page_start": 17, "page_end": 17, "type": "Text", "text": "For MMU, which primarily relies on learning from text-based inputs, SFT tends to overfit easily by memorizing token patterns. GRPO, on the other hand, benefits from its reward-based training and KL regularization term, which encourages the updated model to remain close to the original pretrained model. This constraint improves generalization and helps prevent overfitting, especially in cases where training data is limited or highly structured.", "source": "marker_v2", "marker_block_id": "/page/16/Text/1"}
|
| 112 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0111", "section": "A.8 MORE ANALYSIS OF SFT AND GRPO", "page_start": 17, "page_end": 17, "type": "Text", "text": "Non end-to-end training. For non end-to-end training, applying SFT to T2I is often unstable due to error accumulation from the generation pipeline. The optimization direction can easily become unreliable, leading to training collapse. To mitigate this, one option is to follow prior works (Yang et al., 2025b; Guo et al., 2025), which use offline-generated images and filter out incorrect samples to construct a reliable training set for SFT. In comparison, GRPO is more robust in non end-to-end settings, as it directly optimizes with reward signals and demonstrates better stability and performance.", "source": "marker_v2", "marker_block_id": "/page/16/Text/2"}
|
| 113 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0112", "section": "A.9 DISTRIBUTION ANALYSIS", "page_start": 17, "page_end": 17, "type": "Text", "text": "To demonstrate that our method does not introduce data leakage, we include a distribution analysis. We encode both the T2I training prompts and the GenEval benchmark prompts with the CLIP text encoder and map them into the same semantic vector space. We then apply t-SNE to reduce the embeddings to two dimensions and compute the Jensen–Shannon divergence (JSD) between the two distributions, obtaining a value of 0.17. Formally,", "source": "marker_v2", "marker_block_id": "/page/16/Text/4"}
|
| 114 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0113", "section": "A.9 DISTRIBUTION ANALYSIS", "page_start": 17, "page_end": 17, "type": "Equation", "text": "JSD(P|Q) = \\frac{1}{2}KL(P|M) + \\frac{1}{2}KL(Q|M), \\quad M = \\frac{1}{2}(P+Q), \\tag{9}", "source": "marker_v2", "marker_block_id": "/page/16/Equation/5"}
|
| 115 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0114", "section": "A.9 DISTRIBUTION ANALYSIS", "page_start": 17, "page_end": 17, "type": "Text", "text": "where KL(\\cdot|\\cdot) denotes the Kullback–Leibler divergence. In practice, many data-drift detection tools and practitioners consider a JSD below 0.1 as an empirical threshold suggesting that two distributions are nearly identical. Our result indicates that while the two prompt sets are similar in semantics, they are not identical.", "source": "marker_v2", "marker_block_id": "/page/16/Text/6"}
|
| 116 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0115", "section": "A.9 DISTRIBUTION ANALYSIS", "page_start": 17, "page_end": 17, "type": "TableGroup", "text": "Table 8: Examples of prompts constructed for six categories of image-based question—answer tasks: single object, two object, counting, colors, position, and attribute. Category Prompt Question Answer Single object a photo of a bench What is the main object of the image? Bench Two object a photo of a table and a soccer What are two main objects of the image? A table and a soccer Counting a photo of three vases How many items in this image? Three vases Colors a photo of a green fork What is the color of the object? Green Position a photo of a train above of an elephant What are two objects and what is position relationship between two main items? The train is above of an elephant Attribute a photo of a blue chair and a red umbrella What are two objects and the colors of two objects in the image? The chair is blue and the umbrella is red", "source": "marker_v2", "marker_block_id": "/page/16/TableGroup/236"}
|
| 117 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0116", "section": "A.10 REWARD FUNCTION", "page_start": 17, "page_end": 17, "type": "Text", "text": "The reward function assigns scores based on the alignment between the predicted answer \\hat{a}_k and the ground-truth answer a^* . Although the specific reward criteria vary across question categories, all rewards rely on two key components: (1) the correct identification of object names, and (2) the accurate prediction of associated attributes, such as number, color, or spatial position.", "source": "marker_v2", "marker_block_id": "/page/16/Text/10"}
|
| 118 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0117", "section": "A.10 REWARD FUNCTION", "page_start": 17, "page_end": 17, "type": "Text", "text": "A complete summary of the category-specific reward rules is provided in Tab. 7.", "source": "marker_v2", "marker_block_id": "/page/16/Text/11"}
|
| 119 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0118", "section": "A.11 PROMPT AND QA PAIR CONSTRUCTION", "page_start": 17, "page_end": 17, "type": "Text", "text": "We provide the details and examples of the constructed prompts and question—answer pairs in Tab. 8.", "source": "marker_v2", "marker_block_id": "/page/16/Text/13"}
|
| 120 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0119", "section": "A.11 PROMPT AND QA PAIR CONSTRUCTION", "page_start": 17, "page_end": 17, "type": "TableGroup", "text": "Table 7: Examples of reward rules based on key words in generated answers Category Score Key Word Single object 1 bench Two object 2 table, soccer Counting 2 three, vase Colors 1 green Position 3 train, above of, elephant Attribute 4 blue, chair, red, umbrella", "source": "marker_v2", "marker_block_id": "/page/16/TableGroup/237"}
|
| 121 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0120", "section": "A.11 PROMPT AND QA PAIR CONSTRUCTION", "page_start": 18, "page_end": 18, "type": "Caption", "text": "Figure 5: The human evaluation.", "source": "marker_v2", "marker_block_id": "/page/17/Caption/2"}
|
| 122 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0121", "section": "A.12 ANALYSIS OF OBSERVED INCONSISTENCIES", "page_start": 18, "page_end": 18, "type": "Text", "text": "We analyze the observed inconsistencies from three perspectives:", "source": "marker_v2", "marker_block_id": "/page/17/Text/4"}
|
| 123 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0122", "section": "A.12 ANALYSIS OF OBSERVED INCONSISTENCIES", "page_start": 18, "page_end": 18, "type": "Text", "text": "Pretraining Data Imbalance. Unified models rely on large-scale datasets that differ by task. For text-to-image (T2I), datasets such as JourneyDB contain high-quality, often cartoon-style images. For multimodal understanding (MMU), datasets like LLaVA and Cambrian typically use COCO images of real-world scenes. As a result, after pretraining, Show-o tends to generate images in the style of its T2I data while still being able to answer questions about COCO-style images, reflecting a domain mismatch. This imbalance enables the model to generate images correctly—since they match the T2I training domain—but limits its ability to answer questions about those images when they lie outside the MMU training domain. Since no single large-scale dataset covers both image generation and understanding, our work focuses on the post-training stage, where we address this imbalance using only constructed prompts without external data.", "source": "marker_v2", "marker_block_id": "/page/17/Text/5"}
|
| 124 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0123", "section": "A.12 ANALYSIS OF OBSERVED INCONSISTENCIES", "page_start": 18, "page_end": 18, "type": "Text", "text": "Differences Between the Two Tasks. MMU requires the model to interpret an image and produce text, which is generally less complex than generating a detailed image in T2I. Moreover, MMU covers a wide range of tasks—such as mathematical problem solving—that lie outside the scope of image generation. These differences in task requirements naturally lead to varying performance across the two tasks.", "source": "marker_v2", "marker_block_id": "/page/17/Text/6"}
|
| 125 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0124", "section": "A.12 ANALYSIS OF OBSERVED INCONSISTENCIES", "page_start": 18, "page_end": 18, "type": "Text", "text": "Model Initialization. Some unified models are initialized with weights pretrained on a single task—either image generation or language understanding—before being fine-tuned on the other task. While this provides a strong starting point for the first capability, the secondary task must be learned from scratch and therefore often lags in performance. Differences in initialization strategies thus further contribute to the inconsistencies observed.", "source": "marker_v2", "marker_block_id": "/page/17/Text/7"}
|
| 126 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0125", "section": "A.13 USE OF LLMS", "page_start": 18, "page_end": 18, "type": "Text", "text": "In this work, large language models (LLMs) were used solely to assist with paper writing, for example in language polishing and improving clarity of presentation.", "source": "marker_v2", "marker_block_id": "/page/17/Text/9"}
|
| 127 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0126", "section": "A.14 LIMITATIONS", "page_start": 18, "page_end": 18, "type": "Text", "text": "While our work presents an effective post-training method for unified multimodal models, it also has several limitations. First, our current focus is limited to basic visual understanding tasks such as counting and color recognition. More complex reasoning abilities, such as mathematical problemsolving or abstract inference, are beyond the scope of this work and are left for future exploration.", "source": "marker_v2", "marker_block_id": "/page/17/Text/11"}
|
| 128 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0127", "section": "A.14 LIMITATIONS", "page_start": 19, "page_end": 19, "type": "Text", "text": "Second, the training speed per iteration is relatively slow. This is a known limitation of GRPO-based methods, as they require multiple forward passes during inference before optimization.", "source": "marker_v2", "marker_block_id": "/page/18/Text/1"}
|
iclr26/5K9XW9gQ5r/dataset_meta.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "5K9XW9gQ5r",
|
| 3 |
+
"pipeline": "Paper2Markdown-V3",
|
| 4 |
+
"ok": true,
|
| 5 |
+
"page_count": 19,
|
| 6 |
+
"chunk_count": 128,
|
| 7 |
+
"main_body_chunk_count": 71,
|
| 8 |
+
"appendix_chunk_count": 53,
|
| 9 |
+
"reference_chunk_count": 4,
|
| 10 |
+
"model_text_chars": 36802,
|
| 11 |
+
"raw_markdown_chars": 73777,
|
| 12 |
+
"sanitized_chars": 69952,
|
| 13 |
+
"page_provenance": {
|
| 14 |
+
"min_page": 1,
|
| 15 |
+
"max_page": 19,
|
| 16 |
+
"invalid_count": 0
|
| 17 |
+
},
|
| 18 |
+
"marker_block_type_counts": {
|
| 19 |
+
"Caption": 7,
|
| 20 |
+
"Equation": 13,
|
| 21 |
+
"FigureGroup": 1,
|
| 22 |
+
"ListGroup": 6,
|
| 23 |
+
"PageFooter": 19,
|
| 24 |
+
"PageHeader": 21,
|
| 25 |
+
"Picture": 3,
|
| 26 |
+
"PictureGroup": 2,
|
| 27 |
+
"SectionHeader": 40,
|
| 28 |
+
"Table": 1,
|
| 29 |
+
"TableGroup": 7,
|
| 30 |
+
"Text": 348
|
| 31 |
+
},
|
| 32 |
+
"asset_count_raw": 6,
|
| 33 |
+
"asset_count_model_kept": 4,
|
| 34 |
+
"asset_count_rejected": 2,
|
| 35 |
+
"asset_reject_reasons": {
|
| 36 |
+
"kept": 4,
|
| 37 |
+
"too_small": 2
|
| 38 |
+
},
|
| 39 |
+
"artifact_leak_audit": {
|
| 40 |
+
"ok": true,
|
| 41 |
+
"hits": {
|
| 42 |
+
"Anonymous Authors": [],
|
| 43 |
+
"ACKNOWLEDGMENT": [],
|
| 44 |
+
"OpenReview": [],
|
| 45 |
+
"\"accept_label\"": [],
|
| 46 |
+
"\"decision\"": [],
|
| 47 |
+
"\"decision_tier\"": [],
|
| 48 |
+
"\"source_status\"": [],
|
| 49 |
+
"Meta-review": [],
|
| 50 |
+
"Official Review": [],
|
| 51 |
+
"official_reviews": [],
|
| 52 |
+
"meta_reviews": [],
|
| 53 |
+
"suggested_verdict_score": []
|
| 54 |
+
},
|
| 55 |
+
"artifact_count": 2
|
| 56 |
+
},
|
| 57 |
+
"default_model_input": "model_text_v3.txt",
|
| 58 |
+
"appendix_input": "appendix_text_v3.txt",
|
| 59 |
+
"reference_input": "reference_text_v3.txt",
|
| 60 |
+
"source": "iclr2026_test_public",
|
| 61 |
+
"run_name": "iclr26_20260429_1952_all",
|
| 62 |
+
"partial_snapshot": true,
|
| 63 |
+
"snapshot_created_at": "2026-04-30T02:34:47.606558+00:00"
|
| 64 |
+
}
|
iclr26/5K9XW9gQ5r/main_body_chunks.jsonl
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0000", "section": "ABSTRACT", "page_start": 1, "page_end": 1, "type": "Text", "text": "Unified multimodal large language models such as Show-o and Janus have achieved strong performance across both generation and understanding tasks. However, these models typically rely on large-scale datasets and require substantial computation during the pretraining stage. In addition, several post-training methods have been proposed, but they often depend on external data or are limited to task-specific customization. In this work, we introduce UniRL, a self-improving post-training approach. Our approach enables the model to generate images from prompts and use them as training data in each iteration, without relying on any external image data. Moreover, it enables the two tasks to enhance each other: the generated images are used for understanding, and the understanding results are used to supervise generation. We explore supervised fine-tuning (SFT) and Group Relative Policy Optimization (GRPO) to optimize the models. UniRL offers three key advantages: (1) it requires no external image data, as all training samples are generated by the model itself during training; (2) it not only improves individual task performance, but also reduces the imbalance between generation and understanding; and (3) it requires only several additional training steps during the post-training stage. We evaluate UniRL on top of Show-o and Janus, achieving a GenEval score of 0.77 for Show-o and 0.65 for Janus. Code and models will be released.", "source": "marker_v2", "marker_block_id": "/page/0/Text/4"}
|
| 2 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0001", "section": "1 INTRODUCTION", "page_start": 1, "page_end": 1, "type": "Text", "text": "Unified multimodal large language models are designed to handle both generation and understanding tasks within a shared parameter space. Recently, models such as Show-o, Janus, and others (Xie et al., 2024; Wu et al., 2024a; Ma et al., 2024; Zhou et al., 2024; Wang et al., 2024) have made rapid progress by adopting various architectural and training strategies. Most existing work focuses on the pretraining stage, leveraging large-scale data to train models built upon large language models (LLMs) (Li et al., 2023b; Abdin et al., 2024; Touvron et al., 2023) or multimodal LLMs (MLLMs) (Bai et al., 2023; Liu et al., 2024d; c) . However, these methods often face challenges such as high computational cost and the need for vast amounts of data. Meanwhile, several studies (Yang et al., 2025b; Guo et al., 2025; Li et al., 2025) have explored the post-training phase, but they face limitations: some require additional external data (Yang et al., 2025b; Zhao et al., 2025; Li et al., 2025) , others target only a single task (Guo et al., 2025; Li et al., 2025) , or focus on task-specific customization (Zhao et al., 2025) . Therefore, developing effective post-training methods to improve the performance of unified multimodal models remains a significant challenge.", "source": "marker_v2", "marker_block_id": "/page/0/Text/6"}
|
| 3 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0002", "section": "1 INTRODUCTION", "page_start": 1, "page_end": 1, "type": "Text", "text": "In this work, we propose a self-improving post-training method for unified multimodal models without external image data. We begin by constructing prompts and question–answer (QA) pairs inspired by the GenEval (Ghosh et al., 2023) benchmark, which evaluates generation quality by categorizing prompts into six types—such as counting, color, and position—designed to reflect fundamental visual features of natural images. We adopt this categorization to design the prompts used in our training process. In each training iteration, a constructed prompt is fed into the model to generate a group of images. These images, along with the corresponding questions, are then input back into the model to predict answers. The model is optimized using both the predicted and ground-truth answers to improve generation and understanding simultaneously. For optimization, we explore two strategies: supervised fine-tuning (SFT) and reinforcement learning.", "source": "marker_v2", "marker_block_id": "/page/0/Text/7"}
|
| 4 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0003", "section": "1 INTRODUCTION", "page_start": 2, "page_end": 2, "type": "Caption", "text": "Figure 1: The imbalance between Text-to-Image Generation (T2I) and Multi-modal Understanding (MMU). For the same image, unified multimodal models may struggle to perform both generation and understanding consistently.", "source": "marker_v2", "marker_block_id": "/page/1/Caption/2"}
|
| 5 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0004", "section": "1 INTRODUCTION", "page_start": 2, "page_end": 2, "type": "Text", "text": "In the post-training stage, supervised fine-tuning (SFT) and reinforcement learning have traditionally been widely used. Recently, Group Relative Policy Optimization (GRPO) (Shao et al., 2024), a reinforcement learning method, has shown strong performance in large language models (LLMs) (DeepSeek-AI et al., 2025), enabling effective post-training optimization through chain-of-thought (CoT) reasoning. In this work, we explore two optimization strategies—SFT and GRPO—for unified multimodal models and analyze the advantages of each strategy. Previous applications of GRPO typically rely on chain-of-thought outputs to estimate reward distributions. However, most current unified multimodal models lack the ability to produce structured reasoning steps. Therefore, we explore a GRPO-based method that does not rely on reasoning outputs, aiming to improve the performance of unified multimodal models.", "source": "marker_v2", "marker_block_id": "/page/1/Text/3"}
|
| 6 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0005", "section": "1 INTRODUCTION", "page_start": 2, "page_end": 2, "type": "Text", "text": "For the performance of the unified multimodal models, we define it along three dimensions: (1) image generation capability, (2) image understanding capability, and (3) the balance between the two. While prior work has primarily focused on improving performance for a single task, unified multimodal models frequently exhibit poor alignment between the two capabilities. As shown in Fig. 1, these models often fail to simultaneously support both tasks on the same image. The model may succeed in generating a plausible image but fail to answer the corresponding question, or fail in generation while answering correctly. Therefore, beyond improving individual tasks, our self-improving method explicitly targets the imbalance between image generation and understanding. To quantitatively assess this imbalance, we design a new evaluation metric. While visual understanding spans a wide range of tasks, including reasoning and mathematical problem solving, we focus on basic visual features of natural images—such as object count, color, and position—in both training and evaluation to ensure alignment between generation and understanding tasks.", "source": "marker_v2", "marker_block_id": "/page/1/Text/4"}
|
| 7 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0006", "section": "1 INTRODUCTION", "page_start": 2, "page_end": 2, "type": "Text", "text": "Our method offers three main advantages. (1) It does not rely on external image data, using only images generated in real time during training. (2) It improves the performance of individual tasks while also reducing the imbalance between generation and understanding. Specifically, the same set of generated images is used for both tasks, enabling shared supervision that helps improve the imbalance between them. (3) It requires only a small number of training steps during the post-training stage. To evaluate our method, we adopt Show-o and Janus as base models, assessing improvements in both single-task performance and the balance between tasks. Our approach achieves post-training GenEval scores of 0.77 on Show-o and 0.65 on Janus.", "source": "marker_v2", "marker_block_id": "/page/1/Text/5"}
|
| 8 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0007", "section": "1 INTRODUCTION", "page_start": 2, "page_end": 2, "type": "Text", "text": "Our main contributions are summarized as follows:", "source": "marker_v2", "marker_block_id": "/page/1/Text/6"}
|
| 9 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0008", "section": "1 INTRODUCTION", "page_start": 2, "page_end": 2, "type": "ListGroup", "text": "To the best of our knowledge, we propose the first self-improving post-training optimization method for unified multimodal models via supervised and reinforcement learning. We investigate the effectiveness of both supervised fine-tuning (SFT) and Group Relative Policy Optimization (GRPO) for unified multimodal models, and provide a detailed comparison of their respective performance.", "source": "marker_v2", "marker_block_id": "/page/1/ListGroup/236"}
|
| 10 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0009", "section": "1 INTRODUCTION", "page_start": 3, "page_end": 3, "type": "ListGroup", "text": "We introduce a new metric to quantify the imbalance between generation and understanding tasks within a single model. Our evaluations across multiple unified models reveal that such imbalance is common. Our method substantially improves image generation and understanding quality and effectively reduces task imbalance, enabling better consistency between text-to-image generation and multimodal understanding.", "source": "marker_v2", "marker_block_id": "/page/2/ListGroup/395"}
|
| 11 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0010", "section": "2.1 UNIFIED MULTIMODAL UNDERSTANDING AND GENERATION", "page_start": 3, "page_end": 3, "type": "Text", "text": "Several recent studies (Ge et al., 2024; Wu et al., 2023; Team, 2024; Xie et al., 2024; Liu et al., 2024b; Sun et al., 2023b; Zhou et al., 2024; Tang et al., 2024; Dong et al., 2024; Wang et al., 2024; Ma et al., 2024; Liu et al., 2024a; Wu et al., 2024b; Shi et al., 2024; Anil et al., 2023; Qu et al., 2024; Li et al., 2024a; Kou et al., 2024; Li et al., 2024b; Chen et al., 2025b; Tong et al., 2024) have explored unified transformers capable of both generation and comprehension. Chameleon (Team, 2024) ,Emu3 (Wang et al., 2024) , Janus (Wu et al., 2024a) , JanusPro (Chen et al., 2025b) adopt autoregressive methods for both tasks. SEED-X (Ge et al., 2024) incorporates a diffusion model alongside a large language model to support multimodal generation and understanding. While both Show-o (Xie et al., 2024) and JanusFlow (Ma et al., 2024) use autoregression for understanding, the former adopts discrete diffusion for generation, whereas the latter employs flow matching. These models primarily focus on the pretraining stage using different methods for different tasks. These approaches require substantial training time and large-scale training data. Some studies (Mao et al., 2025; Guo et al., 2025) have explored more efficient training or inference strategies. In this work, we take Show-o and Janus as our base model and explore post-training optimization techniques to further improve unified multimodal performance.", "source": "marker_v2", "marker_block_id": "/page/2/Text/5"}
|
| 12 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0011", "section": "2.2 GRPO IN LLM AND MLLMS", "page_start": 3, "page_end": 3, "type": "Text", "text": "Supervised fine-tuning (SFT) and reinforcement learning have been widely adopted in the posttraining of large language models (LLMs) (Jaech et al., 2024; Li et al., 2023b; Abdin et al., 2024; Touvron et al., 2023) and multimodal LLMs (MLLMs) (Bai et al., 2023; Liu et al., 2024d) . Group Relative Policy Optimization (GRPO) is introduced in (Shao et al., 2024) to optimize LLMs by generating a group of chain-of-thought outputs and applying a task-specific reward function to guide learning. More recently, GRPO has also been explored in the context of MLLMs (Chen et al., 2025a) . In addition to GRPO, other reinforcement learning approaches such as Direct Preference Optimization (DPO) (Rafailov et al., 2023; Yang et al., 2025b) and Proximal Policy Optimization (PPO) (Schulman et al., 2017) have also been applied to both LLMs and MLLMs. Hermesflow (Yang et al., 2025b) and Emu3 (Wang et al., 2024) use DPO to optimize unified multimodal models. However, PPO requires a separate value network to estimate the baseline, and DPO relies on predefined positive and negative examples, which introduces additional complexity. In our work, we explore SFT and GRPO method to optimize unified multimodal models and improve their generation and understanding performance during the post-training stage.", "source": "marker_v2", "marker_block_id": "/page/2/Text/7"}
|
| 13 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0012", "section": "3 METHOD", "page_start": 3, "page_end": 3, "type": "Text", "text": "In this section, we first introduce the background of unified multimodal models and the GRPO optimization method (Sec .3.1) . We then describe the construction of training prompts (Sec .A.11) , the proposed self-improving framework (Sec .3.3) , and two optimization strategies: SFT and GRPO (Sec .3.4) . We also present a non-end-to-end training approach designed for models that use different image representations in the two tasks (Sec .3.5) . Finally, we introduce a new metric to evaluate the imbalance between the two tasks (Sec .3.6) . The pipeline of training is shown in Fig. 2.", "source": "marker_v2", "marker_block_id": "/page/2/Text/9"}
|
| 14 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0013", "section": "3.1 PRELIMINARY", "page_start": 3, "page_end": 3, "type": "Text", "text": "Unified Multimodal Models. Unified multimodal models can be divided into two main categories: (1) both generation and understanding tasks use autoregressive methods; (2) generation makes use of", "source": "marker_v2", "marker_block_id": "/page/2/Text/11"}
|
| 15 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0014", "section": "3.1 PRELIMINARY", "page_start": 4, "page_end": 4, "type": "Text", "text": "diffusion or flow matching while comprehension relies on autoregressive methods. We focus on two example models: Show-o (Xie et al., 2024) and Janus (Wu et al., 2024a).", "source": "marker_v2", "marker_block_id": "/page/3/Text/1"}
|
| 16 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0015", "section": "3.1 PRELIMINARY", "page_start": 4, "page_end": 4, "type": "Text", "text": "In Show-o, the text tokens are denoted as T = \\{t_1, \\ldots, t_N\\} and the image tokens as I = \\{i_1, \\ldots, i_M\\} . The training objective includes two components: one maximizes the likelihood of each text token given all previous text and image tokens; the other reconstructs masked image tokens based on the remaining image tokens and the full text sequence. The two loss terms are:", "source": "marker_v2", "marker_block_id": "/page/3/Text/2"}
|
| 17 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0016", "section": "3.1 PRELIMINARY", "page_start": 4, "page_end": 4, "type": "Equation", "text": "\\mathcal{L}_{\\text{NTP}} = \\sum_{n=1}^{N} \\log p_{\\theta} (t_n \\mid t_{1:n-1}, i_{1:M}), \\quad \\mathcal{L}_{\\text{MTP}} = \\sum_{m=1}^{M} \\log p_{\\theta} (i_m^* \\mid i_{1:m-1}, i_{m+1:M}, t_{1:N}). \\quad (1)", "source": "marker_v2", "marker_block_id": "/page/3/Equation/3"}
|
| 18 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0017", "section": "3.1 PRELIMINARY", "page_start": 4, "page_end": 4, "type": "Text", "text": "Janus uses only the NTP objective, predicting every next token (image or text) in a single autoregressive pass.", "source": "marker_v2", "marker_block_id": "/page/3/Text/4"}
|
| 19 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0018", "section": "3.1 PRELIMINARY", "page_start": 4, "page_end": 4, "type": "Text", "text": "Group Relative Policy Optimization(GRPO) We use a reinforcement learning method called Group Relative Policy Optimization (GRPO) (Shao et al., 2024), which optimizes the model by comparing a group of generated outputs and assigning relative rewards. Suppose inputs x come from a distribution D. For each x \\sim D , we sample M candidate outputs \\{y_j\\}_{j=1}^M under an old policy \\pi_{\\varphi_{\\text{old}}} . We then update our new policy \\pi_{\\varphi} by maximising the following objective:", "source": "marker_v2", "marker_block_id": "/page/3/Text/5"}
|
| 20 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0019", "section": "3.1 PRELIMINARY", "page_start": 4, "page_end": 4, "type": "Equation", "text": "L(\\varphi) = \\mathbb{E}_{\\substack{x \\sim D, \\\\ \\{y_j\\} \\sim \\pi_{\\varphi_{\\text{old}}}}} \\left[ \\frac{1}{M} \\sum_{j=1}^{M} \\min(s_j A_j, \\operatorname{clip}(s_j, 1 - \\delta, 1 + \\delta) Z_j) \\right] - \\lambda D_{\\text{KL}}(\\pi_{\\varphi} \\parallel \\pi_{\\psi}), \\quad (2)", "source": "marker_v2", "marker_block_id": "/page/3/Equation/6"}
|
| 21 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0020", "section": "3.1 PRELIMINARY", "page_start": 4, "page_end": 4, "type": "Text", "text": "where", "source": "marker_v2", "marker_block_id": "/page/3/Text/7"}
|
| 22 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0021", "section": "3.1 PRELIMINARY", "page_start": 4, "page_end": 4, "type": "Equation", "text": "s_j = \\frac{\\pi_{\\varphi}(y_j \\mid x)}{\\pi_{\\varphi_{\\text{old}}}(y_j \\mid x)}, \\quad A_j = \\frac{R_j - \\text{mean}(R_1, \\dots, R_M)}{\\text{std}(R_1, \\dots, R_M)}.", "source": "marker_v2", "marker_block_id": "/page/3/Equation/8"}
|
| 23 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0022", "section": "3.1 PRELIMINARY", "page_start": 4, "page_end": 4, "type": "Text", "text": "R_j is the reward for output y_j , \\delta sets the clipping range, \\lambda weighs the divergence penalty, and \\pi_\\psi is a fixed reference policy. In the inner sum, s_j measures how the new policy probability differs from the old policy for the same output. Multiplying by the normalised advantage A_j gives a gradient direction. Clipping s_j to [1-\\delta, 1+\\delta] ensures that no single sample drives the update too far. Averaging over M outputs makes the estimate stable across different group sizes. Finally, subtracting \\lambda D_{\\mathrm{KL}}(\\pi_\\varphi \\parallel \\pi_\\psi) discourages large shifts away from a trusted policy, which helps to keep learning smooth.", "source": "marker_v2", "marker_block_id": "/page/3/Text/9"}
|
| 24 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0023", "section": "3.2 PROMPT AND QA PAIR CONSTRUCTION", "page_start": 4, "page_end": 4, "type": "Text", "text": "In our study, we take inspiration from GenEval (Ghosh et al., 2023) to construct prompt—question—answer pairs. GenEval evaluates image generation models across six categories: single object, two objects, counting, colors, color attributes, and position. We expand the object pool by adding eighty everyday objects with GPT-40 to the eighty from COCO, yielding 160 in total. Following the GenEval procedure, we generate prompts and corresponding questions and answers (e.g., prompt: 'a photo of three vases', question: 'How many items are in this image?', answer: 'three vases'). To avoid data leakage, we reserve GenEval prompts strictly for evaluation, while all training prompts are independently created. Examples are shown in Tab. 8.", "source": "marker_v2", "marker_block_id": "/page/3/Text/11"}
|
| 25 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0024", "section": "3.3 Self-improving optimization", "page_start": 4, "page_end": 4, "type": "Text", "text": "We propose a self-improving training framework that requires no external image data. In this framework, the image generation and multimodal understanding tasks mutually reinforce each other: the understanding task provides feedback to evaluate and guide image quality, while the generation task supplies training data that enhances the model's understanding capability.", "source": "marker_v2", "marker_block_id": "/page/3/Text/13"}
|
| 26 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0025", "section": "3.3 Self-improving optimization", "page_start": 4, "page_end": 4, "type": "Text", "text": "As shown in Fig. 2, given a constructed prompt, the model first generates a sequence of image tokens \\mathbf{u} = \\{u_1, \\dots, u_M\\} . Regardless of whether the image generation module uses a diffusion-based or autoregressive pipeline, we feed the generated image tokens and the prompt back into the model following the original T2I training process to obtain the image logits. Let \\mathbf{z} = \\{z_1, \\dots, z_L\\} denote the output logits corresponding to the L target positions to be predicted.", "source": "marker_v2", "marker_block_id": "/page/3/Text/14"}
|
| 27 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0026", "section": "3.3 Self-improving optimization", "page_start": 5, "page_end": 5, "type": "Caption", "text": "Figure 2: Training pipeline of UniRL (a) SFT Optimization: A prompt is used to generate a single image, which, together with the corresponding question, is used to predict an answer and compute the SFT loss. (b) GRPO Optimization: The same prompt generates a set of images, each paired with the same question to produce multiple answers, which are used to compute the GRPO loss.", "source": "marker_v2", "marker_block_id": "/page/4/Caption/2"}
|
| 28 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0027", "section": "3.3 Self-improving optimization", "page_start": 5, "page_end": 5, "type": "Text", "text": "To enable gradient flow through the discrete image tokens, we apply the Straight-Through Gumbel-Softmax (ST-GS) estimator to obtain differentiable approximations:", "source": "marker_v2", "marker_block_id": "/page/4/Text/3"}
|
| 29 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0028", "section": "3.3 Self-improving optimization", "page_start": 5, "page_end": 5, "type": "Equation", "text": "\\hat{u}_l = \\text{ST-GumbelSoftmax}(z_l), \\quad \\text{for } l = 1, \\dots, L, (3)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/4"}
|
| 30 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0029", "section": "3.3 Self-improving optimization", "page_start": 5, "page_end": 5, "type": "Text", "text": "resulting in a completed image token sequence uˆ that includes differentiably sampled tokens. The formulation and implementation details of the Straight-Through Gumbel-Softmax estimator are provided in Sec. A.2. This image sequence, together with the corresponding constructed question q, is then used to predict an answer. We use the predicted answers and ground-truth answer to optimize the model exploring two techniques, SFT and GRPO.", "source": "marker_v2", "marker_block_id": "/page/4/Text/5"}
|
| 31 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0030", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "SFT optimization. We use the predicted answers and the ground-truth answers to calculate the SFT loss to optimize the models. The SFT loss is computed as:", "source": "marker_v2", "marker_block_id": "/page/4/Text/7"}
|
| 32 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0031", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 5, "page_end": 5, "type": "Equation", "text": "\\mathcal{L}_{SFT} = -\\sum_{t=1}^{T} \\log p_{\\theta}(y_t \\mid y_{< t}, \\hat{\\mathbf{u}}, q), \\tag{4}", "source": "marker_v2", "marker_block_id": "/page/4/Equation/8"}
|
| 33 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0032", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "where y t is the t-th token of the ground-truth answer, and y<t are the preceding tokens. This formulation applies generally to both masked and autoregressive image generation models. The variable uˆ denotes the generated image token sequence, which includes differentiably sampled tokens and serves as input to the answer generation module. This formulation is compatible with both masked and autoregressive image generation models. The SFT loss enables joint optimization of image generation and understanding tasks by allowing gradients to flow through the image tokens.", "source": "marker_v2", "marker_block_id": "/page/4/Text/9"}
|
| 34 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0033", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "GRPO optimization. We also adopt Group Relative Policy Optimization (GRPO) to optimize the unified multimodal models. During the GRPO phase, the model takes a prompt p and generates a group of K images {uˆ1, . . . , uˆK}. Each image uˆk, together with its corresponding question q, is then fed back into the model to produce a predicted answer aˆk. A reward r k = r(ˆak) is computed by comparing the predicted answer to the ground-truth answer a ∗ , based on the designed reward function. Similar to SFT, we also apply the Straight-Through Gumbel-Softmax estimator to enable differentiable sampling of image tokens, allowing gradients to propagate through both generation and understanding tasks. The overall GRPO loss is defined as:", "source": "marker_v2", "marker_block_id": "/page/4/Text/10"}
|
| 35 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0034", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 6, "page_end": 6, "type": "Equation", "text": "\\mathcal{L}(\\theta) = \\mathbb{E}_{\\substack{x \\sim D, \\\\ \\{\\hat{a}_k\\} \\sim \\pi_{\\theta_{\\text{old}}}}} \\left[ -\\sum_{k=1}^{K} w_k \\log p_{\\theta} (\\hat{a}_k \\mid \\hat{\\mathbf{u}}_k, q) \\right] + \\beta \\operatorname{KL}(p_{\\theta}(a \\mid \\hat{\\mathbf{u}}, q) \\parallel p_{\\theta_{\\text{ref}}}(a \\mid \\hat{\\mathbf{u}}, q)), \\quad (5)", "source": "marker_v2", "marker_block_id": "/page/5/Equation/2"}
|
| 36 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0035", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 6, "page_end": 6, "type": "Text", "text": "where the importance weight w_k is computed as:", "source": "marker_v2", "marker_block_id": "/page/5/Text/4"}
|
| 37 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0036", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 6, "page_end": 6, "type": "Equation", "text": "w_k = \\frac{\\exp\\left(\\alpha \\left(r_k - r_{\\text{mean}}\\right)\\right)}{\\sum_{j=1}^K \\exp\\left(\\alpha \\left(r_j - r_{\\text{mean}}\\right)\\right)},", "source": "marker_v2", "marker_block_id": "/page/5/Equation/5"}
|
| 38 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0037", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 6, "page_end": 6, "type": "Text", "text": "with r_{\\rm mean} denoting the average reward within the group and \\alpha controlling the sharpness of the weight distribution.", "source": "marker_v2", "marker_block_id": "/page/5/Text/6"}
|
| 39 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0038", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 6, "page_end": 6, "type": "Text", "text": "The first term in the loss is the GRPO objective, which applies a weighted log-likelihood over the K sampled answers. \\pi_{\\theta_{\\rm old}} is the fixed sampling policy, typically a frozen copy of the model, while \\pi_{\\theta} (or p_{\\theta} ) is the current policy being optimized. Rewards are centered by subtracting the group mean r_{\\rm mean} , scaled by temperature \\alpha , and converted into weights w_k to emphasize better answers. The second term is a KL penalty, scaled by \\beta , to keep the updated policy close to a reference model, improving stability and preventing mode collapse.", "source": "marker_v2", "marker_block_id": "/page/5/Text/7"}
|
| 40 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0039", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 6, "page_end": 6, "type": "Text", "text": "Importantly, because the image tokens \\hat{\\mathbf{u}}_k are sampled in a differentiable manner, the reward signals from answer prediction can flow through both the understanding and image generation branches. This enables effective end-to-end optimization of both tasks.", "source": "marker_v2", "marker_block_id": "/page/5/Text/8"}
|
| 41 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0040", "section": "3.4 SFT AND GRPO OPTIMIZATION", "page_start": 6, "page_end": 6, "type": "Text", "text": "Reward Function. The reward function assigns scores based on alignment between the predicted answer \\hat{a}_k and the ground-truth answer a^* . While the specific reward criteria vary by question category, all rewards are based on two main components: (1) correct identification of object names, and (2) accurate prediction of associated attributes, such as number, color, or spatial position. The detailed reward rules for each category are summarized in Sec. A.10.", "source": "marker_v2", "marker_block_id": "/page/5/Text/9"}
|
| 42 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0041", "section": "3.5 END-TO-END TRAINING VS. NON-END-TO-END TRAINING", "page_start": 6, "page_end": 6, "type": "Text", "text": "Unified multimodal models such as Show-o (Xie et al., 2024), Emu3 (Wang et al., 2024), Chameleon (Team, 2024), and Vila-u (Wu et al., 2024c) use shared image representations—typically via VQGAN (Esser et al., 2021) or custom tokenizers—allowing end-to-end training. Gradients from MMU loss can flow through the T2I module via the Straight-Through Gumbel-Softmax estimator. In contrast, Janus (Wu et al., 2024a) and JanusPro (Chen et al., 2025b) use separate representations: discrete tokens for T2I and ViT features (Dosovitskiy et al., 2021) for MMU. This mismatch prevents effective gradient flow; although gradients can technically propagate, they cannot meaningfully guide the discrete tokens, often leading to unstable training.", "source": "marker_v2", "marker_block_id": "/page/5/Text/11"}
|
| 43 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0042", "section": "3.5 END-TO-END TRAINING VS. NON-END-TO-END TRAINING", "page_start": 6, "page_end": 6, "type": "Text", "text": "To handle such cases, we adopt a non-end-to-end training strategy. For T2I, rewards computed from MMU performance are used to directly optimize the image generation module. Conversely, for MMU, the model generates images, answers the corresponding questions, and uses the rewards to update the MMU branch. In the end-to-end setting, a unified GRPO loss is used to jointly optimize both tasks. In contrast, the non-end-to-end setting applies separate GRPO objectives to T2I and MMU. Although the two modules are trained independently, reward signals still enable cross-task interaction, mitigating the limitations of mismatched representations. Full details and loss formulas are provided in the Sec. A.3.", "source": "marker_v2", "marker_block_id": "/page/5/Text/12"}
|
| 44 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0043", "section": "3.6 The balance between image understanding and generation", "page_start": 6, "page_end": 6, "type": "Text", "text": "To evaluate the balance between text-to-image generation (T2I) and multimodal understanding (MMU), we propose a bidirectional evaluation metric with two chains: T2I→MMU and MMU→T2I. In T2I→MMU, the model generates an image from a prompt and answers a question only if the image is correct; we then compute the answer accuracy. In MMU→T2I, the model first answers a question based on a given image; if correct, we regenerate the image from the prompt and evaluate its", "source": "marker_v2", "marker_block_id": "/page/5/Text/16"}
|
| 45 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0044", "section": "3.6 The balance between image understanding and generation", "page_start": 6, "page_end": 6, "type": "TableGroup", "text": "Table 1: Performance of the proposed metric for evaluating the imbalance between two tasks. Method Accuracy_{MMU\\mid T2I} Accuracy T2I|MMU Show-o 0.83 0.70 Janus 0.67 0.68 JanusPro 0.69 0.85 Vila-u 0.68 0.85", "source": "marker_v2", "marker_block_id": "/page/5/TableGroup/280"}
|
| 46 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0045", "section": "3.6 The balance between image understanding and generation", "page_start": 7, "page_end": 7, "type": "Text", "text": "quality. This setup assesses the consistency between generation and understanding. The conditional accuracies are defined as:", "source": "marker_v2", "marker_block_id": "/page/6/Text/1"}
|
| 47 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0046", "section": "3.6 The balance between image understanding and generation", "page_start": 7, "page_end": 7, "type": "Equation", "text": "Accuracy_{MMU|T2I} = \\frac{N_{A \\cap I}}{N_{I}}, \\quad Accuracy_{T2I|MMU} = \\frac{N_{A \\cap I}}{N_{A}}. (6)", "source": "marker_v2", "marker_block_id": "/page/6/Equation/2"}
|
| 48 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0047", "section": "3.6 The balance between image understanding and generation", "page_start": 7, "page_end": 7, "type": "Text", "text": "N I denotes the number of correctly generated images, N A the number of correctly answered questions, and NA∩ I the number of samples where both are correct. These metrics quantitatively assess the consistency between generation and understanding. AccuracyMMU|T2I measures answer correctness given a correct image, while AccuracyT2I|MMU measures image correctness given a correct answer. This bidirectional formulation evaluates the alignment between the two tasks beyond isolated performance. As shown in Tab. 1, we apply this metric to several unified models, including Show-o (Xie et al., 2024) , Janus (Wu et al., 2024a) , Janus-Pro (Chen et al., 2025b) , and Vila-u (Wu et al., 2024c) , and observe that task imbalance is consistently present across all models. More details can be seen in Sec. A.1.", "source": "marker_v2", "marker_block_id": "/page/6/Text/3"}
|
| 49 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0048", "section": "4.1 IMPLEMENTATION DETAILS", "page_start": 7, "page_end": 7, "type": "Text", "text": "We evaluate our method on two base models: Show-o (Xie et al., 2024) and Janus (Wu et al., 2024a) . For Show-o, we adopt end-to-end training. The SFT stage uses a global batch size of 16 for 5,000 iterations, and the GRPO stage is configured with a global batch size of 24, a KL coefficient β = 0.2, and 3,000 training steps on 8 H100 GPUs. During inference, we set the guidance scale to 2, diffusion steps to 16, and resolution to 512. For Janus, due to its use of different representations for generation and understanding, we apply a non-end-to-end training strategy. The model is trained with a global batch size of 64 for 1,000 iterations using the same KL coefficient. Inference is performed with a guidance scale of 5 and resolution of 384. More implementation details can be seen in Sec. A.1.", "source": "marker_v2", "marker_block_id": "/page/6/Text/6"}
|
| 50 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0049", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 7, "page_end": 7, "type": "Text", "text": "Baselines and our method. We compare our method against several baselines. Original Model. We evaluate the performance of the pretrained model without any post-training. HermesFlow. (Yang et al., 2025b) This method fine-tunes the Show-o model with DPO optimization on the JourneyDB dataset (Sun et al., 2023a) . We evaluate two variants of our post-training framework: UniRL (SFT). Our method using supervised fine-tuning (SFT) without reinforcement learning. UniRL (GRPO). Our method using Group Relative Policy Optimization (GRPO). For the Janus model, we only compare our GRPO-based method with the original model, as applying SFT leads to unstable training and failure. The specific reasons are discussed in Sec. 4.4.", "source": "marker_v2", "marker_block_id": "/page/6/Text/8"}
|
| 51 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0050", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 7, "page_end": 7, "type": "Text", "text": "Text to image generation. For the image generation task, we evaluate model performance using three benchmarks: GenEval (Ghosh et al., 2023) , DSG-1K (Cho et al., 2024) , and CLIP-Score (Radford et al., 2021) . To calculate the CLIP score, we use 2,000 generated images sampled from the GenEval and DSG-1K benchmarks. As shown in Tab. 2, our method with SFT improves the GenEval score from 0.60 to 0.76, while the GRPO-based variant achieves 0.71—both outperforming the baselines by a large margin. In addition, our approach yields notable gains on DSG-1K and CLIP-Score, demonstrating the effectiveness of our post-training strategy in improving image generation quality. More results will be shown in Sec. A.4.", "source": "marker_v2", "marker_block_id": "/page/6/Text/9"}
|
| 52 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0051", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 7, "page_end": 7, "type": "Text", "text": "We conduct a human evaluation with diverse prompts and find that 85% of participants prefer our method over Show-o (Sec. A.6) . Through three benchmarks and human evaluation, we demonstrate that our method substantially improves T2I capacity, and the gains are general rather than limited to the GenEval domain. Furthermore, we conduct a distribution analysis between the training and test prompt sets in Sec. A.9.", "source": "marker_v2", "marker_block_id": "/page/6/Text/10"}
|
| 53 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0052", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 7, "page_end": 7, "type": "Text", "text": "Multimodal understanding. We evaluate the model's ability to understand natural visual features across six categories: single object , two objects , counting , colors , position , and color attributes . These categories capture core aspects of visual understanding, including object recognition, counting, color perception, and spatial reasoning—fundamental properties of natural images. To assess generalization", "source": "marker_v2", "marker_block_id": "/page/6/Text/11"}
|
| 54 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0053", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 8, "page_end": 8, "type": "TableGroup", "text": "Table 2: Comparison of UniRL with baseline methods across Text-to-Image (T2I) benchmarks. Method GenEval ↑ DSG-1K↑ Clip score ↑ Single. Two. Count. Colors Posi. Attri. Overall r 1 Show-o 0.96 0.64 0.67 0.81 0.25 0.37 0.60 0.77 0.331 HermersFlow 0.97 0.67 0.65 0.77 0.28 0.42 0.61 0.78 0.334 UniRL(SFT) 0.99 0.93 0.62 0.89 0.55 0.68 0.77 0.82 0.337 UniRL(GRPO) 0.95 0.77 0.65 0.82 0.50 0.60 0.71 0.80 0.335 Janus 0.96 0.64 0.29 0.81 0.49 0.46 0.60 0.80 0.332 UniRL(GRPO) 0.95 0.74 0.27 0.81 0.62 0.52 0.65 0.81 0.335 Table 4: Comparison using our proposed metric to evaluate the imbalance between the two tasks.", "source": "marker_v2", "marker_block_id": "/page/7/TableGroup/229"}
|
| 55 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0054", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 8, "page_end": 8, "type": "Table", "text": "Method Acc uracy MN /U|T2I Acci uracy T21 MMU Single. Two. Count. Colors Posi. Attri. Overall ↑ Single. Two. Count. Colors Posi. Attri. Overall↑ Show-o 0.98 0.89 0.92 0.94 0.10 0.61 0.83 0.96 0.66 0.67 0.85 0.18 0.41 0.70 HermesFlow 0.99 0.85 0.90 0.96 0.23 0.57 0.83 0.97 0.68 0.69 0.84 0.24 0.41 0.71 UniRL(SFT) 0.11 0.99 0.97 0.99 0.83 0.98 0.81 0.99 0.95 0.58 0.93 0.60 0.74 0.80 UniRL(GRPO) 0.99 0.97 0.90 0.99 0.81 0.85 0.93 0.97 0.85 0.70 0.90 0.67 0.68 0.81 Janus 0.91 0.59 0.71 0.96 0.20 0.42 0.67 0.95 0.67 0.27 0.90 0.39 0.49 0.68 UniRL(GRPO) 0.94 0.78 0.52 0.98 0.31 0.77 0.76 0.96 0.76 0.34 0.88 0.63 0.59 0.74", "source": "marker_v2", "marker_block_id": "/page/7/Table/5"}
|
| 56 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0055", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 8, "page_end": 8, "type": "Text", "text": "beyond the training distribution, we use images generated by external models such as JanusPro. The generated images, along with their corresponding questions, are then fed into the target model to evaluate its understanding capabilities on out-of-distribution visual inputs. We compute the accuracy for each categories, allowing a fine-grained analysis of the model's generalization across different aspects of visual understanding.", "source": "marker_v2", "marker_block_id": "/page/7/Text/6"}
|
| 57 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0056", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 8, "page_end": 8, "type": "Text", "text": "As shown in Tab. 3, our SFT-based method performs slightly worse than the original model, primarily due to overfitting, particularly in the single-object category. In contrast, our GRPO-based method achieves an overall score of 0.79, significantly outperforming all baselines. The underlying reasons are analyzed in Sec. 4.4, and further evaluation details as well as broader benchmark results, including POPE (Li et al., 2023a) and MMMU (Yue et al., 2024), are presented in Sec. A.1 and Sec. A.5.", "source": "marker_v2", "marker_block_id": "/page/7/Text/7"}
|
| 58 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0057", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 8, "page_end": 8, "type": "Caption", "text": "The imbalance between two tasks. To evaluate the balance between image understanding and generation, we apply our proposed metric, as shown in Tab. 4. The prompts used for Accuracy<sub>MMU|T2I</sub> are taken from the GenEval benchmark, while those for Accuracy<sub>T2I|MMU</sub> are aligned with the MMU evaluation setup. The results show that our GRPO-based method significantly reduces the imbalance between the", "source": "marker_v2", "marker_block_id": "/page/7/Caption/8"}
|
| 59 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0058", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 8, "page_end": 8, "type": "TableGroup", "text": "Table 3: Comparison of UniRL with baseline methods across Multi-modal Understanding(MMU) benchmarks. across main modui Ciia orotaire ****** 11110 , ounc Jiiiiidi Ito Method Single. Two. Count. Colors Posi. Attri. Overall† Show-o 0.99 0.88 0.79 0.98 0.20 0.54 0.71 HermesFlow 0.99 0.88 0.79 0.98 0.34 0.52 0.73 UniRL(SFT) 0.08 0.87 0.71 0.99 0.45 0.85 0.67 UniRL(GRPO) 0.92 0.88 0.77 0.94 0.46 0.72 0.79 Janus 0.93 0.93 0.92 0.97 0.38 0.74 0.84 UniRL(GRPO) 0.94 0.95 0.83 0.99 0.52 0.89 0.88", "source": "marker_v2", "marker_block_id": "/page/7/TableGroup/230"}
|
| 60 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0059", "section": "4.2 QUANTITATIVE RESULTS", "page_start": 8, "page_end": 8, "type": "Text", "text": "two tasks. For certain subtasks, the model achieves nearly 100% accuracy, indicating strong consistency between generation and understanding. We further analyze the causes of task imbalance in Sec. A.12.", "source": "marker_v2", "marker_block_id": "/page/7/Text/11"}
|
| 61 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0060", "section": "4.3 VISUALIZATION RESULTS", "page_start": 8, "page_end": 8, "type": "Text", "text": "As shown in Fig. 3, we present qualitative comparisons between our method and the original models on both tasks. Our approach produces more visually faithful generations conditioned on prompts and yields more accurate answers for corresponding questions, demonstrating improved consistency across the two tasks. More results will be shown in Sec. A.7.", "source": "marker_v2", "marker_block_id": "/page/7/Text/13"}
|
| 62 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0061", "section": "4.4 ANALYSIS OF SFT VS. GRPO", "page_start": 8, "page_end": 8, "type": "Text", "text": "From these experimental results, we can draw some key observations.", "source": "marker_v2", "marker_block_id": "/page/7/Text/17"}
|
| 63 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0062", "section": "4.4 ANALYSIS OF SFT VS. GRPO", "page_start": 9, "page_end": 9, "type": "FigureGroup", "text": "Figure 3: Qualitative comparison of our method with the original models on both text-to-image generation (T2I) and multimodal understanding (MMU) tasks.", "source": "marker_v2", "marker_block_id": "/page/8/FigureGroup/411"}
|
| 64 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0063", "section": "4.4 ANALYSIS OF SFT VS. GRPO", "page_start": 9, "page_end": 9, "type": "Text", "text": "Observation 1: SFT is more prone to overfitting and memorization than GRPO in the image understanding task.", "source": "marker_v2", "marker_block_id": "/page/8/Text/3"}
|
| 65 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0064", "section": "4.4 ANALYSIS OF SFT VS. GRPO", "page_start": 9, "page_end": 9, "type": "Text", "text": "As shown in Tab. 3, SFT performs significantly worse than both the original model and GRPO on the single object category, where the training and test sets are fully disjoint in both examples and object types. In contrast, categories like position and colors share abstract features (e.g., position or color attributes), which partially mitigate overfitting. Compared to SFT, GRPO demonstrates better generalization under the same conditions.", "source": "marker_v2", "marker_block_id": "/page/8/Text/4"}
|
| 66 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0065", "section": "4.4 ANALYSIS OF SFT VS. GRPO", "page_start": 9, "page_end": 9, "type": "Text", "text": "Observation 2: In the generation task, SFT outperforms GRPO under an end-to-end training pipeline.", "source": "marker_v2", "marker_block_id": "/page/8/Text/5"}
|
| 67 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0066", "section": "4.4 ANALYSIS OF SFT VS. GRPO", "page_start": 9, "page_end": 9, "type": "Text", "text": "As shown in Tab. 2, SFT achieves better T2I results than GRPO, with no noticeable overfitting. We hypothesize two reasons for this difference. (1) MMU is more prone to overfitting than T2I, as it mainly learns from text token patterns, while T2I involves more structured image reconstruction. (2) Our training pipeline is end-to-end. The SFT supervision signal for MMU is more direct and localized, whereas for T2I it is more indirect and distributed, which may promote better generalization in image generation. Under indirect supervision in T2I, SFT may optimize more effectively, as its loss is directly based on ground-truth answers. More analysis will be discussed in Sec. A.8.", "source": "marker_v2", "marker_block_id": "/page/8/Text/6"}
|
| 68 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0067", "section": "4.4 ANALYSIS OF SFT VS. GRPO", "page_start": 9, "page_end": 9, "type": "Text", "text": "Observation 3: For non-end-to-end training setups such as Janus, SFT leads to failure in the image generation task.", "source": "marker_v2", "marker_block_id": "/page/8/Text/7"}
|
| 69 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0068", "section": "4.4 ANALYSIS OF SFT VS. GRPO", "page_start": 9, "page_end": 9, "type": "Text", "text": "If we directly use the model's generated images to supervise T2I at each iteration, training will become unstable. We speculate that early-stage generation errors are repeatedly reinforced, leading to input distribution drift and eventual collapse. Therefore, for unified models with different representations for the two tasks, only the GRPO-based method is effective for improving performance. More analysis will be discussed in Sec. A.8.", "source": "marker_v2", "marker_block_id": "/page/8/Text/8"}
|
| 70 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0069", "section": "4.4 ANALYSIS OF SFT VS. GRPO", "page_start": 9, "page_end": 9, "type": "Text", "text": "Overall, GRPO is a more general and robust optimization strategy compared to SFT. Regardless of the specific task or model architecture—whether the two tasks share the same image representation or not—GRPO consistently improves performance and effectively reduces the imbalance between generation and understanding. In contrast, while SFT tends to perform better on tasks like T2I in end-to-end setups (e.g., Show-o), it is more prone to memorization and overfitting.", "source": "marker_v2", "marker_block_id": "/page/8/Text/9"}
|
| 71 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0070", "section": "5 CONCLUSION", "page_start": 9, "page_end": 9, "type": "Text", "text": "In this work, we propose a self-improving post-training method for unified multimodal models. By combining supervised fine-tuning (SFT) with Group Relative Policy Optimization (GRPO), our approach improves both generation and understanding performance while reducing task imbalance. Experiments on Show-o and Janus validate the effectiveness of our method.", "source": "marker_v2", "marker_block_id": "/page/8/Text/11"}
|
iclr26/5K9XW9gQ5r/marker_meta.json
ADDED
|
@@ -0,0 +1,1873 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"table_of_contents": [
|
| 3 |
+
{
|
| 4 |
+
"title": "UNIRL: SELF-IMPROVING UNIFIED MULTIMODAL\nMODELS VIA SUPERVISED AND REINFORCEMENT\nLEARNING",
|
| 5 |
+
"heading_level": null,
|
| 6 |
+
"page_id": 0,
|
| 7 |
+
"polygon": [
|
| 8 |
+
[
|
| 9 |
+
107.578125,
|
| 10 |
+
79.6640625
|
| 11 |
+
],
|
| 12 |
+
[
|
| 13 |
+
504.421875,
|
| 14 |
+
79.6640625
|
| 15 |
+
],
|
| 16 |
+
[
|
| 17 |
+
504.421875,
|
| 18 |
+
137.4573974609375
|
| 19 |
+
],
|
| 20 |
+
[
|
| 21 |
+
107.578125,
|
| 22 |
+
137.4573974609375
|
| 23 |
+
]
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"title": "ABSTRACT",
|
| 28 |
+
"heading_level": null,
|
| 29 |
+
"page_id": 0,
|
| 30 |
+
"polygon": [
|
| 31 |
+
[
|
| 32 |
+
277.013671875,
|
| 33 |
+
207.47625732421875
|
| 34 |
+
],
|
| 35 |
+
[
|
| 36 |
+
333.7167663574219,
|
| 37 |
+
207.47625732421875
|
| 38 |
+
],
|
| 39 |
+
[
|
| 40 |
+
333.7167663574219,
|
| 41 |
+
219.43145751953125
|
| 42 |
+
],
|
| 43 |
+
[
|
| 44 |
+
277.013671875,
|
| 45 |
+
219.43145751953125
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"title": "1 INTRODUCTION",
|
| 51 |
+
"heading_level": null,
|
| 52 |
+
"page_id": 0,
|
| 53 |
+
"polygon": [
|
| 54 |
+
[
|
| 55 |
+
108.17578125,
|
| 56 |
+
450.29229736328125
|
| 57 |
+
],
|
| 58 |
+
[
|
| 59 |
+
205.99403381347656,
|
| 60 |
+
450.29229736328125
|
| 61 |
+
],
|
| 62 |
+
[
|
| 63 |
+
205.99403381347656,
|
| 64 |
+
462.24749755859375
|
| 65 |
+
],
|
| 66 |
+
[
|
| 67 |
+
108.17578125,
|
| 68 |
+
462.24749755859375
|
| 69 |
+
]
|
| 70 |
+
]
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"title": "2 RELATED WORK",
|
| 74 |
+
"heading_level": null,
|
| 75 |
+
"page_id": 2,
|
| 76 |
+
"polygon": [
|
| 77 |
+
[
|
| 78 |
+
106.98046875,
|
| 79 |
+
168.22265625
|
| 80 |
+
],
|
| 81 |
+
[
|
| 82 |
+
208.944580078125,
|
| 83 |
+
168.22265625
|
| 84 |
+
],
|
| 85 |
+
[
|
| 86 |
+
208.944580078125,
|
| 87 |
+
181.00750732421875
|
| 88 |
+
],
|
| 89 |
+
[
|
| 90 |
+
106.98046875,
|
| 91 |
+
181.00750732421875
|
| 92 |
+
]
|
| 93 |
+
]
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"title": "2.1 UNIFIED MULTIMODAL UNDERSTANDING AND GENERATION",
|
| 97 |
+
"heading_level": null,
|
| 98 |
+
"page_id": 2,
|
| 99 |
+
"polygon": [
|
| 100 |
+
[
|
| 101 |
+
105.1875,
|
| 102 |
+
192.5859375
|
| 103 |
+
],
|
| 104 |
+
[
|
| 105 |
+
384.1777038574219,
|
| 106 |
+
192.5859375
|
| 107 |
+
],
|
| 108 |
+
[
|
| 109 |
+
384.1777038574219,
|
| 110 |
+
204.44305419921875
|
| 111 |
+
],
|
| 112 |
+
[
|
| 113 |
+
105.1875,
|
| 114 |
+
204.44305419921875
|
| 115 |
+
]
|
| 116 |
+
]
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"title": "2.2 GRPO IN LLM AND MLLMS",
|
| 120 |
+
"heading_level": null,
|
| 121 |
+
"page_id": 2,
|
| 122 |
+
"polygon": [
|
| 123 |
+
[
|
| 124 |
+
107.279296875,
|
| 125 |
+
391.74609375
|
| 126 |
+
],
|
| 127 |
+
[
|
| 128 |
+
257.6562194824219,
|
| 129 |
+
391.74609375
|
| 130 |
+
],
|
| 131 |
+
[
|
| 132 |
+
257.6562194824219,
|
| 133 |
+
403.99407958984375
|
| 134 |
+
],
|
| 135 |
+
[
|
| 136 |
+
107.279296875,
|
| 137 |
+
403.99407958984375
|
| 138 |
+
]
|
| 139 |
+
]
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"title": "3 METHOD",
|
| 143 |
+
"heading_level": null,
|
| 144 |
+
"page_id": 2,
|
| 145 |
+
"polygon": [
|
| 146 |
+
[
|
| 147 |
+
106.681640625,
|
| 148 |
+
584.998291015625
|
| 149 |
+
],
|
| 150 |
+
[
|
| 151 |
+
172.81619262695312,
|
| 152 |
+
584.998291015625
|
| 153 |
+
],
|
| 154 |
+
[
|
| 155 |
+
172.81619262695312,
|
| 156 |
+
596.9534912109375
|
| 157 |
+
],
|
| 158 |
+
[
|
| 159 |
+
106.681640625,
|
| 160 |
+
596.9534912109375
|
| 161 |
+
]
|
| 162 |
+
]
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"title": "3.1 PRELIMINARY",
|
| 166 |
+
"heading_level": null,
|
| 167 |
+
"page_id": 2,
|
| 168 |
+
"polygon": [
|
| 169 |
+
[
|
| 170 |
+
106.98046875,
|
| 171 |
+
688.74609375
|
| 172 |
+
],
|
| 173 |
+
[
|
| 174 |
+
191.8712158203125,
|
| 175 |
+
688.74609375
|
| 176 |
+
],
|
| 177 |
+
[
|
| 178 |
+
191.8712158203125,
|
| 179 |
+
700.616081237793
|
| 180 |
+
],
|
| 181 |
+
[
|
| 182 |
+
106.98046875,
|
| 183 |
+
700.616081237793
|
| 184 |
+
]
|
| 185 |
+
]
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"title": "3.2 PROMPT AND QA PAIR CONSTRUCTION",
|
| 189 |
+
"heading_level": null,
|
| 190 |
+
"page_id": 3,
|
| 191 |
+
"polygon": [
|
| 192 |
+
[
|
| 193 |
+
106.5,
|
| 194 |
+
484.55859375
|
| 195 |
+
],
|
| 196 |
+
[
|
| 197 |
+
297.75,
|
| 198 |
+
484.55859375
|
| 199 |
+
],
|
| 200 |
+
[
|
| 201 |
+
297.75,
|
| 202 |
+
494.25
|
| 203 |
+
],
|
| 204 |
+
[
|
| 205 |
+
106.5,
|
| 206 |
+
494.25
|
| 207 |
+
]
|
| 208 |
+
]
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"title": "3.3 Self-improving optimization",
|
| 212 |
+
"heading_level": null,
|
| 213 |
+
"page_id": 3,
|
| 214 |
+
"polygon": [
|
| 215 |
+
[
|
| 216 |
+
106.3828125,
|
| 217 |
+
608.25
|
| 218 |
+
],
|
| 219 |
+
[
|
| 220 |
+
271.3359375,
|
| 221 |
+
608.25
|
| 222 |
+
],
|
| 223 |
+
[
|
| 224 |
+
271.3359375,
|
| 225 |
+
616.81640625
|
| 226 |
+
],
|
| 227 |
+
[
|
| 228 |
+
106.3828125,
|
| 229 |
+
616.81640625
|
| 230 |
+
]
|
| 231 |
+
]
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"title": "3.4 SFT AND GRPO OPTIMIZATION",
|
| 235 |
+
"heading_level": null,
|
| 236 |
+
"page_id": 4,
|
| 237 |
+
"polygon": [
|
| 238 |
+
[
|
| 239 |
+
106.98046875,
|
| 240 |
+
462.90234375
|
| 241 |
+
],
|
| 242 |
+
[
|
| 243 |
+
267.2284240722656,
|
| 244 |
+
462.90234375
|
| 245 |
+
],
|
| 246 |
+
[
|
| 247 |
+
267.2284240722656,
|
| 248 |
+
474.590087890625
|
| 249 |
+
],
|
| 250 |
+
[
|
| 251 |
+
106.98046875,
|
| 252 |
+
474.590087890625
|
| 253 |
+
]
|
| 254 |
+
]
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"title": "3.5 END-TO-END TRAINING VS. NON-END-TO-END TRAINING",
|
| 258 |
+
"heading_level": null,
|
| 259 |
+
"page_id": 5,
|
| 260 |
+
"polygon": [
|
| 261 |
+
[
|
| 262 |
+
107.25,
|
| 263 |
+
407.21484375
|
| 264 |
+
],
|
| 265 |
+
[
|
| 266 |
+
375.75,
|
| 267 |
+
407.21484375
|
| 268 |
+
],
|
| 269 |
+
[
|
| 270 |
+
375.75,
|
| 271 |
+
417.75
|
| 272 |
+
],
|
| 273 |
+
[
|
| 274 |
+
107.25,
|
| 275 |
+
417.75
|
| 276 |
+
]
|
| 277 |
+
]
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"title": "3.6 The balance between image understanding and generation",
|
| 281 |
+
"heading_level": null,
|
| 282 |
+
"page_id": 5,
|
| 283 |
+
"polygon": [
|
| 284 |
+
[
|
| 285 |
+
106.5,
|
| 286 |
+
623.77734375
|
| 287 |
+
],
|
| 288 |
+
[
|
| 289 |
+
423.75,
|
| 290 |
+
623.77734375
|
| 291 |
+
],
|
| 292 |
+
[
|
| 293 |
+
423.75,
|
| 294 |
+
633.75
|
| 295 |
+
],
|
| 296 |
+
[
|
| 297 |
+
106.5,
|
| 298 |
+
633.75
|
| 299 |
+
]
|
| 300 |
+
]
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"title": "4 EXPERIMENTS",
|
| 304 |
+
"heading_level": null,
|
| 305 |
+
"page_id": 6,
|
| 306 |
+
"polygon": [
|
| 307 |
+
[
|
| 308 |
+
106.98046875,
|
| 309 |
+
272.16229248046875
|
| 310 |
+
],
|
| 311 |
+
[
|
| 312 |
+
200.08822631835938,
|
| 313 |
+
272.16229248046875
|
| 314 |
+
],
|
| 315 |
+
[
|
| 316 |
+
200.08822631835938,
|
| 317 |
+
284.1175231933594
|
| 318 |
+
],
|
| 319 |
+
[
|
| 320 |
+
106.98046875,
|
| 321 |
+
284.1175231933594
|
| 322 |
+
]
|
| 323 |
+
]
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"title": "4.1 IMPLEMENTATION DETAILS",
|
| 327 |
+
"heading_level": null,
|
| 328 |
+
"page_id": 6,
|
| 329 |
+
"polygon": [
|
| 330 |
+
[
|
| 331 |
+
106.681640625,
|
| 332 |
+
296.2265625
|
| 333 |
+
],
|
| 334 |
+
[
|
| 335 |
+
247.2733612060547,
|
| 336 |
+
296.2265625
|
| 337 |
+
],
|
| 338 |
+
[
|
| 339 |
+
247.2733612060547,
|
| 340 |
+
307.6120910644531
|
| 341 |
+
],
|
| 342 |
+
[
|
| 343 |
+
106.681640625,
|
| 344 |
+
307.6120910644531
|
| 345 |
+
]
|
| 346 |
+
]
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"title": "4.2 QUANTITATIVE RESULTS",
|
| 350 |
+
"heading_level": null,
|
| 351 |
+
"page_id": 6,
|
| 352 |
+
"polygon": [
|
| 353 |
+
[
|
| 354 |
+
106.98046875,
|
| 355 |
+
419.58984375
|
| 356 |
+
],
|
| 357 |
+
[
|
| 358 |
+
236.0375213623047,
|
| 359 |
+
419.58984375
|
| 360 |
+
],
|
| 361 |
+
[
|
| 362 |
+
236.0375213623047,
|
| 363 |
+
430.5890808105469
|
| 364 |
+
],
|
| 365 |
+
[
|
| 366 |
+
106.98046875,
|
| 367 |
+
430.5890808105469
|
| 368 |
+
]
|
| 369 |
+
]
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"title": "4.3 VISUALIZATION RESULTS",
|
| 373 |
+
"heading_level": null,
|
| 374 |
+
"page_id": 7,
|
| 375 |
+
"polygon": [
|
| 376 |
+
[
|
| 377 |
+
105.486328125,
|
| 378 |
+
611.40234375
|
| 379 |
+
],
|
| 380 |
+
[
|
| 381 |
+
240.0,
|
| 382 |
+
611.40234375
|
| 383 |
+
],
|
| 384 |
+
[
|
| 385 |
+
240.0,
|
| 386 |
+
621.0
|
| 387 |
+
],
|
| 388 |
+
[
|
| 389 |
+
105.486328125,
|
| 390 |
+
621.0
|
| 391 |
+
]
|
| 392 |
+
]
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"title": "428\n429",
|
| 396 |
+
"heading_level": null,
|
| 397 |
+
"page_id": 7,
|
| 398 |
+
"polygon": [
|
| 399 |
+
[
|
| 400 |
+
72.0,
|
| 401 |
+
678.0
|
| 402 |
+
],
|
| 403 |
+
[
|
| 404 |
+
86.25,
|
| 405 |
+
678.0
|
| 406 |
+
],
|
| 407 |
+
[
|
| 408 |
+
86.25,
|
| 409 |
+
698.80078125
|
| 410 |
+
],
|
| 411 |
+
[
|
| 412 |
+
72.0,
|
| 413 |
+
698.80078125
|
| 414 |
+
]
|
| 415 |
+
]
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"title": "4.4 ANALYSIS OF SFT VS. GRPO",
|
| 419 |
+
"heading_level": null,
|
| 420 |
+
"page_id": 7,
|
| 421 |
+
"polygon": [
|
| 422 |
+
[
|
| 423 |
+
106.3828125,
|
| 424 |
+
699.75
|
| 425 |
+
],
|
| 426 |
+
[
|
| 427 |
+
258.75,
|
| 428 |
+
699.75
|
| 429 |
+
],
|
| 430 |
+
[
|
| 431 |
+
258.75,
|
| 432 |
+
709.62890625
|
| 433 |
+
],
|
| 434 |
+
[
|
| 435 |
+
106.3828125,
|
| 436 |
+
709.62890625
|
| 437 |
+
]
|
| 438 |
+
]
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"title": "5 CONCLUSION",
|
| 442 |
+
"heading_level": null,
|
| 443 |
+
"page_id": 8,
|
| 444 |
+
"polygon": [
|
| 445 |
+
[
|
| 446 |
+
105.78515625,
|
| 447 |
+
660.90234375
|
| 448 |
+
],
|
| 449 |
+
[
|
| 450 |
+
195.37310791015625,
|
| 451 |
+
660.90234375
|
| 452 |
+
],
|
| 453 |
+
[
|
| 454 |
+
195.37310791015625,
|
| 455 |
+
673.4774932861328
|
| 456 |
+
],
|
| 457 |
+
[
|
| 458 |
+
105.78515625,
|
| 459 |
+
673.4774932861328
|
| 460 |
+
]
|
| 461 |
+
]
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"title": "REFERENCES",
|
| 465 |
+
"heading_level": null,
|
| 466 |
+
"page_id": 9,
|
| 467 |
+
"polygon": [
|
| 468 |
+
[
|
| 469 |
+
104.888671875,
|
| 470 |
+
81.984375
|
| 471 |
+
],
|
| 472 |
+
[
|
| 473 |
+
175.2549285888672,
|
| 474 |
+
81.984375
|
| 475 |
+
],
|
| 476 |
+
[
|
| 477 |
+
175.2549285888672,
|
| 478 |
+
94.7125244140625
|
| 479 |
+
],
|
| 480 |
+
[
|
| 481 |
+
104.888671875,
|
| 482 |
+
94.7125244140625
|
| 483 |
+
]
|
| 484 |
+
]
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"title": "A TECHNICAL APPENDICES",
|
| 488 |
+
"heading_level": null,
|
| 489 |
+
"page_id": 13,
|
| 490 |
+
"polygon": [
|
| 491 |
+
[
|
| 492 |
+
106.681640625,
|
| 493 |
+
81.984375
|
| 494 |
+
],
|
| 495 |
+
[
|
| 496 |
+
256.693359375,
|
| 497 |
+
81.984375
|
| 498 |
+
],
|
| 499 |
+
[
|
| 500 |
+
256.693359375,
|
| 501 |
+
94.7125244140625
|
| 502 |
+
],
|
| 503 |
+
[
|
| 504 |
+
106.681640625,
|
| 505 |
+
94.7125244140625
|
| 506 |
+
]
|
| 507 |
+
]
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"title": "A.1 MORE IMPLEMENTATION DETAILS",
|
| 511 |
+
"heading_level": null,
|
| 512 |
+
"page_id": 13,
|
| 513 |
+
"polygon": [
|
| 514 |
+
[
|
| 515 |
+
107.578125,
|
| 516 |
+
208.0546875
|
| 517 |
+
],
|
| 518 |
+
[
|
| 519 |
+
278.0817565917969,
|
| 520 |
+
208.0546875
|
| 521 |
+
],
|
| 522 |
+
[
|
| 523 |
+
278.0817565917969,
|
| 524 |
+
218.6240234375
|
| 525 |
+
],
|
| 526 |
+
[
|
| 527 |
+
107.578125,
|
| 528 |
+
218.6240234375
|
| 529 |
+
]
|
| 530 |
+
]
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"title": "Training details.",
|
| 534 |
+
"heading_level": null,
|
| 535 |
+
"page_id": 13,
|
| 536 |
+
"polygon": [
|
| 537 |
+
[
|
| 538 |
+
104.58984375,
|
| 539 |
+
229.093505859375
|
| 540 |
+
],
|
| 541 |
+
[
|
| 542 |
+
177.2398223876953,
|
| 543 |
+
229.093505859375
|
| 544 |
+
],
|
| 545 |
+
[
|
| 546 |
+
177.2398223876953,
|
| 547 |
+
239.05609130859375
|
| 548 |
+
],
|
| 549 |
+
[
|
| 550 |
+
104.58984375,
|
| 551 |
+
239.05609130859375
|
| 552 |
+
]
|
| 553 |
+
]
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"title": "A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX",
|
| 557 |
+
"heading_level": null,
|
| 558 |
+
"page_id": 13,
|
| 559 |
+
"polygon": [
|
| 560 |
+
[
|
| 561 |
+
106.3828125,
|
| 562 |
+
490.74609375
|
| 563 |
+
],
|
| 564 |
+
[
|
| 565 |
+
307.7464904785156,
|
| 566 |
+
490.74609375
|
| 567 |
+
],
|
| 568 |
+
[
|
| 569 |
+
307.7464904785156,
|
| 570 |
+
500.77008056640625
|
| 571 |
+
],
|
| 572 |
+
[
|
| 573 |
+
106.3828125,
|
| 574 |
+
500.77008056640625
|
| 575 |
+
]
|
| 576 |
+
]
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"title": "A.3 NON END-TO-END TRAINING PIPELINE",
|
| 580 |
+
"heading_level": null,
|
| 581 |
+
"page_id": 14,
|
| 582 |
+
"polygon": [
|
| 583 |
+
[
|
| 584 |
+
108.17578125,
|
| 585 |
+
169.3828125
|
| 586 |
+
],
|
| 587 |
+
[
|
| 588 |
+
297.2518310546875,
|
| 589 |
+
169.3828125
|
| 590 |
+
],
|
| 591 |
+
[
|
| 592 |
+
297.2518310546875,
|
| 593 |
+
180.1400146484375
|
| 594 |
+
],
|
| 595 |
+
[
|
| 596 |
+
108.17578125,
|
| 597 |
+
180.1400146484375
|
| 598 |
+
]
|
| 599 |
+
]
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"title": "A.4 MORE GENERATION RESULTS",
|
| 603 |
+
"heading_level": null,
|
| 604 |
+
"page_id": 14,
|
| 605 |
+
"polygon": [
|
| 606 |
+
[
|
| 607 |
+
105.78515625,
|
| 608 |
+
444.33984375
|
| 609 |
+
],
|
| 610 |
+
[
|
| 611 |
+
258.2601318359375,
|
| 612 |
+
444.33984375
|
| 613 |
+
],
|
| 614 |
+
[
|
| 615 |
+
258.2601318359375,
|
| 616 |
+
455.4360656738281
|
| 617 |
+
],
|
| 618 |
+
[
|
| 619 |
+
105.78515625,
|
| 620 |
+
455.4360656738281
|
| 621 |
+
]
|
| 622 |
+
]
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"title": "A.5 MORE UNDERSTANDING RESULTS",
|
| 626 |
+
"heading_level": null,
|
| 627 |
+
"page_id": 14,
|
| 628 |
+
"polygon": [
|
| 629 |
+
[
|
| 630 |
+
106.3828125,
|
| 631 |
+
645.43359375
|
| 632 |
+
],
|
| 633 |
+
[
|
| 634 |
+
276.7109069824219,
|
| 635 |
+
645.43359375
|
| 636 |
+
],
|
| 637 |
+
[
|
| 638 |
+
276.7109069824219,
|
| 639 |
+
656.8990783691406
|
| 640 |
+
],
|
| 641 |
+
[
|
| 642 |
+
106.3828125,
|
| 643 |
+
656.8990783691406
|
| 644 |
+
]
|
| 645 |
+
]
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"title": "810\n811\n812\n813\n814\n815\n817",
|
| 649 |
+
"heading_level": null,
|
| 650 |
+
"page_id": 15,
|
| 651 |
+
"polygon": [
|
| 652 |
+
[
|
| 653 |
+
73.13099670410156,
|
| 654 |
+
70.3828125
|
| 655 |
+
],
|
| 656 |
+
[
|
| 657 |
+
91.142578125,
|
| 658 |
+
70.3828125
|
| 659 |
+
],
|
| 660 |
+
[
|
| 661 |
+
91.142578125,
|
| 662 |
+
172.7249755859375
|
| 663 |
+
],
|
| 664 |
+
[
|
| 665 |
+
73.13099670410156,
|
| 666 |
+
172.7249755859375
|
| 667 |
+
]
|
| 668 |
+
]
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"title": "Text to Image Generation Multi-modal Understanding",
|
| 672 |
+
"heading_level": null,
|
| 673 |
+
"page_id": 15,
|
| 674 |
+
"polygon": [
|
| 675 |
+
[
|
| 676 |
+
162.5625,
|
| 677 |
+
82.7578125
|
| 678 |
+
],
|
| 679 |
+
[
|
| 680 |
+
458.1663513183594,
|
| 681 |
+
82.7578125
|
| 682 |
+
],
|
| 683 |
+
[
|
| 684 |
+
458.1663513183594,
|
| 685 |
+
102.8671875
|
| 686 |
+
],
|
| 687 |
+
[
|
| 688 |
+
162.5625,
|
| 689 |
+
102.8671875
|
| 690 |
+
]
|
| 691 |
+
]
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"title": "",
|
| 695 |
+
"heading_level": null,
|
| 696 |
+
"page_id": 15,
|
| 697 |
+
"polygon": [
|
| 698 |
+
[
|
| 699 |
+
351.123046875,
|
| 700 |
+
83.91796875
|
| 701 |
+
],
|
| 702 |
+
[
|
| 703 |
+
456.908203125,
|
| 704 |
+
83.91796875
|
| 705 |
+
],
|
| 706 |
+
[
|
| 707 |
+
456.908203125,
|
| 708 |
+
92.42578125
|
| 709 |
+
],
|
| 710 |
+
[
|
| 711 |
+
351.123046875,
|
| 712 |
+
92.42578125
|
| 713 |
+
]
|
| 714 |
+
]
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"title": "A.6 HUMAN EVALUATION",
|
| 718 |
+
"heading_level": null,
|
| 719 |
+
"page_id": 15,
|
| 720 |
+
"polygon": [
|
| 721 |
+
[
|
| 722 |
+
106.083984375,
|
| 723 |
+
391.74609375
|
| 724 |
+
],
|
| 725 |
+
[
|
| 726 |
+
224.8036651611328,
|
| 727 |
+
391.74609375
|
| 728 |
+
],
|
| 729 |
+
[
|
| 730 |
+
224.8036651611328,
|
| 731 |
+
403.8600769042969
|
| 732 |
+
],
|
| 733 |
+
[
|
| 734 |
+
106.083984375,
|
| 735 |
+
403.8600769042969
|
| 736 |
+
]
|
| 737 |
+
]
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"title": "A.7 MORE VISUALIZATION RESULTS",
|
| 741 |
+
"heading_level": null,
|
| 742 |
+
"page_id": 15,
|
| 743 |
+
"polygon": [
|
| 744 |
+
[
|
| 745 |
+
106.98046875,
|
| 746 |
+
511.12542724609375
|
| 747 |
+
],
|
| 748 |
+
[
|
| 749 |
+
269.6015625,
|
| 750 |
+
511.12542724609375
|
| 751 |
+
],
|
| 752 |
+
[
|
| 753 |
+
269.6015625,
|
| 754 |
+
521.0880432128906
|
| 755 |
+
],
|
| 756 |
+
[
|
| 757 |
+
106.98046875,
|
| 758 |
+
521.0880432128906
|
| 759 |
+
]
|
| 760 |
+
]
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"title": "A.8 MORE ANALYSIS OF SFT AND GRPO",
|
| 764 |
+
"heading_level": null,
|
| 765 |
+
"page_id": 15,
|
| 766 |
+
"polygon": [
|
| 767 |
+
[
|
| 768 |
+
106.3828125,
|
| 769 |
+
580.46484375
|
| 770 |
+
],
|
| 771 |
+
[
|
| 772 |
+
292.8515625,
|
| 773 |
+
580.46484375
|
| 774 |
+
],
|
| 775 |
+
[
|
| 776 |
+
292.8515625,
|
| 777 |
+
594.4800720214844
|
| 778 |
+
],
|
| 779 |
+
[
|
| 780 |
+
106.3828125,
|
| 781 |
+
594.4800720214844
|
| 782 |
+
]
|
| 783 |
+
]
|
| 784 |
+
},
|
| 785 |
+
{
|
| 786 |
+
"title": "A.9 DISTRIBUTION ANALYSIS",
|
| 787 |
+
"heading_level": null,
|
| 788 |
+
"page_id": 16,
|
| 789 |
+
"polygon": [
|
| 790 |
+
[
|
| 791 |
+
106.3828125,
|
| 792 |
+
225.0
|
| 793 |
+
],
|
| 794 |
+
[
|
| 795 |
+
243.75,
|
| 796 |
+
225.0
|
| 797 |
+
],
|
| 798 |
+
[
|
| 799 |
+
243.75,
|
| 800 |
+
234.3515625
|
| 801 |
+
],
|
| 802 |
+
[
|
| 803 |
+
106.3828125,
|
| 804 |
+
234.3515625
|
| 805 |
+
]
|
| 806 |
+
]
|
| 807 |
+
},
|
| 808 |
+
{
|
| 809 |
+
"title": "A.10 REWARD FUNCTION",
|
| 810 |
+
"heading_level": null,
|
| 811 |
+
"page_id": 16,
|
| 812 |
+
"polygon": [
|
| 813 |
+
[
|
| 814 |
+
106.083984375,
|
| 815 |
+
549.0
|
| 816 |
+
],
|
| 817 |
+
[
|
| 818 |
+
225.75,
|
| 819 |
+
549.0
|
| 820 |
+
],
|
| 821 |
+
[
|
| 822 |
+
225.75,
|
| 823 |
+
558.03515625
|
| 824 |
+
],
|
| 825 |
+
[
|
| 826 |
+
106.083984375,
|
| 827 |
+
558.03515625
|
| 828 |
+
]
|
| 829 |
+
]
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"title": "A.11 PROMPT AND QA PAIR CONSTRUCTION",
|
| 833 |
+
"heading_level": null,
|
| 834 |
+
"page_id": 16,
|
| 835 |
+
"polygon": [
|
| 836 |
+
[
|
| 837 |
+
107.25,
|
| 838 |
+
690.75
|
| 839 |
+
],
|
| 840 |
+
[
|
| 841 |
+
308.390625,
|
| 842 |
+
690.75
|
| 843 |
+
],
|
| 844 |
+
[
|
| 845 |
+
308.390625,
|
| 846 |
+
700.34765625
|
| 847 |
+
],
|
| 848 |
+
[
|
| 849 |
+
107.25,
|
| 850 |
+
700.34765625
|
| 851 |
+
]
|
| 852 |
+
]
|
| 853 |
+
},
|
| 854 |
+
{
|
| 855 |
+
"title": "A.12 ANALYSIS OF OBSERVED INCONSISTENCIES",
|
| 856 |
+
"heading_level": null,
|
| 857 |
+
"page_id": 17,
|
| 858 |
+
"polygon": [
|
| 859 |
+
[
|
| 860 |
+
105.78515625,
|
| 861 |
+
316.3359375
|
| 862 |
+
],
|
| 863 |
+
[
|
| 864 |
+
326.0637512207031,
|
| 865 |
+
316.3359375
|
| 866 |
+
],
|
| 867 |
+
[
|
| 868 |
+
326.0637512207031,
|
| 869 |
+
327.4740905761719
|
| 870 |
+
],
|
| 871 |
+
[
|
| 872 |
+
105.78515625,
|
| 873 |
+
327.4740905761719
|
| 874 |
+
]
|
| 875 |
+
]
|
| 876 |
+
},
|
| 877 |
+
{
|
| 878 |
+
"title": "A.13 USE OF LLMS",
|
| 879 |
+
"heading_level": null,
|
| 880 |
+
"page_id": 17,
|
| 881 |
+
"polygon": [
|
| 882 |
+
[
|
| 883 |
+
106.3828125,
|
| 884 |
+
605.21484375
|
| 885 |
+
],
|
| 886 |
+
[
|
| 887 |
+
200.92518615722656,
|
| 888 |
+
605.21484375
|
| 889 |
+
],
|
| 890 |
+
[
|
| 891 |
+
200.92518615722656,
|
| 892 |
+
615.4810791015625
|
| 893 |
+
],
|
| 894 |
+
[
|
| 895 |
+
106.3828125,
|
| 896 |
+
615.4810791015625
|
| 897 |
+
]
|
| 898 |
+
]
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"title": "A.14 LIMITATIONS",
|
| 902 |
+
"heading_level": null,
|
| 903 |
+
"page_id": 17,
|
| 904 |
+
"polygon": [
|
| 905 |
+
[
|
| 906 |
+
105.78515625,
|
| 907 |
+
667.08984375
|
| 908 |
+
],
|
| 909 |
+
[
|
| 910 |
+
195.72674560546875,
|
| 911 |
+
667.08984375
|
| 912 |
+
],
|
| 913 |
+
[
|
| 914 |
+
195.72674560546875,
|
| 915 |
+
677.3360748291016
|
| 916 |
+
],
|
| 917 |
+
[
|
| 918 |
+
105.78515625,
|
| 919 |
+
677.3360748291016
|
| 920 |
+
]
|
| 921 |
+
]
|
| 922 |
+
}
|
| 923 |
+
],
|
| 924 |
+
"page_stats": [
|
| 925 |
+
{
|
| 926 |
+
"page_id": 0,
|
| 927 |
+
"text_extraction_method": "pdftext",
|
| 928 |
+
"block_counts": [
|
| 929 |
+
[
|
| 930 |
+
"Span",
|
| 931 |
+
231
|
| 932 |
+
],
|
| 933 |
+
[
|
| 934 |
+
"Line",
|
| 935 |
+
88
|
| 936 |
+
],
|
| 937 |
+
[
|
| 938 |
+
"Text",
|
| 939 |
+
13
|
| 940 |
+
],
|
| 941 |
+
[
|
| 942 |
+
"SectionHeader",
|
| 943 |
+
3
|
| 944 |
+
],
|
| 945 |
+
[
|
| 946 |
+
"PageHeader",
|
| 947 |
+
1
|
| 948 |
+
],
|
| 949 |
+
[
|
| 950 |
+
"PageFooter",
|
| 951 |
+
1
|
| 952 |
+
]
|
| 953 |
+
],
|
| 954 |
+
"block_metadata": {
|
| 955 |
+
"llm_request_count": 0,
|
| 956 |
+
"llm_error_count": 0,
|
| 957 |
+
"llm_tokens_used": 0,
|
| 958 |
+
"previous_text": "",
|
| 959 |
+
"previous_type": "",
|
| 960 |
+
"previous_order": 0
|
| 961 |
+
}
|
| 962 |
+
},
|
| 963 |
+
{
|
| 964 |
+
"page_id": 1,
|
| 965 |
+
"text_extraction_method": "surya",
|
| 966 |
+
"block_counts": [
|
| 967 |
+
[
|
| 968 |
+
"Line",
|
| 969 |
+
135
|
| 970 |
+
],
|
| 971 |
+
[
|
| 972 |
+
"Span",
|
| 973 |
+
59
|
| 974 |
+
],
|
| 975 |
+
[
|
| 976 |
+
"Text",
|
| 977 |
+
36
|
| 978 |
+
],
|
| 979 |
+
[
|
| 980 |
+
"PageHeader",
|
| 981 |
+
2
|
| 982 |
+
],
|
| 983 |
+
[
|
| 984 |
+
"ListItem",
|
| 985 |
+
2
|
| 986 |
+
],
|
| 987 |
+
[
|
| 988 |
+
"Caption",
|
| 989 |
+
1
|
| 990 |
+
],
|
| 991 |
+
[
|
| 992 |
+
"PageFooter",
|
| 993 |
+
1
|
| 994 |
+
],
|
| 995 |
+
[
|
| 996 |
+
"ListGroup",
|
| 997 |
+
1
|
| 998 |
+
],
|
| 999 |
+
[
|
| 1000 |
+
"Reference",
|
| 1001 |
+
1
|
| 1002 |
+
]
|
| 1003 |
+
],
|
| 1004 |
+
"block_metadata": {
|
| 1005 |
+
"llm_request_count": 0,
|
| 1006 |
+
"llm_error_count": 0,
|
| 1007 |
+
"llm_tokens_used": 0,
|
| 1008 |
+
"previous_text": "",
|
| 1009 |
+
"previous_type": "",
|
| 1010 |
+
"previous_order": 0
|
| 1011 |
+
}
|
| 1012 |
+
},
|
| 1013 |
+
{
|
| 1014 |
+
"page_id": 2,
|
| 1015 |
+
"text_extraction_method": "pdftext",
|
| 1016 |
+
"block_counts": [
|
| 1017 |
+
[
|
| 1018 |
+
"Span",
|
| 1019 |
+
280
|
| 1020 |
+
],
|
| 1021 |
+
[
|
| 1022 |
+
"Line",
|
| 1023 |
+
97
|
| 1024 |
+
],
|
| 1025 |
+
[
|
| 1026 |
+
"Text",
|
| 1027 |
+
9
|
| 1028 |
+
],
|
| 1029 |
+
[
|
| 1030 |
+
"SectionHeader",
|
| 1031 |
+
5
|
| 1032 |
+
],
|
| 1033 |
+
[
|
| 1034 |
+
"ListItem",
|
| 1035 |
+
2
|
| 1036 |
+
],
|
| 1037 |
+
[
|
| 1038 |
+
"PageHeader",
|
| 1039 |
+
1
|
| 1040 |
+
],
|
| 1041 |
+
[
|
| 1042 |
+
"PageFooter",
|
| 1043 |
+
1
|
| 1044 |
+
],
|
| 1045 |
+
[
|
| 1046 |
+
"ListGroup",
|
| 1047 |
+
1
|
| 1048 |
+
],
|
| 1049 |
+
[
|
| 1050 |
+
"Reference",
|
| 1051 |
+
1
|
| 1052 |
+
]
|
| 1053 |
+
],
|
| 1054 |
+
"block_metadata": {
|
| 1055 |
+
"llm_request_count": 0,
|
| 1056 |
+
"llm_error_count": 0,
|
| 1057 |
+
"llm_tokens_used": 0,
|
| 1058 |
+
"previous_text": "",
|
| 1059 |
+
"previous_type": "",
|
| 1060 |
+
"previous_order": 0
|
| 1061 |
+
}
|
| 1062 |
+
},
|
| 1063 |
+
{
|
| 1064 |
+
"page_id": 3,
|
| 1065 |
+
"text_extraction_method": "surya",
|
| 1066 |
+
"block_counts": [
|
| 1067 |
+
[
|
| 1068 |
+
"Line",
|
| 1069 |
+
135
|
| 1070 |
+
],
|
| 1071 |
+
[
|
| 1072 |
+
"Span",
|
| 1073 |
+
101
|
| 1074 |
+
],
|
| 1075 |
+
[
|
| 1076 |
+
"Text",
|
| 1077 |
+
42
|
| 1078 |
+
],
|
| 1079 |
+
[
|
| 1080 |
+
"Equation",
|
| 1081 |
+
3
|
| 1082 |
+
],
|
| 1083 |
+
[
|
| 1084 |
+
"SectionHeader",
|
| 1085 |
+
2
|
| 1086 |
+
],
|
| 1087 |
+
[
|
| 1088 |
+
"PageHeader",
|
| 1089 |
+
1
|
| 1090 |
+
],
|
| 1091 |
+
[
|
| 1092 |
+
"PageFooter",
|
| 1093 |
+
1
|
| 1094 |
+
],
|
| 1095 |
+
[
|
| 1096 |
+
"Reference",
|
| 1097 |
+
1
|
| 1098 |
+
]
|
| 1099 |
+
],
|
| 1100 |
+
"block_metadata": {
|
| 1101 |
+
"llm_request_count": 0,
|
| 1102 |
+
"llm_error_count": 0,
|
| 1103 |
+
"llm_tokens_used": 0,
|
| 1104 |
+
"previous_text": "",
|
| 1105 |
+
"previous_type": "",
|
| 1106 |
+
"previous_order": 0
|
| 1107 |
+
}
|
| 1108 |
+
},
|
| 1109 |
+
{
|
| 1110 |
+
"page_id": 4,
|
| 1111 |
+
"text_extraction_method": "pdftext",
|
| 1112 |
+
"block_counts": [
|
| 1113 |
+
[
|
| 1114 |
+
"Span",
|
| 1115 |
+
403
|
| 1116 |
+
],
|
| 1117 |
+
[
|
| 1118 |
+
"Line",
|
| 1119 |
+
107
|
| 1120 |
+
],
|
| 1121 |
+
[
|
| 1122 |
+
"Text",
|
| 1123 |
+
12
|
| 1124 |
+
],
|
| 1125 |
+
[
|
| 1126 |
+
"PageHeader",
|
| 1127 |
+
2
|
| 1128 |
+
],
|
| 1129 |
+
[
|
| 1130 |
+
"Equation",
|
| 1131 |
+
2
|
| 1132 |
+
],
|
| 1133 |
+
[
|
| 1134 |
+
"Reference",
|
| 1135 |
+
2
|
| 1136 |
+
],
|
| 1137 |
+
[
|
| 1138 |
+
"Caption",
|
| 1139 |
+
1
|
| 1140 |
+
],
|
| 1141 |
+
[
|
| 1142 |
+
"SectionHeader",
|
| 1143 |
+
1
|
| 1144 |
+
],
|
| 1145 |
+
[
|
| 1146 |
+
"PageFooter",
|
| 1147 |
+
1
|
| 1148 |
+
]
|
| 1149 |
+
],
|
| 1150 |
+
"block_metadata": {
|
| 1151 |
+
"llm_request_count": 0,
|
| 1152 |
+
"llm_error_count": 0,
|
| 1153 |
+
"llm_tokens_used": 0,
|
| 1154 |
+
"previous_text": "",
|
| 1155 |
+
"previous_type": "",
|
| 1156 |
+
"previous_order": 0
|
| 1157 |
+
}
|
| 1158 |
+
},
|
| 1159 |
+
{
|
| 1160 |
+
"page_id": 5,
|
| 1161 |
+
"text_extraction_method": "surya",
|
| 1162 |
+
"block_counts": [
|
| 1163 |
+
[
|
| 1164 |
+
"Line",
|
| 1165 |
+
148
|
| 1166 |
+
],
|
| 1167 |
+
[
|
| 1168 |
+
"Span",
|
| 1169 |
+
81
|
| 1170 |
+
],
|
| 1171 |
+
[
|
| 1172 |
+
"Text",
|
| 1173 |
+
43
|
| 1174 |
+
],
|
| 1175 |
+
[
|
| 1176 |
+
"TableCell",
|
| 1177 |
+
15
|
| 1178 |
+
],
|
| 1179 |
+
[
|
| 1180 |
+
"Reference",
|
| 1181 |
+
3
|
| 1182 |
+
],
|
| 1183 |
+
[
|
| 1184 |
+
"Equation",
|
| 1185 |
+
2
|
| 1186 |
+
],
|
| 1187 |
+
[
|
| 1188 |
+
"SectionHeader",
|
| 1189 |
+
2
|
| 1190 |
+
],
|
| 1191 |
+
[
|
| 1192 |
+
"PageHeader",
|
| 1193 |
+
1
|
| 1194 |
+
],
|
| 1195 |
+
[
|
| 1196 |
+
"Caption",
|
| 1197 |
+
1
|
| 1198 |
+
],
|
| 1199 |
+
[
|
| 1200 |
+
"Table",
|
| 1201 |
+
1
|
| 1202 |
+
],
|
| 1203 |
+
[
|
| 1204 |
+
"PageFooter",
|
| 1205 |
+
1
|
| 1206 |
+
],
|
| 1207 |
+
[
|
| 1208 |
+
"TableGroup",
|
| 1209 |
+
1
|
| 1210 |
+
]
|
| 1211 |
+
],
|
| 1212 |
+
"block_metadata": {
|
| 1213 |
+
"llm_request_count": 0,
|
| 1214 |
+
"llm_error_count": 0,
|
| 1215 |
+
"llm_tokens_used": 0,
|
| 1216 |
+
"previous_text": "",
|
| 1217 |
+
"previous_type": "",
|
| 1218 |
+
"previous_order": 0
|
| 1219 |
+
}
|
| 1220 |
+
},
|
| 1221 |
+
{
|
| 1222 |
+
"page_id": 6,
|
| 1223 |
+
"text_extraction_method": "pdftext",
|
| 1224 |
+
"block_counts": [
|
| 1225 |
+
[
|
| 1226 |
+
"Span",
|
| 1227 |
+
325
|
| 1228 |
+
],
|
| 1229 |
+
[
|
| 1230 |
+
"Line",
|
| 1231 |
+
94
|
| 1232 |
+
],
|
| 1233 |
+
[
|
| 1234 |
+
"Text",
|
| 1235 |
+
16
|
| 1236 |
+
],
|
| 1237 |
+
[
|
| 1238 |
+
"SectionHeader",
|
| 1239 |
+
3
|
| 1240 |
+
],
|
| 1241 |
+
[
|
| 1242 |
+
"PageHeader",
|
| 1243 |
+
1
|
| 1244 |
+
],
|
| 1245 |
+
[
|
| 1246 |
+
"Equation",
|
| 1247 |
+
1
|
| 1248 |
+
],
|
| 1249 |
+
[
|
| 1250 |
+
"PageFooter",
|
| 1251 |
+
1
|
| 1252 |
+
],
|
| 1253 |
+
[
|
| 1254 |
+
"Reference",
|
| 1255 |
+
1
|
| 1256 |
+
]
|
| 1257 |
+
],
|
| 1258 |
+
"block_metadata": {
|
| 1259 |
+
"llm_request_count": 0,
|
| 1260 |
+
"llm_error_count": 0,
|
| 1261 |
+
"llm_tokens_used": 0,
|
| 1262 |
+
"previous_text": "",
|
| 1263 |
+
"previous_type": "",
|
| 1264 |
+
"previous_order": 0
|
| 1265 |
+
}
|
| 1266 |
+
},
|
| 1267 |
+
{
|
| 1268 |
+
"page_id": 7,
|
| 1269 |
+
"text_extraction_method": "surya",
|
| 1270 |
+
"block_counts": [
|
| 1271 |
+
[
|
| 1272 |
+
"TableCell",
|
| 1273 |
+
260
|
| 1274 |
+
],
|
| 1275 |
+
[
|
| 1276 |
+
"Line",
|
| 1277 |
+
128
|
| 1278 |
+
],
|
| 1279 |
+
[
|
| 1280 |
+
"Span",
|
| 1281 |
+
53
|
| 1282 |
+
],
|
| 1283 |
+
[
|
| 1284 |
+
"Text",
|
| 1285 |
+
35
|
| 1286 |
+
],
|
| 1287 |
+
[
|
| 1288 |
+
"Caption",
|
| 1289 |
+
5
|
| 1290 |
+
],
|
| 1291 |
+
[
|
| 1292 |
+
"Reference",
|
| 1293 |
+
4
|
| 1294 |
+
],
|
| 1295 |
+
[
|
| 1296 |
+
"Table",
|
| 1297 |
+
3
|
| 1298 |
+
],
|
| 1299 |
+
[
|
| 1300 |
+
"SectionHeader",
|
| 1301 |
+
3
|
| 1302 |
+
],
|
| 1303 |
+
[
|
| 1304 |
+
"TableGroup",
|
| 1305 |
+
2
|
| 1306 |
+
],
|
| 1307 |
+
[
|
| 1308 |
+
"PageHeader",
|
| 1309 |
+
1
|
| 1310 |
+
],
|
| 1311 |
+
[
|
| 1312 |
+
"PageFooter",
|
| 1313 |
+
1
|
| 1314 |
+
]
|
| 1315 |
+
],
|
| 1316 |
+
"block_metadata": {
|
| 1317 |
+
"llm_request_count": 0,
|
| 1318 |
+
"llm_error_count": 0,
|
| 1319 |
+
"llm_tokens_used": 0,
|
| 1320 |
+
"previous_text": "",
|
| 1321 |
+
"previous_type": "",
|
| 1322 |
+
"previous_order": 0
|
| 1323 |
+
}
|
| 1324 |
+
},
|
| 1325 |
+
{
|
| 1326 |
+
"page_id": 8,
|
| 1327 |
+
"text_extraction_method": "pdftext",
|
| 1328 |
+
"block_counts": [
|
| 1329 |
+
[
|
| 1330 |
+
"Span",
|
| 1331 |
+
289
|
| 1332 |
+
],
|
| 1333 |
+
[
|
| 1334 |
+
"Line",
|
| 1335 |
+
108
|
| 1336 |
+
],
|
| 1337 |
+
[
|
| 1338 |
+
"Text",
|
| 1339 |
+
9
|
| 1340 |
+
],
|
| 1341 |
+
[
|
| 1342 |
+
"PageHeader",
|
| 1343 |
+
1
|
| 1344 |
+
],
|
| 1345 |
+
[
|
| 1346 |
+
"Figure",
|
| 1347 |
+
1
|
| 1348 |
+
],
|
| 1349 |
+
[
|
| 1350 |
+
"Caption",
|
| 1351 |
+
1
|
| 1352 |
+
],
|
| 1353 |
+
[
|
| 1354 |
+
"SectionHeader",
|
| 1355 |
+
1
|
| 1356 |
+
],
|
| 1357 |
+
[
|
| 1358 |
+
"PageFooter",
|
| 1359 |
+
1
|
| 1360 |
+
],
|
| 1361 |
+
[
|
| 1362 |
+
"FigureGroup",
|
| 1363 |
+
1
|
| 1364 |
+
],
|
| 1365 |
+
[
|
| 1366 |
+
"Reference",
|
| 1367 |
+
1
|
| 1368 |
+
]
|
| 1369 |
+
],
|
| 1370 |
+
"block_metadata": {
|
| 1371 |
+
"llm_request_count": 0,
|
| 1372 |
+
"llm_error_count": 0,
|
| 1373 |
+
"llm_tokens_used": 0,
|
| 1374 |
+
"previous_text": "",
|
| 1375 |
+
"previous_type": "",
|
| 1376 |
+
"previous_order": 0
|
| 1377 |
+
}
|
| 1378 |
+
},
|
| 1379 |
+
{
|
| 1380 |
+
"page_id": 9,
|
| 1381 |
+
"text_extraction_method": "pdftext",
|
| 1382 |
+
"block_counts": [
|
| 1383 |
+
[
|
| 1384 |
+
"Span",
|
| 1385 |
+
215
|
| 1386 |
+
],
|
| 1387 |
+
[
|
| 1388 |
+
"Line",
|
| 1389 |
+
93
|
| 1390 |
+
],
|
| 1391 |
+
[
|
| 1392 |
+
"ListItem",
|
| 1393 |
+
12
|
| 1394 |
+
],
|
| 1395 |
+
[
|
| 1396 |
+
"Reference",
|
| 1397 |
+
12
|
| 1398 |
+
],
|
| 1399 |
+
[
|
| 1400 |
+
"Text",
|
| 1401 |
+
8
|
| 1402 |
+
],
|
| 1403 |
+
[
|
| 1404 |
+
"PageHeader",
|
| 1405 |
+
1
|
| 1406 |
+
],
|
| 1407 |
+
[
|
| 1408 |
+
"SectionHeader",
|
| 1409 |
+
1
|
| 1410 |
+
],
|
| 1411 |
+
[
|
| 1412 |
+
"PageFooter",
|
| 1413 |
+
1
|
| 1414 |
+
],
|
| 1415 |
+
[
|
| 1416 |
+
"ListGroup",
|
| 1417 |
+
1
|
| 1418 |
+
]
|
| 1419 |
+
],
|
| 1420 |
+
"block_metadata": {
|
| 1421 |
+
"llm_request_count": 0,
|
| 1422 |
+
"llm_error_count": 0,
|
| 1423 |
+
"llm_tokens_used": 0,
|
| 1424 |
+
"previous_text": "",
|
| 1425 |
+
"previous_type": "",
|
| 1426 |
+
"previous_order": 0
|
| 1427 |
+
}
|
| 1428 |
+
},
|
| 1429 |
+
{
|
| 1430 |
+
"page_id": 10,
|
| 1431 |
+
"text_extraction_method": "pdftext",
|
| 1432 |
+
"block_counts": [
|
| 1433 |
+
[
|
| 1434 |
+
"Span",
|
| 1435 |
+
208
|
| 1436 |
+
],
|
| 1437 |
+
[
|
| 1438 |
+
"Line",
|
| 1439 |
+
91
|
| 1440 |
+
],
|
| 1441 |
+
[
|
| 1442 |
+
"Reference",
|
| 1443 |
+
13
|
| 1444 |
+
],
|
| 1445 |
+
[
|
| 1446 |
+
"ListItem",
|
| 1447 |
+
12
|
| 1448 |
+
],
|
| 1449 |
+
[
|
| 1450 |
+
"Text",
|
| 1451 |
+
9
|
| 1452 |
+
],
|
| 1453 |
+
[
|
| 1454 |
+
"PageHeader",
|
| 1455 |
+
1
|
| 1456 |
+
],
|
| 1457 |
+
[
|
| 1458 |
+
"PageFooter",
|
| 1459 |
+
1
|
| 1460 |
+
],
|
| 1461 |
+
[
|
| 1462 |
+
"ListGroup",
|
| 1463 |
+
1
|
| 1464 |
+
]
|
| 1465 |
+
],
|
| 1466 |
+
"block_metadata": {
|
| 1467 |
+
"llm_request_count": 0,
|
| 1468 |
+
"llm_error_count": 0,
|
| 1469 |
+
"llm_tokens_used": 0,
|
| 1470 |
+
"previous_text": "",
|
| 1471 |
+
"previous_type": "",
|
| 1472 |
+
"previous_order": 0
|
| 1473 |
+
}
|
| 1474 |
+
},
|
| 1475 |
+
{
|
| 1476 |
+
"page_id": 11,
|
| 1477 |
+
"text_extraction_method": "pdftext",
|
| 1478 |
+
"block_counts": [
|
| 1479 |
+
[
|
| 1480 |
+
"Span",
|
| 1481 |
+
229
|
| 1482 |
+
],
|
| 1483 |
+
[
|
| 1484 |
+
"Line",
|
| 1485 |
+
92
|
| 1486 |
+
],
|
| 1487 |
+
[
|
| 1488 |
+
"ListItem",
|
| 1489 |
+
17
|
| 1490 |
+
],
|
| 1491 |
+
[
|
| 1492 |
+
"Reference",
|
| 1493 |
+
17
|
| 1494 |
+
],
|
| 1495 |
+
[
|
| 1496 |
+
"Text",
|
| 1497 |
+
9
|
| 1498 |
+
],
|
| 1499 |
+
[
|
| 1500 |
+
"PageHeader",
|
| 1501 |
+
1
|
| 1502 |
+
],
|
| 1503 |
+
[
|
| 1504 |
+
"PageFooter",
|
| 1505 |
+
1
|
| 1506 |
+
],
|
| 1507 |
+
[
|
| 1508 |
+
"ListGroup",
|
| 1509 |
+
1
|
| 1510 |
+
]
|
| 1511 |
+
],
|
| 1512 |
+
"block_metadata": {
|
| 1513 |
+
"llm_request_count": 0,
|
| 1514 |
+
"llm_error_count": 0,
|
| 1515 |
+
"llm_tokens_used": 0,
|
| 1516 |
+
"previous_text": "",
|
| 1517 |
+
"previous_type": "",
|
| 1518 |
+
"previous_order": 0
|
| 1519 |
+
}
|
| 1520 |
+
},
|
| 1521 |
+
{
|
| 1522 |
+
"page_id": 12,
|
| 1523 |
+
"text_extraction_method": "pdftext",
|
| 1524 |
+
"block_counts": [
|
| 1525 |
+
[
|
| 1526 |
+
"Span",
|
| 1527 |
+
172
|
| 1528 |
+
],
|
| 1529 |
+
[
|
| 1530 |
+
"Line",
|
| 1531 |
+
73
|
| 1532 |
+
],
|
| 1533 |
+
[
|
| 1534 |
+
"ListItem",
|
| 1535 |
+
9
|
| 1536 |
+
],
|
| 1537 |
+
[
|
| 1538 |
+
"Reference",
|
| 1539 |
+
9
|
| 1540 |
+
],
|
| 1541 |
+
[
|
| 1542 |
+
"Text",
|
| 1543 |
+
7
|
| 1544 |
+
],
|
| 1545 |
+
[
|
| 1546 |
+
"PageHeader",
|
| 1547 |
+
1
|
| 1548 |
+
],
|
| 1549 |
+
[
|
| 1550 |
+
"PageFooter",
|
| 1551 |
+
1
|
| 1552 |
+
],
|
| 1553 |
+
[
|
| 1554 |
+
"ListGroup",
|
| 1555 |
+
1
|
| 1556 |
+
]
|
| 1557 |
+
],
|
| 1558 |
+
"block_metadata": {
|
| 1559 |
+
"llm_request_count": 0,
|
| 1560 |
+
"llm_error_count": 0,
|
| 1561 |
+
"llm_tokens_used": 0,
|
| 1562 |
+
"previous_text": "",
|
| 1563 |
+
"previous_type": "",
|
| 1564 |
+
"previous_order": 0
|
| 1565 |
+
}
|
| 1566 |
+
},
|
| 1567 |
+
{
|
| 1568 |
+
"page_id": 13,
|
| 1569 |
+
"text_extraction_method": "pdftext",
|
| 1570 |
+
"block_counts": [
|
| 1571 |
+
[
|
| 1572 |
+
"Span",
|
| 1573 |
+
341
|
| 1574 |
+
],
|
| 1575 |
+
[
|
| 1576 |
+
"Line",
|
| 1577 |
+
112
|
| 1578 |
+
],
|
| 1579 |
+
[
|
| 1580 |
+
"Text",
|
| 1581 |
+
13
|
| 1582 |
+
],
|
| 1583 |
+
[
|
| 1584 |
+
"SectionHeader",
|
| 1585 |
+
4
|
| 1586 |
+
],
|
| 1587 |
+
[
|
| 1588 |
+
"Equation",
|
| 1589 |
+
2
|
| 1590 |
+
],
|
| 1591 |
+
[
|
| 1592 |
+
"Reference",
|
| 1593 |
+
2
|
| 1594 |
+
],
|
| 1595 |
+
[
|
| 1596 |
+
"PageHeader",
|
| 1597 |
+
1
|
| 1598 |
+
],
|
| 1599 |
+
[
|
| 1600 |
+
"PageFooter",
|
| 1601 |
+
1
|
| 1602 |
+
]
|
| 1603 |
+
],
|
| 1604 |
+
"block_metadata": {
|
| 1605 |
+
"llm_request_count": 0,
|
| 1606 |
+
"llm_error_count": 0,
|
| 1607 |
+
"llm_tokens_used": 0,
|
| 1608 |
+
"previous_text": "",
|
| 1609 |
+
"previous_type": "",
|
| 1610 |
+
"previous_order": 0
|
| 1611 |
+
}
|
| 1612 |
+
},
|
| 1613 |
+
{
|
| 1614 |
+
"page_id": 14,
|
| 1615 |
+
"text_extraction_method": "pdftext",
|
| 1616 |
+
"block_counts": [
|
| 1617 |
+
[
|
| 1618 |
+
"Span",
|
| 1619 |
+
400
|
| 1620 |
+
],
|
| 1621 |
+
[
|
| 1622 |
+
"Line",
|
| 1623 |
+
107
|
| 1624 |
+
],
|
| 1625 |
+
[
|
| 1626 |
+
"TableCell",
|
| 1627 |
+
49
|
| 1628 |
+
],
|
| 1629 |
+
[
|
| 1630 |
+
"Text",
|
| 1631 |
+
19
|
| 1632 |
+
],
|
| 1633 |
+
[
|
| 1634 |
+
"Reference",
|
| 1635 |
+
4
|
| 1636 |
+
],
|
| 1637 |
+
[
|
| 1638 |
+
"SectionHeader",
|
| 1639 |
+
3
|
| 1640 |
+
],
|
| 1641 |
+
[
|
| 1642 |
+
"Equation",
|
| 1643 |
+
2
|
| 1644 |
+
],
|
| 1645 |
+
[
|
| 1646 |
+
"Caption",
|
| 1647 |
+
2
|
| 1648 |
+
],
|
| 1649 |
+
[
|
| 1650 |
+
"Table",
|
| 1651 |
+
2
|
| 1652 |
+
],
|
| 1653 |
+
[
|
| 1654 |
+
"TableGroup",
|
| 1655 |
+
2
|
| 1656 |
+
],
|
| 1657 |
+
[
|
| 1658 |
+
"PageHeader",
|
| 1659 |
+
1
|
| 1660 |
+
],
|
| 1661 |
+
[
|
| 1662 |
+
"PageFooter",
|
| 1663 |
+
1
|
| 1664 |
+
]
|
| 1665 |
+
],
|
| 1666 |
+
"block_metadata": {
|
| 1667 |
+
"llm_request_count": 0,
|
| 1668 |
+
"llm_error_count": 0,
|
| 1669 |
+
"llm_tokens_used": 0,
|
| 1670 |
+
"previous_text": "",
|
| 1671 |
+
"previous_type": "",
|
| 1672 |
+
"previous_order": 0
|
| 1673 |
+
}
|
| 1674 |
+
},
|
| 1675 |
+
{
|
| 1676 |
+
"page_id": 15,
|
| 1677 |
+
"text_extraction_method": "pdftext",
|
| 1678 |
+
"block_counts": [
|
| 1679 |
+
[
|
| 1680 |
+
"Span",
|
| 1681 |
+
251
|
| 1682 |
+
],
|
| 1683 |
+
[
|
| 1684 |
+
"Line",
|
| 1685 |
+
96
|
| 1686 |
+
],
|
| 1687 |
+
[
|
| 1688 |
+
"Text",
|
| 1689 |
+
14
|
| 1690 |
+
],
|
| 1691 |
+
[
|
| 1692 |
+
"SectionHeader",
|
| 1693 |
+
6
|
| 1694 |
+
],
|
| 1695 |
+
[
|
| 1696 |
+
"Picture",
|
| 1697 |
+
5
|
| 1698 |
+
],
|
| 1699 |
+
[
|
| 1700 |
+
"Caption",
|
| 1701 |
+
4
|
| 1702 |
+
],
|
| 1703 |
+
[
|
| 1704 |
+
"Reference",
|
| 1705 |
+
4
|
| 1706 |
+
],
|
| 1707 |
+
[
|
| 1708 |
+
"PictureGroup",
|
| 1709 |
+
2
|
| 1710 |
+
],
|
| 1711 |
+
[
|
| 1712 |
+
"PageHeader",
|
| 1713 |
+
1
|
| 1714 |
+
],
|
| 1715 |
+
[
|
| 1716 |
+
"PageFooter",
|
| 1717 |
+
1
|
| 1718 |
+
]
|
| 1719 |
+
],
|
| 1720 |
+
"block_metadata": {
|
| 1721 |
+
"llm_request_count": 0,
|
| 1722 |
+
"llm_error_count": 0,
|
| 1723 |
+
"llm_tokens_used": 0,
|
| 1724 |
+
"previous_text": "",
|
| 1725 |
+
"previous_type": "",
|
| 1726 |
+
"previous_order": 0
|
| 1727 |
+
}
|
| 1728 |
+
},
|
| 1729 |
+
{
|
| 1730 |
+
"page_id": 16,
|
| 1731 |
+
"text_extraction_method": "surya",
|
| 1732 |
+
"block_counts": [
|
| 1733 |
+
[
|
| 1734 |
+
"Line",
|
| 1735 |
+
133
|
| 1736 |
+
],
|
| 1737 |
+
[
|
| 1738 |
+
"Span",
|
| 1739 |
+
58
|
| 1740 |
+
],
|
| 1741 |
+
[
|
| 1742 |
+
"TableCell",
|
| 1743 |
+
55
|
| 1744 |
+
],
|
| 1745 |
+
[
|
| 1746 |
+
"Text",
|
| 1747 |
+
35
|
| 1748 |
+
],
|
| 1749 |
+
[
|
| 1750 |
+
"Reference",
|
| 1751 |
+
5
|
| 1752 |
+
],
|
| 1753 |
+
[
|
| 1754 |
+
"SectionHeader",
|
| 1755 |
+
3
|
| 1756 |
+
],
|
| 1757 |
+
[
|
| 1758 |
+
"Caption",
|
| 1759 |
+
2
|
| 1760 |
+
],
|
| 1761 |
+
[
|
| 1762 |
+
"Table",
|
| 1763 |
+
2
|
| 1764 |
+
],
|
| 1765 |
+
[
|
| 1766 |
+
"TableGroup",
|
| 1767 |
+
2
|
| 1768 |
+
],
|
| 1769 |
+
[
|
| 1770 |
+
"PageHeader",
|
| 1771 |
+
1
|
| 1772 |
+
],
|
| 1773 |
+
[
|
| 1774 |
+
"Equation",
|
| 1775 |
+
1
|
| 1776 |
+
],
|
| 1777 |
+
[
|
| 1778 |
+
"PageFooter",
|
| 1779 |
+
1
|
| 1780 |
+
]
|
| 1781 |
+
],
|
| 1782 |
+
"block_metadata": {
|
| 1783 |
+
"llm_request_count": 0,
|
| 1784 |
+
"llm_error_count": 0,
|
| 1785 |
+
"llm_tokens_used": 0,
|
| 1786 |
+
"previous_text": "",
|
| 1787 |
+
"previous_type": "",
|
| 1788 |
+
"previous_order": 0
|
| 1789 |
+
}
|
| 1790 |
+
},
|
| 1791 |
+
{
|
| 1792 |
+
"page_id": 17,
|
| 1793 |
+
"text_extraction_method": "pdftext",
|
| 1794 |
+
"block_counts": [
|
| 1795 |
+
[
|
| 1796 |
+
"Span",
|
| 1797 |
+
174
|
| 1798 |
+
],
|
| 1799 |
+
[
|
| 1800 |
+
"Line",
|
| 1801 |
+
79
|
| 1802 |
+
],
|
| 1803 |
+
[
|
| 1804 |
+
"Text",
|
| 1805 |
+
12
|
| 1806 |
+
],
|
| 1807 |
+
[
|
| 1808 |
+
"Reference",
|
| 1809 |
+
4
|
| 1810 |
+
],
|
| 1811 |
+
[
|
| 1812 |
+
"SectionHeader",
|
| 1813 |
+
3
|
| 1814 |
+
],
|
| 1815 |
+
[
|
| 1816 |
+
"PageHeader",
|
| 1817 |
+
1
|
| 1818 |
+
],
|
| 1819 |
+
[
|
| 1820 |
+
"Caption",
|
| 1821 |
+
1
|
| 1822 |
+
],
|
| 1823 |
+
[
|
| 1824 |
+
"PageFooter",
|
| 1825 |
+
1
|
| 1826 |
+
]
|
| 1827 |
+
],
|
| 1828 |
+
"block_metadata": {
|
| 1829 |
+
"llm_request_count": 0,
|
| 1830 |
+
"llm_error_count": 0,
|
| 1831 |
+
"llm_tokens_used": 0,
|
| 1832 |
+
"previous_text": "",
|
| 1833 |
+
"previous_type": "",
|
| 1834 |
+
"previous_order": 0
|
| 1835 |
+
}
|
| 1836 |
+
},
|
| 1837 |
+
{
|
| 1838 |
+
"page_id": 18,
|
| 1839 |
+
"text_extraction_method": "pdftext",
|
| 1840 |
+
"block_counts": [
|
| 1841 |
+
[
|
| 1842 |
+
"Span",
|
| 1843 |
+
93
|
| 1844 |
+
],
|
| 1845 |
+
[
|
| 1846 |
+
"Line",
|
| 1847 |
+
47
|
| 1848 |
+
],
|
| 1849 |
+
[
|
| 1850 |
+
"Text",
|
| 1851 |
+
7
|
| 1852 |
+
],
|
| 1853 |
+
[
|
| 1854 |
+
"PageHeader",
|
| 1855 |
+
1
|
| 1856 |
+
],
|
| 1857 |
+
[
|
| 1858 |
+
"PageFooter",
|
| 1859 |
+
1
|
| 1860 |
+
]
|
| 1861 |
+
],
|
| 1862 |
+
"block_metadata": {
|
| 1863 |
+
"llm_request_count": 0,
|
| 1864 |
+
"llm_error_count": 0,
|
| 1865 |
+
"llm_tokens_used": 0,
|
| 1866 |
+
"previous_text": "",
|
| 1867 |
+
"previous_type": "",
|
| 1868 |
+
"previous_order": 0
|
| 1869 |
+
}
|
| 1870 |
+
}
|
| 1871 |
+
],
|
| 1872 |
+
"debug_data_path": "debug_data/5K9XW9gQ5r"
|
| 1873 |
+
}
|
iclr26/5K9XW9gQ5r/model_text_v3.txt
ADDED
|
@@ -0,0 +1,212 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[p. 1 | section: ABSTRACT | type: Text]
|
| 2 |
+
Unified multimodal large language models such as Show-o and Janus have achieved strong performance across both generation and understanding tasks. However, these models typically rely on large-scale datasets and require substantial computation during the pretraining stage. In addition, several post-training methods have been proposed, but they often depend on external data or are limited to task-specific customization. In this work, we introduce UniRL, a self-improving post-training approach. Our approach enables the model to generate images from prompts and use them as training data in each iteration, without relying on any external image data. Moreover, it enables the two tasks to enhance each other: the generated images are used for understanding, and the understanding results are used to supervise generation. We explore supervised fine-tuning (SFT) and Group Relative Policy Optimization (GRPO) to optimize the models. UniRL offers three key advantages: (1) it requires no external image data, as all training samples are generated by the model itself during training; (2) it not only improves individual task performance, but also reduces the imbalance between generation and understanding; and (3) it requires only several additional training steps during the post-training stage. We evaluate UniRL on top of Show-o and Janus, achieving a GenEval score of 0.77 for Show-o and 0.65 for Janus. Code and models will be released.
|
| 3 |
+
|
| 4 |
+
[p. 1 | section: 1 INTRODUCTION | type: Text]
|
| 5 |
+
Unified multimodal large language models are designed to handle both generation and understanding tasks within a shared parameter space. Recently, models such as Show-o, Janus, and others (Xie et al., 2024; Wu et al., 2024a; Ma et al., 2024; Zhou et al., 2024; Wang et al., 2024) have made rapid progress by adopting various architectural and training strategies. Most existing work focuses on the pretraining stage, leveraging large-scale data to train models built upon large language models (LLMs) (Li et al., 2023b; Abdin et al., 2024; Touvron et al., 2023) or multimodal LLMs (MLLMs) (Bai et al., 2023; Liu et al., 2024d; c) . However, these methods often face challenges such as high computational cost and the need for vast amounts of data. Meanwhile, several studies (Yang et al., 2025b; Guo et al., 2025; Li et al., 2025) have explored the post-training phase, but they face limitations: some require additional external data (Yang et al., 2025b; Zhao et al., 2025; Li et al., 2025) , others target only a single task (Guo et al., 2025; Li et al., 2025) , or focus on task-specific customization (Zhao et al., 2025) . Therefore, developing effective post-training methods to improve the performance of unified multimodal models remains a significant challenge.
|
| 6 |
+
|
| 7 |
+
[p. 1 | section: 1 INTRODUCTION | type: Text]
|
| 8 |
+
In this work, we propose a self-improving post-training method for unified multimodal models without external image data. We begin by constructing prompts and question–answer (QA) pairs inspired by the GenEval (Ghosh et al., 2023) benchmark, which evaluates generation quality by categorizing prompts into six types—such as counting, color, and position—designed to reflect fundamental visual features of natural images. We adopt this categorization to design the prompts used in our training process. In each training iteration, a constructed prompt is fed into the model to generate a group of images. These images, along with the corresponding questions, are then input back into the model to predict answers. The model is optimized using both the predicted and ground-truth answers to improve generation and understanding simultaneously. For optimization, we explore two strategies: supervised fine-tuning (SFT) and reinforcement learning.
|
| 9 |
+
|
| 10 |
+
[p. 2 | section: 1 INTRODUCTION | type: Caption]
|
| 11 |
+
Figure 1: The imbalance between Text-to-Image Generation (T2I) and Multi-modal Understanding (MMU). For the same image, unified multimodal models may struggle to perform both generation and understanding consistently.
|
| 12 |
+
|
| 13 |
+
[p. 2 | section: 1 INTRODUCTION | type: Text]
|
| 14 |
+
In the post-training stage, supervised fine-tuning (SFT) and reinforcement learning have traditionally been widely used. Recently, Group Relative Policy Optimization (GRPO) (Shao et al., 2024), a reinforcement learning method, has shown strong performance in large language models (LLMs) (DeepSeek-AI et al., 2025), enabling effective post-training optimization through chain-of-thought (CoT) reasoning. In this work, we explore two optimization strategies—SFT and GRPO—for unified multimodal models and analyze the advantages of each strategy. Previous applications of GRPO typically rely on chain-of-thought outputs to estimate reward distributions. However, most current unified multimodal models lack the ability to produce structured reasoning steps. Therefore, we explore a GRPO-based method that does not rely on reasoning outputs, aiming to improve the performance of unified multimodal models.
|
| 15 |
+
|
| 16 |
+
[p. 2 | section: 1 INTRODUCTION | type: Text]
|
| 17 |
+
For the performance of the unified multimodal models, we define it along three dimensions: (1) image generation capability, (2) image understanding capability, and (3) the balance between the two. While prior work has primarily focused on improving performance for a single task, unified multimodal models frequently exhibit poor alignment between the two capabilities. As shown in Fig. 1, these models often fail to simultaneously support both tasks on the same image. The model may succeed in generating a plausible image but fail to answer the corresponding question, or fail in generation while answering correctly. Therefore, beyond improving individual tasks, our self-improving method explicitly targets the imbalance between image generation and understanding. To quantitatively assess this imbalance, we design a new evaluation metric. While visual understanding spans a wide range of tasks, including reasoning and mathematical problem solving, we focus on basic visual features of natural images—such as object count, color, and position—in both training and evaluation to ensure alignment between generation and understanding tasks.
|
| 18 |
+
|
| 19 |
+
[p. 2 | section: 1 INTRODUCTION | type: Text]
|
| 20 |
+
Our method offers three main advantages. (1) It does not rely on external image data, using only images generated in real time during training. (2) It improves the performance of individual tasks while also reducing the imbalance between generation and understanding. Specifically, the same set of generated images is used for both tasks, enabling shared supervision that helps improve the imbalance between them. (3) It requires only a small number of training steps during the post-training stage. To evaluate our method, we adopt Show-o and Janus as base models, assessing improvements in both single-task performance and the balance between tasks. Our approach achieves post-training GenEval scores of 0.77 on Show-o and 0.65 on Janus.
|
| 21 |
+
|
| 22 |
+
[p. 2 | section: 1 INTRODUCTION | type: Text]
|
| 23 |
+
Our main contributions are summarized as follows:
|
| 24 |
+
|
| 25 |
+
[p. 2 | section: 1 INTRODUCTION | type: ListGroup]
|
| 26 |
+
To the best of our knowledge, we propose the first self-improving post-training optimization method for unified multimodal models via supervised and reinforcement learning. We investigate the effectiveness of both supervised fine-tuning (SFT) and Group Relative Policy Optimization (GRPO) for unified multimodal models, and provide a detailed comparison of their respective performance.
|
| 27 |
+
|
| 28 |
+
[p. 3 | section: 1 INTRODUCTION | type: ListGroup]
|
| 29 |
+
We introduce a new metric to quantify the imbalance between generation and understanding tasks within a single model. Our evaluations across multiple unified models reveal that such imbalance is common. Our method substantially improves image generation and understanding quality and effectively reduces task imbalance, enabling better consistency between text-to-image generation and multimodal understanding.
|
| 30 |
+
|
| 31 |
+
[p. 3 | section: 2.1 UNIFIED MULTIMODAL UNDERSTANDING AND GENERATION | type: Text]
|
| 32 |
+
Several recent studies (Ge et al., 2024; Wu et al., 2023; Team, 2024; Xie et al., 2024; Liu et al., 2024b; Sun et al., 2023b; Zhou et al., 2024; Tang et al., 2024; Dong et al., 2024; Wang et al., 2024; Ma et al., 2024; Liu et al., 2024a; Wu et al., 2024b; Shi et al., 2024; Anil et al., 2023; Qu et al., 2024; Li et al., 2024a; Kou et al., 2024; Li et al., 2024b; Chen et al., 2025b; Tong et al., 2024) have explored unified transformers capable of both generation and comprehension. Chameleon (Team, 2024) ,Emu3 (Wang et al., 2024) , Janus (Wu et al., 2024a) , JanusPro (Chen et al., 2025b) adopt autoregressive methods for both tasks. SEED-X (Ge et al., 2024) incorporates a diffusion model alongside a large language model to support multimodal generation and understanding. While both Show-o (Xie et al., 2024) and JanusFlow (Ma et al., 2024) use autoregression for understanding, the former adopts discrete diffusion for generation, whereas the latter employs flow matching. These models primarily focus on the pretraining stage using different methods for different tasks. These approaches require substantial training time and large-scale training data. Some studies (Mao et al., 2025; Guo et al., 2025) have explored more efficient training or inference strategies. In this work, we take Show-o and Janus as our base model and explore post-training optimization techniques to further improve unified multimodal performance.
|
| 33 |
+
|
| 34 |
+
[p. 3 | section: 2.2 GRPO IN LLM AND MLLMS | type: Text]
|
| 35 |
+
Supervised fine-tuning (SFT) and reinforcement learning have been widely adopted in the posttraining of large language models (LLMs) (Jaech et al., 2024; Li et al., 2023b; Abdin et al., 2024; Touvron et al., 2023) and multimodal LLMs (MLLMs) (Bai et al., 2023; Liu et al., 2024d) . Group Relative Policy Optimization (GRPO) is introduced in (Shao et al., 2024) to optimize LLMs by generating a group of chain-of-thought outputs and applying a task-specific reward function to guide learning. More recently, GRPO has also been explored in the context of MLLMs (Chen et al., 2025a) . In addition to GRPO, other reinforcement learning approaches such as Direct Preference Optimization (DPO) (Rafailov et al., 2023; Yang et al., 2025b) and Proximal Policy Optimization (PPO) (Schulman et al., 2017) have also been applied to both LLMs and MLLMs. Hermesflow (Yang et al., 2025b) and Emu3 (Wang et al., 2024) use DPO to optimize unified multimodal models. However, PPO requires a separate value network to estimate the baseline, and DPO relies on predefined positive and negative examples, which introduces additional complexity. In our work, we explore SFT and GRPO method to optimize unified multimodal models and improve their generation and understanding performance during the post-training stage.
|
| 36 |
+
|
| 37 |
+
[p. 3 | section: 3 METHOD | type: Text]
|
| 38 |
+
In this section, we first introduce the background of unified multimodal models and the GRPO optimization method (Sec .3.1) . We then describe the construction of training prompts (Sec .A.11) , the proposed self-improving framework (Sec .3.3) , and two optimization strategies: SFT and GRPO (Sec .3.4) . We also present a non-end-to-end training approach designed for models that use different image representations in the two tasks (Sec .3.5) . Finally, we introduce a new metric to evaluate the imbalance between the two tasks (Sec .3.6) . The pipeline of training is shown in Fig. 2.
|
| 39 |
+
|
| 40 |
+
[p. 3 | section: 3.1 PRELIMINARY | type: Text]
|
| 41 |
+
Unified Multimodal Models. Unified multimodal models can be divided into two main categories: (1) both generation and understanding tasks use autoregressive methods; (2) generation makes use of
|
| 42 |
+
|
| 43 |
+
[p. 4 | section: 3.1 PRELIMINARY | type: Text]
|
| 44 |
+
diffusion or flow matching while comprehension relies on autoregressive methods. We focus on two example models: Show-o (Xie et al., 2024) and Janus (Wu et al., 2024a).
|
| 45 |
+
|
| 46 |
+
[p. 4 | section: 3.1 PRELIMINARY | type: Text]
|
| 47 |
+
In Show-o, the text tokens are denoted as T = \{t_1, \ldots, t_N\} and the image tokens as I = \{i_1, \ldots, i_M\} . The training objective includes two components: one maximizes the likelihood of each text token given all previous text and image tokens; the other reconstructs masked image tokens based on the remaining image tokens and the full text sequence. The two loss terms are:
|
| 48 |
+
|
| 49 |
+
[p. 4 | section: 3.1 PRELIMINARY | type: Equation]
|
| 50 |
+
\mathcal{L}_{\text{NTP}} = \sum_{n=1}^{N} \log p_{\theta} (t_n \mid t_{1:n-1}, i_{1:M}), \quad \mathcal{L}_{\text{MTP}} = \sum_{m=1}^{M} \log p_{\theta} (i_m^* \mid i_{1:m-1}, i_{m+1:M}, t_{1:N}). \quad (1)
|
| 51 |
+
|
| 52 |
+
[p. 4 | section: 3.1 PRELIMINARY | type: Text]
|
| 53 |
+
Janus uses only the NTP objective, predicting every next token (image or text) in a single autoregressive pass.
|
| 54 |
+
|
| 55 |
+
[p. 4 | section: 3.1 PRELIMINARY | type: Text]
|
| 56 |
+
Group Relative Policy Optimization(GRPO) We use a reinforcement learning method called Group Relative Policy Optimization (GRPO) (Shao et al., 2024), which optimizes the model by comparing a group of generated outputs and assigning relative rewards. Suppose inputs x come from a distribution D. For each x \sim D , we sample M candidate outputs \{y_j\}_{j=1}^M under an old policy \pi_{\varphi_{\text{old}}} . We then update our new policy \pi_{\varphi} by maximising the following objective:
|
| 57 |
+
|
| 58 |
+
[p. 4 | section: 3.1 PRELIMINARY | type: Equation]
|
| 59 |
+
L(\varphi) = \mathbb{E}_{\substack{x \sim D, \\ \{y_j\} \sim \pi_{\varphi_{\text{old}}}}} \left[ \frac{1}{M} \sum_{j=1}^{M} \min(s_j A_j, \operatorname{clip}(s_j, 1 - \delta, 1 + \delta) Z_j) \right] - \lambda D_{\text{KL}}(\pi_{\varphi} \parallel \pi_{\psi}), \quad (2)
|
| 60 |
+
|
| 61 |
+
[p. 4 | section: 3.1 PRELIMINARY | type: Text]
|
| 62 |
+
where
|
| 63 |
+
|
| 64 |
+
[p. 4 | section: 3.1 PRELIMINARY | type: Equation]
|
| 65 |
+
s_j = \frac{\pi_{\varphi}(y_j \mid x)}{\pi_{\varphi_{\text{old}}}(y_j \mid x)}, \quad A_j = \frac{R_j - \text{mean}(R_1, \dots, R_M)}{\text{std}(R_1, \dots, R_M)}.
|
| 66 |
+
|
| 67 |
+
[p. 4 | section: 3.1 PRELIMINARY | type: Text]
|
| 68 |
+
R_j is the reward for output y_j , \delta sets the clipping range, \lambda weighs the divergence penalty, and \pi_\psi is a fixed reference policy. In the inner sum, s_j measures how the new policy probability differs from the old policy for the same output. Multiplying by the normalised advantage A_j gives a gradient direction. Clipping s_j to [1-\delta, 1+\delta] ensures that no single sample drives the update too far. Averaging over M outputs makes the estimate stable across different group sizes. Finally, subtracting \lambda D_{\mathrm{KL}}(\pi_\varphi \parallel \pi_\psi) discourages large shifts away from a trusted policy, which helps to keep learning smooth.
|
| 69 |
+
|
| 70 |
+
[p. 4 | section: 3.2 PROMPT AND QA PAIR CONSTRUCTION | type: Text]
|
| 71 |
+
In our study, we take inspiration from GenEval (Ghosh et al., 2023) to construct prompt—question—answer pairs. GenEval evaluates image generation models across six categories: single object, two objects, counting, colors, color attributes, and position. We expand the object pool by adding eighty everyday objects with GPT-40 to the eighty from COCO, yielding 160 in total. Following the GenEval procedure, we generate prompts and corresponding questions and answers (e.g., prompt: 'a photo of three vases', question: 'How many items are in this image?', answer: 'three vases'). To avoid data leakage, we reserve GenEval prompts strictly for evaluation, while all training prompts are independently created. Examples are shown in Tab. 8.
|
| 72 |
+
|
| 73 |
+
[p. 4 | section: 3.3 Self-improving optimization | type: Text]
|
| 74 |
+
We propose a self-improving training framework that requires no external image data. In this framework, the image generation and multimodal understanding tasks mutually reinforce each other: the understanding task provides feedback to evaluate and guide image quality, while the generation task supplies training data that enhances the model's understanding capability.
|
| 75 |
+
|
| 76 |
+
[p. 4 | section: 3.3 Self-improving optimization | type: Text]
|
| 77 |
+
As shown in Fig. 2, given a constructed prompt, the model first generates a sequence of image tokens \mathbf{u} = \{u_1, \dots, u_M\} . Regardless of whether the image generation module uses a diffusion-based or autoregressive pipeline, we feed the generated image tokens and the prompt back into the model following the original T2I training process to obtain the image logits. Let \mathbf{z} = \{z_1, \dots, z_L\} denote the output logits corresponding to the L target positions to be predicted.
|
| 78 |
+
|
| 79 |
+
[p. 5 | section: 3.3 Self-improving optimization | type: Caption]
|
| 80 |
+
Figure 2: Training pipeline of UniRL (a) SFT Optimization: A prompt is used to generate a single image, which, together with the corresponding question, is used to predict an answer and compute the SFT loss. (b) GRPO Optimization: The same prompt generates a set of images, each paired with the same question to produce multiple answers, which are used to compute the GRPO loss.
|
| 81 |
+
|
| 82 |
+
[p. 5 | section: 3.3 Self-improving optimization | type: Text]
|
| 83 |
+
To enable gradient flow through the discrete image tokens, we apply the Straight-Through Gumbel-Softmax (ST-GS) estimator to obtain differentiable approximations:
|
| 84 |
+
|
| 85 |
+
[p. 5 | section: 3.3 Self-improving optimization | type: Equation]
|
| 86 |
+
\hat{u}_l = \text{ST-GumbelSoftmax}(z_l), \quad \text{for } l = 1, \dots, L, (3)
|
| 87 |
+
|
| 88 |
+
[p. 5 | section: 3.3 Self-improving optimization | type: Text]
|
| 89 |
+
resulting in a completed image token sequence uˆ that includes differentiably sampled tokens. The formulation and implementation details of the Straight-Through Gumbel-Softmax estimator are provided in Sec. A.2. This image sequence, together with the corresponding constructed question q, is then used to predict an answer. We use the predicted answers and ground-truth answer to optimize the model exploring two techniques, SFT and GRPO.
|
| 90 |
+
|
| 91 |
+
[p. 5 | section: 3.4 SFT AND GRPO OPTIMIZATION | type: Text]
|
| 92 |
+
SFT optimization. We use the predicted answers and the ground-truth answers to calculate the SFT loss to optimize the models. The SFT loss is computed as:
|
| 93 |
+
|
| 94 |
+
[p. 5 | section: 3.4 SFT AND GRPO OPTIMIZATION | type: Equation]
|
| 95 |
+
\mathcal{L}_{SFT} = -\sum_{t=1}^{T} \log p_{\theta}(y_t \mid y_{< t}, \hat{\mathbf{u}}, q), \tag{4}
|
| 96 |
+
|
| 97 |
+
[p. 5 | section: 3.4 SFT AND GRPO OPTIMIZATION | type: Text]
|
| 98 |
+
where y t is the t-th token of the ground-truth answer, and y<t are the preceding tokens. This formulation applies generally to both masked and autoregressive image generation models. The variable uˆ denotes the generated image token sequence, which includes differentiably sampled tokens and serves as input to the answer generation module. This formulation is compatible with both masked and autoregressive image generation models. The SFT loss enables joint optimization of image generation and understanding tasks by allowing gradients to flow through the image tokens.
|
| 99 |
+
|
| 100 |
+
[p. 5 | section: 3.4 SFT AND GRPO OPTIMIZATION | type: Text]
|
| 101 |
+
GRPO optimization. We also adopt Group Relative Policy Optimization (GRPO) to optimize the unified multimodal models. During the GRPO phase, the model takes a prompt p and generates a group of K images {uˆ1, . . . , uˆK}. Each image uˆk, together with its corresponding question q, is then fed back into the model to produce a predicted answer aˆk. A reward r k = r(ˆak) is computed by comparing the predicted answer to the ground-truth answer a ∗ , based on the designed reward function. Similar to SFT, we also apply the Straight-Through Gumbel-Softmax estimator to enable differentiable sampling of image tokens, allowing gradients to propagate through both generation and understanding tasks. The overall GRPO loss is defined as:
|
| 102 |
+
|
| 103 |
+
[p. 6 | section: 3.4 SFT AND GRPO OPTIMIZATION | type: Equation]
|
| 104 |
+
\mathcal{L}(\theta) = \mathbb{E}_{\substack{x \sim D, \\ \{\hat{a}_k\} \sim \pi_{\theta_{\text{old}}}}} \left[ -\sum_{k=1}^{K} w_k \log p_{\theta} (\hat{a}_k \mid \hat{\mathbf{u}}_k, q) \right] + \beta \operatorname{KL}(p_{\theta}(a \mid \hat{\mathbf{u}}, q) \parallel p_{\theta_{\text{ref}}}(a \mid \hat{\mathbf{u}}, q)), \quad (5)
|
| 105 |
+
|
| 106 |
+
[p. 6 | section: 3.4 SFT AND GRPO OPTIMIZATION | type: Text]
|
| 107 |
+
where the importance weight w_k is computed as:
|
| 108 |
+
|
| 109 |
+
[p. 6 | section: 3.4 SFT AND GRPO OPTIMIZATION | type: Equation]
|
| 110 |
+
w_k = \frac{\exp\left(\alpha \left(r_k - r_{\text{mean}}\right)\right)}{\sum_{j=1}^K \exp\left(\alpha \left(r_j - r_{\text{mean}}\right)\right)},
|
| 111 |
+
|
| 112 |
+
[p. 6 | section: 3.4 SFT AND GRPO OPTIMIZATION | type: Text]
|
| 113 |
+
with r_{\rm mean} denoting the average reward within the group and \alpha controlling the sharpness of the weight distribution.
|
| 114 |
+
|
| 115 |
+
[p. 6 | section: 3.4 SFT AND GRPO OPTIMIZATION | type: Text]
|
| 116 |
+
The first term in the loss is the GRPO objective, which applies a weighted log-likelihood over the K sampled answers. \pi_{\theta_{\rm old}} is the fixed sampling policy, typically a frozen copy of the model, while \pi_{\theta} (or p_{\theta} ) is the current policy being optimized. Rewards are centered by subtracting the group mean r_{\rm mean} , scaled by temperature \alpha , and converted into weights w_k to emphasize better answers. The second term is a KL penalty, scaled by \beta , to keep the updated policy close to a reference model, improving stability and preventing mode collapse.
|
| 117 |
+
|
| 118 |
+
[p. 6 | section: 3.4 SFT AND GRPO OPTIMIZATION | type: Text]
|
| 119 |
+
Importantly, because the image tokens \hat{\mathbf{u}}_k are sampled in a differentiable manner, the reward signals from answer prediction can flow through both the understanding and image generation branches. This enables effective end-to-end optimization of both tasks.
|
| 120 |
+
|
| 121 |
+
[p. 6 | section: 3.4 SFT AND GRPO OPTIMIZATION | type: Text]
|
| 122 |
+
Reward Function. The reward function assigns scores based on alignment between the predicted answer \hat{a}_k and the ground-truth answer a^* . While the specific reward criteria vary by question category, all rewards are based on two main components: (1) correct identification of object names, and (2) accurate prediction of associated attributes, such as number, color, or spatial position. The detailed reward rules for each category are summarized in Sec. A.10.
|
| 123 |
+
|
| 124 |
+
[p. 6 | section: 3.5 END-TO-END TRAINING VS. NON-END-TO-END TRAINING | type: Text]
|
| 125 |
+
Unified multimodal models such as Show-o (Xie et al., 2024), Emu3 (Wang et al., 2024), Chameleon (Team, 2024), and Vila-u (Wu et al., 2024c) use shared image representations—typically via VQGAN (Esser et al., 2021) or custom tokenizers—allowing end-to-end training. Gradients from MMU loss can flow through the T2I module via the Straight-Through Gumbel-Softmax estimator. In contrast, Janus (Wu et al., 2024a) and JanusPro (Chen et al., 2025b) use separate representations: discrete tokens for T2I and ViT features (Dosovitskiy et al., 2021) for MMU. This mismatch prevents effective gradient flow; although gradients can technically propagate, they cannot meaningfully guide the discrete tokens, often leading to unstable training.
|
| 126 |
+
|
| 127 |
+
[p. 6 | section: 3.5 END-TO-END TRAINING VS. NON-END-TO-END TRAINING | type: Text]
|
| 128 |
+
To handle such cases, we adopt a non-end-to-end training strategy. For T2I, rewards computed from MMU performance are used to directly optimize the image generation module. Conversely, for MMU, the model generates images, answers the corresponding questions, and uses the rewards to update the MMU branch. In the end-to-end setting, a unified GRPO loss is used to jointly optimize both tasks. In contrast, the non-end-to-end setting applies separate GRPO objectives to T2I and MMU. Although the two modules are trained independently, reward signals still enable cross-task interaction, mitigating the limitations of mismatched representations. Full details and loss formulas are provided in the Sec. A.3.
|
| 129 |
+
|
| 130 |
+
[p. 6 | section: 3.6 The balance between image understanding and generation | type: Text]
|
| 131 |
+
To evaluate the balance between text-to-image generation (T2I) and multimodal understanding (MMU), we propose a bidirectional evaluation metric with two chains: T2I→MMU and MMU→T2I. In T2I→MMU, the model generates an image from a prompt and answers a question only if the image is correct; we then compute the answer accuracy. In MMU→T2I, the model first answers a question based on a given image; if correct, we regenerate the image from the prompt and evaluate its
|
| 132 |
+
|
| 133 |
+
[p. 6 | section: 3.6 The balance between image understanding and generation | type: TableGroup]
|
| 134 |
+
Table 1: Performance of the proposed metric for evaluating the imbalance between two tasks. Method Accuracy_{MMU\mid T2I} Accuracy T2I|MMU Show-o 0.83 0.70 Janus 0.67 0.68 JanusPro 0.69 0.85 Vila-u 0.68 0.85
|
| 135 |
+
|
| 136 |
+
[p. 7 | section: 3.6 The balance between image understanding and generation | type: Text]
|
| 137 |
+
quality. This setup assesses the consistency between generation and understanding. The conditional accuracies are defined as:
|
| 138 |
+
|
| 139 |
+
[p. 7 | section: 3.6 The balance between image understanding and generation | type: Equation]
|
| 140 |
+
Accuracy_{MMU|T2I} = \frac{N_{A \cap I}}{N_{I}}, \quad Accuracy_{T2I|MMU} = \frac{N_{A \cap I}}{N_{A}}. (6)
|
| 141 |
+
|
| 142 |
+
[p. 7 | section: 3.6 The balance between image understanding and generation | type: Text]
|
| 143 |
+
N I denotes the number of correctly generated images, N A the number of correctly answered questions, and NA∩ I the number of samples where both are correct. These metrics quantitatively assess the consistency between generation and understanding. AccuracyMMU|T2I measures answer correctness given a correct image, while AccuracyT2I|MMU measures image correctness given a correct answer. This bidirectional formulation evaluates the alignment between the two tasks beyond isolated performance. As shown in Tab. 1, we apply this metric to several unified models, including Show-o (Xie et al., 2024) , Janus (Wu et al., 2024a) , Janus-Pro (Chen et al., 2025b) , and Vila-u (Wu et al., 2024c) , and observe that task imbalance is consistently present across all models. More details can be seen in Sec. A.1.
|
| 144 |
+
|
| 145 |
+
[p. 7 | section: 4.1 IMPLEMENTATION DETAILS | type: Text]
|
| 146 |
+
We evaluate our method on two base models: Show-o (Xie et al., 2024) and Janus (Wu et al., 2024a) . For Show-o, we adopt end-to-end training. The SFT stage uses a global batch size of 16 for 5,000 iterations, and the GRPO stage is configured with a global batch size of 24, a KL coefficient β = 0.2, and 3,000 training steps on 8 H100 GPUs. During inference, we set the guidance scale to 2, diffusion steps to 16, and resolution to 512. For Janus, due to its use of different representations for generation and understanding, we apply a non-end-to-end training strategy. The model is trained with a global batch size of 64 for 1,000 iterations using the same KL coefficient. Inference is performed with a guidance scale of 5 and resolution of 384. More implementation details can be seen in Sec. A.1.
|
| 147 |
+
|
| 148 |
+
[p. 7 | section: 4.2 QUANTITATIVE RESULTS | type: Text]
|
| 149 |
+
Baselines and our method. We compare our method against several baselines. Original Model. We evaluate the performance of the pretrained model without any post-training. HermesFlow. (Yang et al., 2025b) This method fine-tunes the Show-o model with DPO optimization on the JourneyDB dataset (Sun et al., 2023a) . We evaluate two variants of our post-training framework: UniRL (SFT). Our method using supervised fine-tuning (SFT) without reinforcement learning. UniRL (GRPO). Our method using Group Relative Policy Optimization (GRPO). For the Janus model, we only compare our GRPO-based method with the original model, as applying SFT leads to unstable training and failure. The specific reasons are discussed in Sec. 4.4.
|
| 150 |
+
|
| 151 |
+
[p. 7 | section: 4.2 QUANTITATIVE RESULTS | type: Text]
|
| 152 |
+
Text to image generation. For the image generation task, we evaluate model performance using three benchmarks: GenEval (Ghosh et al., 2023) , DSG-1K (Cho et al., 2024) , and CLIP-Score (Radford et al., 2021) . To calculate the CLIP score, we use 2,000 generated images sampled from the GenEval and DSG-1K benchmarks. As shown in Tab. 2, our method with SFT improves the GenEval score from 0.60 to 0.76, while the GRPO-based variant achieves 0.71—both outperforming the baselines by a large margin. In addition, our approach yields notable gains on DSG-1K and CLIP-Score, demonstrating the effectiveness of our post-training strategy in improving image generation quality. More results will be shown in Sec. A.4.
|
| 153 |
+
|
| 154 |
+
[p. 7 | section: 4.2 QUANTITATIVE RESULTS | type: Text]
|
| 155 |
+
We conduct a human evaluation with diverse prompts and find that 85% of participants prefer our method over Show-o (Sec. A.6) . Through three benchmarks and human evaluation, we demonstrate that our method substantially improves T2I capacity, and the gains are general rather than limited to the GenEval domain. Furthermore, we conduct a distribution analysis between the training and test prompt sets in Sec. A.9.
|
| 156 |
+
|
| 157 |
+
[p. 7 | section: 4.2 QUANTITATIVE RESULTS | type: Text]
|
| 158 |
+
Multimodal understanding. We evaluate the model's ability to understand natural visual features across six categories: single object , two objects , counting , colors , position , and color attributes . These categories capture core aspects of visual understanding, including object recognition, counting, color perception, and spatial reasoning—fundamental properties of natural images. To assess generalization
|
| 159 |
+
|
| 160 |
+
[p. 8 | section: 4.2 QUANTITATIVE RESULTS | type: TableGroup]
|
| 161 |
+
Table 2: Comparison of UniRL with baseline methods across Text-to-Image (T2I) benchmarks. Method GenEval ↑ DSG-1K↑ Clip score ↑ Single. Two. Count. Colors Posi. Attri. Overall r 1 Show-o 0.96 0.64 0.67 0.81 0.25 0.37 0.60 0.77 0.331 HermersFlow 0.97 0.67 0.65 0.77 0.28 0.42 0.61 0.78 0.334 UniRL(SFT) 0.99 0.93 0.62 0.89 0.55 0.68 0.77 0.82 0.337 UniRL(GRPO) 0.95 0.77 0.65 0.82 0.50 0.60 0.71 0.80 0.335 Janus 0.96 0.64 0.29 0.81 0.49 0.46 0.60 0.80 0.332 UniRL(GRPO) 0.95 0.74 0.27 0.81 0.62 0.52 0.65 0.81 0.335 Table 4: Comparison using our proposed metric to evaluate the imbalance between the two tasks.
|
| 162 |
+
|
| 163 |
+
[p. 8 | section: 4.2 QUANTITATIVE RESULTS | type: Table]
|
| 164 |
+
Method Acc uracy MN /U|T2I Acci uracy T21 MMU Single. Two. Count. Colors Posi. Attri. Overall ↑ Single. Two. Count. Colors Posi. Attri. Overall↑ Show-o 0.98 0.89 0.92 0.94 0.10 0.61 0.83 0.96 0.66 0.67 0.85 0.18 0.41 0.70 HermesFlow 0.99 0.85 0.90 0.96 0.23 0.57 0.83 0.97 0.68 0.69 0.84 0.24 0.41 0.71 UniRL(SFT) 0.11 0.99 0.97 0.99 0.83 0.98 0.81 0.99 0.95 0.58 0.93 0.60 0.74 0.80 UniRL(GRPO) 0.99 0.97 0.90 0.99 0.81 0.85 0.93 0.97 0.85 0.70 0.90 0.67 0.68 0.81 Janus 0.91 0.59 0.71 0.96 0.20 0.42 0.67 0.95 0.67 0.27 0.90 0.39 0.49 0.68 UniRL(GRPO) 0.94 0.78 0.52 0.98 0.31 0.77 0.76 0.96 0.76 0.34 0.88 0.63 0.59 0.74
|
| 165 |
+
|
| 166 |
+
[p. 8 | section: 4.2 QUANTITATIVE RESULTS | type: Text]
|
| 167 |
+
beyond the training distribution, we use images generated by external models such as JanusPro. The generated images, along with their corresponding questions, are then fed into the target model to evaluate its understanding capabilities on out-of-distribution visual inputs. We compute the accuracy for each categories, allowing a fine-grained analysis of the model's generalization across different aspects of visual understanding.
|
| 168 |
+
|
| 169 |
+
[p. 8 | section: 4.2 QUANTITATIVE RESULTS | type: Text]
|
| 170 |
+
As shown in Tab. 3, our SFT-based method performs slightly worse than the original model, primarily due to overfitting, particularly in the single-object category. In contrast, our GRPO-based method achieves an overall score of 0.79, significantly outperforming all baselines. The underlying reasons are analyzed in Sec. 4.4, and further evaluation details as well as broader benchmark results, including POPE (Li et al., 2023a) and MMMU (Yue et al., 2024), are presented in Sec. A.1 and Sec. A.5.
|
| 171 |
+
|
| 172 |
+
[p. 8 | section: 4.2 QUANTITATIVE RESULTS | type: Caption]
|
| 173 |
+
The imbalance between two tasks. To evaluate the balance between image understanding and generation, we apply our proposed metric, as shown in Tab. 4. The prompts used for Accuracy<sub>MMU|T2I</sub> are taken from the GenEval benchmark, while those for Accuracy<sub>T2I|MMU</sub> are aligned with the MMU evaluation setup. The results show that our GRPO-based method significantly reduces the imbalance between the
|
| 174 |
+
|
| 175 |
+
[p. 8 | section: 4.2 QUANTITATIVE RESULTS | type: TableGroup]
|
| 176 |
+
Table 3: Comparison of UniRL with baseline methods across Multi-modal Understanding(MMU) benchmarks. across main modui Ciia orotaire ****** 11110 , ounc Jiiiiidi Ito Method Single. Two. Count. Colors Posi. Attri. Overall† Show-o 0.99 0.88 0.79 0.98 0.20 0.54 0.71 HermesFlow 0.99 0.88 0.79 0.98 0.34 0.52 0.73 UniRL(SFT) 0.08 0.87 0.71 0.99 0.45 0.85 0.67 UniRL(GRPO) 0.92 0.88 0.77 0.94 0.46 0.72 0.79 Janus 0.93 0.93 0.92 0.97 0.38 0.74 0.84 UniRL(GRPO) 0.94 0.95 0.83 0.99 0.52 0.89 0.88
|
| 177 |
+
|
| 178 |
+
[p. 8 | section: 4.2 QUANTITATIVE RESULTS | type: Text]
|
| 179 |
+
two tasks. For certain subtasks, the model achieves nearly 100% accuracy, indicating strong consistency between generation and understanding. We further analyze the causes of task imbalance in Sec. A.12.
|
| 180 |
+
|
| 181 |
+
[p. 8 | section: 4.3 VISUALIZATION RESULTS | type: Text]
|
| 182 |
+
As shown in Fig. 3, we present qualitative comparisons between our method and the original models on both tasks. Our approach produces more visually faithful generations conditioned on prompts and yields more accurate answers for corresponding questions, demonstrating improved consistency across the two tasks. More results will be shown in Sec. A.7.
|
| 183 |
+
|
| 184 |
+
[p. 8 | section: 4.4 ANALYSIS OF SFT VS. GRPO | type: Text]
|
| 185 |
+
From these experimental results, we can draw some key observations.
|
| 186 |
+
|
| 187 |
+
[p. 9 | section: 4.4 ANALYSIS OF SFT VS. GRPO | type: FigureGroup]
|
| 188 |
+
Figure 3: Qualitative comparison of our method with the original models on both text-to-image generation (T2I) and multimodal understanding (MMU) tasks.
|
| 189 |
+
|
| 190 |
+
[p. 9 | section: 4.4 ANALYSIS OF SFT VS. GRPO | type: Text]
|
| 191 |
+
Observation 1: SFT is more prone to overfitting and memorization than GRPO in the image understanding task.
|
| 192 |
+
|
| 193 |
+
[p. 9 | section: 4.4 ANALYSIS OF SFT VS. GRPO | type: Text]
|
| 194 |
+
As shown in Tab. 3, SFT performs significantly worse than both the original model and GRPO on the single object category, where the training and test sets are fully disjoint in both examples and object types. In contrast, categories like position and colors share abstract features (e.g., position or color attributes), which partially mitigate overfitting. Compared to SFT, GRPO demonstrates better generalization under the same conditions.
|
| 195 |
+
|
| 196 |
+
[p. 9 | section: 4.4 ANALYSIS OF SFT VS. GRPO | type: Text]
|
| 197 |
+
Observation 2: In the generation task, SFT outperforms GRPO under an end-to-end training pipeline.
|
| 198 |
+
|
| 199 |
+
[p. 9 | section: 4.4 ANALYSIS OF SFT VS. GRPO | type: Text]
|
| 200 |
+
As shown in Tab. 2, SFT achieves better T2I results than GRPO, with no noticeable overfitting. We hypothesize two reasons for this difference. (1) MMU is more prone to overfitting than T2I, as it mainly learns from text token patterns, while T2I involves more structured image reconstruction. (2) Our training pipeline is end-to-end. The SFT supervision signal for MMU is more direct and localized, whereas for T2I it is more indirect and distributed, which may promote better generalization in image generation. Under indirect supervision in T2I, SFT may optimize more effectively, as its loss is directly based on ground-truth answers. More analysis will be discussed in Sec. A.8.
|
| 201 |
+
|
| 202 |
+
[p. 9 | section: 4.4 ANALYSIS OF SFT VS. GRPO | type: Text]
|
| 203 |
+
Observation 3: For non-end-to-end training setups such as Janus, SFT leads to failure in the image generation task.
|
| 204 |
+
|
| 205 |
+
[p. 9 | section: 4.4 ANALYSIS OF SFT VS. GRPO | type: Text]
|
| 206 |
+
If we directly use the model's generated images to supervise T2I at each iteration, training will become unstable. We speculate that early-stage generation errors are repeatedly reinforced, leading to input distribution drift and eventual collapse. Therefore, for unified models with different representations for the two tasks, only the GRPO-based method is effective for improving performance. More analysis will be discussed in Sec. A.8.
|
| 207 |
+
|
| 208 |
+
[p. 9 | section: 4.4 ANALYSIS OF SFT VS. GRPO | type: Text]
|
| 209 |
+
Overall, GRPO is a more general and robust optimization strategy compared to SFT. Regardless of the specific task or model architecture—whether the two tasks share the same image representation or not—GRPO consistently improves performance and effectively reduces the imbalance between generation and understanding. In contrast, while SFT tends to perform better on tasks like T2I in end-to-end setups (e.g., Show-o), it is more prone to memorization and overfitting.
|
| 210 |
+
|
| 211 |
+
[p. 9 | section: 5 CONCLUSION | type: Text]
|
| 212 |
+
In this work, we propose a self-improving post-training method for unified multimodal models. By combining supervised fine-tuning (SFT) with Group Relative Policy Optimization (GRPO), our approach improves both generation and understanding performance while reducing task imbalance. Experiments on Show-o and Janus validate the effectiveness of our method.
|
iclr26/5K9XW9gQ5r/paper.blocks.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
iclr26/5K9XW9gQ5r/paper.md
ADDED
|
@@ -0,0 +1,587 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
{0}------------------------------------------------
|
| 4 |
+
|
| 5 |
+
# UNIRL: SELF-IMPROVING UNIFIED MULTIMODAL MODELS VIA SUPERVISED AND REINFORCEMENT LEARNING
|
| 6 |
+
|
| 7 |
+
Anonymous authors Paper under double-blind review
|
| 8 |
+
|
| 9 |
+
**000**
|
| 10 |
+
|
| 11 |
+
**003 004**
|
| 12 |
+
|
| 13 |
+
**006**
|
| 14 |
+
|
| 15 |
+
**024**
|
| 16 |
+
|
| 17 |
+
**028 029 030**
|
| 18 |
+
|
| 19 |
+
**052 053**
|
| 20 |
+
|
| 21 |
+
## ABSTRACT
|
| 22 |
+
|
| 23 |
+
Unified multimodal large language models such as Show-o and Janus have achieved strong performance across both generation and understanding tasks. However, these models typically rely on large-scale datasets and require substantial computation during the pretraining stage. In addition, several post-training methods have been proposed, but they often depend on external data or are limited to task-specific customization. In this work, we introduce UniRL, a self-improving post-training approach. Our approach enables the model to generate images from prompts and use them as training data in each iteration, without relying on any external image data. Moreover, it enables the two tasks to enhance each other: the generated images are used for understanding, and the understanding results are used to supervise generation. We explore supervised fine-tuning (SFT) and Group Relative Policy Optimization (GRPO) to optimize the models. UniRL offers three key advantages: (1) it requires no external image data, as all training samples are generated by the model itself during training; (2) it not only improves individual task performance, but also reduces the imbalance between generation and understanding; and (3) it requires only several additional training steps during the post-training stage. We evaluate UniRL on top of Show-o and Janus, achieving a GenEval score of 0.77 for Show-o and 0.65 for Janus. Code and models will be released.
|
| 24 |
+
|
| 25 |
+
## 1 INTRODUCTION
|
| 26 |
+
|
| 27 |
+
Unified multimodal large language models are designed to handle both generation and understanding tasks within a shared parameter space. Recently, models such as Show-o, Janus, and others [\(Xie et al.,](#page-12-0) [2024;](#page-12-0) [Wu et al., 2024a;](#page-11-0) [Ma et al., 2024;](#page-11-1) [Zhou et al., 2024;](#page-12-1) [Wang et al., 2024\)](#page-11-2) have made rapid progress by adopting various architectural and training strategies. Most existing work focuses on the pretraining stage, leveraging large-scale data to train models built upon large language models (LLMs) [\(Li et al.,](#page-10-0) [2023b;](#page-10-0) [Abdin et al., 2024;](#page-9-0) [Touvron et al., 2023\)](#page-11-3) or multimodal LLMs (MLLMs) [\(Bai et al., 2023;](#page-9-1) [Liu et al., 2024d;](#page-11-4)[c\)](#page-10-1). However, these methods often face challenges such as high computational cost and the need for vast amounts of data. Meanwhile, several studies [\(Yang et al., 2025b;](#page-12-2) [Guo et al.,](#page-10-2) [2025;](#page-10-2) [Li et al., 2025\)](#page-10-3) have explored the post-training phase, but they face limitations: some require additional external data [\(Yang et al., 2025b;](#page-12-2) [Zhao et al., 2025;](#page-12-3) [Li et al., 2025\)](#page-10-3), others target only a single task [\(Guo et al., 2025;](#page-10-2) [Li et al., 2025\)](#page-10-3), or focus on task-specific customization [\(Zhao et al.,](#page-12-3) [2025\)](#page-12-3). Therefore, developing effective post-training methods to improve the performance of unified multimodal models remains a significant challenge.
|
| 28 |
+
|
| 29 |
+
In this work, we propose a self-improving post-training method for unified multimodal models without external image data. We begin by constructing prompts and question–answer (QA) pairs inspired by the GenEval [\(Ghosh et al., 2023\)](#page-10-4) benchmark, which evaluates generation quality by categorizing prompts into six types—such as counting, color, and position—designed to reflect fundamental visual features of natural images. We adopt this categorization to design the prompts used in our training process. In each training iteration, a constructed prompt is fed into the model to generate a group of images. These images, along with the corresponding questions, are then input back into the model to predict answers. The model is optimized using both the predicted and ground-truth answers to improve generation and understanding simultaneously. For optimization, we explore two strategies: supervised fine-tuning (SFT) and reinforcement learning.
|
| 30 |
+
|
| 31 |
+
{1}------------------------------------------------
|
| 32 |
+
|
| 33 |
+
<span id="page-1-0"></span>Figure 1: The imbalance between Text-to-Image Generation (T2I) and Multi-modal Understanding (MMU). For the same image, unified multimodal models may struggle to perform both generation and understanding consistently.
|
| 34 |
+
|
| 35 |
+
In the post-training stage, supervised fine-tuning (SFT) and reinforcement learning have traditionally been widely used. Recently, Group Relative Policy Optimization (GRPO) (Shao et al., 2024), a reinforcement learning method, has shown strong performance in large language models (LLMs) (DeepSeek-AI et al., 2025), enabling effective post-training optimization through chain-of-thought (CoT) reasoning. In this work, we explore two optimization strategies—SFT and GRPO—for unified multimodal models and analyze the advantages of each strategy. Previous applications of GRPO typically rely on chain-of-thought outputs to estimate reward distributions. However, most current unified multimodal models lack the ability to produce structured reasoning steps. Therefore, we explore a GRPO-based method that does not rely on reasoning outputs, aiming to improve the performance of unified multimodal models.
|
| 36 |
+
|
| 37 |
+
For the performance of the unified multimodal models, we define it along three dimensions: (1) image generation capability, (2) image understanding capability, and (3) the balance between the two. While prior work has primarily focused on improving performance for a single task, unified multimodal models frequently exhibit poor alignment between the two capabilities. As shown in Fig. 1, these models often fail to simultaneously support both tasks on the same image. The model may succeed in generating a plausible image but fail to answer the corresponding question, or fail in generation while answering correctly. Therefore, beyond improving individual tasks, our self-improving method explicitly targets the imbalance between image generation and understanding. To quantitatively assess this imbalance, we design a new evaluation metric. While visual understanding spans a wide range of tasks, including reasoning and mathematical problem solving, we focus on basic visual features of natural images—such as object count, color, and position—in both training and evaluation to ensure alignment between generation and understanding tasks.
|
| 38 |
+
|
| 39 |
+
Our method offers three main advantages. (1) It does not rely on external image data, using only images generated in real time during training. (2) It improves the performance of individual tasks while also reducing the imbalance between generation and understanding. Specifically, the same set of generated images is used for both tasks, enabling shared supervision that helps improve the imbalance between them. (3) It requires only a small number of training steps during the post-training stage. To evaluate our method, we adopt Show-o and Janus as base models, assessing improvements in both single-task performance and the balance between tasks. Our approach achieves post-training GenEval scores of 0.77 on Show-o and 0.65 on Janus.
|
| 40 |
+
|
| 41 |
+
Our main contributions are summarized as follows:
|
| 42 |
+
|
| 43 |
+
- To the best of our knowledge, we propose the first self-improving post-training optimization method for unified multimodal models via supervised and reinforcement learning.
|
| 44 |
+
- We investigate the effectiveness of both supervised fine-tuning (SFT) and Group Relative Policy Optimization (GRPO) for unified multimodal models, and provide a detailed comparison of their respective performance.
|
| 45 |
+
|
| 46 |
+
{2}------------------------------------------------
|
| 47 |
+
|
| 48 |
+
- We introduce a new metric to quantify the imbalance between generation and understanding tasks within a single model. Our evaluations across multiple unified models reveal that such imbalance is common.
|
| 49 |
+
- Our method substantially improves image generation and understanding quality and effectively reduces task imbalance, enabling better consistency between text-to-image generation and multimodal understanding.
|
| 50 |
+
|
| 51 |
+
## 2 RELATED WORK
|
| 52 |
+
|
| 53 |
+
**114 115**
|
| 54 |
+
|
| 55 |
+
## 2.1 UNIFIED MULTIMODAL UNDERSTANDING AND GENERATION
|
| 56 |
+
|
| 57 |
+
Several recent studies [\(Ge et al., 2024;](#page-10-5) [Wu et al., 2023;](#page-12-4) [Team, 2024;](#page-11-6) [Xie et al., 2024;](#page-12-0) [Liu et al., 2024b;](#page-10-6) [Sun et al., 2023b;](#page-11-7) [Zhou et al., 2024;](#page-12-1) [Tang et al., 2024;](#page-11-8) [Dong et al., 2024;](#page-9-3) [Wang et al., 2024;](#page-11-2) [Ma et al.,](#page-11-1) [2024;](#page-11-1) [Liu et al., 2024a;](#page-10-7) [Wu et al., 2024b;](#page-12-5) [Shi et al., 2024;](#page-11-9) [Anil et al., 2023;](#page-9-4) [Qu et al., 2024;](#page-11-10) [Li et al.,](#page-10-8) [2024a;](#page-10-8) [Kou et al., 2024;](#page-10-9) [Li et al., 2024b;](#page-10-10) [Chen et al., 2025b;](#page-9-5) [Tong et al., 2024\)](#page-11-11) have explored unified transformers capable of both generation and comprehension. Chameleon [\(Team, 2024\)](#page-11-6),Emu3 [\(Wang](#page-11-2) [et al., 2024\)](#page-11-2), Janus [\(Wu et al., 2024a\)](#page-11-0), JanusPro [\(Chen et al., 2025b\)](#page-9-5) adopt autoregressive methods for both tasks. SEED-X [\(Ge et al., 2024\)](#page-10-5) incorporates a diffusion model alongside a large language model to support multimodal generation and understanding. While both Show-o [\(Xie et al., 2024\)](#page-12-0) and JanusFlow [\(Ma et al., 2024\)](#page-11-1) use autoregression for understanding, the former adopts discrete diffusion for generation, whereas the latter employs flow matching. These models primarily focus on the pretraining stage using different methods for different tasks. These approaches require substantial training time and large-scale training data. Some studies [\(Mao et al., 2025;](#page-11-12) [Guo et al., 2025\)](#page-10-2) have explored more efficient training or inference strategies. In this work, we take Show-o and Janus as our base model and explore post-training optimization techniques to further improve unified multimodal performance.
|
| 58 |
+
|
| 59 |
+
## 2.2 GRPO IN LLM AND MLLMS
|
| 60 |
+
|
| 61 |
+
Supervised fine-tuning (SFT) and reinforcement learning have been widely adopted in the posttraining of large language models (LLMs) [\(Jaech et al., 2024;](#page-10-11) [Li et al., 2023b;](#page-10-0) [Abdin et al., 2024;](#page-9-0) [Touvron et al., 2023\)](#page-11-3) and multimodal LLMs (MLLMs) [\(Bai et al., 2023;](#page-9-1) [Liu et al., 2024d\)](#page-11-4). Group Relative Policy Optimization (GRPO) is introduced in [\(Shao et al., 2024\)](#page-11-5) to optimize LLMs by generating a group of chain-of-thought outputs and applying a task-specific reward function to guide learning. More recently, GRPO has also been explored in the context of MLLMs [\(Chen et al., 2025a\)](#page-9-6). In addition to GRPO, other reinforcement learning approaches such as Direct Preference Optimization (DPO) [\(Rafailov et al., 2023;](#page-11-13) [Yang et al., 2025b\)](#page-12-2) and Proximal Policy Optimization (PPO) [\(Schulman](#page-11-14) [et al., 2017\)](#page-11-14) have also been applied to both LLMs and MLLMs. Hermesflow [\(Yang et al., 2025b\)](#page-12-2) and Emu3 [\(Wang et al., 2024\)](#page-11-2) use DPO to optimize unified multimodal models. However, PPO requires a separate value network to estimate the baseline, and DPO relies on predefined positive and negative examples, which introduces additional complexity. In our work, we explore SFT and GRPO method to optimize unified multimodal models and improve their generation and understanding performance during the post-training stage.
|
| 62 |
+
|
| 63 |
+
## 3 METHOD
|
| 64 |
+
|
| 65 |
+
In this section, we first introduce the background of unified multimodal models and the GRPO optimization method (Sec[.3.1\)](#page-2-0). We then describe the construction of training prompts (Sec[.A.11\)](#page-16-0), the proposed self-improving framework (Sec[.3.3\)](#page-3-0), and two optimization strategies: SFT and GRPO (Sec[.3.4\)](#page-4-0). We also present a non-end-to-end training approach designed for models that use different image representations in the two tasks (Sec[.3.5\)](#page-5-0). Finally, we introduce a new metric to evaluate the imbalance between the two tasks (Sec[.3.6\)](#page-5-1). The pipeline of training is shown in Fig. [2.](#page-4-1)
|
| 66 |
+
|
| 67 |
+
## <span id="page-2-0"></span>3.1 PRELIMINARY
|
| 68 |
+
|
| 69 |
+
Unified Multimodal Models. Unified multimodal models can be divided into two main categories: (1) both generation and understanding tasks use autoregressive methods; (2) generation makes use of
|
| 70 |
+
|
| 71 |
+
{3}------------------------------------------------
|
| 72 |
+
|
| 73 |
+
diffusion or flow matching while comprehension relies on autoregressive methods. We focus on two example models: **Show-o** (Xie et al., 2024) and **Janus** (Wu et al., 2024a).
|
| 74 |
+
|
| 75 |
+
In Show-o, the text tokens are denoted as $T = \{t_1, \ldots, t_N\}$ and the image tokens as $I = \{i_1, \ldots, i_M\}$ . The training objective includes two components: one maximizes the likelihood of each text token given all previous text and image tokens; the other reconstructs masked image tokens based on the remaining image tokens and the full text sequence. The two loss terms are:
|
| 76 |
+
|
| 77 |
+
$$\mathcal{L}_{\text{NTP}} = \sum_{n=1}^{N} \log p_{\theta} (t_n \mid t_{1:n-1}, i_{1:M}), \quad \mathcal{L}_{\text{MTP}} = \sum_{m=1}^{M} \log p_{\theta} (i_m^* \mid i_{1:m-1}, i_{m+1:M}, t_{1:N}). \quad (1)$$
|
| 78 |
+
|
| 79 |
+
Janus uses only the NTP objective, predicting every next token (image or text) in a single autoregressive pass.
|
| 80 |
+
|
| 81 |
+
Group Relative Policy Optimization(GRPO) We use a reinforcement learning method called Group Relative Policy Optimization (GRPO) (Shao et al., 2024), which optimizes the model by comparing a group of generated outputs and assigning relative rewards. Suppose inputs x come from a distribution D. For each $x \sim D$ , we sample M candidate outputs $\{y_j\}_{j=1}^M$ under an old policy $\pi_{\varphi_{\text{old}}}$ . We then update our new policy $\pi_{\varphi}$ by maximising the following objective:
|
| 82 |
+
|
| 83 |
+
$$L(\varphi) = \mathbb{E}_{\substack{x \sim D, \\ \{y_j\} \sim \pi_{\varphi_{\text{old}}}}} \left[ \frac{1}{M} \sum_{j=1}^{M} \min(s_j A_j, \operatorname{clip}(s_j, 1 - \delta, 1 + \delta) Z_j) \right] - \lambda D_{\text{KL}}(\pi_{\varphi} \parallel \pi_{\psi}), \quad (2)$$
|
| 84 |
+
|
| 85 |
+
where
|
| 86 |
+
|
| 87 |
+
$$s_j = \frac{\pi_{\varphi}(y_j \mid x)}{\pi_{\varphi_{\text{old}}}(y_j \mid x)}, \quad A_j = \frac{R_j - \text{mean}(R_1, \dots, R_M)}{\text{std}(R_1, \dots, R_M)}.$$
|
| 88 |
+
|
| 89 |
+
$R_j$ is the reward for output $y_j$ , $\delta$ sets the clipping range, $\lambda$ weighs the divergence penalty, and $\pi_\psi$ is a fixed reference policy. In the inner sum, $s_j$ measures how the new policy probability differs from the old policy for the same output. Multiplying by the normalised advantage $A_j$ gives a gradient direction. Clipping $s_j$ to $[1-\delta, 1+\delta]$ ensures that no single sample drives the update too far. Averaging over M outputs makes the estimate stable across different group sizes. Finally, subtracting $\lambda D_{\mathrm{KL}}(\pi_\varphi \parallel \pi_\psi)$ discourages large shifts away from a trusted policy, which helps to keep learning smooth.
|
| 90 |
+
|
| 91 |
+
#### 3.2 PROMPT AND QA PAIR CONSTRUCTION
|
| 92 |
+
|
| 93 |
+
In our study, we take inspiration from GenEval (Ghosh et al., 2023) to construct prompt—question—answer pairs. GenEval evaluates image generation models across six categories: single object, two objects, counting, colors, color attributes, and position. We expand the object pool by adding eighty everyday objects with GPT-40 to the eighty from COCO, yielding 160 in total. Following the GenEval procedure, we generate prompts and corresponding questions and answers (e.g., prompt: 'a photo of three vases', question: 'How many items are in this image?', answer: 'three vases'). To avoid data leakage, we reserve GenEval prompts strictly for evaluation, while all training prompts are independently created. Examples are shown in Tab. 8.
|
| 94 |
+
|
| 95 |
+
#### <span id="page-3-0"></span>3.3 Self-improving optimization
|
| 96 |
+
|
| 97 |
+
We propose a self-improving training framework that requires no external image data. In this framework, the image generation and multimodal understanding tasks mutually reinforce each other: the understanding task provides feedback to evaluate and guide image quality, while the generation task supplies training data that enhances the model's understanding capability.
|
| 98 |
+
|
| 99 |
+
As shown in Fig. 2, given a constructed prompt, the model first generates a sequence of image tokens $\mathbf{u} = \{u_1, \dots, u_M\}$ . Regardless of whether the image generation module uses a diffusion-based or autoregressive pipeline, we feed the generated image tokens and the prompt back into the model following the original T2I training process to obtain the image logits. Let $\mathbf{z} = \{z_1, \dots, z_L\}$ denote the output logits corresponding to the L target positions to be predicted.
|
| 100 |
+
|
| 101 |
+
{4}------------------------------------------------
|
| 102 |
+
|
| 103 |
+
**221**
|
| 104 |
+
|
| 105 |
+
**224**
|
| 106 |
+
|
| 107 |
+
**256**
|
| 108 |
+
|
| 109 |
+
<span id="page-4-1"></span>Figure 2: Training pipeline of UniRL (a) SFT Optimization: A prompt is used to generate a single image, which, together with the corresponding question, is used to predict an answer and compute the SFT loss. (b) GRPO Optimization: The same prompt generates a set of images, each paired with the same question to produce multiple answers, which are used to compute the GRPO loss.
|
| 110 |
+
|
| 111 |
+
To enable gradient flow through the discrete image tokens, we apply the Straight-Through Gumbel-Softmax (ST-GS) estimator to obtain differentiable approximations:
|
| 112 |
+
|
| 113 |
+
$$\hat{u}_l = \text{ST-GumbelSoftmax}(z_l), \quad \text{for } l = 1, \dots, L,$$
|
| 114 |
+
(3)
|
| 115 |
+
|
| 116 |
+
resulting in a completed image token sequence uˆ that includes differentiably sampled tokens. The formulation and implementation details of the Straight-Through Gumbel-Softmax estimator are provided in Sec. [A.2.](#page-13-0) This image sequence, together with the corresponding constructed question q, is then used to predict an answer. We use the predicted answers and ground-truth answer to optimize the model exploring two techniques, SFT and GRPO.
|
| 117 |
+
|
| 118 |
+
## <span id="page-4-0"></span>3.4 SFT AND GRPO OPTIMIZATION
|
| 119 |
+
|
| 120 |
+
SFT optimization. We use the predicted answers and the ground-truth answers to calculate the SFT loss to optimize the models. The SFT loss is computed as:
|
| 121 |
+
|
| 122 |
+
$$\mathcal{L}_{SFT} = -\sum_{t=1}^{T} \log p_{\theta}(y_t \mid y_{< t}, \hat{\mathbf{u}}, q), \tag{4}$$
|
| 123 |
+
|
| 124 |
+
where y<sup>t</sup> is the t-th token of the ground-truth answer, and y<t are the preceding tokens. This formulation applies generally to both masked and autoregressive image generation models. The variable uˆ denotes the generated image token sequence, which includes differentiably sampled tokens and serves as input to the answer generation module. This formulation is compatible with both masked and autoregressive image generation models. The SFT loss enables joint optimization of image generation and understanding tasks by allowing gradients to flow through the image tokens.
|
| 125 |
+
|
| 126 |
+
GRPO optimization. We also adopt Group Relative Policy Optimization (GRPO) to optimize the unified multimodal models. During the GRPO phase, the model takes a prompt p and generates a group of K images {uˆ1, . . . , uˆK}. Each image uˆk, together with its corresponding question q, is then fed back into the model to produce a predicted answer aˆk. A reward r<sup>k</sup> = r(ˆak) is computed by comparing the predicted answer to the ground-truth answer a ∗ , based on the designed reward function. Similar to SFT, we also apply the Straight-Through Gumbel-Softmax estimator to enable differentiable sampling of image tokens, allowing gradients to propagate through both generation and understanding tasks. The overall GRPO loss is defined as:
|
| 127 |
+
|
| 128 |
+
{5}------------------------------------------------
|
| 129 |
+
|
| 130 |
+
$$\mathcal{L}(\theta) = \mathbb{E}_{\substack{x \sim D, \\ \{\hat{a}_k\} \sim \pi_{\theta_{\text{old}}}}} \left[ -\sum_{k=1}^{K} w_k \log p_{\theta} (\hat{a}_k \mid \hat{\mathbf{u}}_k, q) \right] + \beta \operatorname{KL}(p_{\theta}(a \mid \hat{\mathbf{u}}, q) \parallel p_{\theta_{\text{ref}}}(a \mid \hat{\mathbf{u}}, q)), \quad (5)$$
|
| 131 |
+
|
| 132 |
+
where the importance weight $w_k$ is computed as:
|
| 133 |
+
|
| 134 |
+
$$w_k = \frac{\exp\left(\alpha \left(r_k - r_{\text{mean}}\right)\right)}{\sum_{j=1}^K \exp\left(\alpha \left(r_j - r_{\text{mean}}\right)\right)},$$
|
| 135 |
+
|
| 136 |
+
with $r_{\rm mean}$ denoting the average reward within the group and $\alpha$ controlling the sharpness of the weight distribution.
|
| 137 |
+
|
| 138 |
+
The first term in the loss is the GRPO objective, which applies a weighted log-likelihood over the K sampled answers. $\pi_{\theta_{\rm old}}$ is the fixed sampling policy, typically a frozen copy of the model, while $\pi_{\theta}$ (or $p_{\theta}$ ) is the current policy being optimized. Rewards are centered by subtracting the group mean $r_{\rm mean}$ , scaled by temperature $\alpha$ , and converted into weights $w_k$ to emphasize better answers. The second term is a KL penalty, scaled by $\beta$ , to keep the updated policy close to a reference model, improving stability and preventing mode collapse.
|
| 139 |
+
|
| 140 |
+
Importantly, because the image tokens $\hat{\mathbf{u}}_k$ are sampled in a differentiable manner, the reward signals from answer prediction can flow through both the understanding and image generation branches. This enables effective end-to-end optimization of both tasks.
|
| 141 |
+
|
| 142 |
+
**Reward Function.** The reward function assigns scores based on alignment between the predicted answer $\hat{a}_k$ and the ground-truth answer $a^*$ . While the specific reward criteria vary by question category, all rewards are based on two main components: (1) correct identification of object names, and (2) accurate prediction of associated attributes, such as number, color, or spatial position. The detailed reward rules for each category are summarized in Sec. A.10.
|
| 143 |
+
|
| 144 |
+
#### <span id="page-5-0"></span>3.5 END-TO-END TRAINING VS. NON-END-TO-END TRAINING
|
| 145 |
+
|
| 146 |
+
Unified multimodal models such as Show-o (Xie et al., 2024), Emu3 (Wang et al., 2024), Chameleon (Team, 2024), and Vila-u (Wu et al., 2024c) use shared image representations—typically via VQGAN (Esser et al., 2021) or custom tokenizers—allowing end-to-end training. Gradients from MMU loss can flow through the T2I module via the Straight-Through Gumbel-Softmax estimator. In contrast, Janus (Wu et al., 2024a) and JanusPro (Chen et al., 2025b) use separate representations: discrete tokens for T2I and ViT features (Dosovitskiy et al., 2021) for MMU. This mismatch prevents effective gradient flow; although gradients can technically propagate, they cannot meaningfully guide the discrete tokens, often leading to unstable training.
|
| 147 |
+
|
| 148 |
+
To handle such cases, we adopt a non-end-to-end training strategy. For T2I, rewards computed from MMU performance are used to directly optimize the image generation module. Conversely, for MMU, the model generates images, answers the corresponding questions, and uses the rewards to update the MMU branch. In the end-to-end setting, a unified GRPO loss is used to jointly optimize both tasks. In contrast, the non-end-to-end setting applies separate GRPO objectives to T2I and MMU. Although the two modules are trained independently, reward signals still enable cross-task interaction, mitigating the limitations of mismatched representations. Full details and loss formulas are provided in the Sec. A.3.
|
| 149 |
+
|
| 150 |
+
#### <span id="page-5-1"></span>3.6 The balance between image understanding and generation
|
| 151 |
+
|
| 152 |
+
To evaluate the balance between text-to-image generation (T2I) and multimodal understanding (MMU), we propose a bidirectional evaluation metric with two chains: T2I→MMU and MMU→T2I. In T2I→MMU, the model generates an image from a prompt and answers a question only if the image is correct; we then compute the answer accuracy. In MMU→T2I, the model first answers a question based on a given image; if correct, we regenerate the image from the prompt and evaluate its
|
| 153 |
+
|
| 154 |
+
<span id="page-5-2"></span>Table 1: Performance of the proposed metric for evaluating the imbalance between two tasks.
|
| 155 |
+
|
| 156 |
+
| Method | $Accuracy_{MMU\mid T2I}$ | Accuracy <sub>T2I MMU</sub> |
|
| 157 |
+
|----------|--------------------------|-----------------------------|
|
| 158 |
+
| Show-o | 0.83 | 0.70 |
|
| 159 |
+
| Janus | 0.67 | 0.68 |
|
| 160 |
+
| JanusPro | 0.69 | 0.85 |
|
| 161 |
+
| Vila-u | 0.68 | 0.85 |
|
| 162 |
+
|
| 163 |
+
{6}------------------------------------------------
|
| 164 |
+
|
| 165 |
+
quality. This setup assesses the consistency between generation and understanding. The conditional accuracies are defined as:
|
| 166 |
+
|
| 167 |
+
$$Accuracy_{MMU|T2I} = \frac{N_{A \cap I}}{N_{I}}, \quad Accuracy_{T2I|MMU} = \frac{N_{A \cap I}}{N_{A}}.$$
|
| 168 |
+
(6)
|
| 169 |
+
|
| 170 |
+
N<sup>I</sup> denotes the number of correctly generated images, N<sup>A</sup> the number of correctly answered questions, and NA∩<sup>I</sup> the number of samples where both are correct. These metrics quantitatively assess the consistency between generation and understanding. AccuracyMMU|T2I measures answer correctness given a correct image, while AccuracyT2I|MMU measures image correctness given a correct answer. This bidirectional formulation evaluates the alignment between the two tasks beyond isolated performance. As shown in Tab. [1,](#page-5-2) we apply this metric to several unified models, including Show-o [\(Xie](#page-12-0) [et al., 2024\)](#page-12-0), Janus [\(Wu et al., 2024a\)](#page-11-0), Janus-Pro [\(Chen et al., 2025b\)](#page-9-5), and Vila-u [\(Wu et al., 2024c\)](#page-12-6), and observe that task imbalance is consistently present across all models. More details can be seen in Sec. [A.1.](#page-13-1)
|
| 171 |
+
|
| 172 |
+
## 4 EXPERIMENTS
|
| 173 |
+
|
| 174 |
+
**329**
|
| 175 |
+
|
| 176 |
+
**334 335 336**
|
| 177 |
+
|
| 178 |
+
**364**
|
| 179 |
+
|
| 180 |
+
**368 369 370**
|
| 181 |
+
|
| 182 |
+
## 4.1 IMPLEMENTATION DETAILS
|
| 183 |
+
|
| 184 |
+
We evaluate our method on two base models: Show-o [\(Xie et al., 2024\)](#page-12-0) and Janus [\(Wu et al., 2024a\)](#page-11-0). For Show-o, we adopt end-to-end training. The SFT stage uses a global batch size of 16 for 5,000 iterations, and the GRPO stage is configured with a global batch size of 24, a KL coefficient β = 0.2, and 3,000 training steps on 8 H100 GPUs. During inference, we set the guidance scale to 2, diffusion steps to 16, and resolution to 512. For Janus, due to its use of different representations for generation and understanding, we apply a non-end-to-end training strategy. The model is trained with a global batch size of 64 for 1,000 iterations using the same KL coefficient. Inference is performed with a guidance scale of 5 and resolution of 384. More implementation details can be seen in Sec. [A.1.](#page-13-1)
|
| 185 |
+
|
| 186 |
+
## <span id="page-6-0"></span>4.2 QUANTITATIVE RESULTS
|
| 187 |
+
|
| 188 |
+
Baselines and our method. We compare our method against several baselines. *Original Model.* We evaluate the performance of the pretrained model without any post-training. *HermesFlow.* [\(Yang](#page-12-2) [et al., 2025b\)](#page-12-2) This method fine-tunes the Show-o model with DPO optimization on the JourneyDB dataset [\(Sun et al., 2023a\)](#page-11-15). We evaluate two variants of our post-training framework: *UniRL (SFT).* Our method using supervised fine-tuning (SFT) without reinforcement learning. *UniRL (GRPO).* Our method using Group Relative Policy Optimization (GRPO). For the Janus model, we only compare our GRPO-based method with the original model, as applying SFT leads to unstable training and failure. The specific reasons are discussed in Sec. [4.4.](#page-7-0)
|
| 189 |
+
|
| 190 |
+
Text to image generation. For the image generation task, we evaluate model performance using three benchmarks: GenEval [\(Ghosh et al., 2023\)](#page-10-4), DSG-1K [\(Cho et al., 2024\)](#page-9-9), and CLIP-Score [\(Radford](#page-11-16) [et al., 2021\)](#page-11-16). To calculate the CLIP score, we use 2,000 generated images sampled from the GenEval and DSG-1K benchmarks. As shown in Tab. [2,](#page-7-1) our method with SFT improves the GenEval score from 0.60 to 0.76, while the GRPO-based variant achieves 0.71—both outperforming the baselines by a large margin. In addition, our approach yields notable gains on DSG-1K and CLIP-Score, demonstrating the effectiveness of our post-training strategy in improving image generation quality. More results will be shown in Sec. [A.4.](#page-14-1)
|
| 191 |
+
|
| 192 |
+
We conduct a human evaluation with diverse prompts and find that 85% of participants prefer our method over Show-o (Sec. [A.6\)](#page-15-0). Through three benchmarks and human evaluation, we demonstrate that our method substantially improves T2I capacity, and the gains are general rather than limited to the GenEval domain. Furthermore, we conduct a distribution analysis between the training and test prompt sets in Sec. [A.9.](#page-16-3)
|
| 193 |
+
|
| 194 |
+
Multimodal understanding. We evaluate the model's ability to understand natural visual features across six categories: *single object*, *two objects*, *counting*, *colors*, *position*, and *color attributes*. These categories capture core aspects of visual understanding, including object recognition, counting, color perception, and spatial reasoning—fundamental properties of natural images. To assess generalization
|
| 195 |
+
|
| 196 |
+
{7}------------------------------------------------
|
| 197 |
+
|
| 198 |
+
<span id="page-7-1"></span>Table 2: Comparison of UniRL with baseline methods across Text-to-Image (T2I) benchmarks.
|
| 199 |
+
|
| 200 |
+
| Method | | GenEval ↑ | | | | | | DSG-1K↑ | Clip score ↑ |
|
| 201 |
+
|-------------|---------|-----------|--------|--------|-------|--------|---------|---------|--------------|
|
| 202 |
+
| | Single. | Two. | Count. | Colors | Posi. | Attri. | Overall | | <u>r</u> 1 |
|
| 203 |
+
| Show-o | 0.96 | 0.64 | 0.67 | 0.81 | 0.25 | 0.37 | 0.60 | 0.77 | 0.331 |
|
| 204 |
+
| HermersFlow | 0.97 | 0.67 | 0.65 | 0.77 | 0.28 | 0.42 | 0.61 | 0.78 | 0.334 |
|
| 205 |
+
| UniRL(SFT) | 0.99 | 0.93 | 0.62 | 0.89 | 0.55 | 0.68 | 0.77 | 0.82 | 0.337 |
|
| 206 |
+
| UniRL(GRPO) | 0.95 | 0.77 | 0.65 | 0.82 | 0.50 | 0.60 | 0.71 | 0.80 | 0.335 |
|
| 207 |
+
| Janus | 0.96 | 0.64 | 0.29 | 0.81 | 0.49 | 0.46 | 0.60 | 0.80 | 0.332 |
|
| 208 |
+
| UniRL(GRPO) | 0.95 | 0.74 | 0.27 | 0.81 | 0.62 | 0.52 | 0.65 | 0.81 | 0.335 |
|
| 209 |
+
|
| 210 |
+
<span id="page-7-3"></span>Table 4: Comparison using our proposed metric to evaluate the imbalance between the two tasks.
|
| 211 |
+
|
| 212 |
+
| Method | | | Acc | uracy <sub>MN</sub> | /U T2I | | | | | Acci | uracy <sub>T21</sub> | MMU | | |
|
| 213 |
+
|-------------|---------|------|--------|---------------------|--------|--------|-----------|---------|------|--------|----------------------|-------|--------|----------|
|
| 214 |
+
| | Single. | Two. | Count. | Colors | Posi. | Attri. | Overall ↑ | Single. | Two. | Count. | Colors | Posi. | Attri. | Overall↑ |
|
| 215 |
+
| Show-o | 0.98 | 0.89 | 0.92 | 0.94 | 0.10 | 0.61 | 0.83 | 0.96 | 0.66 | 0.67 | 0.85 | 0.18 | 0.41 | 0.70 |
|
| 216 |
+
| HermesFlow | 0.99 | 0.85 | 0.90 | 0.96 | 0.23 | 0.57 | 0.83 | 0.97 | 0.68 | 0.69 | 0.84 | 0.24 | 0.41 | 0.71 |
|
| 217 |
+
| UniRL(SFT) | 0.11 | 0.99 | 0.97 | 0.99 | 0.83 | 0.98 | 0.81 | 0.99 | 0.95 | 0.58 | 0.93 | 0.60 | 0.74 | 0.80 |
|
| 218 |
+
| UniRL(GRPO) | 0.99 | 0.97 | 0.90 | 0.99 | 0.81 | 0.85 | 0.93 | 0.97 | 0.85 | 0.70 | 0.90 | 0.67 | 0.68 | 0.81 |
|
| 219 |
+
| Janus | 0.91 | 0.59 | 0.71 | 0.96 | 0.20 | 0.42 | 0.67 | 0.95 | 0.67 | 0.27 | 0.90 | 0.39 | 0.49 | 0.68 |
|
| 220 |
+
| UniRL(GRPO) | 0.94 | 0.78 | 0.52 | 0.98 | 0.31 | 0.77 | 0.76 | 0.96 | 0.76 | 0.34 | 0.88 | 0.63 | 0.59 | 0.74 |
|
| 221 |
+
|
| 222 |
+
beyond the training distribution, we use images generated by external models such as JanusPro. The generated images, along with their corresponding questions, are then fed into the target model to evaluate its understanding capabilities on out-of-distribution visual inputs. We compute the accuracy for each categories, allowing a fine-grained analysis of the model's generalization across different aspects of visual understanding.
|
| 223 |
+
|
| 224 |
+
As shown in Tab. 3, our SFT-based method performs slightly worse than the original model, primarily due to overfitting, particularly in the single-object category. In contrast, our GRPO-based method achieves an overall score of 0.79, significantly outperforming all baselines. The underlying reasons are analyzed in Sec. 4.4, and further evaluation details as well as broader benchmark results, including POPE (Li et al., 2023a) and MMMU (Yue et al., 2024), are presented in Sec. A.1 and Sec. A.5.
|
| 225 |
+
|
| 226 |
+
The imbalance between two tasks. To evaluate the balance between image understanding and generation, we apply our proposed metric, as shown in Tab. 4. The prompts used for Accuracy<sub>MMU|T2I</sub> are taken from the GenEval benchmark, while those for Accuracy<sub>T2I|MMU</sub> are aligned with the MMU evaluation setup. The results show that our GRPO-based method significantly reduces the imbalance between the
|
| 227 |
+
|
| 228 |
+
<span id="page-7-2"></span>Table 3: Comparison of UniRL with baseline methods across Multi-modal Understanding(MMU) benchmarks.
|
| 229 |
+
|
| 230 |
+
| across main | modui | Ciia | orotaire | ****** | 11110 | , ounc | Jiiiiidi Ito |
|
| 231 |
+
|-------------|---------|------|----------|--------|-------|--------|--------------|
|
| 232 |
+
| Method | Single. | Two. | Count. | Colors | Posi. | Attri. | Overall† |
|
| 233 |
+
| Show-o | 0.99 | 0.88 | 0.79 | 0.98 | 0.20 | 0.54 | 0.71 |
|
| 234 |
+
| HermesFlow | 0.99 | 0.88 | 0.79 | 0.98 | 0.34 | 0.52 | 0.73 |
|
| 235 |
+
| UniRL(SFT) | 0.08 | 0.87 | 0.71 | 0.99 | 0.45 | 0.85 | 0.67 |
|
| 236 |
+
| UniRL(GRPO) | 0.92 | 0.88 | 0.77 | 0.94 | 0.46 | 0.72 | 0.79 |
|
| 237 |
+
| Janus | 0.93 | 0.93 | 0.92 | 0.97 | 0.38 | 0.74 | 0.84 |
|
| 238 |
+
| UniRL(GRPO) | 0.94 | 0.95 | 0.83 | 0.99 | 0.52 | 0.89 | 0.88 |
|
| 239 |
+
|
| 240 |
+
two tasks. For certain subtasks, the model achieves nearly 100% accuracy, indicating strong consistency between generation and understanding. We further analyze the causes of task imbalance in Sec. A.12.
|
| 241 |
+
|
| 242 |
+
#### 4.3 VISUALIZATION RESULTS
|
| 243 |
+
|
| 244 |
+
As shown in Fig. 3, we present qualitative comparisons between our method and the original models on both tasks. Our approach produces more visually faithful generations conditioned on prompts and yields more accurate answers for corresponding questions, demonstrating improved consistency across the two tasks. More results will be shown in Sec. A.7.
|
| 245 |
+
|
| 246 |
+
####
|
| 247 |
+
|
| 248 |
+
#### <span id="page-7-0"></span>4.4 ANALYSIS OF SFT VS. GRPO
|
| 249 |
+
|
| 250 |
+
From these experimental results, we can draw some key observations.
|
| 251 |
+
|
| 252 |
+
{8}------------------------------------------------
|
| 253 |
+
|
| 254 |
+

|
| 255 |
+
|
| 256 |
+
<span id="page-8-0"></span>Figure 3: Qualitative comparison of our method with the original models on both text-to-image generation (T2I) and multimodal understanding (MMU) tasks.
|
| 257 |
+
|
| 258 |
+
Observation 1: *SFT is more prone to overfitting and memorization than GRPO in the image understanding task.*
|
| 259 |
+
|
| 260 |
+
As shown in Tab. [3,](#page-7-2) SFT performs significantly worse than both the original model and GRPO on the *single object* category, where the training and test sets are fully disjoint in both examples and object types. In contrast, categories like *position* and *colors* share abstract features (e.g., position or color attributes), which partially mitigate overfitting. Compared to SFT, GRPO demonstrates better generalization under the same conditions.
|
| 261 |
+
|
| 262 |
+
Observation 2: *In the generation task, SFT outperforms GRPO under an end-to-end training pipeline.*
|
| 263 |
+
|
| 264 |
+
As shown in Tab. [2,](#page-7-1) SFT achieves better T2I results than GRPO, with no noticeable overfitting. We hypothesize two reasons for this difference. (1) MMU is more prone to overfitting than T2I, as it mainly learns from text token patterns, while T2I involves more structured image reconstruction. (2) Our training pipeline is end-to-end. The SFT supervision signal for MMU is more direct and localized, whereas for T2I it is more indirect and distributed, which may promote better generalization in image generation. Under indirect supervision in T2I, SFT may optimize more effectively, as its loss is directly based on ground-truth answers. More analysis will be discussed in Sec. [A.8.](#page-15-2)
|
| 265 |
+
|
| 266 |
+
Observation 3: *For non-end-to-end training setups such as Janus, SFT leads to failure in the image generation task.*
|
| 267 |
+
|
| 268 |
+
If we directly use the model's generated images to supervise T2I at each iteration, training will become unstable. We speculate that early-stage generation errors are repeatedly reinforced, leading to input distribution drift and eventual collapse. Therefore, for unified models with different representations for the two tasks, only the GRPO-based method is effective for improving performance. More analysis will be discussed in Sec. [A.8.](#page-15-2)
|
| 269 |
+
|
| 270 |
+
Overall, GRPO is a more general and robust optimization strategy compared to SFT. Regardless of the specific task or model architecture—whether the two tasks share the same image representation or not—GRPO consistently improves performance and effectively reduces the imbalance between generation and understanding. In contrast, while SFT tends to perform better on tasks like T2I in end-to-end setups (e.g., Show-o), it is more prone to memorization and overfitting.
|
| 271 |
+
|
| 272 |
+
## 5 CONCLUSION
|
| 273 |
+
|
| 274 |
+
In this work, we propose a self-improving post-training method for unified multimodal models. By combining supervised fine-tuning (SFT) with Group Relative Policy Optimization (GRPO), our approach improves both generation and understanding performance while reducing task imbalance. Experiments on Show-o and Janus validate the effectiveness of our method.
|
| 275 |
+
|
| 276 |
+
{9}------------------------------------------------
|
| 277 |
+
|
| 278 |
+
## REFERENCES
|
| 279 |
+
|
| 280 |
+
<span id="page-9-11"></span>**509**
|
| 281 |
+
|
| 282 |
+
<span id="page-9-3"></span>**529 530**
|
| 283 |
+
|
| 284 |
+
<span id="page-9-7"></span>**538 539**
|
| 285 |
+
|
| 286 |
+
- <span id="page-9-0"></span>Marah Abdin, Sam Ade Jacobs, Ammar Ahmad Awan, Jyoti Aneja, Ahmed Awadallah, Hany Awadalla, Nguyen Bach, Amit Bahree, Arash Bakhtiari, Harkirat Behl, et al. Phi-3 technical report: A highly capable language model locally on your phone. *arXiv preprint arXiv:2404.14219*, 2024.
|
| 287 |
+
- <span id="page-9-4"></span>Rohan Anil, Sebastian Borgeaud, Yonghui Wu, Jean-Baptiste Alayrac, Jiahui Yu, Radu Soricut, Johan Schalkwyk, Andrew M Dai, Anja Hauth, Katie Millican, et al. Gemini: A family of highly capable multimodal models. *arXiv preprint arXiv:2312.11805*, 1, 2023.
|
| 288 |
+
- <span id="page-9-1"></span>Jinze Bai, Shuai Bai, Shusheng Yang, Shijie Wang, Sinan Tan, Peng Wang, Junyang Lin, Chang Zhou, and Jingren Zhou. Qwen-vl: A frontier large vision-language model with versatile abilities. *CoRR*, abs/2308.12966, 2023.
|
| 289 |
+
- <span id="page-9-6"></span>Hardy Chen, Haoqin Tu, Fali Wang, Hui Liu, Xianfeng Tang, Xinya Du, Yuyin Zhou, and Cihang Xie. Sft or rl? an early investigation into training r1-like reasoning large vision-language models. *arXiv preprint arXiv:2504.11468*, 2025a.
|
| 290 |
+
- <span id="page-9-10"></span>Kai Chen, Jiaqi Wang, Jiangmiao Pang, Yuhang Cao, Yu Xiong, Xiaoxiao Li, Shuyang Sun, Wansen Feng, Ziwei Liu, Jiarui Xu, Zheng Zhang, Dazhi Cheng, Chenchen Zhu, Tianheng Cheng, Qijie Zhao, Buyu Li, Xin Lu, Rui Zhu, Yue Wu, Jifeng Dai, Jingdong Wang, Jianping Shi, Wanli Ouyang, Chen Change Loy, and Dahua Lin. Mmdetection: Open mmlab detection toolbox and benchmark. *CoRR*, abs/1906.07155, 2019.
|
| 291 |
+
- <span id="page-9-5"></span>Xiaokang Chen, Zhiyu Wu, Xingchao Liu, Zizheng Pan, Wen Liu, Zhenda Xie, Xingkai Yu, and Chong Ruan. Janus-pro: Unified multimodal understanding and generation with data and model scaling. *CoRR*, abs/2501.17811, 2025b.
|
| 292 |
+
- Bowen Cheng, Ishan Misra, Alexander G. Schwing, Alexander Kirillov, and Rohit Girdhar. Maskedattention mask transformer for universal image segmentation. In *CVPR*, pp. 1280–1289. IEEE, 2022.
|
| 293 |
+
- <span id="page-9-9"></span>Jaemin Cho, Yushi Hu, Jason M. Baldridge, Roopal Garg, Peter Anderson, Ranjay Krishna, Mohit Bansal, Jordi Pont-Tuset, and Su Wang. Davidsonian scene graph: Improving reliability in fine-grained evaluation for text-to-image generation. In *ICLR*. OpenReview.net, 2024.
|
| 294 |
+
- <span id="page-9-2"></span>DeepSeek-AI, Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Ruoyu Zhang, Runxin Xu, Qihao Zhu, Shirong Ma, Peiyi Wang, Xiao Bi, Xiaokang Zhang, Xingkai Yu, Yu Wu, Z. F. Wu, Zhibin Gou, Zhihong Shao, Zhuoshu Li, Ziyi Gao, Aixin Liu, Bing Xue, Bingxuan Wang, Bochao Wu, Bei Feng, Chengda Lu, Chenggang Zhao, Chengqi Deng, Chenyu Zhang, Chong Ruan, Damai Dai, Deli Chen, Dongjie Ji, Erhang Li, Fangyun Lin, Fucong Dai, Fuli Luo, Guangbo Hao, Guanting Chen, Guowei Li, H. Zhang, Han Bao, Hanwei Xu, Haocheng Wang, Honghui Ding, Huajian Xin, Huazuo Gao, Hui Qu, Hui Li, Jianzhong Guo, Jiashi Li, Jiawei Wang, Jingchang Chen, Jingyang Yuan, Junjie Qiu, Junlong Li, J. L. Cai, Jiaqi Ni, Jian Liang, Jin Chen, Kai Dong, Kai Hu, Kaige Gao, Kang Guan, Kexin Huang, Kuai Yu, Lean Wang, Lecong Zhang, Liang Zhao, Litong Wang, Liyue Zhang, Lei Xu, Leyi Xia, Mingchuan Zhang, Minghua Zhang, Minghui Tang, Meng Li, Miaojun Wang, Mingming Li, Ning Tian, Panpan Huang, Peng Zhang, Qiancheng Wang, Qinyu Chen, Qiushi Du, Ruiqi Ge, Ruisong Zhang, Ruizhe Pan, Runji Wang, R. J. Chen, R. L. Jin, Ruyi Chen, Shanghao Lu, Shangyan Zhou, Shanhuang Chen, Shengfeng Ye, Shiyu Wang, Shuiping Yu, Shunfeng Zhou, Shuting Pan, and S. S. Li. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. *CoRR*, abs/2501.12948, 2025.
|
| 295 |
+
- Runpei Dong, Chunrui Han, Yuang Peng, Zekun Qi, Zheng Ge, Jinrong Yang, Liang Zhao, Jianjian Sun, Hongyu Zhou, Haoran Wei, Xiangwen Kong, Xiangyu Zhang, Kaisheng Ma, and Li Yi. DreamLLM: Synergistic multimodal comprehension and creation. In *ICLR*, 2024.
|
| 296 |
+
- <span id="page-9-8"></span>Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is worth 16x16 words: Transformers for image recognition at scale. In *ICLR*. OpenReview.net, 2021.
|
| 297 |
+
- Patrick Esser, Robin Rombach, and Bjorn Ommer. Taming transformers for high-resolution image synthesis. In *CVPR*, pp. 12873–12883, 2021.
|
| 298 |
+
|
| 299 |
+
{10}------------------------------------------------
|
| 300 |
+
|
| 301 |
+
**558 559 560**
|
| 302 |
+
|
| 303 |
+
<span id="page-10-9"></span>**564**
|
| 304 |
+
|
| 305 |
+
<span id="page-10-12"></span>**579**
|
| 306 |
+
|
| 307 |
+
<span id="page-10-5"></span>Yuying Ge, Sijie Zhao, Jinguo Zhu, Yixiao Ge, Kun Yi, Lin Song, Chen Li, Xiaohan Ding, and Ying Shan. Seed-x: Multimodal models with unified multi-granularity comprehension and generation. *arXiv preprint arXiv:2404.14396*, 2024.
|
| 308 |
+
|
| 309 |
+
- <span id="page-10-4"></span>Dhruba Ghosh, Hannaneh Hajishirzi, and Ludwig Schmidt. Geneval: An object-focused framework for evaluating text-to-image alignment. In *NeurIPS*, 2023.
|
| 310 |
+
- <span id="page-10-2"></span>Ziyu Guo, Renrui Zhang, Chengzhuo Tong, Zhizheng Zhao, Peng Gao, Hongsheng Li, and Pheng-Ann Heng. Can we generate images with cot? let's verify and reinforce image generation step by step. *CoRR*, abs/2501.13926, 2025.
|
| 311 |
+
- <span id="page-10-11"></span>Aaron Jaech, Adam Kalai, Adam Lerer, Adam Richardson, Ahmed El-Kishky, Aiden Low, Alec Helyar, Aleksander Madry, Alex Beutel, Alex Carney, Alex Iftimie, Alex Karpenko, Alex Tachard Passos, Alexander Neitz, Alexander Prokofiev, Alexander Wei, Allison Tam, Ally Bennett, Ananya Kumar, Andre Saraiva, Andrea Vallone, Andrew Duberstein, Andrew Kondrich, Andrey Mishchenko, Andy Applebaum, Angela Jiang, Ashvin Nair, Barret Zoph, Behrooz Ghorbani, Ben Rossen, Benjamin Sokolowsky, Boaz Barak, Bob McGrew, Borys Minaiev, Botao Hao, Bowen Baker, Brandon Houghton, Brandon McKinzie, Brydon Eastman, Camillo Lugaresi, Cary Bassin, Cary Hudson, Chak Ming Li, Charles de Bourcy, Chelsea Voss, Chen Shen, Chong Zhang, Chris Koch, Chris Orsinger, Christopher Hesse, Claudia Fischer, Clive Chan, Dan Roberts, Daniel Kappler, Daniel Levy, Daniel Selsam, David Dohan, David Farhi, David Mely, David Robinson, Dimitris Tsipras, Doug Li, Dragos Oprica, Eben Freeman, Eddie Zhang, Edmund Wong, Elizabeth Proehl, Enoch Cheung, Eric Mitchell, Eric Wallace, Erik Ritter, Evan Mays, Fan Wang, Felipe Petroski Such, Filippo Raso, Florencia Leoni, Foivos Tsimpourlas, Francis Song, Fred von Lohmann, Freddie Sulit, Geoff Salmon, Giambattista Parascandolo, Gildas Chabot, Grace Zhao, Greg Brockman, Guillaume Leclerc, Hadi Salman, Haiming Bao, Hao Sheng, Hart Andrin, Hessam Bagherinezhad, Hongyu Ren, Hunter Lightman, Hyung Won Chung, Ian Kivlichan, Ian O'Connell, Ian Osband, Ignasi Clavera Gilaberte, and Ilge Akkaya. Openai o1 system card. *CoRR*, abs/2412.16720, 2024.
|
| 312 |
+
- Siqi Kou, Jiachun Jin, Chang Liu, Ye Ma, Jian Jia, Quan Chen, Peng Jiang, and Zhijie Deng. Orthus: Autoregressive interleaved image-text generation with modality-specific heads. *CoRR*, abs/2412.00127, 2024.
|
| 313 |
+
- <span id="page-10-3"></span>Chengzu Li, Wenshan Wu, Huanyu Zhang, Yan Xia, Shaoguang Mao, Li Dong, Ivan Vulic, and Furu Wei. Imagine while reasoning in space: Multimodal visualization-of-thought. *CoRR*, abs/2501.07542, 2025.
|
| 314 |
+
- <span id="page-10-8"></span>Hao Li, Changyao Tian, Jie Shao, Xizhou Zhu, Zhaokai Wang, Jinguo Zhu, Wenhan Dou, Xiaogang Wang, Hongsheng Li, Lewei Lu, and Jifeng Dai. Synergen-vl: Towards synergistic image understanding and generation with vision experts and token folding. *CoRR*, abs/2412.09604, 2024a.
|
| 315 |
+
- <span id="page-10-10"></span>Shufan Li, Konstantinos Kallidromitis, Akash Gokul, Zichun Liao, Yusuke Kato, Kazuki Kozuka, and Aditya Grover. Omniflow: Any-to-any generation with multi-modal rectified flows. *CoRR*, abs/2412.01169, 2024b.
|
| 316 |
+
- Yifan Li, Yifan Du, Kun Zhou, Jinpeng Wang, Wayne Xin Zhao, and Ji-Rong Wen. Evaluating object hallucination in large vision-language models. In *EMNLP*, pp. 292–305. Association for Computational Linguistics, 2023a.
|
| 317 |
+
- <span id="page-10-0"></span>Yuanzhi Li, Sébastien Bubeck, Ronen Eldan, Allie Del Giorno, Suriya Gunasekar, and Yin Tat Lee. Textbooks are all you need ii: phi-1.5 technical report. *arXiv preprint arXiv:2309.05463*, 2023b.
|
| 318 |
+
- <span id="page-10-7"></span>Dongyang Liu, Shitian Zhao, Le Zhuo, Weifeng Lin, Yu Qiao, Hongsheng Li, and Peng Gao. Luminamgpt: Illuminate flexible photorealistic text-to-image generation with multimodal generative pretraining. *CoRR*, abs/2408.02657, 2024a.
|
| 319 |
+
- <span id="page-10-6"></span>Hao Liu, Wilson Yan, Matei Zaharia, and Pieter Abbeel. World model on million-length video and language with ringattention. *arXiv preprint*, 2024b.
|
| 320 |
+
- <span id="page-10-1"></span>Haotian Liu, Chunyuan Li, Yuheng Li, Bo Li, Yuanhan Zhang, Sheng Shen, and Yong Jae Lee. Llava-next: Improved reasoning, ocr, and world knowledge, 2024c.
|
| 321 |
+
|
| 322 |
+
{11}------------------------------------------------
|
| 323 |
+
|
| 324 |
+
<span id="page-11-16"></span><span id="page-11-13"></span><span id="page-11-12"></span><span id="page-11-10"></span>**604 605 606**
|
| 325 |
+
|
| 326 |
+
<span id="page-11-14"></span><span id="page-11-5"></span>**617**
|
| 327 |
+
|
| 328 |
+
<span id="page-11-15"></span><span id="page-11-9"></span><span id="page-11-7"></span>**619**
|
| 329 |
+
|
| 330 |
+
<span id="page-11-11"></span><span id="page-11-8"></span><span id="page-11-6"></span>**634**
|
| 331 |
+
|
| 332 |
+
<span id="page-11-3"></span>**636**
|
| 333 |
+
|
| 334 |
+
- <span id="page-11-4"></span><span id="page-11-1"></span>Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee. Visual instruction tuning. *NeurIPS*, 36, 2024d.
|
| 335 |
+
- Yiyang Ma, Xingchao Liu, Xiaokang Chen, Wen Liu, Chengyue Wu, Zhiyu Wu, Zizheng Pan, Zhenda Xie, Haowei Zhang, Liang Zhao, et al. Janusflow: Harmonizing autoregression and rectified flow for unified multimodal understanding and generation. *arXiv preprint arXiv:2411.07975*, 2024.
|
| 336 |
+
- Weijia Mao, Zhenheng Yang, and Mike Zheng Shou. Unimod: Efficient unified multimodal transformers with mixture-of-depths. *CoRR*, abs/2502.06474, 2025.
|
| 337 |
+
- Liao Qu, Huichao Zhang, Yiheng Liu, Xu Wang, Yi Jiang, Yiming Gao, Hu Ye, Daniel K. Du, Zehuan Yuan, and Xinglong Wu. Tokenflow: Unified image tokenizer for multimodal understanding and generation. *CoRR*, abs/2412.03069, 2024.
|
| 338 |
+
- Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In *ICML*, pp. 8748–8763, 2021.
|
| 339 |
+
- Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning, Stefano Ermon, and Chelsea Finn. Direct preference optimization: Your language model is secretly a reward model. In *NeurIPS*, 2023.
|
| 340 |
+
- John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. *CoRR*, abs/1707.06347, 2017.
|
| 341 |
+
- Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. *CoRR*, abs/2402.03300, 2024.
|
| 342 |
+
- Weijia Shi, Xiaochuang Han, Chunting Zhou, Weixin Liang, Xi Victoria Lin, Luke Zettlemoyer, and Lili Yu. Llamafusion: Adapting pretrained language models for multimodal generation. *arXiv preprint arXiv:2412.15188*, 2024.
|
| 343 |
+
- Keqiang Sun, Junting Pan, Yuying Ge, Hao Li, Haodong Duan, Xiaoshi Wu, Renrui Zhang, Aojun Zhou, Zipeng Qin, Yi Wang, Jifeng Dai, Yu Qiao, Limin Wang, and Hongsheng Li. Journeydb: A benchmark for generative image understanding. In *NeurIPS*, 2023a.
|
| 344 |
+
- Quan Sun, Qiying Yu, Yufeng Cui, Fan Zhang, Xiaosong Zhang, Yueze Wang, Hongcheng Gao, Jingjing Liu, Tiejun Huang, and Xinlong Wang. Emu: Generative pretraining in multimodality. In *ICLR*, 2023b.
|
| 345 |
+
- Zineng Tang, Ziyi Yang, Chenguang Zhu, Michael Zeng, and Mohit Bansal. Any-to-any generation via composable diffusion. *NeurIPS*, 36, 2024.
|
| 346 |
+
- Chameleon Team. Chameleon: Mixed-modal early-fusion foundation models. *arXiv preprint arXiv:2405.09818*, 2024.
|
| 347 |
+
- Shengbang Tong, David Fan, Jiachen Zhu, Yunyang Xiong, Xinlei Chen, Koustuv Sinha, Michael Rabbat, Yann LeCun, Saining Xie, and Zhuang Liu. Metamorph: Multimodal understanding and generation via instruction tuning. *arXiv preprint arXiv:2412.14164*, 2024.
|
| 348 |
+
- Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, Aurélien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. Llama: Open and efficient foundation language models. *CoRR*, abs/2302.13971, 2023.
|
| 349 |
+
- Xinlong Wang, Xiaosong Zhang, Zhengxiong Luo, Quan Sun, Yufeng Cui, Jinsheng Wang, Fan Zhang, Yueze Wang, Zhen Li, Qiying Yu, et al. Emu3: Next-token prediction is all you need. *arXiv preprint arXiv:2409.18869*, 2024.
|
| 350 |
+
- <span id="page-11-2"></span><span id="page-11-0"></span>Chengyue Wu, Xiaokang Chen, Zhiyu Wu, Yiyang Ma, Xingchao Liu, Zizheng Pan, Wen Liu, Zhenda Xie, Xingkai Yu, Chong Ruan, and Ping Luo. Janus: Decoupling visual encoding for unified multimodal understanding and generation. *CoRR*, abs/2410.13848, 2024a.
|
| 351 |
+
|
| 352 |
+
{12}------------------------------------------------
|
| 353 |
+
|
| 354 |
+
<span id="page-12-6"></span>**654**
|
| 355 |
+
|
| 356 |
+
<span id="page-12-0"></span>**656**
|
| 357 |
+
|
| 358 |
+
**684 685**
|
| 359 |
+
|
| 360 |
+
- <span id="page-12-5"></span>Junfeng Wu, Yi Jiang, Chuofan Ma, Yuliang Liu, Hengshuang Zhao, Zehuan Yuan, Song Bai, and Xiang Bai. Liquid: Language models are scalable multi-modal generators. *CoRR*, abs/2412.04332, 2024b.
|
| 361 |
+
- <span id="page-12-4"></span>Shengqiong Wu, Hao Fei, Leigang Qu, Wei Ji, and Tat-Seng Chua. Next-gpt: Any-to-any multimodal llm. *arXiv preprint arXiv:2309.05519*, 2023.
|
| 362 |
+
- Yecheng Wu, Zhuoyang Zhang, Junyu Chen, Haotian Tang, Dacheng Li, Yunhao Fang, Ligeng Zhu, Enze Xie, Hongxu Yin, Li Yi, Song Han, and Yao Lu. VILA-U: a unified foundation model integrating visual understanding and generation. *CoRR*, abs/2409.04429, 2024c.
|
| 363 |
+
- Jinheng Xie, Weijia Mao, Zechen Bai, David Junhao Zhang, Weihao Wang, Kevin Qinghong Lin, Yuchao Gu, Zhijie Chen, Zhenheng Yang, and Mike Zheng Shou. Show-o: One single transformer to unify multimodal understanding and generation. *arXiv preprint arXiv:2408.12528*, 2024.
|
| 364 |
+
- <span id="page-12-8"></span>An Yang, Bowen Yu, Chengyuan Li, Dayiheng Liu, Fei Huang, Haoyan Huang, Jiandong Jiang, Jianhong Tu, Jianwei Zhang, Jingren Zhou, Junyang Lin, Kai Dang, Kexin Yang, Le Yu, Mei Li, Minmin Sun, Qin Zhu, Rui Men, Tao He, Weijia Xu, Wenbiao Yin, Wenyuan Yu, Xiafei Qiu, Xingzhang Ren, Xinlong Yang, Yong Li, Zhiying Xu, and Zipeng Zhang. Qwen2.5-1m technical report. *CoRR*, abs/2501.15383, 2025a.
|
| 365 |
+
- <span id="page-12-2"></span>Ling Yang, Xinchen Zhang, Ye Tian, Chenming Shang, Minghao Xu, Wentao Zhang, and Bin Cui. Hermesflow: Seamlessly closing the gap in multimodal understanding and generation. *CoRR*, abs/2502.12148, 2025b.
|
| 366 |
+
- <span id="page-12-7"></span>Xiang Yue, Yuansheng Ni, Tianyu Zheng, Kai Zhang, Ruoqi Liu, Ge Zhang, Samuel Stevens, Dongfu Jiang, Weiming Ren, Yuxuan Sun, Cong Wei, Botao Yu, Ruibin Yuan, Renliang Sun, Ming Yin, Boyuan Zheng, Zhenzhu Yang, Yibo Liu, Wenhao Huang, Huan Sun, Yu Su, and Wenhu Chen. MMMU: A massive multi-discipline multimodal understanding and reasoning benchmark for expert AGI. In *CVPR*, pp. 9556–9567. IEEE, 2024.
|
| 367 |
+
- <span id="page-12-3"></span>Rui Zhao, Weijia Mao, and Mike Zheng Shou. Doracycle: Domain-oriented adaptation of unified generative model in multimodal cycles. *CoRR*, abs/2503.03651, 2025.
|
| 368 |
+
- <span id="page-12-1"></span>Chunting Zhou, Lili Yu, Arun Babu, Kushal Tirumala, Michihiro Yasunaga, Leonid Shamis, Jacob Kahn, Xuezhe Ma, Luke Zettlemoyer, and Omer Levy. Transfusion: Predict the next token and diffuse images with one multi-modal model. *CoRR*, abs/2408.11039, 2024.
|
| 369 |
+
|
| 370 |
+
{13}------------------------------------------------
|
| 371 |
+
|
| 372 |
+
## A TECHNICAL APPENDICES
|
| 373 |
+
|
| 374 |
+
In this appendix, we provide additional implementation details of our experiments (Sec. [A.1\)](#page-13-1) and describe the formulation of the Straight-Through Gumbel-Softmax estimator (Sec. [A.2\)](#page-13-0). We then present more details and the loss formulation for the non-end-to-end training pipeline (Sec. [A.3\)](#page-14-0). Additional results for both tasks, including human evaluation and extended visualization examples, are provided in Sec. [A.5,](#page-14-2) Sec. [A.6,](#page-15-0) Sec. [A.4,](#page-14-1) and Sec. [A.7.](#page-15-1) We also include a distributional analysis (Sec. [A.9\)](#page-16-3), a detailed discussion of the reward design (Sec. [A.10\)](#page-16-2), and further analysis comparing SFT and GRPO in non-end-to-end settings (Sec. [A.8\)](#page-15-2). In addition, we describe our use of LLMs (Sec. [A.13\)](#page-17-1). Finally, we discuss the limitations of our work (Sec. [A.14\)](#page-17-2).
|
| 375 |
+
|
| 376 |
+
#### <span id="page-13-1"></span>A.1 MORE IMPLEMENTATION DETAILS
|
| 377 |
+
|
| 378 |
+
#### Training details.
|
| 379 |
+
|
| 380 |
+
**709**
|
| 381 |
+
|
| 382 |
+
**724**
|
| 383 |
+
|
| 384 |
+
For the SFT and GRPO phases, we set the learning rate to 1 × 10−<sup>5</sup> for both the Janus and Showo models. We use the constructed prompts as input and randomly select one sentence from the six predefined categories, treating these as the training set, while the prompts from the GenEval benchmark are reserved for testing. In the GRPO phase, the group size is set equal to the batch size on each GPU, with a batch size of 3 for Show-o and 8 for Janus, using a total of 8 H100 GPUs. Training is run until the reward converges: about 3k steps for Show-o and 1k steps for Janus, after which the reward stabilizes without further increase.
|
| 385 |
+
|
| 386 |
+
Understanding benchmark. For the understanding benchmarks, we use other unified multimodal models to generate images based on the prompts from the GenEval benchmark. We then filter and retain only the correctly generated images. These images, along with the constructed questions, are used as inputs to evaluate the model's understanding capability. We compute the accuracy as the percentage of predicted answers that match the ground-truth answers.
|
| 387 |
+
|
| 388 |
+
New metric. For the T2I→MMU chain, we use the prompts from the GenEval benchmark for evaluation. For the MMU→T2I chain, we follow the input format of our understanding benchmarks, feeding an external image and corresponding questions for evaluation. To assess the imbalance between the two tasks using our proposed metric, we employ external language models such as Qwen [\(Yang et al., 2025a\)](#page-12-8) or GPT [\(Jaech et al., 2024\)](#page-10-11) to judge whether the predicted answers match the ground-truth answers and compute accuracy for each category. For image evaluation, we follow the GenEval protocol, using MMDetection [\(Chen et al., 2019\)](#page-9-10) and Mask2Former [\(Cheng et al., 2022\)](#page-9-11) to determine whether the generated image is correct.
|
| 389 |
+
|
| 390 |
+
#### <span id="page-13-0"></span>A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX
|
| 391 |
+
|
| 392 |
+
The Straight-Through Gumbel-Softmax (ST-GS) estimator enables differentiable sampling of discrete tokens, which is crucial for gradient-based optimization in end-to-end training. It approximates the sampling process using a soft relaxation during the backward pass while retaining hard discrete choices during the forward pass.
|
| 393 |
+
|
| 394 |
+
The Gumbel-Softmax distribution samples a continuous approximation of one-hot vectors using the following formula:
|
| 395 |
+
|
| 396 |
+
$$y_i = \frac{\exp\left(\frac{\log(\pi_i) + g_i}{\tau}\right)}{\sum_{j=1}^K \exp\left(\frac{\log(\pi_j) + g_j}{\tau}\right)},\tag{7}$$
|
| 397 |
+
|
| 398 |
+
where π<sup>i</sup> is the unnormalized probability of the i-th category, g<sup>i</sup> is sampled from the Gumbel(0, 1) distribution, τ is a temperature parameter controlling the smoothness, and K is the number of categories.
|
| 399 |
+
|
| 400 |
+
In the straight-through version, a hard one-hot vector z is obtained during the forward pass by applying arg max over the sampled logits:
|
| 401 |
+
|
| 402 |
+
$$z_i = \begin{cases} 1, & \text{if } i = \arg\max_j y_j \\ 0, & \text{otherwise} \end{cases}$$
|
| 403 |
+
(8)
|
| 404 |
+
|
| 405 |
+
{14}------------------------------------------------
|
| 406 |
+
|
| 407 |
+
**758 759**
|
| 408 |
+
|
| 409 |
+
**761**
|
| 410 |
+
|
| 411 |
+
**764**
|
| 412 |
+
|
| 413 |
+
**779 780 781**
|
| 414 |
+
|
| 415 |
+
**808 809** While the forward pass uses hard selection, the backward pass uses the soft y<sup>i</sup> values to compute gradients, enabling smooth updates.
|
| 416 |
+
|
| 417 |
+
We adopt the Straight-Through Gumbel-Softmax in our method to allow gradients from downstream tasks to propagate through discrete image tokens. This is critical for end-to-end training, as it ensures that the generation module receives meaningful gradient signals and participates in joint optimization with the understanding module.
|
| 418 |
+
|
| 419 |
+
### <span id="page-14-0"></span>A.3 NON END-TO-END TRAINING PIPELINE
|
| 420 |
+
|
| 421 |
+
For non-end-to-end training, we decouple the GRPO loss into two separate objectives for the T2I and MMU modules.
|
| 422 |
+
|
| 423 |
+
T2I optimization. For the image generation task, we directly optimize the image token logits using rewards computed from MMU performance. The GRPO loss is defined as:
|
| 424 |
+
|
| 425 |
+
$$\mathcal{L}_{T2I}(\theta) = -\sum_{k=1}^{K} w_k \log p_{\theta} (\hat{\mathbf{u}}_k \mid p) + \beta \operatorname{KL} (p_{\theta}(\mathbf{u} \mid p) \parallel p_{\theta_{ref}}(\mathbf{u} \mid p)),$$
|
| 426 |
+
|
| 427 |
+
where p is the input prompt, uˆ<sup>k</sup> is the k-th sampled image token sequence, and w<sup>k</sup> is a reward-based importance weight derived from MMU outputs.
|
| 428 |
+
|
| 429 |
+
MMU optimization. For the multimodal understanding task, we optimize the answer prediction directly using rewards based on answer correctness. The GRPO loss is given by:
|
| 430 |
+
|
| 431 |
+
$$\mathcal{L}_{\text{MMU}}(\theta) = -\sum_{k=1}^{K} w_k \log p_{\theta} (\hat{a}_k \mid \mathbf{u}, q) + \beta \operatorname{KL} \left( p_{\theta}(a \mid \mathbf{u}, q) \parallel p_{\theta_{\text{ref}}}(a \mid \mathbf{u}, q) \right),$$
|
| 432 |
+
|
| 433 |
+
where u is the input image token sequence, q is the question, aˆ<sup>k</sup> is the predicted answer, and w<sup>k</sup> is computed based on the answer reward.
|
| 434 |
+
|
| 435 |
+
Although the two modules are optimized independently, reward signals still facilitate cross-task influence, allowing the model to benefit from mutual supervision even without gradient sharing.
|
| 436 |
+
|
| 437 |
+
## <span id="page-14-1"></span>A.4 MORE GENERATION RESULTS
|
| 438 |
+
|
| 439 |
+
In our main experiments using the Show-o model [\(Xie et al., 2024\)](#page-12-0), both our method and the baselines adopt a guidance scale of 2 and 16 generation steps during training and inference. Here, we present additional comparison results under a higher guidance scale of 5 and an extended generation length of 50 steps. We observe that our SFT-based method achieves a final score of 0.79, while our GRPO-based method reaches 0.74—both significantly outperforming all baselines.
|
| 440 |
+
|
| 441 |
+
Table 5: Comparison of UniRL with baseline methods on the GenEval benchmark under a guidance scale of 5 and 50 generation steps.
|
| 442 |
+
|
| 443 |
+
| Method | Single. | Two. | Count. | Colors | Posi. | Attri. | Overall↑ |
|
| 444 |
+
|-------------|---------|------|--------|--------|-------|--------|----------|
|
| 445 |
+
| Show-o | 0.98 | 0.81 | 0.69 | 0.82 | 0.32 | 0.53 | 0.68 |
|
| 446 |
+
| HermesFlow | 0.98 | 0.84 | 0.66 | 0.82 | 0.32 | 0.52 | 0.69 |
|
| 447 |
+
| UniRL(SFT) | 1.00 | 0.97 | 0.61 | 0.91 | 0.56 | 0.70 | 0.79 |
|
| 448 |
+
| UniRL(GRPO) | 0.96 | 0.80 | 0.67 | 0.86 | 0.50 | 0.67 | 0.74 |
|
| 449 |
+
|
| 450 |
+
## <span id="page-14-2"></span>A.5 MORE UNDERSTANDING RESULTS
|
| 451 |
+
|
| 452 |
+
Since our work primarily focuses on the understanding of basic visual attributes, the main results on tasks such as counting and color recognition have been reported in Sec. [4.2.](#page-6-0) We further evaluate our method on more comprehensive benchmarks, including POPE [\(Li et al., 2023a\)](#page-10-12) and MMMU [\(Yue et al., 2024\)](#page-12-7), as shown in Tab. [6.](#page-14-3) The
|
| 453 |
+
|
| 454 |
+
<span id="page-14-3"></span>Table 6: Benchmark results for multimodal understanding tasks.
|
| 455 |
+
|
| 456 |
+
| Method | POPE↑ | MMMU_val↑ |
|
| 457 |
+
|--------------|-------|-----------|
|
| 458 |
+
| Show-o | 79.8 | 26.7 |
|
| 459 |
+
| UniRL (GRPO) | 78.1 | 26.1 |
|
| 460 |
+
|
| 461 |
+
{15}------------------------------------------------
|
| 462 |
+
|
| 463 |
+
**829 830**
|
| 464 |
+
|
| 465 |
+
**834**
|
| 466 |
+
|
| 467 |
+
**854 855 856**
|
| 468 |
+
|
| 469 |
+
**863**
|
| 470 |
+
|
| 471 |
+
# Text to Image Generation Multi-modal Understanding
|
| 472 |
+
|
| 473 |
+

|
| 474 |
+
|
| 475 |
+
*Paper artwork, layered paper, colorful Chinese dragon surrounded by clouds.*
|
| 476 |
+
|
| 477 |
+

|
| 478 |
+
|
| 479 |
+

|
| 480 |
+
|
| 481 |
+

|
| 482 |
+
|
| 483 |
+

|
| 484 |
+
|
| 485 |
+
*Q: Give a caption of the image*
|
| 486 |
+
|
| 487 |
+
*A:The image features a squirrel playing a blue electric guitar, sitting on the ground.*
|
| 488 |
+
|
| 489 |
+
<span id="page-15-3"></span>Figure 4: Visualization results of our method.
|
| 490 |
+
|
| 491 |
+
Copyright©Jiawei Liu, NUS 19 slightly lower scores can be explained by the fact that our training data mainly targets basic visual understanding, whereas benchmarks such as MMMU emphasize text-based reasoning and numerical calculation. Moreover, we observe that when relying on the existing prompts during GRPO training, the model is prone to reward hacking, leading to a slightly decline in more general capabilities (e.g., arithmetic skills) that are not directly related to our target prompts. We believe that this limitation could be mitigated by either enlarging the KL coefficient to better preserve general-purpose abilities or incorporating a broader set of understanding categories, and potentially by scaling up the model size in future work.
|
| 492 |
+
|
| 493 |
+
## <span id="page-15-0"></span>A.6 HUMAN EVALUATION
|
| 494 |
+
|
| 495 |
+
*The breathtaking view of Moraine Lake, a renowned landmark in Canada. The turquoise waters of the lake reflect the rugged peaks of the Valley of the Ten Peaks, creating a scene of unparalleled*
|
| 496 |
+
|
| 497 |
+
*natural beauty.*
|
| 498 |
+
|
| 499 |
+
We conduct a human evaluation with 20 participants using 10 prompts that cover a broad range of lengths, styles, and content. Each participant compares the outputs of our method against those of the original Show-o for all prompts, yielding 200 total comparisons. In each comparison, selecting our method scores 1 point (0 otherwise). Averaging these scores across all participants and prompts gives a mean of 0.86, indicating that participants prefer our method in 86% of cases. In contrast, the original Show-o scores 0.14. This result demonstrates that our method performs better on general cases. An example question is shown in Fig. [5.](#page-17-3)
|
| 500 |
+
|
| 501 |
+
#### <span id="page-15-1"></span>A.7 MORE VISUALIZATION RESULTS
|
| 502 |
+
|
| 503 |
+
We provide additional visualization results in Fig. [4,](#page-15-3) including several out-of-distribution examples. These results demonstrate that our method (GRPO) generalizes beyond the specific categories seen during training.
|
| 504 |
+
|
| 505 |
+
## <span id="page-15-2"></span>A.8 MORE ANALYSIS OF SFT AND GRPO
|
| 506 |
+
|
| 507 |
+
End-to-end training. For end-to-end training, supervision for T2I is inherently indirect, as the optimization signal comes from downstream tasks such as answer prediction rather than direct supervision of the generated image. Compared to MMU, T2I is generally less prone to overfitting due to the structured nature of image reconstruction. In this setting, SFT may outperform GRPO, as it leverages the ground-truth answer to directly compute the loss and guide the model toward a clearer optimization direction. This process does not heavily depend on the capacity of the base model; instead, the ground-truth serves as a strong supervision signal that helps SFT converge more efficiently.
|
| 508 |
+
|
| 509 |
+
In contrast, GRPO optimizes the model by generating a group of candidate answers and computing rewards to update the policy. When the model capacity is limited, the generated answers may all be incorrect, leading to weak or noisy reward signals and thus making optimization more difficult.
|
| 510 |
+
|
| 511 |
+
{16}------------------------------------------------
|
| 512 |
+
|
| 513 |
+
For MMU, which primarily relies on learning from text-based inputs, SFT tends to overfit easily by memorizing token patterns. GRPO, on the other hand, benefits from its reward-based training and KL regularization term, which encourages the updated model to remain close to the original pretrained model. This constraint improves generalization and helps prevent overfitting, especially in cases where training data is limited or highly structured.
|
| 514 |
+
|
| 515 |
+
Non end-to-end training. For non end-to-end training, applying SFT to T2I is often unstable due to error accumulation from the generation pipeline. The optimization direction can easily become unreliable, leading to training collapse. To mitigate this, one option is to follow prior works (Yang et al., 2025b; Guo et al., 2025), which use offline-generated images and filter out incorrect samples to construct a reliable training set for SFT. In comparison, GRPO is more robust in non end-to-end settings, as it directly optimizes with reward signals and demonstrates better stability and performance.
|
| 516 |
+
|
| 517 |
+
#### <span id="page-16-3"></span>A.9 DISTRIBUTION ANALYSIS
|
| 518 |
+
|
| 519 |
+
To demonstrate that our method does not introduce data leakage, we include a distribution analysis. We encode both the T2I training prompts and the GenEval benchmark prompts with the CLIP text encoder and map them into the same semantic vector space. We then apply t-SNE to reduce the embeddings to two dimensions and compute the Jensen–Shannon divergence (JSD) between the two distributions, obtaining a value of 0.17. Formally,
|
| 520 |
+
|
| 521 |
+
$$JSD(P|Q) = \frac{1}{2}KL(P|M) + \frac{1}{2}KL(Q|M), \quad M = \frac{1}{2}(P+Q), \tag{9}$$
|
| 522 |
+
|
| 523 |
+
where $KL(\cdot|\cdot)$ denotes the Kullback–Leibler divergence. In practice, many data-drift detection tools and practitioners consider a JSD below 0.1 as an empirical threshold suggesting that two distributions are nearly identical. Our result indicates that while the two prompt sets are similar in semantics, they are not identical.
|
| 524 |
+
|
| 525 |
+
<span id="page-16-1"></span>Table 8: Examples of prompts constructed for six categories of image-based question—answer tasks: single object, two object, counting, colors, position, and attribute.
|
| 526 |
+
|
| 527 |
+
| Category | Prompt | Question | Answer |
|
| 528 |
+
|---------------|--------------------------------------------|--------------------------------------------------------------------------------|-------------------------------------------|
|
| 529 |
+
| Single object | a photo of a bench | What is the main object of the image? | Bench |
|
| 530 |
+
| Two object | a photo of a table and a soccer | What are two main objects of the image? | A table and a soccer |
|
| 531 |
+
| Counting | a photo of three vases | How many items in this image? | Three vases |
|
| 532 |
+
| Colors | a photo of a green<br>fork | What is the color of the object? | Green |
|
| 533 |
+
| Position | a photo of a train<br>above of an elephant | What are two objects and what is position relationship between two main items? | The train is above of an elephant |
|
| 534 |
+
| Attribute | a photo of a blue chair and a red umbrella | What are two objects and the colors of two objects in the image? | The chair is blue and the umbrella is red |
|
| 535 |
+
|
| 536 |
+
#### <span id="page-16-2"></span>A.10 REWARD FUNCTION
|
| 537 |
+
|
| 538 |
+
The reward function assigns scores based on the alignment between the predicted answer $\hat{a}_k$ and the ground-truth answer $a^*$ . Although the specific reward criteria vary across question categories, all rewards rely on two key components: (1) the correct identification of object names, and (2) the accurate prediction of associated attributes, such as number, color, or spatial position.
|
| 539 |
+
|
| 540 |
+
A complete summary of the category-specific reward rules is provided in Tab. 7.
|
| 541 |
+
|
| 542 |
+
#### <span id="page-16-0"></span>A.11 PROMPT AND QA PAIR CONSTRUCTION
|
| 543 |
+
|
| 544 |
+
We provide the details and examples of the constructed prompts and question—answer pairs in Tab. 8.
|
| 545 |
+
|
| 546 |
+
<span id="page-16-4"></span>Table 7: Examples of reward rules based on key words in generated answers
|
| 547 |
+
|
| 548 |
+
| Category | Score | Key Word |
|
| 549 |
+
|---------------|-------|------------------|
|
| 550 |
+
| Single object | 1 | bench |
|
| 551 |
+
| Two object | 2 | table, soccer |
|
| 552 |
+
| Counting | 2 | three, vase |
|
| 553 |
+
| Colors | 1 | green |
|
| 554 |
+
| Position | 3 | train, above of, |
|
| 555 |
+
| | | elephant |
|
| 556 |
+
| Attribute | 4 | blue, chair, |
|
| 557 |
+
| | | red, umbrella |
|
| 558 |
+
|
| 559 |
+
{17}------------------------------------------------
|
| 560 |
+
|
| 561 |
+
**924**
|
| 562 |
+
|
| 563 |
+
**959**
|
| 564 |
+
|
| 565 |
+
<span id="page-17-3"></span>Figure 5: The human evaluation.
|
| 566 |
+
|
| 567 |
+
## <span id="page-17-0"></span>A.12 ANALYSIS OF OBSERVED INCONSISTENCIES
|
| 568 |
+
|
| 569 |
+
We analyze the observed inconsistencies from three perspectives:
|
| 570 |
+
|
| 571 |
+
Pretraining Data Imbalance. Unified models rely on large-scale datasets that differ by task. For text-to-image (T2I), datasets such as JourneyDB contain high-quality, often cartoon-style images. For multimodal understanding (MMU), datasets like LLaVA and Cambrian typically use COCO images of real-world scenes. As a result, after pretraining, Show-o tends to generate images in the style of its T2I data while still being able to answer questions about COCO-style images, reflecting a domain mismatch. This imbalance enables the model to generate images correctly—since they match the T2I training domain—but limits its ability to answer questions about those images when they lie outside the MMU training domain. Since no single large-scale dataset covers both image generation and understanding, our work focuses on the post-training stage, where we address this imbalance using only constructed prompts without external data.
|
| 572 |
+
|
| 573 |
+
Differences Between the Two Tasks. MMU requires the model to interpret an image and produce text, which is generally less complex than generating a detailed image in T2I. Moreover, MMU covers a wide range of tasks—such as mathematical problem solving—that lie outside the scope of image generation. These differences in task requirements naturally lead to varying performance across the two tasks.
|
| 574 |
+
|
| 575 |
+
Model Initialization. Some unified models are initialized with weights pretrained on a single task—either image generation or language understanding—before being fine-tuned on the other task. While this provides a strong starting point for the first capability, the secondary task must be learned from scratch and therefore often lags in performance. Differences in initialization strategies thus further contribute to the inconsistencies observed.
|
| 576 |
+
|
| 577 |
+
#### <span id="page-17-1"></span>A.13 USE OF LLMS
|
| 578 |
+
|
| 579 |
+
In this work, large language models (LLMs) were used solely to assist with paper writing, for example in language polishing and improving clarity of presentation.
|
| 580 |
+
|
| 581 |
+
#### <span id="page-17-2"></span>A.14 LIMITATIONS
|
| 582 |
+
|
| 583 |
+
While our work presents an effective post-training method for unified multimodal models, it also has several limitations. First, our current focus is limited to basic visual understanding tasks such as counting and color recognition. More complex reasoning abilities, such as mathematical problemsolving or abstract inference, are beyond the scope of this work and are left for future exploration.
|
| 584 |
+
|
| 585 |
+
{18}------------------------------------------------
|
| 586 |
+
|
| 587 |
+
Second, the training speed per iteration is relatively slow. This is a known limitation of GRPO-based methods, as they require multiple forward passes during inference before optimization.
|
iclr26/5K9XW9gQ5r/parse_report.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "5K9XW9gQ5r",
|
| 3 |
+
"pipeline": "marker_non_llm_v3",
|
| 4 |
+
"parser": "marker_single",
|
| 5 |
+
"formats": [
|
| 6 |
+
"markdown",
|
| 7 |
+
"chunks"
|
| 8 |
+
],
|
| 9 |
+
"llm_enabled": false,
|
| 10 |
+
"pdf_path": "/network/scratch/j/jianan.zhao/ReviewAgent/data/processed_papers/iclr26_20260429_1952_all/raw/5K9XW9gQ5r.pdf",
|
| 11 |
+
"pdf_sha256": "fd5aa5544b49e60416dd95ddc5431a569cfab78fab503917764fe49ed7a4b16f",
|
| 12 |
+
"bytes": 1377316,
|
| 13 |
+
"source": "https://openreview.net/pdf?id=5K9XW9gQ5r",
|
| 14 |
+
"page_count": 19,
|
| 15 |
+
"ok": true,
|
| 16 |
+
"elapsed_seconds": 206.18,
|
| 17 |
+
"paper2markdown_v3": {
|
| 18 |
+
"paper_id": "5K9XW9gQ5r",
|
| 19 |
+
"pipeline": "Paper2Markdown-V3",
|
| 20 |
+
"ok": true,
|
| 21 |
+
"page_count": 19,
|
| 22 |
+
"chunk_count": 128,
|
| 23 |
+
"main_body_chunk_count": 71,
|
| 24 |
+
"appendix_chunk_count": 53,
|
| 25 |
+
"reference_chunk_count": 4,
|
| 26 |
+
"model_text_chars": 36802,
|
| 27 |
+
"raw_markdown_chars": 73777,
|
| 28 |
+
"sanitized_chars": 69952,
|
| 29 |
+
"page_provenance": {
|
| 30 |
+
"min_page": 1,
|
| 31 |
+
"max_page": 19,
|
| 32 |
+
"invalid_count": 0
|
| 33 |
+
},
|
| 34 |
+
"marker_block_type_counts": {
|
| 35 |
+
"Caption": 7,
|
| 36 |
+
"Equation": 13,
|
| 37 |
+
"FigureGroup": 1,
|
| 38 |
+
"ListGroup": 6,
|
| 39 |
+
"PageFooter": 19,
|
| 40 |
+
"PageHeader": 21,
|
| 41 |
+
"Picture": 3,
|
| 42 |
+
"PictureGroup": 2,
|
| 43 |
+
"SectionHeader": 40,
|
| 44 |
+
"Table": 1,
|
| 45 |
+
"TableGroup": 7,
|
| 46 |
+
"Text": 348
|
| 47 |
+
},
|
| 48 |
+
"asset_count_raw": 6,
|
| 49 |
+
"asset_count_model_kept": 4,
|
| 50 |
+
"asset_count_rejected": 2,
|
| 51 |
+
"asset_reject_reasons": {
|
| 52 |
+
"kept": 4,
|
| 53 |
+
"too_small": 2
|
| 54 |
+
},
|
| 55 |
+
"artifact_leak_audit": {
|
| 56 |
+
"ok": true,
|
| 57 |
+
"hits": {
|
| 58 |
+
"Anonymous Authors": [],
|
| 59 |
+
"ACKNOWLEDGMENT": [],
|
| 60 |
+
"OpenReview": [],
|
| 61 |
+
"\"accept_label\"": [],
|
| 62 |
+
"\"decision\"": [],
|
| 63 |
+
"\"decision_tier\"": [],
|
| 64 |
+
"\"source_status\"": [],
|
| 65 |
+
"Meta-review": [],
|
| 66 |
+
"Official Review": [],
|
| 67 |
+
"official_reviews": [],
|
| 68 |
+
"meta_reviews": [],
|
| 69 |
+
"suggested_verdict_score": []
|
| 70 |
+
},
|
| 71 |
+
"artifact_count": 2
|
| 72 |
+
},
|
| 73 |
+
"default_model_input": "model_text_v3.txt",
|
| 74 |
+
"appendix_input": "appendix_text_v3.txt",
|
| 75 |
+
"reference_input": "reference_text_v3.txt"
|
| 76 |
+
}
|
| 77 |
+
}
|
iclr26/5K9XW9gQ5r/reference_chunks.jsonl
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0071", "section": "REFERENCES", "page_start": 11, "page_end": 11, "type": "Text", "text": "Yuying Ge, Sijie Zhao, Jinguo Zhu, Yixiao Ge, Kun Yi, Lin Song, Chen Li, Xiaohan Ding, and Ying Shan. Seed-x: Multimodal models with unified multi-granularity comprehension and generation. arXiv preprint arXiv:2404.14396 , 2024.", "source": "marker_v2", "marker_block_id": "/page/10/Text/1"}
|
| 2 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0072", "section": "REFERENCES", "page_start": 11, "page_end": 11, "type": "ListGroup", "text": "Dhruba Ghosh, Hannaneh Hajishirzi, and Ludwig Schmidt. Geneval: An object-focused framework for evaluating text-to-image alignment. In NeurIPS , 2023. Ziyu Guo, Renrui Zhang, Chengzhuo Tong, Zhizheng Zhao, Peng Gao, Hongsheng Li, and Pheng-Ann Heng. Can we generate images with cot? let's verify and reinforce image generation step by step. CoRR , abs/2501.13926, 2025. Aaron Jaech, Adam Kalai, Adam Lerer, Adam Richardson, Ahmed El-Kishky, Aiden Low, Alec Helyar, Aleksander Madry, Alex Beutel, Alex Carney, Alex Iftimie, Alex Karpenko, Alex Tachard Passos, Alexander Neitz, Alexander Prokofiev, Alexander Wei, Allison Tam, Ally Bennett, Ananya Kumar, Andre Saraiva, Andrea Vallone, Andrew Duberstein, Andrew Kondrich, Andrey Mishchenko, Andy Applebaum, Angela Jiang, Ashvin Nair, Barret Zoph, Behrooz Ghorbani, Ben Rossen, Benjamin Sokolowsky, Boaz Barak, Bob McGrew, Borys Minaiev, Botao Hao, Bowen Baker, Brandon Houghton, Brandon McKinzie, Brydon Eastman, Camillo Lugaresi, Cary Bassin, Cary Hudson, Chak Ming Li, Charles de Bourcy, Chelsea Voss, Chen Shen, Chong Zhang, Chris Koch, Chris Orsinger, Christopher Hesse, Claudia Fischer, Clive Chan, Dan Roberts, Daniel Kappler, Daniel Levy, Daniel Selsam, David Dohan, David Farhi, David Mely, David Robinson, Dimitris Tsipras, Doug Li, Dragos Oprica, Eben Freeman, Eddie Zhang, Edmund Wong, Elizabeth Proehl, Enoch Cheung, Eric Mitchell, Eric Wallace, Erik Ritter, Evan Mays, Fan Wang, Felipe Petroski Such, Filippo Raso, Florencia Leoni, Foivos Tsimpourlas, Francis Song, Fred von Lohmann, Freddie Sulit, Geoff Salmon, Giambattista Parascandolo, Gildas Chabot, Grace Zhao, Greg Brockman, Guillaume Leclerc, Hadi Salman, Haiming Bao, Hao Sheng, Hart Andrin, Hessam Bagherinezhad, Hongyu Ren, Hunter Lightman, Hyung Won Chung, Ian Kivlichan, Ian O'Connell, Ian Osband, Ignasi Clavera Gilaberte, and Ilge Akkaya. Openai o1 system card. CoRR , abs/2412.16720, 2024. Siqi Kou, Jiachun Jin, Chang Liu, Ye Ma, Jian Jia, Quan Chen, Peng Jiang, and Zhijie Deng. Orthus: Autoregressive interleaved image-text generation with modality-specific heads. CoRR , abs/2412.00127, 2024. Chengzu Li, Wenshan Wu, Huanyu Zhang, Yan Xia, Shaoguang Mao, Li Dong, Ivan Vulic, and Furu Wei. Imagine while reasoning in space: Multimodal visualization-of-thought. CoRR , abs/2501.07542, 2025. Hao Li, Changyao Tian, Jie Shao, Xizhou Zhu, Zhaokai Wang, Jinguo Zhu, Wenhan Dou, Xiaogang Wang, Hongsheng Li, Lewei Lu, and Jifeng Dai. Synergen-vl: Towards synergistic image understanding and generation with vision experts and token folding. CoRR , abs/2412.09604, 2024a. Shufan Li, Konstantinos Kallidromitis, Akash Gokul, Zichun Liao, Yusuke Kato, Kazuki Kozuka, and Aditya Grover. Omniflow: Any-to-any generation with multi-modal rectified flows. CoRR , abs/2412.01169, 2024b. Yifan Li, Yifan Du, Kun Zhou, Jinpeng Wang, Wayne Xin Zhao, and Ji-Rong Wen. Evaluating object hallucination in large vision-language models. In EMNLP , pp. 292–305. Association for Computational Linguistics, 2023a. Yuanzhi Li, Sébastien Bubeck, Ronen Eldan, Allie Del Giorno, Suriya Gunasekar, and Yin Tat Lee. Textbooks are all you need ii: phi-1.5 technical report. arXiv preprint arXiv:2309.05463 , 2023b. Dongyang Liu, Shitian Zhao, Le Zhuo, Weifeng Lin, Yu Qiao, Hongsheng Li, and Peng Gao. Luminamgpt: Illuminate flexible photorealistic text-to-image generation with multimodal generative pretraining. CoRR , abs/2408.02657, 2024a. Hao Liu, Wilson Yan, Matei Zaharia, and Pieter Abbeel. World model on million-length video and language with ringattention. arXiv preprint , 2024b. Haotian Liu, Chunyuan Li, Yuheng Li, Bo Li, Yuanhan Zhang, Sheng Shen, and Yong Jae Lee. Llava-next: Improved reasoning, ocr, and world knowledge, 2024c.", "source": "marker_v2", "marker_block_id": "/page/10/ListGroup/322"}
|
| 3 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0073", "section": "REFERENCES", "page_start": 12, "page_end": 12, "type": "ListGroup", "text": "Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee. Visual instruction tuning. NeurIPS , 36, 2024d. Yiyang Ma, Xingchao Liu, Xiaokang Chen, Wen Liu, Chengyue Wu, Zhiyu Wu, Zizheng Pan, Zhenda Xie, Haowei Zhang, Liang Zhao, et al. Janusflow: Harmonizing autoregression and rectified flow for unified multimodal understanding and generation. arXiv preprint arXiv:2411.07975 , 2024. Weijia Mao, Zhenheng Yang, and Mike Zheng Shou. Unimod: Efficient unified multimodal transformers with mixture-of-depths. CoRR , abs/2502.06474, 2025. Liao Qu, Huichao Zhang, Yiheng Liu, Xu Wang, Yi Jiang, Yiming Gao, Hu Ye, Daniel K. Du, Zehuan Yuan, and Xinglong Wu. Tokenflow: Unified image tokenizer for multimodal understanding and generation. CoRR , abs/2412.03069, 2024. Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In ICML , pp. 8748–8763, 2021. Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning, Stefano Ermon, and Chelsea Finn. Direct preference optimization: Your language model is secretly a reward model. In NeurIPS , 2023. John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. CoRR , abs/1707.06347, 2017. Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. CoRR , abs/2402.03300, 2024. Weijia Shi, Xiaochuang Han, Chunting Zhou, Weixin Liang, Xi Victoria Lin, Luke Zettlemoyer, and Lili Yu. Llamafusion: Adapting pretrained language models for multimodal generation. arXiv preprint arXiv:2412.15188 , 2024. Keqiang Sun, Junting Pan, Yuying Ge, Hao Li, Haodong Duan, Xiaoshi Wu, Renrui Zhang, Aojun Zhou, Zipeng Qin, Yi Wang, Jifeng Dai, Yu Qiao, Limin Wang, and Hongsheng Li. Journeydb: A benchmark for generative image understanding. In NeurIPS , 2023a. Quan Sun, Qiying Yu, Yufeng Cui, Fan Zhang, Xiaosong Zhang, Yueze Wang, Hongcheng Gao, Jingjing Liu, Tiejun Huang, and Xinlong Wang. Emu: Generative pretraining in multimodality. In ICLR , 2023b. Zineng Tang, Ziyi Yang, Chenguang Zhu, Michael Zeng, and Mohit Bansal. Any-to-any generation via composable diffusion. NeurIPS , 36, 2024. Chameleon Team. Chameleon: Mixed-modal early-fusion foundation models. arXiv preprint arXiv:2405.09818 , 2024. Shengbang Tong, David Fan, Jiachen Zhu, Yunyang Xiong, Xinlei Chen, Koustuv Sinha, Michael Rabbat, Yann LeCun, Saining Xie, and Zhuang Liu. Metamorph: Multimodal understanding and generation via instruction tuning. arXiv preprint arXiv:2412.14164 , 2024. Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, Aurélien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. Llama: Open and efficient foundation language models. CoRR , abs/2302.13971, 2023. Xinlong Wang, Xiaosong Zhang, Zhengxiong Luo, Quan Sun, Yufeng Cui, Jinsheng Wang, Fan Zhang, Yueze Wang, Zhen Li, Qiying Yu, et al. Emu3: Next-token prediction is all you need. arXiv preprint arXiv:2409.18869 , 2024. Chengyue Wu, Xiaokang Chen, Zhiyu Wu, Yiyang Ma, Xingchao Liu, Zizheng Pan, Wen Liu, Zhenda Xie, Xingkai Yu, Chong Ruan, and Ping Luo. Janus: Decoupling visual encoding for unified multimodal understanding and generation. CoRR , abs/2410.13848, 2024a.", "source": "marker_v2", "marker_block_id": "/page/11/ListGroup/349"}
|
| 4 |
+
{"paper_id": "5K9XW9gQ5r", "chunk_id": "5K9XW9gQ5r:0074", "section": "REFERENCES", "page_start": 13, "page_end": 13, "type": "ListGroup", "text": "Junfeng Wu, Yi Jiang, Chuofan Ma, Yuliang Liu, Hengshuang Zhao, Zehuan Yuan, Song Bai, and Xiang Bai. Liquid: Language models are scalable multi-modal generators. CoRR , abs/2412.04332, 2024b. Shengqiong Wu, Hao Fei, Leigang Qu, Wei Ji, and Tat-Seng Chua. Next-gpt: Any-to-any multimodal llm. arXiv preprint arXiv:2309.05519 , 2023. Yecheng Wu, Zhuoyang Zhang, Junyu Chen, Haotian Tang, Dacheng Li, Yunhao Fang, Ligeng Zhu, Enze Xie, Hongxu Yin, Li Yi, Song Han, and Yao Lu. VILA-U: a unified foundation model integrating visual understanding and generation. CoRR , abs/2409.04429, 2024c. Jinheng Xie, Weijia Mao, Zechen Bai, David Junhao Zhang, Weihao Wang, Kevin Qinghong Lin, Yuchao Gu, Zhijie Chen, Zhenheng Yang, and Mike Zheng Shou. Show-o: One single transformer to unify multimodal understanding and generation. arXiv preprint arXiv:2408.12528 , 2024. An Yang, Bowen Yu, Chengyuan Li, Dayiheng Liu, Fei Huang, Haoyan Huang, Jiandong Jiang, Jianhong Tu, Jianwei Zhang, Jingren Zhou, Junyang Lin, Kai Dang, Kexin Yang, Le Yu, Mei Li, Minmin Sun, Qin Zhu, Rui Men, Tao He, Weijia Xu, Wenbiao Yin, Wenyuan Yu, Xiafei Qiu, Xingzhang Ren, Xinlong Yang, Yong Li, Zhiying Xu, and Zipeng Zhang. Qwen2.5-1m technical report. CoRR , abs/2501.15383, 2025a. Ling Yang, Xinchen Zhang, Ye Tian, Chenming Shang, Minghao Xu, Wentao Zhang, and Bin Cui. Hermesflow: Seamlessly closing the gap in multimodal understanding and generation. CoRR , abs/2502.12148, 2025b. Xiang Yue, Yuansheng Ni, Tianyu Zheng, Kai Zhang, Ruoqi Liu, Ge Zhang, Samuel Stevens, Dongfu Jiang, Weiming Ren, Yuxuan Sun, Cong Wei, Botao Yu, Ruibin Yuan, Renliang Sun, Ming Yin, Boyuan Zheng, Zhenzhu Yang, Yibo Liu, Wenhao Huang, Huan Sun, Yu Su, and Wenhu Chen. MMMU: A massive multi-discipline multimodal understanding and reasoning benchmark for expert AGI. In CVPR , pp. 9556–9567. IEEE, 2024. Rui Zhao, Weijia Mao, and Mike Zheng Shou. Doracycle: Domain-oriented adaptation of unified generative model in multimodal cycles. CoRR , abs/2503.03651, 2025. Chunting Zhou, Lili Yu, Arun Babu, Kushal Tirumala, Michihiro Yasunaga, Leonid Shamis, Jacob Kahn, Xuezhe Ma, Luke Zettlemoyer, and Omer Levy. Transfusion: Predict the next token and diffuse images with one multi-modal model. CoRR , abs/2408.11039, 2024.", "source": "marker_v2", "marker_block_id": "/page/12/ListGroup/263"}
|
iclr26/5K9XW9gQ5r/reference_text_v3.txt
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[p. 11 | section: REFERENCES | type: Text]
|
| 2 |
+
Yuying Ge, Sijie Zhao, Jinguo Zhu, Yixiao Ge, Kun Yi, Lin Song, Chen Li, Xiaohan Ding, and Ying Shan. Seed-x: Multimodal models with unified multi-granularity comprehension and generation. arXiv preprint arXiv:2404.14396 , 2024.
|
| 3 |
+
|
| 4 |
+
[p. 11 | section: REFERENCES | type: ListGroup]
|
| 5 |
+
Dhruba Ghosh, Hannaneh Hajishirzi, and Ludwig Schmidt. Geneval: An object-focused framework for evaluating text-to-image alignment. In NeurIPS , 2023. Ziyu Guo, Renrui Zhang, Chengzhuo Tong, Zhizheng Zhao, Peng Gao, Hongsheng Li, and Pheng-Ann Heng. Can we generate images with cot? let's verify and reinforce image generation step by step. CoRR , abs/2501.13926, 2025. Aaron Jaech, Adam Kalai, Adam Lerer, Adam Richardson, Ahmed El-Kishky, Aiden Low, Alec Helyar, Aleksander Madry, Alex Beutel, Alex Carney, Alex Iftimie, Alex Karpenko, Alex Tachard Passos, Alexander Neitz, Alexander Prokofiev, Alexander Wei, Allison Tam, Ally Bennett, Ananya Kumar, Andre Saraiva, Andrea Vallone, Andrew Duberstein, Andrew Kondrich, Andrey Mishchenko, Andy Applebaum, Angela Jiang, Ashvin Nair, Barret Zoph, Behrooz Ghorbani, Ben Rossen, Benjamin Sokolowsky, Boaz Barak, Bob McGrew, Borys Minaiev, Botao Hao, Bowen Baker, Brandon Houghton, Brandon McKinzie, Brydon Eastman, Camillo Lugaresi, Cary Bassin, Cary Hudson, Chak Ming Li, Charles de Bourcy, Chelsea Voss, Chen Shen, Chong Zhang, Chris Koch, Chris Orsinger, Christopher Hesse, Claudia Fischer, Clive Chan, Dan Roberts, Daniel Kappler, Daniel Levy, Daniel Selsam, David Dohan, David Farhi, David Mely, David Robinson, Dimitris Tsipras, Doug Li, Dragos Oprica, Eben Freeman, Eddie Zhang, Edmund Wong, Elizabeth Proehl, Enoch Cheung, Eric Mitchell, Eric Wallace, Erik Ritter, Evan Mays, Fan Wang, Felipe Petroski Such, Filippo Raso, Florencia Leoni, Foivos Tsimpourlas, Francis Song, Fred von Lohmann, Freddie Sulit, Geoff Salmon, Giambattista Parascandolo, Gildas Chabot, Grace Zhao, Greg Brockman, Guillaume Leclerc, Hadi Salman, Haiming Bao, Hao Sheng, Hart Andrin, Hessam Bagherinezhad, Hongyu Ren, Hunter Lightman, Hyung Won Chung, Ian Kivlichan, Ian O'Connell, Ian Osband, Ignasi Clavera Gilaberte, and Ilge Akkaya. Openai o1 system card. CoRR , abs/2412.16720, 2024. Siqi Kou, Jiachun Jin, Chang Liu, Ye Ma, Jian Jia, Quan Chen, Peng Jiang, and Zhijie Deng. Orthus: Autoregressive interleaved image-text generation with modality-specific heads. CoRR , abs/2412.00127, 2024. Chengzu Li, Wenshan Wu, Huanyu Zhang, Yan Xia, Shaoguang Mao, Li Dong, Ivan Vulic, and Furu Wei. Imagine while reasoning in space: Multimodal visualization-of-thought. CoRR , abs/2501.07542, 2025. Hao Li, Changyao Tian, Jie Shao, Xizhou Zhu, Zhaokai Wang, Jinguo Zhu, Wenhan Dou, Xiaogang Wang, Hongsheng Li, Lewei Lu, and Jifeng Dai. Synergen-vl: Towards synergistic image understanding and generation with vision experts and token folding. CoRR , abs/2412.09604, 2024a. Shufan Li, Konstantinos Kallidromitis, Akash Gokul, Zichun Liao, Yusuke Kato, Kazuki Kozuka, and Aditya Grover. Omniflow: Any-to-any generation with multi-modal rectified flows. CoRR , abs/2412.01169, 2024b. Yifan Li, Yifan Du, Kun Zhou, Jinpeng Wang, Wayne Xin Zhao, and Ji-Rong Wen. Evaluating object hallucination in large vision-language models. In EMNLP , pp. 292–305. Association for Computational Linguistics, 2023a. Yuanzhi Li, Sébastien Bubeck, Ronen Eldan, Allie Del Giorno, Suriya Gunasekar, and Yin Tat Lee. Textbooks are all you need ii: phi-1.5 technical report. arXiv preprint arXiv:2309.05463 , 2023b. Dongyang Liu, Shitian Zhao, Le Zhuo, Weifeng Lin, Yu Qiao, Hongsheng Li, and Peng Gao. Luminamgpt: Illuminate flexible photorealistic text-to-image generation with multimodal generative pretraining. CoRR , abs/2408.02657, 2024a. Hao Liu, Wilson Yan, Matei Zaharia, and Pieter Abbeel. World model on million-length video and language with ringattention. arXiv preprint , 2024b. Haotian Liu, Chunyuan Li, Yuheng Li, Bo Li, Yuanhan Zhang, Sheng Shen, and Yong Jae Lee. Llava-next: Improved reasoning, ocr, and world knowledge, 2024c.
|
| 6 |
+
|
| 7 |
+
[p. 12 | section: REFERENCES | type: ListGroup]
|
| 8 |
+
Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee. Visual instruction tuning. NeurIPS , 36, 2024d. Yiyang Ma, Xingchao Liu, Xiaokang Chen, Wen Liu, Chengyue Wu, Zhiyu Wu, Zizheng Pan, Zhenda Xie, Haowei Zhang, Liang Zhao, et al. Janusflow: Harmonizing autoregression and rectified flow for unified multimodal understanding and generation. arXiv preprint arXiv:2411.07975 , 2024. Weijia Mao, Zhenheng Yang, and Mike Zheng Shou. Unimod: Efficient unified multimodal transformers with mixture-of-depths. CoRR , abs/2502.06474, 2025. Liao Qu, Huichao Zhang, Yiheng Liu, Xu Wang, Yi Jiang, Yiming Gao, Hu Ye, Daniel K. Du, Zehuan Yuan, and Xinglong Wu. Tokenflow: Unified image tokenizer for multimodal understanding and generation. CoRR , abs/2412.03069, 2024. Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In ICML , pp. 8748–8763, 2021. Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning, Stefano Ermon, and Chelsea Finn. Direct preference optimization: Your language model is secretly a reward model. In NeurIPS , 2023. John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. CoRR , abs/1707.06347, 2017. Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. CoRR , abs/2402.03300, 2024. Weijia Shi, Xiaochuang Han, Chunting Zhou, Weixin Liang, Xi Victoria Lin, Luke Zettlemoyer, and Lili Yu. Llamafusion: Adapting pretrained language models for multimodal generation. arXiv preprint arXiv:2412.15188 , 2024. Keqiang Sun, Junting Pan, Yuying Ge, Hao Li, Haodong Duan, Xiaoshi Wu, Renrui Zhang, Aojun Zhou, Zipeng Qin, Yi Wang, Jifeng Dai, Yu Qiao, Limin Wang, and Hongsheng Li. Journeydb: A benchmark for generative image understanding. In NeurIPS , 2023a. Quan Sun, Qiying Yu, Yufeng Cui, Fan Zhang, Xiaosong Zhang, Yueze Wang, Hongcheng Gao, Jingjing Liu, Tiejun Huang, and Xinlong Wang. Emu: Generative pretraining in multimodality. In ICLR , 2023b. Zineng Tang, Ziyi Yang, Chenguang Zhu, Michael Zeng, and Mohit Bansal. Any-to-any generation via composable diffusion. NeurIPS , 36, 2024. Chameleon Team. Chameleon: Mixed-modal early-fusion foundation models. arXiv preprint arXiv:2405.09818 , 2024. Shengbang Tong, David Fan, Jiachen Zhu, Yunyang Xiong, Xinlei Chen, Koustuv Sinha, Michael Rabbat, Yann LeCun, Saining Xie, and Zhuang Liu. Metamorph: Multimodal understanding and generation via instruction tuning. arXiv preprint arXiv:2412.14164 , 2024. Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, Aurélien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. Llama: Open and efficient foundation language models. CoRR , abs/2302.13971, 2023. Xinlong Wang, Xiaosong Zhang, Zhengxiong Luo, Quan Sun, Yufeng Cui, Jinsheng Wang, Fan Zhang, Yueze Wang, Zhen Li, Qiying Yu, et al. Emu3: Next-token prediction is all you need. arXiv preprint arXiv:2409.18869 , 2024. Chengyue Wu, Xiaokang Chen, Zhiyu Wu, Yiyang Ma, Xingchao Liu, Zizheng Pan, Wen Liu, Zhenda Xie, Xingkai Yu, Chong Ruan, and Ping Luo. Janus: Decoupling visual encoding for unified multimodal understanding and generation. CoRR , abs/2410.13848, 2024a.
|
| 9 |
+
|
| 10 |
+
[p. 13 | section: REFERENCES | type: ListGroup]
|
| 11 |
+
Junfeng Wu, Yi Jiang, Chuofan Ma, Yuliang Liu, Hengshuang Zhao, Zehuan Yuan, Song Bai, and Xiang Bai. Liquid: Language models are scalable multi-modal generators. CoRR , abs/2412.04332, 2024b. Shengqiong Wu, Hao Fei, Leigang Qu, Wei Ji, and Tat-Seng Chua. Next-gpt: Any-to-any multimodal llm. arXiv preprint arXiv:2309.05519 , 2023. Yecheng Wu, Zhuoyang Zhang, Junyu Chen, Haotian Tang, Dacheng Li, Yunhao Fang, Ligeng Zhu, Enze Xie, Hongxu Yin, Li Yi, Song Han, and Yao Lu. VILA-U: a unified foundation model integrating visual understanding and generation. CoRR , abs/2409.04429, 2024c. Jinheng Xie, Weijia Mao, Zechen Bai, David Junhao Zhang, Weihao Wang, Kevin Qinghong Lin, Yuchao Gu, Zhijie Chen, Zhenheng Yang, and Mike Zheng Shou. Show-o: One single transformer to unify multimodal understanding and generation. arXiv preprint arXiv:2408.12528 , 2024. An Yang, Bowen Yu, Chengyuan Li, Dayiheng Liu, Fei Huang, Haoyan Huang, Jiandong Jiang, Jianhong Tu, Jianwei Zhang, Jingren Zhou, Junyang Lin, Kai Dang, Kexin Yang, Le Yu, Mei Li, Minmin Sun, Qin Zhu, Rui Men, Tao He, Weijia Xu, Wenbiao Yin, Wenyuan Yu, Xiafei Qiu, Xingzhang Ren, Xinlong Yang, Yong Li, Zhiying Xu, and Zipeng Zhang. Qwen2.5-1m technical report. CoRR , abs/2501.15383, 2025a. Ling Yang, Xinchen Zhang, Ye Tian, Chenming Shang, Minghao Xu, Wentao Zhang, and Bin Cui. Hermesflow: Seamlessly closing the gap in multimodal understanding and generation. CoRR , abs/2502.12148, 2025b. Xiang Yue, Yuansheng Ni, Tianyu Zheng, Kai Zhang, Ruoqi Liu, Ge Zhang, Samuel Stevens, Dongfu Jiang, Weiming Ren, Yuxuan Sun, Cong Wei, Botao Yu, Ruibin Yuan, Renliang Sun, Ming Yin, Boyuan Zheng, Zhenzhu Yang, Yibo Liu, Wenhao Huang, Huan Sun, Yu Su, and Wenhu Chen. MMMU: A massive multi-discipline multimodal understanding and reasoning benchmark for expert AGI. In CVPR , pp. 9556–9567. IEEE, 2024. Rui Zhao, Weijia Mao, and Mike Zheng Shou. Doracycle: Domain-oriented adaptation of unified generative model in multimodal cycles. CoRR , abs/2503.03651, 2025. Chunting Zhou, Lili Yu, Arun Babu, Kushal Tirumala, Michihiro Yasunaga, Leonid Shamis, Jacob Kahn, Xuezhe Ma, Luke Zettlemoyer, and Omer Levy. Transfusion: Predict the next token and diffuse images with one multi-modal model. CoRR , abs/2408.11039, 2024.
|
iclr26/5K9XW9gQ5r/sanitization_report.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "5K9XW9gQ5r",
|
| 3 |
+
"pipeline": "Paper2Markdown-V3",
|
| 4 |
+
"ok": true,
|
| 5 |
+
"page_count": 19,
|
| 6 |
+
"chunk_count": 128,
|
| 7 |
+
"main_body_chunk_count": 71,
|
| 8 |
+
"appendix_chunk_count": 53,
|
| 9 |
+
"reference_chunk_count": 4,
|
| 10 |
+
"model_text_chars": 36802,
|
| 11 |
+
"raw_markdown_chars": 73777,
|
| 12 |
+
"sanitized_chars": 69952,
|
| 13 |
+
"page_provenance": {
|
| 14 |
+
"min_page": 1,
|
| 15 |
+
"max_page": 19,
|
| 16 |
+
"invalid_count": 0
|
| 17 |
+
},
|
| 18 |
+
"marker_block_type_counts": {
|
| 19 |
+
"Caption": 7,
|
| 20 |
+
"Equation": 13,
|
| 21 |
+
"FigureGroup": 1,
|
| 22 |
+
"ListGroup": 6,
|
| 23 |
+
"PageFooter": 19,
|
| 24 |
+
"PageHeader": 21,
|
| 25 |
+
"Picture": 3,
|
| 26 |
+
"PictureGroup": 2,
|
| 27 |
+
"SectionHeader": 40,
|
| 28 |
+
"Table": 1,
|
| 29 |
+
"TableGroup": 7,
|
| 30 |
+
"Text": 348
|
| 31 |
+
},
|
| 32 |
+
"asset_count_raw": 6,
|
| 33 |
+
"asset_count_model_kept": 4,
|
| 34 |
+
"asset_count_rejected": 2,
|
| 35 |
+
"asset_reject_reasons": {
|
| 36 |
+
"kept": 4,
|
| 37 |
+
"too_small": 2
|
| 38 |
+
},
|
| 39 |
+
"artifact_leak_audit": {
|
| 40 |
+
"ok": true,
|
| 41 |
+
"hits": {
|
| 42 |
+
"Anonymous Authors": [],
|
| 43 |
+
"ACKNOWLEDGMENT": [],
|
| 44 |
+
"OpenReview": [],
|
| 45 |
+
"\"accept_label\"": [],
|
| 46 |
+
"\"decision\"": [],
|
| 47 |
+
"\"decision_tier\"": [],
|
| 48 |
+
"\"source_status\"": [],
|
| 49 |
+
"Meta-review": [],
|
| 50 |
+
"Official Review": [],
|
| 51 |
+
"official_reviews": [],
|
| 52 |
+
"meta_reviews": [],
|
| 53 |
+
"suggested_verdict_score": []
|
| 54 |
+
},
|
| 55 |
+
"artifact_count": 2
|
| 56 |
+
},
|
| 57 |
+
"default_model_input": "model_text_v3.txt",
|
| 58 |
+
"appendix_input": "appendix_text_v3.txt",
|
| 59 |
+
"reference_input": "reference_text_v3.txt"
|
| 60 |
+
}
|
iclr26/5K9XW9gQ5r/sanitized_v3.txt
ADDED
|
@@ -0,0 +1,334 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{0}
|
| 2 |
+
## ABSTRACT
|
| 3 |
+
Unified multimodal large language models such as Show-o and Janus have achieved strong performance across both generation and understanding tasks. However, these models typically rely on large-scale datasets and require substantial computation during the pretraining stage. In addition, several post-training methods have been proposed, but they often depend on external data or are limited to task-specific customization. In this work, we introduce UniRL, a self-improving post-training approach. Our approach enables the model to generate images from prompts and use them as training data in each iteration, without relying on any external image data. Moreover, it enables the two tasks to enhance each other: the generated images are used for understanding, and the understanding results are used to supervise generation. We explore supervised fine-tuning (SFT) and Group Relative Policy Optimization (GRPO) to optimize the models. UniRL offers three key advantages: (1) it requires no external image data, as all training samples are generated by the model itself during training; (2) it not only improves individual task performance, but also reduces the imbalance between generation and understanding; and (3) it requires only several additional training steps during the post-training stage. We evaluate UniRL on top of Show-o and Janus, achieving a GenEval score of 0.77 for Show-o and 0.65 for Janus. Code and models will be released.
|
| 4 |
+
## 1 INTRODUCTION
|
| 5 |
+
Unified multimodal large language models are designed to handle both generation and understanding tasks within a shared parameter space. Recently, models such as Show-o, Janus, and others [\(Xie et al.,](#page-12-0) [2024;](#page-12-0) [Wu et al., 2024a;](#page-11-0) [Ma et al., 2024;](#page-11-1) [Zhou et al., 2024;](#page-12-1) [Wang et al., 2024\)](#page-11-2) have made rapid progress by adopting various architectural and training strategies. Most existing work focuses on the pretraining stage, leveraging large-scale data to train models built upon large language models (LLMs) [\(Li et al.,](#page-10-0) [2023b;](#page-10-0) [Abdin et al., 2024;](#page-9-0) [Touvron et al., 2023\)](#page-11-3) or multimodal LLMs (MLLMs) [\(Bai et al., 2023;](#page-9-1) [Liu et al., 2024d;](#page-11-4)[c\)](#page-10-1). However, these methods often face challenges such as high computational cost and the need for vast amounts of data. Meanwhile, several studies [\(Yang et al., 2025b;](#page-12-2) [Guo et al.,](#page-10-2) [2025;](#page-10-2) [Li et al., 2025\)](#page-10-3) have explored the post-training phase, but they face limitations: some require additional external data [\(Yang et al., 2025b;](#page-12-2) [Zhao et al., 2025;](#page-12-3) [Li et al., 2025\)](#page-10-3), others target only a single task [\(Guo et al., 2025;](#page-10-2) [Li et al., 2025\)](#page-10-3), or focus on task-specific customization [\(Zhao et al.,](#page-12-3) [2025\)](#page-12-3). Therefore, developing effective post-training methods to improve the performance of unified multimodal models remains a significant challenge.
|
| 6 |
+
In this work, we propose a self-improving post-training method for unified multimodal models without external image data. We begin by constructing prompts and question–answer (QA) pairs inspired by the GenEval [\(Ghosh et al., 2023\)](#page-10-4) benchmark, which evaluates generation quality by categorizing prompts into six types—such as counting, color, and position—designed to reflect fundamental visual features of natural images. We adopt this categorization to design the prompts used in our training process. In each training iteration, a constructed prompt is fed into the model to generate a group of images. These images, along with the corresponding questions, are then input back into the model to predict answers. The model is optimized using both the predicted and ground-truth answers to improve generation and understanding simultaneously. For optimization, we explore two strategies: supervised fine-tuning (SFT) and reinforcement learning.
|
| 7 |
+
{1}------------------------------------------------
|
| 8 |
+
<span id="page-1-0"></span>Figure 1: The imbalance between Text-to-Image Generation (T2I) and Multi-modal Understanding (MMU). For the same image, unified multimodal models may struggle to perform both generation and understanding consistently.
|
| 9 |
+
In the post-training stage, supervised fine-tuning (SFT) and reinforcement learning have traditionally been widely used. Recently, Group Relative Policy Optimization (GRPO) (Shao et al., 2024), a reinforcement learning method, has shown strong performance in large language models (LLMs) (DeepSeek-AI et al., 2025), enabling effective post-training optimization through chain-of-thought (CoT) reasoning. In this work, we explore two optimization strategies—SFT and GRPO—for unified multimodal models and analyze the advantages of each strategy. Previous applications of GRPO typically rely on chain-of-thought outputs to estimate reward distributions. However, most current unified multimodal models lack the ability to produce structured reasoning steps. Therefore, we explore a GRPO-based method that does not rely on reasoning outputs, aiming to improve the performance of unified multimodal models.
|
| 10 |
+
For the performance of the unified multimodal models, we define it along three dimensions: (1) image generation capability, (2) image understanding capability, and (3) the balance between the two. While prior work has primarily focused on improving performance for a single task, unified multimodal models frequently exhibit poor alignment between the two capabilities. As shown in Fig. 1, these models often fail to simultaneously support both tasks on the same image. The model may succeed in generating a plausible image but fail to answer the corresponding question, or fail in generation while answering correctly. Therefore, beyond improving individual tasks, our self-improving method explicitly targets the imbalance between image generation and understanding. To quantitatively assess this imbalance, we design a new evaluation metric. While visual understanding spans a wide range of tasks, including reasoning and mathematical problem solving, we focus on basic visual features of natural images—such as object count, color, and position—in both training and evaluation to ensure alignment between generation and understanding tasks.
|
| 11 |
+
Our method offers three main advantages. (1) It does not rely on external image data, using only images generated in real time during training. (2) It improves the performance of individual tasks while also reducing the imbalance between generation and understanding. Specifically, the same set of generated images is used for both tasks, enabling shared supervision that helps improve the imbalance between them. (3) It requires only a small number of training steps during the post-training stage. To evaluate our method, we adopt Show-o and Janus as base models, assessing improvements in both single-task performance and the balance between tasks. Our approach achieves post-training GenEval scores of 0.77 on Show-o and 0.65 on Janus.
|
| 12 |
+
Our main contributions are summarized as follows:
|
| 13 |
+
- To the best of our knowledge, we propose the first self-improving post-training optimization method for unified multimodal models via supervised and reinforcement learning.
|
| 14 |
+
- We investigate the effectiveness of both supervised fine-tuning (SFT) and Group Relative Policy Optimization (GRPO) for unified multimodal models, and provide a detailed comparison of their respective performance.
|
| 15 |
+
{2}------------------------------------------------
|
| 16 |
+
- We introduce a new metric to quantify the imbalance between generation and understanding tasks within a single model. Our evaluations across multiple unified models reveal that such imbalance is common.
|
| 17 |
+
- Our method substantially improves image generation and understanding quality and effectively reduces task imbalance, enabling better consistency between text-to-image generation and multimodal understanding.
|
| 18 |
+
## 2 RELATED WORK
|
| 19 |
+
**114 115**
|
| 20 |
+
## 2.1 UNIFIED MULTIMODAL UNDERSTANDING AND GENERATION
|
| 21 |
+
Several recent studies [\(Ge et al., 2024;](#page-10-5) [Wu et al., 2023;](#page-12-4) [Team, 2024;](#page-11-6) [Xie et al., 2024;](#page-12-0) [Liu et al., 2024b;](#page-10-6) [Sun et al., 2023b;](#page-11-7) [Zhou et al., 2024;](#page-12-1) [Tang et al., 2024;](#page-11-8) [Dong et al., 2024;](#page-9-3) [Wang et al., 2024;](#page-11-2) [Ma et al.,](#page-11-1) [2024;](#page-11-1) [Liu et al., 2024a;](#page-10-7) [Wu et al., 2024b;](#page-12-5) [Shi et al., 2024;](#page-11-9) [Anil et al., 2023;](#page-9-4) [Qu et al., 2024;](#page-11-10) [Li et al.,](#page-10-8) [2024a;](#page-10-8) [Kou et al., 2024;](#page-10-9) [Li et al., 2024b;](#page-10-10) [Chen et al., 2025b;](#page-9-5) [Tong et al., 2024\)](#page-11-11) have explored unified transformers capable of both generation and comprehension. Chameleon [\(Team, 2024\)](#page-11-6),Emu3 [\(Wang](#page-11-2) [et al., 2024\)](#page-11-2), Janus [\(Wu et al., 2024a\)](#page-11-0), JanusPro [\(Chen et al., 2025b\)](#page-9-5) adopt autoregressive methods for both tasks. SEED-X [\(Ge et al., 2024\)](#page-10-5) incorporates a diffusion model alongside a large language model to support multimodal generation and understanding. While both Show-o [\(Xie et al., 2024\)](#page-12-0) and JanusFlow [\(Ma et al., 2024\)](#page-11-1) use autoregression for understanding, the former adopts discrete diffusion for generation, whereas the latter employs flow matching. These models primarily focus on the pretraining stage using different methods for different tasks. These approaches require substantial training time and large-scale training data. Some studies [\(Mao et al., 2025;](#page-11-12) [Guo et al., 2025\)](#page-10-2) have explored more efficient training or inference strategies. In this work, we take Show-o and Janus as our base model and explore post-training optimization techniques to further improve unified multimodal performance.
|
| 22 |
+
## 2.2 GRPO IN LLM AND MLLMS
|
| 23 |
+
Supervised fine-tuning (SFT) and reinforcement learning have been widely adopted in the posttraining of large language models (LLMs) [\(Jaech et al., 2024;](#page-10-11) [Li et al., 2023b;](#page-10-0) [Abdin et al., 2024;](#page-9-0) [Touvron et al., 2023\)](#page-11-3) and multimodal LLMs (MLLMs) [\(Bai et al., 2023;](#page-9-1) [Liu et al., 2024d\)](#page-11-4). Group Relative Policy Optimization (GRPO) is introduced in [\(Shao et al., 2024\)](#page-11-5) to optimize LLMs by generating a group of chain-of-thought outputs and applying a task-specific reward function to guide learning. More recently, GRPO has also been explored in the context of MLLMs [\(Chen et al., 2025a\)](#page-9-6). In addition to GRPO, other reinforcement learning approaches such as Direct Preference Optimization (DPO) [\(Rafailov et al., 2023;](#page-11-13) [Yang et al., 2025b\)](#page-12-2) and Proximal Policy Optimization (PPO) [\(Schulman](#page-11-14) [et al., 2017\)](#page-11-14) have also been applied to both LLMs and MLLMs. Hermesflow [\(Yang et al., 2025b\)](#page-12-2) and Emu3 [\(Wang et al., 2024\)](#page-11-2) use DPO to optimize unified multimodal models. However, PPO requires a separate value network to estimate the baseline, and DPO relies on predefined positive and negative examples, which introduces additional complexity. In our work, we explore SFT and GRPO method to optimize unified multimodal models and improve their generation and understanding performance during the post-training stage.
|
| 24 |
+
## 3 METHOD
|
| 25 |
+
In this section, we first introduce the background of unified multimodal models and the GRPO optimization method (Sec[.3.1\)](#page-2-0). We then describe the construction of training prompts (Sec[.A.11\)](#page-16-0), the proposed self-improving framework (Sec[.3.3\)](#page-3-0), and two optimization strategies: SFT and GRPO (Sec[.3.4\)](#page-4-0). We also present a non-end-to-end training approach designed for models that use different image representations in the two tasks (Sec[.3.5\)](#page-5-0). Finally, we introduce a new metric to evaluate the imbalance between the two tasks (Sec[.3.6\)](#page-5-1). The pipeline of training is shown in Fig. [2.](#page-4-1)
|
| 26 |
+
## <span id="page-2-0"></span>3.1 PRELIMINARY
|
| 27 |
+
Unified Multimodal Models. Unified multimodal models can be divided into two main categories: (1) both generation and understanding tasks use autoregressive methods; (2) generation makes use of
|
| 28 |
+
{3}------------------------------------------------
|
| 29 |
+
diffusion or flow matching while comprehension relies on autoregressive methods. We focus on two example models: **Show-o** (Xie et al., 2024) and **Janus** (Wu et al., 2024a).
|
| 30 |
+
In Show-o, the text tokens are denoted as $T = \{t_1, \ldots, t_N\}$ and the image tokens as $I = \{i_1, \ldots, i_M\}$ . The training objective includes two components: one maximizes the likelihood of each text token given all previous text and image tokens; the other reconstructs masked image tokens based on the remaining image tokens and the full text sequence. The two loss terms are:
|
| 31 |
+
$$\mathcal{L}_{\text{NTP}} = \sum_{n=1}^{N} \log p_{\theta} (t_n \mid t_{1:n-1}, i_{1:M}), \quad \mathcal{L}_{\text{MTP}} = \sum_{m=1}^{M} \log p_{\theta} (i_m^* \mid i_{1:m-1}, i_{m+1:M}, t_{1:N}). \quad (1)$$
|
| 32 |
+
Janus uses only the NTP objective, predicting every next token (image or text) in a single autoregressive pass.
|
| 33 |
+
Group Relative Policy Optimization(GRPO) We use a reinforcement learning method called Group Relative Policy Optimization (GRPO) (Shao et al., 2024), which optimizes the model by comparing a group of generated outputs and assigning relative rewards. Suppose inputs x come from a distribution D. For each $x \sim D$ , we sample M candidate outputs $\{y_j\}_{j=1}^M$ under an old policy $\pi_{\varphi_{\text{old}}}$ . We then update our new policy $\pi_{\varphi}$ by maximising the following objective:
|
| 34 |
+
$$L(\varphi) = \mathbb{E}_{\substack{x \sim D, \\ \{y_j\} \sim \pi_{\varphi_{\text{old}}}}} \left[ \frac{1}{M} \sum_{j=1}^{M} \min(s_j A_j, \operatorname{clip}(s_j, 1 - \delta, 1 + \delta) Z_j) \right] - \lambda D_{\text{KL}}(\pi_{\varphi} \parallel \pi_{\psi}), \quad (2)$$
|
| 35 |
+
where
|
| 36 |
+
$$s_j = \frac{\pi_{\varphi}(y_j \mid x)}{\pi_{\varphi_{\text{old}}}(y_j \mid x)}, \quad A_j = \frac{R_j - \text{mean}(R_1, \dots, R_M)}{\text{std}(R_1, \dots, R_M)}.$$
|
| 37 |
+
$R_j$ is the reward for output $y_j$ , $\delta$ sets the clipping range, $\lambda$ weighs the divergence penalty, and $\pi_\psi$ is a fixed reference policy. In the inner sum, $s_j$ measures how the new policy probability differs from the old policy for the same output. Multiplying by the normalised advantage $A_j$ gives a gradient direction. Clipping $s_j$ to $[1-\delta, 1+\delta]$ ensures that no single sample drives the update too far. Averaging over M outputs makes the estimate stable across different group sizes. Finally, subtracting $\lambda D_{\mathrm{KL}}(\pi_\varphi \parallel \pi_\psi)$ discourages large shifts away from a trusted policy, which helps to keep learning smooth.
|
| 38 |
+
#### 3.2 PROMPT AND QA PAIR CONSTRUCTION
|
| 39 |
+
In our study, we take inspiration from GenEval (Ghosh et al., 2023) to construct prompt—question—answer pairs. GenEval evaluates image generation models across six categories: single object, two objects, counting, colors, color attributes, and position. We expand the object pool by adding eighty everyday objects with GPT-40 to the eighty from COCO, yielding 160 in total. Following the GenEval procedure, we generate prompts and corresponding questions and answers (e.g., prompt: 'a photo of three vases', question: 'How many items are in this image?', answer: 'three vases'). To avoid data leakage, we reserve GenEval prompts strictly for evaluation, while all training prompts are independently created. Examples are shown in Tab. 8.
|
| 40 |
+
#### <span id="page-3-0"></span>3.3 Self-improving optimization
|
| 41 |
+
We propose a self-improving training framework that requires no external image data. In this framework, the image generation and multimodal understanding tasks mutually reinforce each other: the understanding task provides feedback to evaluate and guide image quality, while the generation task supplies training data that enhances the model's understanding capability.
|
| 42 |
+
As shown in Fig. 2, given a constructed prompt, the model first generates a sequence of image tokens $\mathbf{u} = \{u_1, \dots, u_M\}$ . Regardless of whether the image generation module uses a diffusion-based or autoregressive pipeline, we feed the generated image tokens and the prompt back into the model following the original T2I training process to obtain the image logits. Let $\mathbf{z} = \{z_1, \dots, z_L\}$ denote the output logits corresponding to the L target positions to be predicted.
|
| 43 |
+
{4}------------------------------------------------
|
| 44 |
+
**221**
|
| 45 |
+
**224**
|
| 46 |
+
**256**
|
| 47 |
+
<span id="page-4-1"></span>Figure 2: Training pipeline of UniRL (a) SFT Optimization: A prompt is used to generate a single image, which, together with the corresponding question, is used to predict an answer and compute the SFT loss. (b) GRPO Optimization: The same prompt generates a set of images, each paired with the same question to produce multiple answers, which are used to compute the GRPO loss.
|
| 48 |
+
To enable gradient flow through the discrete image tokens, we apply the Straight-Through Gumbel-Softmax (ST-GS) estimator to obtain differentiable approximations:
|
| 49 |
+
$$\hat{u}_l = \text{ST-GumbelSoftmax}(z_l), \quad \text{for } l = 1, \dots, L,$$
|
| 50 |
+
(3)
|
| 51 |
+
resulting in a completed image token sequence uˆ that includes differentiably sampled tokens. The formulation and implementation details of the Straight-Through Gumbel-Softmax estimator are provided in Sec. [A.2.](#page-13-0) This image sequence, together with the corresponding constructed question q, is then used to predict an answer. We use the predicted answers and ground-truth answer to optimize the model exploring two techniques, SFT and GRPO.
|
| 52 |
+
## <span id="page-4-0"></span>3.4 SFT AND GRPO OPTIMIZATION
|
| 53 |
+
SFT optimization. We use the predicted answers and the ground-truth answers to calculate the SFT loss to optimize the models. The SFT loss is computed as:
|
| 54 |
+
$$\mathcal{L}_{SFT} = -\sum_{t=1}^{T} \log p_{\theta}(y_t \mid y_{< t}, \hat{\mathbf{u}}, q), \tag{4}$$
|
| 55 |
+
where y<sup>t</sup> is the t-th token of the ground-truth answer, and y<t are the preceding tokens. This formulation applies generally to both masked and autoregressive image generation models. The variable uˆ denotes the generated image token sequence, which includes differentiably sampled tokens and serves as input to the answer generation module. This formulation is compatible with both masked and autoregressive image generation models. The SFT loss enables joint optimization of image generation and understanding tasks by allowing gradients to flow through the image tokens.
|
| 56 |
+
{5}------------------------------------------------
|
| 57 |
+
$$\mathcal{L}(\theta) = \mathbb{E}_{\substack{x \sim D, \\ \{\hat{a}_k\} \sim \pi_{\theta_{\text{old}}}}} \left[ -\sum_{k=1}^{K} w_k \log p_{\theta} (\hat{a}_k \mid \hat{\mathbf{u}}_k, q) \right] + \beta \operatorname{KL}(p_{\theta}(a \mid \hat{\mathbf{u}}, q) \parallel p_{\theta_{\text{ref}}}(a \mid \hat{\mathbf{u}}, q)), \quad (5)$$
|
| 58 |
+
where the importance weight $w_k$ is computed as:
|
| 59 |
+
$$w_k = \frac{\exp\left(\alpha \left(r_k - r_{\text{mean}}\right)\right)}{\sum_{j=1}^K \exp\left(\alpha \left(r_j - r_{\text{mean}}\right)\right)},$$
|
| 60 |
+
with $r_{\rm mean}$ denoting the average reward within the group and $\alpha$ controlling the sharpness of the weight distribution.
|
| 61 |
+
The first term in the loss is the GRPO objective, which applies a weighted log-likelihood over the K sampled answers. $\pi_{\theta_{\rm old}}$ is the fixed sampling policy, typically a frozen copy of the model, while $\pi_{\theta}$ (or $p_{\theta}$ ) is the current policy being optimized. Rewards are centered by subtracting the group mean $r_{\rm mean}$ , scaled by temperature $\alpha$ , and converted into weights $w_k$ to emphasize better answers. The second term is a KL penalty, scaled by $\beta$ , to keep the updated policy close to a reference model, improving stability and preventing mode collapse.
|
| 62 |
+
Importantly, because the image tokens $\hat{\mathbf{u}}_k$ are sampled in a differentiable manner, the reward signals from answer prediction can flow through both the understanding and image generation branches. This enables effective end-to-end optimization of both tasks.
|
| 63 |
+
**Reward Function.** The reward function assigns scores based on alignment between the predicted answer $\hat{a}_k$ and the ground-truth answer $a^*$ . While the specific reward criteria vary by question category, all rewards are based on two main components: (1) correct identification of object names, and (2) accurate prediction of associated attributes, such as number, color, or spatial position. The detailed reward rules for each category are summarized in Sec. A.10.
|
| 64 |
+
#### <span id="page-5-0"></span>3.5 END-TO-END TRAINING VS. NON-END-TO-END TRAINING
|
| 65 |
+
Unified multimodal models such as Show-o (Xie et al., 2024), Emu3 (Wang et al., 2024), Chameleon (Team, 2024), and Vila-u (Wu et al., 2024c) use shared image representations—typically via VQGAN (Esser et al., 2021) or custom tokenizers—allowing end-to-end training. Gradients from MMU loss can flow through the T2I module via the Straight-Through Gumbel-Softmax estimator. In contrast, Janus (Wu et al., 2024a) and JanusPro (Chen et al., 2025b) use separate representations: discrete tokens for T2I and ViT features (Dosovitskiy et al., 2021) for MMU. This mismatch prevents effective gradient flow; although gradients can technically propagate, they cannot meaningfully guide the discrete tokens, often leading to unstable training.
|
| 66 |
+
To handle such cases, we adopt a non-end-to-end training strategy. For T2I, rewards computed from MMU performance are used to directly optimize the image generation module. Conversely, for MMU, the model generates images, answers the corresponding questions, and uses the rewards to update the MMU branch. In the end-to-end setting, a unified GRPO loss is used to jointly optimize both tasks. In contrast, the non-end-to-end setting applies separate GRPO objectives to T2I and MMU. Although the two modules are trained independently, reward signals still enable cross-task interaction, mitigating the limitations of mismatched representations. Full details and loss formulas are provided in the Sec. A.3.
|
| 67 |
+
#### <span id="page-5-1"></span>3.6 The balance between image understanding and generation
|
| 68 |
+
To evaluate the balance between text-to-image generation (T2I) and multimodal understanding (MMU), we propose a bidirectional evaluation metric with two chains: T2I→MMU and MMU→T2I. In T2I→MMU, the model generates an image from a prompt and answers a question only if the image is correct; we then compute the answer accuracy. In MMU→T2I, the model first answers a question based on a given image; if correct, we regenerate the image from the prompt and evaluate its
|
| 69 |
+
<span id="page-5-2"></span>Table 1: Performance of the proposed metric for evaluating the imbalance between two tasks.
|
| 70 |
+
| Method | $Accuracy_{MMU\mid T2I}$ | Accuracy <sub>T2I MMU</sub> |
|
| 71 |
+
|----------|--------------------------|-----------------------------|
|
| 72 |
+
| Show-o | 0.83 | 0.70 |
|
| 73 |
+
| Janus | 0.67 | 0.68 |
|
| 74 |
+
| JanusPro | 0.69 | 0.85 |
|
| 75 |
+
| Vila-u | 0.68 | 0.85 |
|
| 76 |
+
{6}------------------------------------------------
|
| 77 |
+
quality. This setup assesses the consistency between generation and understanding. The conditional accuracies are defined as:
|
| 78 |
+
$$Accuracy_{MMU|T2I} = \frac{N_{A \cap I}}{N_{I}}, \quad Accuracy_{T2I|MMU} = \frac{N_{A \cap I}}{N_{A}}.$$
|
| 79 |
+
(6)
|
| 80 |
+
N<sup>I</sup> denotes the number of correctly generated images, N<sup>A</sup> the number of correctly answered questions, and NA∩<sup>I</sup> the number of samples where both are correct. These metrics quantitatively assess the consistency between generation and understanding. AccuracyMMU|T2I measures answer correctness given a correct image, while AccuracyT2I|MMU measures image correctness given a correct answer. This bidirectional formulation evaluates the alignment between the two tasks beyond isolated performance. As shown in Tab. [1,](#page-5-2) we apply this metric to several unified models, including Show-o [\(Xie](#page-12-0) [et al., 2024\)](#page-12-0), Janus [\(Wu et al., 2024a\)](#page-11-0), Janus-Pro [\(Chen et al., 2025b\)](#page-9-5), and Vila-u [\(Wu et al., 2024c\)](#page-12-6), and observe that task imbalance is consistently present across all models. More details can be seen in Sec. [A.1.](#page-13-1)
|
| 81 |
+
## 4 EXPERIMENTS
|
| 82 |
+
**329**
|
| 83 |
+
**334 335 336**
|
| 84 |
+
**364**
|
| 85 |
+
**368 369 370**
|
| 86 |
+
## 4.1 IMPLEMENTATION DETAILS
|
| 87 |
+
We evaluate our method on two base models: Show-o [\(Xie et al., 2024\)](#page-12-0) and Janus [\(Wu et al., 2024a\)](#page-11-0). For Show-o, we adopt end-to-end training. The SFT stage uses a global batch size of 16 for 5,000 iterations, and the GRPO stage is configured with a global batch size of 24, a KL coefficient β = 0.2, and 3,000 training steps on 8 H100 GPUs. During inference, we set the guidance scale to 2, diffusion steps to 16, and resolution to 512. For Janus, due to its use of different representations for generation and understanding, we apply a non-end-to-end training strategy. The model is trained with a global batch size of 64 for 1,000 iterations using the same KL coefficient. Inference is performed with a guidance scale of 5 and resolution of 384. More implementation details can be seen in Sec. [A.1.](#page-13-1)
|
| 88 |
+
## <span id="page-6-0"></span>4.2 QUANTITATIVE RESULTS
|
| 89 |
+
Baselines and our method. We compare our method against several baselines. *Original Model.* We evaluate the performance of the pretrained model without any post-training. *HermesFlow.* [\(Yang](#page-12-2) [et al., 2025b\)](#page-12-2) This method fine-tunes the Show-o model with DPO optimization on the JourneyDB dataset [\(Sun et al., 2023a\)](#page-11-15). We evaluate two variants of our post-training framework: *UniRL (SFT).* Our method using supervised fine-tuning (SFT) without reinforcement learning. *UniRL (GRPO).* Our method using Group Relative Policy Optimization (GRPO). For the Janus model, we only compare our GRPO-based method with the original model, as applying SFT leads to unstable training and failure. The specific reasons are discussed in Sec. [4.4.](#page-7-0)
|
| 90 |
+
Text to image generation. For the image generation task, we evaluate model performance using three benchmarks: GenEval [\(Ghosh et al., 2023\)](#page-10-4), DSG-1K [\(Cho et al., 2024\)](#page-9-9), and CLIP-Score [\(Radford](#page-11-16) [et al., 2021\)](#page-11-16). To calculate the CLIP score, we use 2,000 generated images sampled from the GenEval and DSG-1K benchmarks. As shown in Tab. [2,](#page-7-1) our method with SFT improves the GenEval score from 0.60 to 0.76, while the GRPO-based variant achieves 0.71—both outperforming the baselines by a large margin. In addition, our approach yields notable gains on DSG-1K and CLIP-Score, demonstrating the effectiveness of our post-training strategy in improving image generation quality. More results will be shown in Sec. [A.4.](#page-14-1)
|
| 91 |
+
We conduct a human evaluation with diverse prompts and find that 85% of participants prefer our method over Show-o (Sec. [A.6\)](#page-15-0). Through three benchmarks and human evaluation, we demonstrate that our method substantially improves T2I capacity, and the gains are general rather than limited to the GenEval domain. Furthermore, we conduct a distribution analysis between the training and test prompt sets in Sec. [A.9.](#page-16-3)
|
| 92 |
+
Multimodal understanding. We evaluate the model's ability to understand natural visual features across six categories: *single object*, *two objects*, *counting*, *colors*, *position*, and *color attributes*. These categories capture core aspects of visual understanding, including object recognition, counting, color perception, and spatial reasoning—fundamental properties of natural images. To assess generalization
|
| 93 |
+
{7}------------------------------------------------
|
| 94 |
+
<span id="page-7-1"></span>Table 2: Comparison of UniRL with baseline methods across Text-to-Image (T2I) benchmarks.
|
| 95 |
+
| Method | | GenEval ↑ | | | | | | DSG-1K↑ | Clip score ↑ |
|
| 96 |
+
|-------------|---------|-----------|--------|--------|-------|--------|---------|---------|--------------|
|
| 97 |
+
| | Single. | Two. | Count. | Colors | Posi. | Attri. | Overall | | <u>r</u> 1 |
|
| 98 |
+
| Show-o | 0.96 | 0.64 | 0.67 | 0.81 | 0.25 | 0.37 | 0.60 | 0.77 | 0.331 |
|
| 99 |
+
| HermersFlow | 0.97 | 0.67 | 0.65 | 0.77 | 0.28 | 0.42 | 0.61 | 0.78 | 0.334 |
|
| 100 |
+
| UniRL(SFT) | 0.99 | 0.93 | 0.62 | 0.89 | 0.55 | 0.68 | 0.77 | 0.82 | 0.337 |
|
| 101 |
+
| UniRL(GRPO) | 0.95 | 0.77 | 0.65 | 0.82 | 0.50 | 0.60 | 0.71 | 0.80 | 0.335 |
|
| 102 |
+
| Janus | 0.96 | 0.64 | 0.29 | 0.81 | 0.49 | 0.46 | 0.60 | 0.80 | 0.332 |
|
| 103 |
+
| UniRL(GRPO) | 0.95 | 0.74 | 0.27 | 0.81 | 0.62 | 0.52 | 0.65 | 0.81 | 0.335 |
|
| 104 |
+
<span id="page-7-3"></span>Table 4: Comparison using our proposed metric to evaluate the imbalance between the two tasks.
|
| 105 |
+
| Method | | | Acc | uracy <sub>MN</sub> | /U T2I | | | | | Acci | uracy <sub>T21</sub> | MMU | | |
|
| 106 |
+
|-------------|---------|------|--------|---------------------|--------|--------|-----------|---------|------|--------|----------------------|-------|--------|----------|
|
| 107 |
+
| | Single. | Two. | Count. | Colors | Posi. | Attri. | Overall ↑ | Single. | Two. | Count. | Colors | Posi. | Attri. | Overall↑ |
|
| 108 |
+
| Show-o | 0.98 | 0.89 | 0.92 | 0.94 | 0.10 | 0.61 | 0.83 | 0.96 | 0.66 | 0.67 | 0.85 | 0.18 | 0.41 | 0.70 |
|
| 109 |
+
| HermesFlow | 0.99 | 0.85 | 0.90 | 0.96 | 0.23 | 0.57 | 0.83 | 0.97 | 0.68 | 0.69 | 0.84 | 0.24 | 0.41 | 0.71 |
|
| 110 |
+
| UniRL(SFT) | 0.11 | 0.99 | 0.97 | 0.99 | 0.83 | 0.98 | 0.81 | 0.99 | 0.95 | 0.58 | 0.93 | 0.60 | 0.74 | 0.80 |
|
| 111 |
+
| UniRL(GRPO) | 0.99 | 0.97 | 0.90 | 0.99 | 0.81 | 0.85 | 0.93 | 0.97 | 0.85 | 0.70 | 0.90 | 0.67 | 0.68 | 0.81 |
|
| 112 |
+
| Janus | 0.91 | 0.59 | 0.71 | 0.96 | 0.20 | 0.42 | 0.67 | 0.95 | 0.67 | 0.27 | 0.90 | 0.39 | 0.49 | 0.68 |
|
| 113 |
+
| UniRL(GRPO) | 0.94 | 0.78 | 0.52 | 0.98 | 0.31 | 0.77 | 0.76 | 0.96 | 0.76 | 0.34 | 0.88 | 0.63 | 0.59 | 0.74 |
|
| 114 |
+
beyond the training distribution, we use images generated by external models such as JanusPro. The generated images, along with their corresponding questions, are then fed into the target model to evaluate its understanding capabilities on out-of-distribution visual inputs. We compute the accuracy for each categories, allowing a fine-grained analysis of the model's generalization across different aspects of visual understanding.
|
| 115 |
+
As shown in Tab. 3, our SFT-based method performs slightly worse than the original model, primarily due to overfitting, particularly in the single-object category. In contrast, our GRPO-based method achieves an overall score of 0.79, significantly outperforming all baselines. The underlying reasons are analyzed in Sec. 4.4, and further evaluation details as well as broader benchmark results, including POPE (Li et al., 2023a) and MMMU (Yue et al., 2024), are presented in Sec. A.1 and Sec. A.5.
|
| 116 |
+
The imbalance between two tasks. To evaluate the balance between image understanding and generation, we apply our proposed metric, as shown in Tab. 4. The prompts used for Accuracy<sub>MMU|T2I</sub> are taken from the GenEval benchmark, while those for Accuracy<sub>T2I|MMU</sub> are aligned with the MMU evaluation setup. The results show that our GRPO-based method significantly reduces the imbalance between the
|
| 117 |
+
<span id="page-7-2"></span>Table 3: Comparison of UniRL with baseline methods across Multi-modal Understanding(MMU) benchmarks.
|
| 118 |
+
| across main | modui | Ciia | orotaire | ****** | 11110 | , ounc | Jiiiiidi Ito |
|
| 119 |
+
|-------------|---------|------|----------|--------|-------|--------|--------------|
|
| 120 |
+
| Method | Single. | Two. | Count. | Colors | Posi. | Attri. | Overall† |
|
| 121 |
+
| Show-o | 0.99 | 0.88 | 0.79 | 0.98 | 0.20 | 0.54 | 0.71 |
|
| 122 |
+
| HermesFlow | 0.99 | 0.88 | 0.79 | 0.98 | 0.34 | 0.52 | 0.73 |
|
| 123 |
+
| UniRL(SFT) | 0.08 | 0.87 | 0.71 | 0.99 | 0.45 | 0.85 | 0.67 |
|
| 124 |
+
| UniRL(GRPO) | 0.92 | 0.88 | 0.77 | 0.94 | 0.46 | 0.72 | 0.79 |
|
| 125 |
+
| Janus | 0.93 | 0.93 | 0.92 | 0.97 | 0.38 | 0.74 | 0.84 |
|
| 126 |
+
| UniRL(GRPO) | 0.94 | 0.95 | 0.83 | 0.99 | 0.52 | 0.89 | 0.88 |
|
| 127 |
+
two tasks. For certain subtasks, the model achieves nearly 100% accuracy, indicating strong consistency between generation and understanding. We further analyze the causes of task imbalance in Sec. A.12.
|
| 128 |
+
#### 4.3 VISUALIZATION RESULTS
|
| 129 |
+
As shown in Fig. 3, we present qualitative comparisons between our method and the original models on both tasks. Our approach produces more visually faithful generations conditioned on prompts and yields more accurate answers for corresponding questions, demonstrating improved consistency across the two tasks. More results will be shown in Sec. A.7.
|
| 130 |
+
####
|
| 131 |
+
#### <span id="page-7-0"></span>4.4 ANALYSIS OF SFT VS. GRPO
|
| 132 |
+
From these experimental results, we can draw some key observations.
|
| 133 |
+
{8}------------------------------------------------
|
| 134 |
+

|
| 135 |
+
<span id="page-8-0"></span>Figure 3: Qualitative comparison of our method with the original models on both text-to-image generation (T2I) and multimodal understanding (MMU) tasks.
|
| 136 |
+
Observation 1: *SFT is more prone to overfitting and memorization than GRPO in the image understanding task.*
|
| 137 |
+
As shown in Tab. [3,](#page-7-2) SFT performs significantly worse than both the original model and GRPO on the *single object* category, where the training and test sets are fully disjoint in both examples and object types. In contrast, categories like *position* and *colors* share abstract features (e.g., position or color attributes), which partially mitigate overfitting. Compared to SFT, GRPO demonstrates better generalization under the same conditions.
|
| 138 |
+
Observation 2: *In the generation task, SFT outperforms GRPO under an end-to-end training pipeline.*
|
| 139 |
+
As shown in Tab. [2,](#page-7-1) SFT achieves better T2I results than GRPO, with no noticeable overfitting. We hypothesize two reasons for this difference. (1) MMU is more prone to overfitting than T2I, as it mainly learns from text token patterns, while T2I involves more structured image reconstruction. (2) Our training pipeline is end-to-end. The SFT supervision signal for MMU is more direct and localized, whereas for T2I it is more indirect and distributed, which may promote better generalization in image generation. Under indirect supervision in T2I, SFT may optimize more effectively, as its loss is directly based on ground-truth answers. More analysis will be discussed in Sec. [A.8.](#page-15-2)
|
| 140 |
+
Observation 3: *For non-end-to-end training setups such as Janus, SFT leads to failure in the image generation task.*
|
| 141 |
+
If we directly use the model's generated images to supervise T2I at each iteration, training will become unstable. We speculate that early-stage generation errors are repeatedly reinforced, leading to input distribution drift and eventual collapse. Therefore, for unified models with different representations for the two tasks, only the GRPO-based method is effective for improving performance. More analysis will be discussed in Sec. [A.8.](#page-15-2)
|
| 142 |
+
Overall, GRPO is a more general and robust optimization strategy compared to SFT. Regardless of the specific task or model architecture—whether the two tasks share the same image representation or not—GRPO consistently improves performance and effectively reduces the imbalance between generation and understanding. In contrast, while SFT tends to perform better on tasks like T2I in end-to-end setups (e.g., Show-o), it is more prone to memorization and overfitting.
|
| 143 |
+
## 5 CONCLUSION
|
| 144 |
+
In this work, we propose a self-improving post-training method for unified multimodal models. By combining supervised fine-tuning (SFT) with Group Relative Policy Optimization (GRPO), our approach improves both generation and understanding performance while reducing task imbalance. Experiments on Show-o and Janus validate the effectiveness of our method.
|
| 145 |
+
{9}------------------------------------------------
|
| 146 |
+
## REFERENCES
|
| 147 |
+
<span id="page-9-11"></span>**509**
|
| 148 |
+
<span id="page-9-3"></span>**529 530**
|
| 149 |
+
<span id="page-9-7"></span>**538 539**
|
| 150 |
+
- <span id="page-9-0"></span>Marah Abdin, Sam Ade Jacobs, Ammar Ahmad Awan, Jyoti Aneja, Ahmed Awadallah, Hany Awadalla, Nguyen Bach, Amit Bahree, Arash Bakhtiari, Harkirat Behl, et al. Phi-3 technical report: A highly capable language model locally on your phone. *arXiv preprint arXiv:2404.14219*, 2024.
|
| 151 |
+
- <span id="page-9-4"></span>Rohan Anil, Sebastian Borgeaud, Yonghui Wu, Jean-Baptiste Alayrac, Jiahui Yu, Radu Soricut, Johan Schalkwyk, Andrew M Dai, Anja Hauth, Katie Millican, et al. Gemini: A family of highly capable multimodal models. *arXiv preprint arXiv:2312.11805*, 1, 2023.
|
| 152 |
+
- <span id="page-9-1"></span>Jinze Bai, Shuai Bai, Shusheng Yang, Shijie Wang, Sinan Tan, Peng Wang, Junyang Lin, Chang Zhou, and Jingren Zhou. Qwen-vl: A frontier large vision-language model with versatile abilities. *CoRR*, abs/2308.12966, 2023.
|
| 153 |
+
- <span id="page-9-6"></span>Hardy Chen, Haoqin Tu, Fali Wang, Hui Liu, Xianfeng Tang, Xinya Du, Yuyin Zhou, and Cihang Xie. Sft or rl? an early investigation into training r1-like reasoning large vision-language models. *arXiv preprint arXiv:2504.11468*, 2025a.
|
| 154 |
+
- <span id="page-9-10"></span>Kai Chen, Jiaqi Wang, Jiangmiao Pang, Yuhang Cao, Yu Xiong, Xiaoxiao Li, Shuyang Sun, Wansen Feng, Ziwei Liu, Jiarui Xu, Zheng Zhang, Dazhi Cheng, Chenchen Zhu, Tianheng Cheng, Qijie Zhao, Buyu Li, Xin Lu, Rui Zhu, Yue Wu, Jifeng Dai, Jingdong Wang, Jianping Shi, Wanli Ouyang, Chen Change Loy, and Dahua Lin. Mmdetection: Open mmlab detection toolbox and benchmark. *CoRR*, abs/1906.07155, 2019.
|
| 155 |
+
- <span id="page-9-5"></span>Xiaokang Chen, Zhiyu Wu, Xingchao Liu, Zizheng Pan, Wen Liu, Zhenda Xie, Xingkai Yu, and Chong Ruan. Janus-pro: Unified multimodal understanding and generation with data and model scaling. *CoRR*, abs/2501.17811, 2025b.
|
| 156 |
+
- Bowen Cheng, Ishan Misra, Alexander G. Schwing, Alexander Kirillov, and Rohit Girdhar. Maskedattention mask transformer for universal image segmentation. In *CVPR*, pp. 1280–1289. IEEE, 2022.
|
| 157 |
+
- <span id="page-9-2"></span>DeepSeek-AI, Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Ruoyu Zhang, Runxin Xu, Qihao Zhu, Shirong Ma, Peiyi Wang, Xiao Bi, Xiaokang Zhang, Xingkai Yu, Yu Wu, Z. F. Wu, Zhibin Gou, Zhihong Shao, Zhuoshu Li, Ziyi Gao, Aixin Liu, Bing Xue, Bingxuan Wang, Bochao Wu, Bei Feng, Chengda Lu, Chenggang Zhao, Chengqi Deng, Chenyu Zhang, Chong Ruan, Damai Dai, Deli Chen, Dongjie Ji, Erhang Li, Fangyun Lin, Fucong Dai, Fuli Luo, Guangbo Hao, Guanting Chen, Guowei Li, H. Zhang, Han Bao, Hanwei Xu, Haocheng Wang, Honghui Ding, Huajian Xin, Huazuo Gao, Hui Qu, Hui Li, Jianzhong Guo, Jiashi Li, Jiawei Wang, Jingchang Chen, Jingyang Yuan, Junjie Qiu, Junlong Li, J. L. Cai, Jiaqi Ni, Jian Liang, Jin Chen, Kai Dong, Kai Hu, Kaige Gao, Kang Guan, Kexin Huang, Kuai Yu, Lean Wang, Lecong Zhang, Liang Zhao, Litong Wang, Liyue Zhang, Lei Xu, Leyi Xia, Mingchuan Zhang, Minghua Zhang, Minghui Tang, Meng Li, Miaojun Wang, Mingming Li, Ning Tian, Panpan Huang, Peng Zhang, Qiancheng Wang, Qinyu Chen, Qiushi Du, Ruiqi Ge, Ruisong Zhang, Ruizhe Pan, Runji Wang, R. J. Chen, R. L. Jin, Ruyi Chen, Shanghao Lu, Shangyan Zhou, Shanhuang Chen, Shengfeng Ye, Shiyu Wang, Shuiping Yu, Shunfeng Zhou, Shuting Pan, and S. S. Li. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. *CoRR*, abs/2501.12948, 2025.
|
| 158 |
+
- Runpei Dong, Chunrui Han, Yuang Peng, Zekun Qi, Zheng Ge, Jinrong Yang, Liang Zhao, Jianjian Sun, Hongyu Zhou, Haoran Wei, Xiangwen Kong, Xiangyu Zhang, Kaisheng Ma, and Li Yi. DreamLLM: Synergistic multimodal comprehension and creation. In *ICLR*, 2024.
|
| 159 |
+
- Patrick Esser, Robin Rombach, and Bjorn Ommer. Taming transformers for high-resolution image synthesis. In *CVPR*, pp. 12873–12883, 2021.
|
| 160 |
+
{10}------------------------------------------------
|
| 161 |
+
**558 559 560**
|
| 162 |
+
<span id="page-10-9"></span>**564**
|
| 163 |
+
<span id="page-10-12"></span>**579**
|
| 164 |
+
<span id="page-10-5"></span>Yuying Ge, Sijie Zhao, Jinguo Zhu, Yixiao Ge, Kun Yi, Lin Song, Chen Li, Xiaohan Ding, and Ying Shan. Seed-x: Multimodal models with unified multi-granularity comprehension and generation. *arXiv preprint arXiv:2404.14396*, 2024.
|
| 165 |
+
- <span id="page-10-4"></span>Dhruba Ghosh, Hannaneh Hajishirzi, and Ludwig Schmidt. Geneval: An object-focused framework for evaluating text-to-image alignment. In *NeurIPS*, 2023.
|
| 166 |
+
- <span id="page-10-2"></span>Ziyu Guo, Renrui Zhang, Chengzhuo Tong, Zhizheng Zhao, Peng Gao, Hongsheng Li, and Pheng-Ann Heng. Can we generate images with cot? let's verify and reinforce image generation step by step. *CoRR*, abs/2501.13926, 2025.
|
| 167 |
+
- <span id="page-10-11"></span>Aaron Jaech, Adam Kalai, Adam Lerer, Adam Richardson, Ahmed El-Kishky, Aiden Low, Alec Helyar, Aleksander Madry, Alex Beutel, Alex Carney, Alex Iftimie, Alex Karpenko, Alex Tachard Passos, Alexander Neitz, Alexander Prokofiev, Alexander Wei, Allison Tam, Ally Bennett, Ananya Kumar, Andre Saraiva, Andrea Vallone, Andrew Duberstein, Andrew Kondrich, Andrey Mishchenko, Andy Applebaum, Angela Jiang, Ashvin Nair, Barret Zoph, Behrooz Ghorbani, Ben Rossen, Benjamin Sokolowsky, Boaz Barak, Bob McGrew, Borys Minaiev, Botao Hao, Bowen Baker, Brandon Houghton, Brandon McKinzie, Brydon Eastman, Camillo Lugaresi, Cary Bassin, Cary Hudson, Chak Ming Li, Charles de Bourcy, Chelsea Voss, Chen Shen, Chong Zhang, Chris Koch, Chris Orsinger, Christopher Hesse, Claudia Fischer, Clive Chan, Dan Roberts, Daniel Kappler, Daniel Levy, Daniel Selsam, David Dohan, David Farhi, David Mely, David Robinson, Dimitris Tsipras, Doug Li, Dragos Oprica, Eben Freeman, Eddie Zhang, Edmund Wong, Elizabeth Proehl, Enoch Cheung, Eric Mitchell, Eric Wallace, Erik Ritter, Evan Mays, Fan Wang, Felipe Petroski Such, Filippo Raso, Florencia Leoni, Foivos Tsimpourlas, Francis Song, Fred von Lohmann, Freddie Sulit, Geoff Salmon, Giambattista Parascandolo, Gildas Chabot, Grace Zhao, Greg Brockman, Guillaume Leclerc, Hadi Salman, Haiming Bao, Hao Sheng, Hart Andrin, Hessam Bagherinezhad, Hongyu Ren, Hunter Lightman, Hyung Won Chung, Ian Kivlichan, Ian O'Connell, Ian Osband, Ignasi Clavera Gilaberte, and Ilge Akkaya. Openai o1 system card. *CoRR*, abs/2412.16720, 2024.
|
| 168 |
+
- Siqi Kou, Jiachun Jin, Chang Liu, Ye Ma, Jian Jia, Quan Chen, Peng Jiang, and Zhijie Deng. Orthus: Autoregressive interleaved image-text generation with modality-specific heads. *CoRR*, abs/2412.00127, 2024.
|
| 169 |
+
- <span id="page-10-3"></span>Chengzu Li, Wenshan Wu, Huanyu Zhang, Yan Xia, Shaoguang Mao, Li Dong, Ivan Vulic, and Furu Wei. Imagine while reasoning in space: Multimodal visualization-of-thought. *CoRR*, abs/2501.07542, 2025.
|
| 170 |
+
- <span id="page-10-8"></span>Hao Li, Changyao Tian, Jie Shao, Xizhou Zhu, Zhaokai Wang, Jinguo Zhu, Wenhan Dou, Xiaogang Wang, Hongsheng Li, Lewei Lu, and Jifeng Dai. Synergen-vl: Towards synergistic image understanding and generation with vision experts and token folding. *CoRR*, abs/2412.09604, 2024a.
|
| 171 |
+
- <span id="page-10-10"></span>Shufan Li, Konstantinos Kallidromitis, Akash Gokul, Zichun Liao, Yusuke Kato, Kazuki Kozuka, and Aditya Grover. Omniflow: Any-to-any generation with multi-modal rectified flows. *CoRR*, abs/2412.01169, 2024b.
|
| 172 |
+
- Yifan Li, Yifan Du, Kun Zhou, Jinpeng Wang, Wayne Xin Zhao, and Ji-Rong Wen. Evaluating object hallucination in large vision-language models. In *EMNLP*, pp. 292–305. Association for Computational Linguistics, 2023a.
|
| 173 |
+
- <span id="page-10-0"></span>Yuanzhi Li, Sébastien Bubeck, Ronen Eldan, Allie Del Giorno, Suriya Gunasekar, and Yin Tat Lee. Textbooks are all you need ii: phi-1.5 technical report. *arXiv preprint arXiv:2309.05463*, 2023b.
|
| 174 |
+
- <span id="page-10-7"></span>Dongyang Liu, Shitian Zhao, Le Zhuo, Weifeng Lin, Yu Qiao, Hongsheng Li, and Peng Gao. Luminamgpt: Illuminate flexible photorealistic text-to-image generation with multimodal generative pretraining. *CoRR*, abs/2408.02657, 2024a.
|
| 175 |
+
- <span id="page-10-6"></span>Hao Liu, Wilson Yan, Matei Zaharia, and Pieter Abbeel. World model on million-length video and language with ringattention. *arXiv preprint*, 2024b.
|
| 176 |
+
- <span id="page-10-1"></span>Haotian Liu, Chunyuan Li, Yuheng Li, Bo Li, Yuanhan Zhang, Sheng Shen, and Yong Jae Lee. Llava-next: Improved reasoning, ocr, and world knowledge, 2024c.
|
| 177 |
+
{11}------------------------------------------------
|
| 178 |
+
<span id="page-11-16"></span><span id="page-11-13"></span><span id="page-11-12"></span><span id="page-11-10"></span>**604 605 606**
|
| 179 |
+
<span id="page-11-14"></span><span id="page-11-5"></span>**617**
|
| 180 |
+
<span id="page-11-15"></span><span id="page-11-9"></span><span id="page-11-7"></span>**619**
|
| 181 |
+
<span id="page-11-11"></span><span id="page-11-8"></span><span id="page-11-6"></span>**634**
|
| 182 |
+
<span id="page-11-3"></span>**636**
|
| 183 |
+
- <span id="page-11-4"></span><span id="page-11-1"></span>Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee. Visual instruction tuning. *NeurIPS*, 36, 2024d.
|
| 184 |
+
- Yiyang Ma, Xingchao Liu, Xiaokang Chen, Wen Liu, Chengyue Wu, Zhiyu Wu, Zizheng Pan, Zhenda Xie, Haowei Zhang, Liang Zhao, et al. Janusflow: Harmonizing autoregression and rectified flow for unified multimodal understanding and generation. *arXiv preprint arXiv:2411.07975*, 2024.
|
| 185 |
+
- Weijia Mao, Zhenheng Yang, and Mike Zheng Shou. Unimod: Efficient unified multimodal transformers with mixture-of-depths. *CoRR*, abs/2502.06474, 2025.
|
| 186 |
+
- Liao Qu, Huichao Zhang, Yiheng Liu, Xu Wang, Yi Jiang, Yiming Gao, Hu Ye, Daniel K. Du, Zehuan Yuan, and Xinglong Wu. Tokenflow: Unified image tokenizer for multimodal understanding and generation. *CoRR*, abs/2412.03069, 2024.
|
| 187 |
+
- Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In *ICML*, pp. 8748–8763, 2021.
|
| 188 |
+
- Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning, Stefano Ermon, and Chelsea Finn. Direct preference optimization: Your language model is secretly a reward model. In *NeurIPS*, 2023.
|
| 189 |
+
- John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. *CoRR*, abs/1707.06347, 2017.
|
| 190 |
+
- Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. *CoRR*, abs/2402.03300, 2024.
|
| 191 |
+
- Weijia Shi, Xiaochuang Han, Chunting Zhou, Weixin Liang, Xi Victoria Lin, Luke Zettlemoyer, and Lili Yu. Llamafusion: Adapting pretrained language models for multimodal generation. *arXiv preprint arXiv:2412.15188*, 2024.
|
| 192 |
+
- Keqiang Sun, Junting Pan, Yuying Ge, Hao Li, Haodong Duan, Xiaoshi Wu, Renrui Zhang, Aojun Zhou, Zipeng Qin, Yi Wang, Jifeng Dai, Yu Qiao, Limin Wang, and Hongsheng Li. Journeydb: A benchmark for generative image understanding. In *NeurIPS*, 2023a.
|
| 193 |
+
- Quan Sun, Qiying Yu, Yufeng Cui, Fan Zhang, Xiaosong Zhang, Yueze Wang, Hongcheng Gao, Jingjing Liu, Tiejun Huang, and Xinlong Wang. Emu: Generative pretraining in multimodality. In *ICLR*, 2023b.
|
| 194 |
+
- Zineng Tang, Ziyi Yang, Chenguang Zhu, Michael Zeng, and Mohit Bansal. Any-to-any generation via composable diffusion. *NeurIPS*, 36, 2024.
|
| 195 |
+
- Chameleon Team. Chameleon: Mixed-modal early-fusion foundation models. *arXiv preprint arXiv:2405.09818*, 2024.
|
| 196 |
+
- Shengbang Tong, David Fan, Jiachen Zhu, Yunyang Xiong, Xinlei Chen, Koustuv Sinha, Michael Rabbat, Yann LeCun, Saining Xie, and Zhuang Liu. Metamorph: Multimodal understanding and generation via instruction tuning. *arXiv preprint arXiv:2412.14164*, 2024.
|
| 197 |
+
- Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, Aurélien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. Llama: Open and efficient foundation language models. *CoRR*, abs/2302.13971, 2023.
|
| 198 |
+
- Xinlong Wang, Xiaosong Zhang, Zhengxiong Luo, Quan Sun, Yufeng Cui, Jinsheng Wang, Fan Zhang, Yueze Wang, Zhen Li, Qiying Yu, et al. Emu3: Next-token prediction is all you need. *arXiv preprint arXiv:2409.18869*, 2024.
|
| 199 |
+
- <span id="page-11-2"></span><span id="page-11-0"></span>Chengyue Wu, Xiaokang Chen, Zhiyu Wu, Yiyang Ma, Xingchao Liu, Zizheng Pan, Wen Liu, Zhenda Xie, Xingkai Yu, Chong Ruan, and Ping Luo. Janus: Decoupling visual encoding for unified multimodal understanding and generation. *CoRR*, abs/2410.13848, 2024a.
|
| 200 |
+
{12}------------------------------------------------
|
| 201 |
+
<span id="page-12-6"></span>**654**
|
| 202 |
+
<span id="page-12-0"></span>**656**
|
| 203 |
+
**684 685**
|
| 204 |
+
- <span id="page-12-5"></span>Junfeng Wu, Yi Jiang, Chuofan Ma, Yuliang Liu, Hengshuang Zhao, Zehuan Yuan, Song Bai, and Xiang Bai. Liquid: Language models are scalable multi-modal generators. *CoRR*, abs/2412.04332, 2024b.
|
| 205 |
+
- <span id="page-12-4"></span>Shengqiong Wu, Hao Fei, Leigang Qu, Wei Ji, and Tat-Seng Chua. Next-gpt: Any-to-any multimodal llm. *arXiv preprint arXiv:2309.05519*, 2023.
|
| 206 |
+
- Yecheng Wu, Zhuoyang Zhang, Junyu Chen, Haotian Tang, Dacheng Li, Yunhao Fang, Ligeng Zhu, Enze Xie, Hongxu Yin, Li Yi, Song Han, and Yao Lu. VILA-U: a unified foundation model integrating visual understanding and generation. *CoRR*, abs/2409.04429, 2024c.
|
| 207 |
+
- Jinheng Xie, Weijia Mao, Zechen Bai, David Junhao Zhang, Weihao Wang, Kevin Qinghong Lin, Yuchao Gu, Zhijie Chen, Zhenheng Yang, and Mike Zheng Shou. Show-o: One single transformer to unify multimodal understanding and generation. *arXiv preprint arXiv:2408.12528*, 2024.
|
| 208 |
+
- <span id="page-12-8"></span>An Yang, Bowen Yu, Chengyuan Li, Dayiheng Liu, Fei Huang, Haoyan Huang, Jiandong Jiang, Jianhong Tu, Jianwei Zhang, Jingren Zhou, Junyang Lin, Kai Dang, Kexin Yang, Le Yu, Mei Li, Minmin Sun, Qin Zhu, Rui Men, Tao He, Weijia Xu, Wenbiao Yin, Wenyuan Yu, Xiafei Qiu, Xingzhang Ren, Xinlong Yang, Yong Li, Zhiying Xu, and Zipeng Zhang. Qwen2.5-1m technical report. *CoRR*, abs/2501.15383, 2025a.
|
| 209 |
+
- <span id="page-12-2"></span>Ling Yang, Xinchen Zhang, Ye Tian, Chenming Shang, Minghao Xu, Wentao Zhang, and Bin Cui. Hermesflow: Seamlessly closing the gap in multimodal understanding and generation. *CoRR*, abs/2502.12148, 2025b.
|
| 210 |
+
- <span id="page-12-7"></span>Xiang Yue, Yuansheng Ni, Tianyu Zheng, Kai Zhang, Ruoqi Liu, Ge Zhang, Samuel Stevens, Dongfu Jiang, Weiming Ren, Yuxuan Sun, Cong Wei, Botao Yu, Ruibin Yuan, Renliang Sun, Ming Yin, Boyuan Zheng, Zhenzhu Yang, Yibo Liu, Wenhao Huang, Huan Sun, Yu Su, and Wenhu Chen. MMMU: A massive multi-discipline multimodal understanding and reasoning benchmark for expert AGI. In *CVPR*, pp. 9556–9567. IEEE, 2024.
|
| 211 |
+
- <span id="page-12-3"></span>Rui Zhao, Weijia Mao, and Mike Zheng Shou. Doracycle: Domain-oriented adaptation of unified generative model in multimodal cycles. *CoRR*, abs/2503.03651, 2025.
|
| 212 |
+
- <span id="page-12-1"></span>Chunting Zhou, Lili Yu, Arun Babu, Kushal Tirumala, Michihiro Yasunaga, Leonid Shamis, Jacob Kahn, Xuezhe Ma, Luke Zettlemoyer, and Omer Levy. Transfusion: Predict the next token and diffuse images with one multi-modal model. *CoRR*, abs/2408.11039, 2024.
|
| 213 |
+
{13}------------------------------------------------
|
| 214 |
+
## A TECHNICAL APPENDICES
|
| 215 |
+
In this appendix, we provide additional implementation details of our experiments (Sec. [A.1\)](#page-13-1) and describe the formulation of the Straight-Through Gumbel-Softmax estimator (Sec. [A.2\)](#page-13-0). We then present more details and the loss formulation for the non-end-to-end training pipeline (Sec. [A.3\)](#page-14-0). Additional results for both tasks, including human evaluation and extended visualization examples, are provided in Sec. [A.5,](#page-14-2) Sec. [A.6,](#page-15-0) Sec. [A.4,](#page-14-1) and Sec. [A.7.](#page-15-1) We also include a distributional analysis (Sec. [A.9\)](#page-16-3), a detailed discussion of the reward design (Sec. [A.10\)](#page-16-2), and further analysis comparing SFT and GRPO in non-end-to-end settings (Sec. [A.8\)](#page-15-2). In addition, we describe our use of LLMs (Sec. [A.13\)](#page-17-1). Finally, we discuss the limitations of our work (Sec. [A.14\)](#page-17-2).
|
| 216 |
+
#### <span id="page-13-1"></span>A.1 MORE IMPLEMENTATION DETAILS
|
| 217 |
+
#### Training details.
|
| 218 |
+
**709**
|
| 219 |
+
**724**
|
| 220 |
+
For the SFT and GRPO phases, we set the learning rate to 1 × 10−<sup>5</sup> for both the Janus and Showo models. We use the constructed prompts as input and randomly select one sentence from the six predefined categories, treating these as the training set, while the prompts from the GenEval benchmark are reserved for testing. In the GRPO phase, the group size is set equal to the batch size on each GPU, with a batch size of 3 for Show-o and 8 for Janus, using a total of 8 H100 GPUs. Training is run until the reward converges: about 3k steps for Show-o and 1k steps for Janus, after which the reward stabilizes without further increase.
|
| 221 |
+
Understanding benchmark. For the understanding benchmarks, we use other unified multimodal models to generate images based on the prompts from the GenEval benchmark. We then filter and retain only the correctly generated images. These images, along with the constructed questions, are used as inputs to evaluate the model's understanding capability. We compute the accuracy as the percentage of predicted answers that match the ground-truth answers.
|
| 222 |
+
New metric. For the T2I→MMU chain, we use the prompts from the GenEval benchmark for evaluation. For the MMU→T2I chain, we follow the input format of our understanding benchmarks, feeding an external image and corresponding questions for evaluation. To assess the imbalance between the two tasks using our proposed metric, we employ external language models such as Qwen [\(Yang et al., 2025a\)](#page-12-8) or GPT [\(Jaech et al., 2024\)](#page-10-11) to judge whether the predicted answers match the ground-truth answers and compute accuracy for each category. For image evaluation, we follow the GenEval protocol, using MMDetection [\(Chen et al., 2019\)](#page-9-10) and Mask2Former [\(Cheng et al., 2022\)](#page-9-11) to determine whether the generated image is correct.
|
| 223 |
+
#### <span id="page-13-0"></span>A.2 STRAIGHT-THROUGH GUMBEL SOFTMAX
|
| 224 |
+
The Straight-Through Gumbel-Softmax (ST-GS) estimator enables differentiable sampling of discrete tokens, which is crucial for gradient-based optimization in end-to-end training. It approximates the sampling process using a soft relaxation during the backward pass while retaining hard discrete choices during the forward pass.
|
| 225 |
+
The Gumbel-Softmax distribution samples a continuous approximation of one-hot vectors using the following formula:
|
| 226 |
+
$$y_i = \frac{\exp\left(\frac{\log(\pi_i) + g_i}{\tau}\right)}{\sum_{j=1}^K \exp\left(\frac{\log(\pi_j) + g_j}{\tau}\right)},\tag{7}$$
|
| 227 |
+
where π<sup>i</sup> is the unnormalized probability of the i-th category, g<sup>i</sup> is sampled from the Gumbel(0, 1) distribution, τ is a temperature parameter controlling the smoothness, and K is the number of categories.
|
| 228 |
+
In the straight-through version, a hard one-hot vector z is obtained during the forward pass by applying arg max over the sampled logits:
|
| 229 |
+
$$z_i = \begin{cases} 1, & \text{if } i = \arg\max_j y_j \\ 0, & \text{otherwise} \end{cases}$$
|
| 230 |
+
(8)
|
| 231 |
+
{14}------------------------------------------------
|
| 232 |
+
**758 759**
|
| 233 |
+
**761**
|
| 234 |
+
**764**
|
| 235 |
+
**779 780 781**
|
| 236 |
+
**808 809** While the forward pass uses hard selection, the backward pass uses the soft y<sup>i</sup> values to compute gradients, enabling smooth updates.
|
| 237 |
+
We adopt the Straight-Through Gumbel-Softmax in our method to allow gradients from downstream tasks to propagate through discrete image tokens. This is critical for end-to-end training, as it ensures that the generation module receives meaningful gradient signals and participates in joint optimization with the understanding module.
|
| 238 |
+
### <span id="page-14-0"></span>A.3 NON END-TO-END TRAINING PIPELINE
|
| 239 |
+
For non-end-to-end training, we decouple the GRPO loss into two separate objectives for the T2I and MMU modules.
|
| 240 |
+
T2I optimization. For the image generation task, we directly optimize the image token logits using rewards computed from MMU performance. The GRPO loss is defined as:
|
| 241 |
+
$$\mathcal{L}_{T2I}(\theta) = -\sum_{k=1}^{K} w_k \log p_{\theta} (\hat{\mathbf{u}}_k \mid p) + \beta \operatorname{KL} (p_{\theta}(\mathbf{u} \mid p) \parallel p_{\theta_{ref}}(\mathbf{u} \mid p)),$$
|
| 242 |
+
where p is the input prompt, uˆ<sup>k</sup> is the k-th sampled image token sequence, and w<sup>k</sup> is a reward-based importance weight derived from MMU outputs.
|
| 243 |
+
MMU optimization. For the multimodal understanding task, we optimize the answer prediction directly using rewards based on answer correctness. The GRPO loss is given by:
|
| 244 |
+
$$\mathcal{L}_{\text{MMU}}(\theta) = -\sum_{k=1}^{K} w_k \log p_{\theta} (\hat{a}_k \mid \mathbf{u}, q) + \beta \operatorname{KL} \left( p_{\theta}(a \mid \mathbf{u}, q) \parallel p_{\theta_{\text{ref}}}(a \mid \mathbf{u}, q) \right),$$
|
| 245 |
+
where u is the input image token sequence, q is the question, aˆ<sup>k</sup> is the predicted answer, and w<sup>k</sup> is computed based on the answer reward.
|
| 246 |
+
Although the two modules are optimized independently, reward signals still facilitate cross-task influence, allowing the model to benefit from mutual supervision even without gradient sharing.
|
| 247 |
+
## <span id="page-14-1"></span>A.4 MORE GENERATION RESULTS
|
| 248 |
+
In our main experiments using the Show-o model [\(Xie et al., 2024\)](#page-12-0), both our method and the baselines adopt a guidance scale of 2 and 16 generation steps during training and inference. Here, we present additional comparison results under a higher guidance scale of 5 and an extended generation length of 50 steps. We observe that our SFT-based method achieves a final score of 0.79, while our GRPO-based method reaches 0.74—both significantly outperforming all baselines.
|
| 249 |
+
Table 5: Comparison of UniRL with baseline methods on the GenEval benchmark under a guidance scale of 5 and 50 generation steps.
|
| 250 |
+
| Method | Single. | Two. | Count. | Colors | Posi. | Attri. | Overall↑ |
|
| 251 |
+
|-------------|---------|------|--------|--------|-------|--------|----------|
|
| 252 |
+
| Show-o | 0.98 | 0.81 | 0.69 | 0.82 | 0.32 | 0.53 | 0.68 |
|
| 253 |
+
| HermesFlow | 0.98 | 0.84 | 0.66 | 0.82 | 0.32 | 0.52 | 0.69 |
|
| 254 |
+
| UniRL(SFT) | 1.00 | 0.97 | 0.61 | 0.91 | 0.56 | 0.70 | 0.79 |
|
| 255 |
+
| UniRL(GRPO) | 0.96 | 0.80 | 0.67 | 0.86 | 0.50 | 0.67 | 0.74 |
|
| 256 |
+
## <span id="page-14-2"></span>A.5 MORE UNDERSTANDING RESULTS
|
| 257 |
+
Since our work primarily focuses on the understanding of basic visual attributes, the main results on tasks such as counting and color recognition have been reported in Sec. [4.2.](#page-6-0) We further evaluate our method on more comprehensive benchmarks, including POPE [\(Li et al., 2023a\)](#page-10-12) and MMMU [\(Yue et al., 2024\)](#page-12-7), as shown in Tab. [6.](#page-14-3) The
|
| 258 |
+
<span id="page-14-3"></span>Table 6: Benchmark results for multimodal understanding tasks.
|
| 259 |
+
| Method | POPE↑ | MMMU_val↑ |
|
| 260 |
+
|--------------|-------|-----------|
|
| 261 |
+
| Show-o | 79.8 | 26.7 |
|
| 262 |
+
| UniRL (GRPO) | 78.1 | 26.1 |
|
| 263 |
+
{15}------------------------------------------------
|
| 264 |
+
**829 830**
|
| 265 |
+
**834**
|
| 266 |
+
**854 855 856**
|
| 267 |
+
**863**
|
| 268 |
+
# Text to Image Generation Multi-modal Understanding
|
| 269 |
+

|
| 270 |
+
*Paper artwork, layered paper, colorful Chinese dragon surrounded by clouds.*
|
| 271 |
+

|
| 272 |
+

|
| 273 |
+

|
| 274 |
+

|
| 275 |
+
*Q: Give a caption of the image*
|
| 276 |
+
*A:The image features a squirrel playing a blue electric guitar, sitting on the ground.*
|
| 277 |
+
<span id="page-15-3"></span>Figure 4: Visualization results of our method.
|
| 278 |
+
Copyright©Jiawei Liu, NUS 19 slightly lower scores can be explained by the fact that our training data mainly targets basic visual understanding, whereas benchmarks such as MMMU emphasize text-based reasoning and numerical calculation. Moreover, we observe that when relying on the existing prompts during GRPO training, the model is prone to reward hacking, leading to a slightly decline in more general capabilities (e.g., arithmetic skills) that are not directly related to our target prompts. We believe that this limitation could be mitigated by either enlarging the KL coefficient to better preserve general-purpose abilities or incorporating a broader set of understanding categories, and potentially by scaling up the model size in future work.
|
| 279 |
+
## <span id="page-15-0"></span>A.6 HUMAN EVALUATION
|
| 280 |
+
*The breathtaking view of Moraine Lake, a renowned landmark in Canada. The turquoise waters of the lake reflect the rugged peaks of the Valley of the Ten Peaks, creating a scene of unparalleled*
|
| 281 |
+
*natural beauty.*
|
| 282 |
+
We conduct a human evaluation with 20 participants using 10 prompts that cover a broad range of lengths, styles, and content. Each participant compares the outputs of our method against those of the original Show-o for all prompts, yielding 200 total comparisons. In each comparison, selecting our method scores 1 point (0 otherwise). Averaging these scores across all participants and prompts gives a mean of 0.86, indicating that participants prefer our method in 86% of cases. In contrast, the original Show-o scores 0.14. This result demonstrates that our method performs better on general cases. An example question is shown in Fig. [5.](#page-17-3)
|
| 283 |
+
#### <span id="page-15-1"></span>A.7 MORE VISUALIZATION RESULTS
|
| 284 |
+
We provide additional visualization results in Fig. [4,](#page-15-3) including several out-of-distribution examples. These results demonstrate that our method (GRPO) generalizes beyond the specific categories seen during training.
|
| 285 |
+
## <span id="page-15-2"></span>A.8 MORE ANALYSIS OF SFT AND GRPO
|
| 286 |
+
End-to-end training. For end-to-end training, supervision for T2I is inherently indirect, as the optimization signal comes from downstream tasks such as answer prediction rather than direct supervision of the generated image. Compared to MMU, T2I is generally less prone to overfitting due to the structured nature of image reconstruction. In this setting, SFT may outperform GRPO, as it leverages the ground-truth answer to directly compute the loss and guide the model toward a clearer optimization direction. This process does not heavily depend on the capacity of the base model; instead, the ground-truth serves as a strong supervision signal that helps SFT converge more efficiently.
|
| 287 |
+
In contrast, GRPO optimizes the model by generating a group of candidate answers and computing rewards to update the policy. When the model capacity is limited, the generated answers may all be incorrect, leading to weak or noisy reward signals and thus making optimization more difficult.
|
| 288 |
+
{16}------------------------------------------------
|
| 289 |
+
For MMU, which primarily relies on learning from text-based inputs, SFT tends to overfit easily by memorizing token patterns. GRPO, on the other hand, benefits from its reward-based training and KL regularization term, which encourages the updated model to remain close to the original pretrained model. This constraint improves generalization and helps prevent overfitting, especially in cases where training data is limited or highly structured.
|
| 290 |
+
Non end-to-end training. For non end-to-end training, applying SFT to T2I is often unstable due to error accumulation from the generation pipeline. The optimization direction can easily become unreliable, leading to training collapse. To mitigate this, one option is to follow prior works (Yang et al., 2025b; Guo et al., 2025), which use offline-generated images and filter out incorrect samples to construct a reliable training set for SFT. In comparison, GRPO is more robust in non end-to-end settings, as it directly optimizes with reward signals and demonstrates better stability and performance.
|
| 291 |
+
#### <span id="page-16-3"></span>A.9 DISTRIBUTION ANALYSIS
|
| 292 |
+
To demonstrate that our method does not introduce data leakage, we include a distribution analysis. We encode both the T2I training prompts and the GenEval benchmark prompts with the CLIP text encoder and map them into the same semantic vector space. We then apply t-SNE to reduce the embeddings to two dimensions and compute the Jensen–Shannon divergence (JSD) between the two distributions, obtaining a value of 0.17. Formally,
|
| 293 |
+
$$JSD(P|Q) = \frac{1}{2}KL(P|M) + \frac{1}{2}KL(Q|M), \quad M = \frac{1}{2}(P+Q), \tag{9}$$
|
| 294 |
+
where $KL(\cdot|\cdot)$ denotes the Kullback–Leibler divergence. In practice, many data-drift detection tools and practitioners consider a JSD below 0.1 as an empirical threshold suggesting that two distributions are nearly identical. Our result indicates that while the two prompt sets are similar in semantics, they are not identical.
|
| 295 |
+
<span id="page-16-1"></span>Table 8: Examples of prompts constructed for six categories of image-based question—answer tasks: single object, two object, counting, colors, position, and attribute.
|
| 296 |
+
| Category | Prompt | Question | Answer |
|
| 297 |
+
|---------------|--------------------------------------------|--------------------------------------------------------------------------------|-------------------------------------------|
|
| 298 |
+
| Single object | a photo of a bench | What is the main object of the image? | Bench |
|
| 299 |
+
| Two object | a photo of a table and a soccer | What are two main objects of the image? | A table and a soccer |
|
| 300 |
+
| Counting | a photo of three vases | How many items in this image? | Three vases |
|
| 301 |
+
| Colors | a photo of a green<br>fork | What is the color of the object? | Green |
|
| 302 |
+
| Position | a photo of a train<br>above of an elephant | What are two objects and what is position relationship between two main items? | The train is above of an elephant |
|
| 303 |
+
| Attribute | a photo of a blue chair and a red umbrella | What are two objects and the colors of two objects in the image? | The chair is blue and the umbrella is red |
|
| 304 |
+
#### <span id="page-16-2"></span>A.10 REWARD FUNCTION
|
| 305 |
+
The reward function assigns scores based on the alignment between the predicted answer $\hat{a}_k$ and the ground-truth answer $a^*$ . Although the specific reward criteria vary across question categories, all rewards rely on two key components: (1) the correct identification of object names, and (2) the accurate prediction of associated attributes, such as number, color, or spatial position.
|
| 306 |
+
A complete summary of the category-specific reward rules is provided in Tab. 7.
|
| 307 |
+
#### <span id="page-16-0"></span>A.11 PROMPT AND QA PAIR CONSTRUCTION
|
| 308 |
+
We provide the details and examples of the constructed prompts and question—answer pairs in Tab. 8.
|
| 309 |
+
<span id="page-16-4"></span>Table 7: Examples of reward rules based on key words in generated answers
|
| 310 |
+
| Category | Score | Key Word |
|
| 311 |
+
|---------------|-------|------------------|
|
| 312 |
+
| Single object | 1 | bench |
|
| 313 |
+
| Two object | 2 | table, soccer |
|
| 314 |
+
| Counting | 2 | three, vase |
|
| 315 |
+
| Colors | 1 | green |
|
| 316 |
+
| Position | 3 | train, above of, |
|
| 317 |
+
| | | elephant |
|
| 318 |
+
| Attribute | 4 | blue, chair, |
|
| 319 |
+
| | | red, umbrella |
|
| 320 |
+
{17}------------------------------------------------
|
| 321 |
+
**924**
|
| 322 |
+
**959**
|
| 323 |
+
<span id="page-17-3"></span>Figure 5: The human evaluation.
|
| 324 |
+
## <span id="page-17-0"></span>A.12 ANALYSIS OF OBSERVED INCONSISTENCIES
|
| 325 |
+
We analyze the observed inconsistencies from three perspectives:
|
| 326 |
+
Pretraining Data Imbalance. Unified models rely on large-scale datasets that differ by task. For text-to-image (T2I), datasets such as JourneyDB contain high-quality, often cartoon-style images. For multimodal understanding (MMU), datasets like LLaVA and Cambrian typically use COCO images of real-world scenes. As a result, after pretraining, Show-o tends to generate images in the style of its T2I data while still being able to answer questions about COCO-style images, reflecting a domain mismatch. This imbalance enables the model to generate images correctly—since they match the T2I training domain—but limits its ability to answer questions about those images when they lie outside the MMU training domain. Since no single large-scale dataset covers both image generation and understanding, our work focuses on the post-training stage, where we address this imbalance using only constructed prompts without external data.
|
| 327 |
+
Differences Between the Two Tasks. MMU requires the model to interpret an image and produce text, which is generally less complex than generating a detailed image in T2I. Moreover, MMU covers a wide range of tasks—such as mathematical problem solving—that lie outside the scope of image generation. These differences in task requirements naturally lead to varying performance across the two tasks.
|
| 328 |
+
Model Initialization. Some unified models are initialized with weights pretrained on a single task—either image generation or language understanding—before being fine-tuned on the other task. While this provides a strong starting point for the first capability, the secondary task must be learned from scratch and therefore often lags in performance. Differences in initialization strategies thus further contribute to the inconsistencies observed.
|
| 329 |
+
#### <span id="page-17-1"></span>A.13 USE OF LLMS
|
| 330 |
+
In this work, large language models (LLMs) were used solely to assist with paper writing, for example in language polishing and improving clarity of presentation.
|
| 331 |
+
#### <span id="page-17-2"></span>A.14 LIMITATIONS
|
| 332 |
+
While our work presents an effective post-training method for unified multimodal models, it also has several limitations. First, our current focus is limited to basic visual understanding tasks such as counting and color recognition. More complex reasoning abilities, such as mathematical problemsolving or abstract inference, are beyond the scope of this work and are left for future exploration.
|
| 333 |
+
{18}------------------------------------------------
|
| 334 |
+
Second, the training speed per iteration is relatively slow. This is a known limitation of GRPO-based methods, as they require multiple forward passes during inference before optimization.
|