STAR (STacked AutoRegressive Scheme) is the official open-source repository for the paper "STAR: STacked AutoRegressive Scheme for Unified Multimodal Learning," released by MM-MVR. The project focuses on unified multimodal learning, aiming to support both multimodal understanding and generation simultaneously.
In terms of purpose, multimodal large language models (MLLMs) play an important role in the development of artificial general intelligence, but achieving the unified goal of multimodal understanding and generation still faces challenges of optimization conflicts and performance trade-offs. STAR proposes a stacked autoregressive scheme for task-progressive unified multimodal learning, which enhances generation performance while preserving existing understanding capabilities.
In terms of main capabilities, STAR decomposes multimodal learning into multiple stages: understanding, generation, and editing. Its core approach is to freeze the parameters of the base autoregressive (AR) model and progressively stack homogeneous AR modules, thereby avoiding cross-task interference and expanding model capabilities. In addition, the project introduces high-capacity VQ to enhance the granularity of image representation and adopts an implicit reasoning mechanism to improve generation quality under complex conditions. Experimental results show that STAR achieves current state-of-the-art performance on GenEval (0.91), DPG-Bench (87.44), and ImgEdit (4.34), validating its effectiveness in unified multimodal learning.
In terms of usage, the repository provides model checkpoints and explains the environment preparation steps: set up the environment and install the required packages. Before inference, pretrained models need to be downloaded: download Qwen2.5-VL and Lumina-Image-2.0 from Huggingface. The model configuration file star/configs/STAR_Qwen2.5-VL-7B.json contains all parameters required for model initialization, and the paths in the configuration file need to be updated according to the local environment. The repository also supports running an interactive demo interface using Gradio.
The specific task invocation methods include three types. First, image understanding: used for visual question answering and image understanding tasks. The relevant parameters include --image-path (input image path), --question (the question or instruction for the model), --max-new-tokens (maximum number of generated tokens, default 256), --model-config (model configuration file path), --checkpoint (model checkpoint path), --device (device for running inference). Second, text-to-image: generate images based on text prompts. The relevant parameters include --prompt (the text prompt for image generation), --save-path (the save path for generated images), --num-images (number of images to generate, default 1), --cfg (classifier-free guidance scale, default 1.0), --topk (Top-k sampling parameter, default 1000), --topp (Top-p sampling parameter, default 0.8), --diffusion-as-decoder (use a diffusion model as the decoder for high-quality generation). Third, image editing: edit images according to text instructions; the relevant parameters are --image-path (path to the input image to be edited), --instruction (the text instruction describing the desired edit), --save-path (the save path for the edited image), --cfg (the classifier-free guidance scale used for editing), --topk (Top-k sampling parameter), --topp (Top-p sampling parameter), --diffusion-as-decoder (use a diffusion model for high-quality image decoding).
Applicable scenarios include research and development tasks such as multimodal understanding (e.g., visual question answering), text-to-image generation, and image editing based on text instructions.
In terms of limitations, the materials do not provide details such as specific hardware requirements, inference speed, model size, training data scale, or commercial use restrictions; this information is not currently available. STAR uses the Apache 2.0 license.