[Paper Review] MM-Interleaved: Interleaved Image-Text Generative Modeling via Multi-modal Feature Synchronizer
MM-Interleaved is an end-to-end model for interleaved image-text data that uses a fine-grained multi-modal feature synchronizer to access multi-scale high-resolution image features during generation, enabling both accurate text generation and visually consistent image synthesis.
Developing generative models for interleaved image-text data has both research and practical value. It requires models to understand the interleaved sequences and subsequently generate images and text. However, existing attempts are limited by the issue that the fixed number of visual tokens cannot efficiently capture image details, which is particularly problematic in the multi-image scenarios. To address this, this paper presents MM-Interleaved, an end-to-end generative model for interleaved image-text data. It introduces a multi-scale and multi-image feature synchronizer module, allowing direct access to fine-grained image features in the previous context during the generation process. MM-Interleaved is end-to-end pre-trained on both paired and interleaved image-text corpora. It is further enhanced through a supervised fine-tuning phase, wherein the model improves its ability to follow complex multi-modal instructions. Experiments demonstrate the versatility of MM-Interleaved in recognizing visual details following multi-modal instructions and generating consistent images following both textual and visual conditions. Code and models are available at \url{https://github.com/OpenGVLab/MM-Interleaved}.
Motivation & Objective
- Motivate and enable end-to-end generation from interleaved image-text sequences.
- Address information loss from fixed visual token counts by introducing a fine-grained, multi-image feature synchronizer.
- Enable direct access to high-resolution image features across multiple images during generation.
- Pre-train on mixed interleaved and paired data without in-house data and fine-tune on diverse multi-modal tasks.
- Demonstrate generation and understanding capabilities across text, image, and multi-modal instructions.
Proposed method
- Introduce a Visual Foundation Model (VFM) image tokenizer that yields fixed visual tokens and multi-scale image features.
- Embed a Large Language Model (LLM) to process interleaved image-text sequences with a fine-grained feature synchronizer (MMFS).
- Attach a Diffusion Model (DM) as an image decoder that receives context features from the LLM and multi-scale image features.
- Develop the MMFS module using deformable sparse attention to dynamically attend to multi-image, multi-scale features.
- Define joint training objective combining Next-Text-Token Prediction and Next-Image Prediction losses for end-to-end optimization.
- Fine-tune with supervised tasks to enhance multi-modal instruction following.
Experimental results
Research questions
- RQ1How can interleaved image-text data be effectively modeled in an end-to-end framework combining VFM, LLM, and DM?
- RQ2Can a deformable multi-modal feature synchronizer preserve fine-grained image details across multiple images within limited context?
- RQ3What gains in text and image generation quality can be achieved by end-to-end pre-training on interleaved sequences and subsequent supervised fine-tuning?
- RQ4How does MM-Interleaved perform on zero-shot and fine-tuned multi-modal tasks such as captioning, VQA, REC, segmentation-to-image translation, and visual storytelling?
Key findings
- The model demonstrates strong zero-shot multi-modal comprehension on captioning, VQA, and related tasks without in-house data.
- Fine-tuned MM-Interleaved achieves competitive or state-of-the-art performance on referring expression comprehension and visual storytelling benchmarks.
- MMFS enables generation of images with fine-grained detail and pixel-level alignment in both single and multi-image contexts, outperforming baselines in segmentation-to-image translation.
- The approach achieves competitive text-to-image generation performance while maintaining token efficiency and supporting interleaved generation of multiple images.
- Compared to baseline multi-modal LLMs using fixed visual tokens, MM-Interleaved delivers improved detail preservation with a smaller token budget per image.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.