HaploVL: A Single-Transformer Baseline for Multi-Modal Understanding
Rui Yang, Lin Song, Yicheng Xiao, Runhui Huang, Yixiao Ge, Ying Shan, Hengshuang Zhao
TL;DR
HaploVL introduces a single-transformer multi-modal baseline that fuses vision and text at an early stage to enable end-to-end, autoregressive multi-modal generation with reduced data and compute. It combines lightweight multi-modal embeddings, a pre-decoder that distills vision cues from a fixed teacher (CLIP-ViT-L), and a post-decoder that leverages LLM knowledge for generation, trained via a two-stage process that preserves vision capabilities while learning new multi-modal skills. The approach yields competitive or superior performance relative to existing unified LMMs and narrows the gap with compositional models, particularly in fine-grained perception tasks, while reducing resource requirements. This work provides a practical and scalable baseline for single-transformer multi-modal models and offers insights into effective pre-training and fine-tuning strategies that leverage pre-trained components.
Abstract
Recent advancements in large language models (LLMs) have significantly propelled the development of large multi-modal models (LMMs), highlighting the potential for general and intelligent assistants. However, most LMMs model visual and textual modalities separately, leading to recent efforts to develop native LMMs using a single transformer. Despite the promise, these native models are resource-intensive and often exhibit performance gaps compared to their compositional counterparts. To alleviate this issue, we propose a simple yet efficient method to construct a baseline for the native and end-to-end large multi-modal model in a single transformer. First, we propose a new early-fusion LMM that can fuse multi-modal inputs in the early stage and respond to visual instructions in an auto-regressive manner. Second, we devise an efficient training recipe for the proposed model, which harnesses the prior knowledge of the pre-trained models, addressing both the performance limitations and the challenge of resource consumption. The proposed model demonstrates superior performance compared to other LMMs using one transformer and significantly narrows the performance gap with compositional LMMs.
