HyperAIHyperAI

Command Palette

Search for a command to run...

الاستدلال الكامن في الفضاء المستمر للنماذج متعددة الوسائط الموحدة

Byungwoo Jeon Yoonwoo Jeong Hyunseok Lee Minsu Cho Jinwoo Shin

الملخص

تحقق النماذج متعددة الوسائط الموحدة (UMMs) نجاحًا ملحوظًا في مهام متنوعة للفهم والتوليد متعدد الوسائط، ومع ذلك لا تزال تواجه صعوبة في الاستفادة الفعالة من استدلال تسلسل الأفكار القائم على اللغة في توليد الصور. ونتيجة لذلك، غالبًا ما تعجز النماذج متعددة الوسائط الموحدة المعززة بالاستدلال عن وراثة القابلية للقياس زمن الاختبار والتحكم الدقيق الملاحظين في النماذج اللغوية الكبيرة. ونعزو هذا القصور إلى عدم تطابق جوهري في الطريقة: إذ يُنفَّذ الاستدلال في فضاء رموز متقطع، بينما يعمل توليد الصور في فضاء مستمر. ولمعالجة هذه الفجوة، نقدم إطار استدلال كامن في الفضاء المستمر (LARC)، يخفف من عنق الزجاجة على مستوى الرموز عبر الاستدلال على الحالات الخفية المستمرة. وبالتحديد، يتكون إطار التدريب من مرحلتين: (1) الضبط الدقيق المُوجَّه بمنهج تدريجي (SFT)، و(2) التعلم المعزز القائم على كسب المعلومات (RL). أولًا، تحوّل مرحلة الضبط الدقيق بالمنهج التدريجي الاستدلال على مستوى الرموز تدريجيًا إلى استدلال كامن. بعد ذلك، تعمل مرحلة التعلم المعزز القائم على كسب المعلومات على تطوير الاستدلال الكامن ذاتيًا دون إشراف من حقائق مرجعية. وتُظهر التجارب عبر معايير متنوعة لتوليد النص إلى صورة أن LARC يحسّن باستمرار جودة التوليد واتباع الأوامر والدقة التركيبية. ومن الجدير بالذكر أن LARC يحقق أداءً متقدمًا على GenEval بفارق 7 نقاط مئوية مقارنة بـ BAGEL، ويُظهر سلوكًا واضحًا في القابلية للقياس زمن الاختبار، متفوقًا على التوليد القائم على الرموز في كل من استراتيجيتي القياس زمن الاختبار المتوازية والمتسلسلة.

One-sentence Summary

Researchers from KAIST, POSTECH, and RLWRLD propose Latent Reasoning in Continuous space (LARC), a two-stage framework that combines curriculum supervised fine-tuning and information-gain reinforcement learning to shift multimodal reasoning from discrete token space to continuous hidden states, improving text-to-image generation quality, prompt following, and compositional fidelity while achieving state-of-the-art GenEval performance with a 7%p7\%\mathrm{p}7%p gain over BAGEL.

Key Contributions

  • LARC is a latent reasoning framework that performs reasoning over continuous hidden states instead of discrete tokens, bridging the modality gap between discrete reasoning tokens and continuous image generation in unified multimodal models.
  • The training pipeline combines curriculum supervised fine-tuning, which gradually converts token-level reasoning into latent reasoning, with an information-gain reinforcement learning stage that self-evolves latent reasoning without ground-truth supervision or an external critic.
  • Experiments on text-to-image generation benchmarks show that LARC improves generation quality, prompt following, and compositional fidelity, and achieves state-of-the-art performance on GenEval with a 7%p gain over BAGEL. LARC is the first reasoning-augmented UMM to exhibit clear test-time scaling for image generation, outperforming token-based generation under both parallel and sequential test-time scaling strategies.

Introduction

Unified multimodal models (UMMs) combine image generation with large language models to handle language-level planning for complex visual semantics, but they have not inherited the test-time scaling behavior seen in LLMs. The authors attribute this to a modality mismatch: reasoning is performed over discrete tokens, whereas image generation requires dense, spatially grounded continuous latent representations. As a result, added reasoning compute often collapses into shallow prompt manipulation rather than meaningful planning. To address this, they introduce LARC, a framework that performs reasoning directly in a continuous latent space aligned with image generation. LARC uses curriculum supervised fine-tuning to gradually replace token reasoning with stochastic continuous hidden states, followed by reinforcement learning with an information-gain reward and a collapse-prevention reward, requiring no ground-truth reasoning chains or external critics. This enables the first reasoning-augmented UMM with clear test-time scaling for text-to-image generation.

Dataset

  • Dataset composition and sources: The authors collect 1M interleaved chain-of-thought samples. Each sample includes an input context, a step-by-step reasoning chain, and a target image. Further source breakdown, mixture ratios, or train/validation splits are not specified in this excerpt.
  • Data format and preprocessing: Each reasoning chain is processed by inserting the special token <latent> at step boundaries. This marks the positions where latent steps can be introduced and creates an interleaved text and latent trajectory.
  • Curriculum-based usage: The data is used for supervised fine-tuning with a curriculum. Initially, all latent steps are suppressed, and the model trains on the text-only reasoning trajectory. In later phases, the first k latent steps are progressively activated, with each new latent step built on the already trained prefix. The final phase activates all latent steps.
  • Training objective on this data: The model is optimized with a next-token prediction loss over text segments and a flow-matching loss on the target image. Latent steps receive no explicit supervision target; gradients propagate through them so they can learn useful representations automatically.
  • Other processing: No cropping strategy or additional metadata construction is described in this portion of the paper.

Method

The authors propose LARC, a framework that enables unified multimodal models (UMMs) to perform image generation through latent reasoning in continuous space. The method is built around a two-stage training pipeline. Stage 1 uses curriculum supervised fine-tuning to convert token-level reasoning into interleaved latent reasoning, while Stage 2 uses self-evolving reinforcement learning with an information-gain reward to refine the latent reasoning trace without external critics.

Interleaved Latent Reasoning

To make continuous-space reasoning compatible with policy-gradient optimization, LARC formulates a reasoning trajectory as an alternating sequence of text segments and continuous latent steps, both generated by the UMM backbone. Given an input context c=(c1,…,cT)\mathbf{c} = (c_1, \dots, c_T)c=(c1​,…,cT​) consisting of a text prompt and optionally a source image, the model produces a reasoning trajectory followed by a target image x\mathbf{x}x.

The trajectory alternates between two modes. In language mode, the model emits text tokens through stochastic sampling, which exposes the trajectory to gradient signals during policy optimization. In latent mode, the model emits a continuous reasoning step that bypasses text decoding, preserving the semantic information of internal representations.

Formally, the UMM backbone first processes the input embedding ET=[e(c1),…,e(cT)]E_T = [e(c_1), \dots, e(c_T)]ET​=[e(c1​),…,e(cT​)] to produce hidden states HT=Transformer(ET)H_T = \mathrm{Transformer}(E_T)HT​=Transformer(ET​). When the model produces the special token <latent> at position ttt, latent mode begins, and the embedding for the next position is set to hth_tht​, the hidden state at position ttt in the final transformer layer. The next-position embedding update is defined as

Et+1={[Et;ht]if latent mode,[Et;e(xt+1)]if language mode,E_{t+1} = \begin{cases} [E_t; h_t] & \text{if latent mode,} \\ [E_t; e(x_{t+1})] & \text{if language mode,} \end{cases}Et+1​={[Et​;ht​][Et​;e(xt+1​)]​if latent mode,if language mode,​

with

Ht+1=Transformer(Et+1).H_{t+1} = \mathrm{Transformer}(E_{t+1}).Ht+1​=Transformer(Et+1​).

At inference, mode alternation continues until the model emits the <eos> token. Each <latent> token marks the transition from a language-mode span to the next latent step. After termination, the hidden states of the full trajectory, denoted h(τ)\mathbf{h}(\tau)h(τ), are read by the image module through cross-attention to produce the target image x\mathbf{x}x. The resulting trajectory takes the form

τ=(s1,l1,s2,l2,…,sN,lN),\tau = (s_1, l_1, s_2, l_2, \dots, s_N, l_N),τ=(s1​,l1​,s2​,l2​,…,sN​,lN​),

where sns_nsn​ denotes the nnn-th language-mode span and lnl_nln​ denotes the nnn-th latent-mode hidden state. The trajectory length and the span lengths are determined by when the model emits <eos> and <latent> tokens rather than by an external schedule.

Stage 1: Supervised Fine-Tuning with Curriculum Learning

Introducing all latent steps from the beginning of training tends to be unstable because the latent stream lacks direct supervision while the model has not yet learned the basic reasoning format. To address this, LARC uses a curriculum that gradually converts token-level reasoning into latent reasoning.

For data construction, the authors collect 1M interleaved chain-of-thought samples, each containing an input context c\mathbf{c}c, a step-by-step reasoning chain, and a target image x\mathbf{x}x. The special token <latent> is inserted at reasoning step boundaries to mark the positions where latent steps are introduced.

The curriculum starts with a text-only trajectory

τ(0)=(s1,…,sN),\tau^{(0)} = (s_1, \dots, s_N),τ(0)=(s1​,…,sN​),

which establishes the reasoning format under standard next-token prediction. In phase kkk for k=1,…,N−1k = 1, \dots, N-1k=1,…,N−1, only the first kkk latent steps are activated, so each newly introduced latent step is built on top of a stable prefix. The final phase activates all latent steps, and the learning rate is reduced at each phase transition.

The SFT objective combines a next-token prediction loss over text segments with a flow-matching loss on the target image:

LSFT(k)=−∑n=1Nlog⁡πθ(sn∣c,s<n,l<min⁡(n,k+1))+Lflow(x∣c,s1:N,l1:k).\mathcal{L}_{\mathrm{SFT}}^{(k)} = -\sum_{n=1}^{N} \log \pi_\theta \left(s_n \mid \mathbf{c}, s_{<n}, l_{<\min(n,k+1)}\right) + \mathcal{L}_{\mathrm{flow}} \left(\mathbf{x} \mid \mathbf{c}, s_{1:N}, l_{1:k}\right).LSFT(k)​=−n=1∑N​logπθ​(sn​∣c,s<n​,l<min(n,k+1)​)+Lflow​(x∣c,s1:N​,l1:k​).

Here, s<ns_{<n}s<n​ and l<min⁡(n,k+1)l_{<\min(n,k+1)}l<min(n,k+1)​ denote the text segments and active latent steps preceding sns_nsn​ at phase kkk. Gradients are propagated through the latent steps without explicit supervision targets, allowing the latent representations to encode useful information without external bias.

Stage 2: Self-Evolving Reinforcement Learning

Supervised fine-tuning alone is limited in refining latent reasoning because latent annotations are not directly available. LARC therefore introduces a self-evolving reinforcement learning stage with an intrinsic reward derived from the UMM itself, avoiding any external critic.

The reward is defined as the information gain that a reasoning trace provides to a frozen reference model. Letting πref\pi_{\mathrm{ref}}πref​ denote the Stage 1 model and pπref(x∣⋅)p_{\pi_{\mathrm{ref}}}(\mathbf{x} \mid \cdot)pπref​​(x∣⋅) denote the image-module density, the information-gain reward for a sampled trajectory τ\tauτ is

rIG(τ;x,c)≜log⁡pπref(x∣c,h(τ))−log⁡pπref(x∣c).r_{\mathrm{IG}}(\tau; \mathbf{x}, \mathbf{c}) \triangleq \log p_{\pi_{\mathrm{ref}}}(\mathbf{x} \mid \mathbf{c}, h(\tau)) - \log p_{\pi_{\mathrm{ref}}}(\mathbf{x} \mid \mathbf{c}).rIG​(τ;x,c)≜logpπref​​(x∣c,h(τ))−logpπref​​(x∣c).

This reward is positive when the trajectory raises the likelihood of the target image under the reference model and is zero when the trajectory carries no additional information beyond the context. In expectation, it corresponds to the conditional mutual information between the latent reasoning trace and the target image given the context.

Because the image module does not provide direct access to log-likelihoods, the reward is estimated as a paired difference of conditional flow-matching losses under shared noise:

rIG(τ;x,c)≈Lflowπref(x,c)−Lflowπref(x,c,h(τ)).r_{\mathrm{IG}}(\tau; \mathbf{x}, \mathbf{c}) \approx \mathcal{L}_{\mathrm{flow}}^{\pi_{\mathrm{ref}}}(\mathbf{x}, \mathbf{c}) - \mathcal{L}_{\mathrm{flow}}^{\pi_{\mathrm{ref}}}(\mathbf{x}, \mathbf{c}, h(\tau)).rIG​(τ;x,c)≈Lflowπref​​(x,c)−Lflowπref​​(x,c,h(τ)).

To prevent latent collapse, LARC adds an inter-step diversity regularizer that encourages distinct latent steps:

rdiv(τ)=1N(N−1)∑n≠n′(1−cos⁡(ln,ln′)),r_{\mathrm{div}}(\tau) = \frac{1}{N(N-1)} \sum_{n \neq n'} \left(1 - \cos(l_n, l_{n'})\right),rdiv​(τ)=N(N−1)1​n=n′∑​(1−cos(ln​,ln′​)),

where cos⁡(⋅,⋅)\cos(\cdot, \cdot)cos(⋅,⋅) denotes cosine similarity between latent-mode hidden states. The total reward is therefore

R(τ;x,c)=rIG(τ;x,c)+λdiv⋅rdiv(τ).R(\tau; \mathbf{x}, \mathbf{c}) = r_{\mathrm{IG}}(\tau; \mathbf{x}, \mathbf{c}) + \lambda_{\mathrm{div}} \cdot r_{\mathrm{div}}(\tau).R(τ;x,c)=rIG​(τ;x,c)+λdiv​⋅rdiv​(τ).

The policy is optimized by maximizing the expected reward over sampled trajectories:

max⁡πθE(c,x)∼D[Eτ∼πθ(⋅∣c)[R(τ;x,c)]].\max_{\pi_\theta} \mathbb{E}_{(\mathbf{c}, \mathbf{x}) \sim \mathcal{D}} \left[ \mathbb{E}_{\tau \sim \pi_\theta(\cdot \mid \mathbf{c})} \left[ R(\tau; \mathbf{x}, \mathbf{c}) \right] \right].πθ​max​E(c,x)∼D​[Eτ∼πθ​(⋅∣c)​[R(τ;x,c)]].

The authors adopt GRPO as the optimization algorithm, which estimates advantages from group rollouts and removes the need for an explicit value model. This allows the same optimization setup to transfer across benchmarks while keeping training stable.

Experiment

The evaluation examines LARC on text-to-image generation, image editing, and multimodal understanding tasks using benchmarks such as GenEval, DPG-Bench, OneIG-Bench, CompBench, MME, MMB, and MIRA, with comparisons against both unified multimodal models and dedicated generation models. LARC consistently improves generation quality, prompt following, editing fidelity, and visual reasoning, with the largest benefits appearing in compositionally demanding and multi-step reasoning scenarios. Test-time scaling shows that increasing the latent reasoning budget monotonically improves performance across tasks and outperforms best-of-N sampling, while ablations confirm that latent reasoning, interleaved text segments, and the two-stage training with self-evolving reinforcement learning all contribute to the overall gains.

LARC achieves strong text-to-image generation performance on GenEval, outperforming or matching reference models and discrete unified multimodal models across most subcategories. The largest gain over the baseline appears in attribute binding, indicating improved compositional handling of object properties. Overall results point to broad gains in prompt-following generation. LARC outperforms or consistently matches competing baselines across GenEval subcategories and overall score. Attribute binding shows the most pronounced improvement over the baseline, with a 15 percentage point gain. The benefit is strongest for compositionally demanding generation, while other subcategories remain competitive.

On DPG-Bench, LARC improves prompt-following fidelity relative to its base model BAGEL, with the overall score rising from 85.07 to 90.04. The reported gains are consistent across global, entity, attribute, relation, and other categories, indicating broad generalization across prompt types. Among the listed baselines, the continuous unified multimodal model Show-o2 records the highest overall score, ahead of the discrete unified multimodal baselines. LARC reaches an overall DPG-Bench score of 90.04, a 5.8% relative improvement over the base model BAGEL at 85.07. Across every subcategory, LARC shows consistent improvements over competing baselines, including global, entity, attribute, relation, and other prompt types. Among the provided baseline rows, continuous UMM Show-o2 achieves the highest overall score at 86.14, outperforming discrete UMMs such as Janus-Pro and Emu3.

On OneIG-Bench, continuous unified multimodal models outperform discrete models, and natural language prompts consistently score higher than tag-based and phrase-based prompts. Scores generally decline as prompt length increases from short to medium to long, though the drop is modest for the strongest continuous models. LARC achieves a 10.2 percentage point overall gain over the BAGEL baseline with consistent improvements across prompt types and lengths. Continuous unified multimodal models score higher than discrete models across natural language and tag/phrase prompt categories. LARC improves the overall OneIG-Bench score by 10.2 percentage points over BAGEL, with reported gains across prompt types and lengths.

LARC achieves the strongest image editing results on CompBench, outperforming all listed baselines across text alignment, image similarity, pixel quality, and perceptual similarity. The improvement over BAGEL is especially large for instruction adherence and perceptual quality, while competing unified multimodal models generally trail behind. LARC records the best LC-T, LC-I, PSNR, SSIM, and LPIPS among all compared methods. Compared with BAGEL, LARC shows a clear gain in editing instruction adherence and markedly lower perceptual error.

LARC achieves the highest reported scores among the compared methods on MME, MMB, MMMU, and MIRA. It improves over both BAGEL and Uni-CoT across all four benchmarks, with the most pronounced gain on MIRA visual reasoning. Gains on MME and MMB indicate stronger multimodal understanding transfers to perception-heavy tasks without sacrificing general visual understanding. LARC outperforms BAGEL and Uni-CoT on MME, MMB, MMMU, and MIRA. The largest improvement appears on MIRA, where LARC exceeds BAGEL and the discrete reasoning model Uni-CoT.

The evaluation covers text-to-image generation on GenEval and DPG-Bench, prompt adherence and length generalization on OneIG-Bench, image editing on CompBench, and multimodal understanding on MME, MMB, MMMU, and MIRA. LARC consistently improves over its BAGEL baseline, with notable gains in attribute binding, instruction adherence, and visual reasoning, while matching or surpassing competing discrete and continuous unified multimodal models. The results indicate that LARC's improvements generalize across generation, editing, and perception tasks without sacrificing general visual understanding.


بناء الذكاء الاصطناعي بالذكاء الاصطناعي

من الفكرة إلى الإطلاق — سرّع تطوير الذكاء الاصطناعي الخاص بك مع المساعدة البرمجية المجانية بالذكاء الاصطناعي، وبيئة جاهزة للاستخدام، وأفضل أسعار لوحدات معالجة الرسومات.

البرمجة التعاونية باستخدام الذكاء الاصطناعي
وحدات GPU جاهزة للعمل
أفضل الأسعار

HyperAI Newsletters

اشترك في آخر تحديثاتنا
سنرسل لك أحدث التحديثات الأسبوعية إلى بريدك الإلكتروني في الساعة التاسعة من صباح كل يوم اثنين
مدعوم بواسطة MailChimp