arXiv(opens in a new tab)cs.AIOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.22682

FlexUMM: Flexible Representation Learning for Unified Multimodal Models

Yinyi Luo, Haoyue Bai, Yi Ge, Nilton Cesar Rojas Vales, Marios Savvides, Jindong Wang

Yinyi Luo 1∗^{1*}, Haoyue Bai 2^{2}, Yi Ge 3^{3},

Nilton Cesar Rojas Vales 2^{2}, Marios Savvides 1^{1}, Jindong Wang 2†^{2\dagger}

1^{1}Carnegie Mellon University 2^{2}William & Mary 3^{3}University of Maryland

Unified multimodal models (UMMs) can integrate understanding and generation within a single backbone. However, it is commonly known that these two capabilities can cause conflicting representations, leading to a central question: how representation and computation should be shared across functionalities? Existing UMMs often rely on a largely fixed structure, where different inputs and functionalities follow the same depth and parameter-sharing pattern. We argue that this assumption is too restrictive: more effective unification requires sharing the computation that supports cross-functional communication while specializing the capacity that becomes task- or input-specific. We introduce FlexUMM, a flexible UMM framework that dynamically decides when to preserve shared computation, when to route specialized capacity, and when to stop further processing. Evidence shows that this flexible allocation improves UMMs along two complementary axes. It improves accuracy by reducing harmful competition between functionalities, and it improves efficiency by avoiding unnecessary computation once an input representation is sufficiently mature. Beyond simple architectural unification from the pretrained models, FlexUMM works as a model-agnostic, functional plug-in to make existing UMMs more unified, stronger, and efficient. Code is available at: https://github.com/AIFrontierLab/TorchUMM/tree/main/src/umm/post_training/flexumm.

1 Introduction

Unified multimodal models (UMMs) are built around an appealing idea: understanding and generation can use one backbone instead of being served by two separate models [Wang et al., 2022, Lu et al., 2022a, Sun et al., 2024, Deng et al., 2025]. Using the same shared architecture, one UMM can do both generation and understanding tasks with the same network. This unification, however, creates a fundamental challenge in knowledge representation and computation allocation [Wu et al., 2026c, Kil and Kim, 2026]. A shared backbone must simultaneously support different capabilities, yet not every input requires the same computation, and not every component of the representation should be shared across capabilities [Han et al., 2026, Kang et al., 2026].

Existing UMMs largely rely on a fixed computational structure (Figure 1a), leaving both the allocation of capacity across capabilities and depth across inputs predetermined [Kil and Kim, 2026, Qiu et al., 2026]. Such a rigid allocation can lead to two forms of mismatch: computation may be spent on inputs or capabilities that do not require it, while shared components may be overused even when their computation is not equally beneficial to different capabilities [He et al., 2025, Wu et al., 2026c, Ye et al., 2026]. This limitation raises a central question: how should a UMM adapt its representation and computation to both capabilities more adaptively? Addressing this question requires resolving two closely related challenges.

First, computation depth should adapt to the input and capability. Not every input requires the full depth of a deep network [Graves, 2016, Elbayad et al., 2019]. In a UMM, however, the required depth depends not

∗^{*}Contact: yinyil@andrew.cmu.edu

†^{\dagger}Corresponding authors: jdw@wm.edu only on the input but also on the capability being executed [Kang et al., 2026, Su et al., 2026]. The depth at which a representation becomes sufficient for understanding should not coincide with the depth required for image generation, even though both capabilities operate on the same backbone. A fixed execution depth therefore imposes the same computational budget on inputs with different requirements. It is evident even within a single functionality: using a learned policy on Bagel, all MME [Fu et al., 2026] inputs are distributed across six distinct depths (Figure 2a). Moreover, the quality–efficiency behavior in Figure 2b suggests that computation beyond the sufficient depth can introduce unnecessary interference and reduce accuracy, rather than simply incurring redundant FLOPs. These observations motivate input-adaptive depth allocation that determines whether further computation remains useful.

Second, computational capacity must adapt to the capability. While depth determines how far computation proceeds, it does not determine which components should be shared or specialized. Understanding and generation rely on a common backbone, but their objectives can impose conflicting demands on the same parameters [Han et al., 2026, Wu et al., 2026c]. Separating the capabilities entirely would reduce such interference, but would also discard the cross-capability communication that motivates unified modeling [Kang et al., 2026, Su et al., 2026]. The challenge is therefore to preserve shared computation where the capabilities benefit from interaction while allowing specialization

Figure

(a) Selected depths.

Figure

(b) Quality–efficiency behavior.

Figure 2: Input-adaptive depth and quality–efficiency behavior.

where their objectives diverge [Peng et al., 2026a, Qiu et al., 2026]. Our controlled diagnostic, under the task construction described in the appendix, suggests a structured sharing pattern: attention gradients remain aligned across functionalities throughout the network, whereas FFN gradients increasingly diverge with depth (Figure 1b, Appendix B.1). This is a design hypothesis rather than a direct measurement of every released backbone, and it suggests that communication and transformation capacity should not be treated uniformly. Communication benefits from sharing while transformation capacity requires adaptive specialization. These interactions also have implications beyond accuracy and efficiency. If shared computation is adapted without accounting for capability-specific demands, improvements in one functionality may come with safety regressions in another.

We introduce FlexUMM, a flexible computation allocation method that adapts both capacity and depth on a shared UMM backbone. FlexUMM uses capability-adaptive allocation to preserve shared attention and selectively specialize FFN capacity through per-token routing, and depth-adaptive allocation to determine whether further computation is needed through per-sequence early exit. Together, these mechanisms form a progressive share, specialize, and stop policy that dynamically allocates computation across capabilities and inputs (Figure 1a). FlexUMM is implemented as a lightweight adaptation on top of the pretrained checkpoint, adding only routers, halting heads and low-rank residual banks, with only 0.381% increase in model size.

Our contributions are summarized as follows:

Figure

(a) Shared communication versus routed FFN capacity.

Figure

(b) Cross-functional gradient cosine.

Figure 1: FlexUMM adapts both who computes and how much computation an input receives.

• We identify two complementary sources of conflicts in UMMs: input-dependent depth and capability-dependent capacity. Our analysis shows that attention provides a shared communication pathway, while FFN capacity exhibits increasing functional divergence across layers.

• We propose FlexUMM, which jointly enables token-level capacity allocation and sequence-level depth adaptation within a unified backbone, allowing computation to be shared, specialized, or terminated according to the input and capability.

• FlexUMM improves both multimodal understanding and generation while providing an adjustable accuracy-compute trade-off at inference time, with negligible extra computation.

References (58)