ChatUMM: Robust Context Tracking for Conversational Interleaved Generation

Wenxun Dai, Zhiyuan Zhao, Yule Zhong, Yiji Cheng, Jianwei Zhang, Linqing Wang, Shiyi Zhang, Yunlong Lin, Runze He, Fellix Song, Wayne Zhuang, Yong Liu, Haoji Zhang, Yansong Tang, Chunyu WangarXiv 2026

TL;DR

ChatUMM bridges the gap between single-turn unified multimodal models and true conversational assistants by introducing an interleaved multi-turn training strategy and a robust data synthesis pipeline. By modeling text and image tokens as a continuous, serialized stream, it achieves state-of-the-art performance on visual understanding and image editing benchmarks while maintaining high-fidelity text-to-image generation across complex, multi-turn dialogues.

What Problem Does This Paper Address?

Most open-source unified multimodal models (UMMs) operate under a single-turn paradigm. They function effectively as independent task solvers—answering a single prompt or generating a single image—but fail to maintain state in a continuous, evolving conversation.

In real-world creative and problem-solving workflows, interactions are rarely instant. A user might generate an initial image, ask text-based questions about it, and then request history-dependent edits several turns later. While leading commercial systems like GPT-4o handle this via complex agent-based architectures that coordinate separate single-task experts, this workaround can inhibit holistic reasoning. ChatUMM addresses this limitation natively, targeting three critical conversational competencies: persistent context tracking, robust long-range dependency resolution, and accurate intent disambiguation across noisy dialogue histories.

Methods

ChatUMM's architecture and training paradigm are designed to treat multimodal dialogue as a single, continuous flow.

1. Unified Model Architecture

Based on the BAGEL framework, ChatUMM utilizes a decoder-only transformer incorporating a Mixture-of-Transformers (MoT) mechanism. This allows the model to share a self-attention mechanism across all layers to capture cross-modal interactions, while routing tokens to modality-specific Feed-Forward Networks (FFNs)—specifically, a "Generation Expert" for VAE latents and an "Understanding Expert" for text and ViT tokens. To balance the conflicting requirements of perception and generation, it integrates two separate visual encoders: a Vision Transformer (ViT) for high-level semantic understanding and a Variational Autoencoder (VAE) to preserve low-level visual details.

2. Interleaved Multi-Turn Training

The model processes a serialized stream of interleaved text and image tokens, using special tokens (|im_s|, |im_e|, |v_s|, |v_e|) as structural delimiters and control signals for modality switching. It employs a Generalized Causal Attention mechanism to enforce global causal dependency. Crucially, during training, the model explicitly masks out the noised VAE latents of previous turns, ensuring that subsequent generations are conditioned purely on the noise-free history of the conversation.

Figure 2: Overview of ChatUMM (Interleaved Multi-turn Training). The model processes a serialized stream of interleaved text and image tokens using special tokens as structural delimiters. |im s| and |im e| encapsulate textual segments, while |v s| and |v e| enclose visual content. Crucially, specific token transitions serve as explicit intent signals: predicting |v s| immediately following |im e| triggers image generation, whereas predicting |im s| after |v e| instructs the model to initiate text generation. The |end| token marks the completion of a turn, and |NTP| represents the text tokens generated via next token prediction. For visual generation, the image of the current turn (e.g., Turn-1 and Turn-2) is processed as noised VAE latents (striped blue), supervised by the flow matching loss LMSE. To retrieve context from the dialogue history (e.g., Turn-1 referenced during Turn-2), the model attends to historical text tokens, clean VAE latents (solid blue), and ViT tokens (yellow). Concurrently, the standard cross-entropy loss (LCE) is applied to |NTP| and special tokens to supervise text generation and intent prediction.

3. Automated Data Synthesis Pipeline

To combat the scarcity of high-quality conversational multimodal training data, the authors developed a three-stage pipeline to programmatically transform standard single-turn datasets into fluid dialogues:

  • Stage (a): Basic Multi-Turn Construction: Converts single-turn samples (like standard text-to-image or editing tasks) into elementary stateful dialogues with a dependency depth of 0 or 1.
  • Stage (b): Independent Single-Turn Insertion: Injects unrelated "distractor" turns (e.g., text chat or independent image generation) into the flow. The subsequent target query is rewritten using LLMs to be explicitly history-dependent, forcing the model to learn to bypass noise and retrieve long-range context.
  • Stage (c): Interleaved Output Generation: Evolves the output modality by leveraging an LLM (Gemini 2.5 Pro) to generate a relevant Q&A pair based on the final generated image, seamlessly blending visual generation back into the textual dialogue flow.
Figure 3: Overview of our data synthesis pipeline. We transform standard single-turn datasets into fluid, stateful dialogues through three progressive stages. (a) Basic multi-turn construction: We leverage atomic LLM-powered operations to convert single-turn samples (e.g., text-to-image, image editing) into basic stateful dialogues. (b) Independent single-turn insertion: To enforce long-range dependency resolution, unrelated “distractor” turns are inserted into the flow. The subsequent query is rewritten to be explicitly history-dependent (<query-dep>), teaching the model to maintain robust context tracking across a noisy history. (c) Interleaved output generation: We evolve the output modality to sustain interleaved multimodal generation. An LLM (e.g., Gemini 2.5 Pro) generates a relevant Q&A pair based on the image of the final turn, transforming the interaction into a continuous text-image stream (i.e., User: <query-final><Q>, Assistant: <image><A>).

Datasets

The data synthesis pipeline utilizes diverse, standard single-turn datasets spanning text-to-image, image editing, and subject-driven generation.

For evaluation, the authors employed a comprehensive suite of benchmarks:

  • Visual Understanding: MME, MMBench, MM-Vet (general and integrated capabilities), MMMU (expert-level reasoning), MathVista (mathematical reasoning), and MMVP (fine-grained perception).
  • Generative Capabilities: GenEval (text-to-image alignment and compositional capabilities) and GEdit-Bench (instruction-guided image editing based on authentic user requests).

Key Insights and Ideas

  • The Necessity of Distractors: A key "aha moment" is that training on clean, sequential multi-turn data is insufficient for robust deployment. Intentionally injecting "distractor" turns and rewriting queries to be explicitly history-dependent is what forces the model to master true long-range dependency resolution.
  • Decoupling Perception from Generation: By separating the visual encoding into ViT (for semantic understanding) and VAE (for generation details), the model avoids the representational conflicts that typically plague unified architectures.
  • Token Transitions as Intent Signals: Predicting specific structural tokens automatically serves as an implicit routing mechanism, allowing the model to seamlessly decide whether to output text or initiate image synthesis without requiring an external orchestrator.

Key Results

ChatUMM achieves state-of-the-art performance among open-source unified models across both understanding and generation tasks:

  • Visual Understanding: ChatUMM delivers top-tier results, scoring 84.6 on MMBench, 53.8 on MMMU, 66.4 on MM-Vet, and 74.7 on MathVista, performing strictly on par with or surpassing its strong 7B MoT BAGEL baseline.
  • Text-to-Image Generation: On the GenEval benchmark, ChatUMM achieves an overall score of 0.85, outperforming unified baselines like Janus-Pro-7B (+0.05) and even surpassing specialist generation models like SD3-Medium (0.74) and FLUX.1-dev (0.82).
  • Image Editing: On GEdit-Bench (English split), ChatUMM achieves an overall score of 6.95, notably exceeding the baseline BAGEL by 0.43, the proprietary Gemini 2.0 by 0.63, and the editing specialist Step1X-Edit by 0.25.
Figure 1: Examples of ChatUMM demonstrating diverse conversational capabilities.

Limitations and Future Work

Despite its strong performance, the authors note two primary directions for future improvement:

  1. The Reasoning Gap: To fully close the gap with leading commercial agent-based systems, ChatUMM needs to scale up its model parameters and integrate more complex, multi-step reasoning data.
  2. Computational Efficiency: The current dual-encoder design (ViT + VAE) introduces significant computational overhead. The authors suggest that developing a "unified tokenizer"—one that can efficiently compress both high-level semantics and low-level visual details into a single representation—is a critical frontier for future research.

Summary updated

BibTeX
@misc{dai2026chatumm,
  author = {Wenxun Dai and Zhiyuan Zhao and Yule Zhong and Yiji Cheng and Jianwei Zhang and Linqing Wang and Shiyi Zhang and Yunlong Lin and Runze He and Fellix Song and Wayne Zhuang and Yong Liu and Haoji Zhang and Yansong Tang and Chunyu Wang},
  title = {{ChatUMM: Robust Context Tracking for Conversational Interleaved Generation}},
  year = {2026},
  eprint = {2602.06442},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.06442},
}
Figure