Abstract
Large Language Models (LLMs) have brought the goal of generalist agents closer to reality, yet the diversity and heterogeneity of modalities remain a significant hurdle. Current unified models are often either massive in scale or limited to two modalities, such as image-text or video-text. We present UnIVAL, a 0.25B-parameter model that unifies text, images, video, and audio into a single sequence-to-sequence framework. By employing multimodal curriculum learning and task balancing, UnIVAL achieves competitive performance across a wide range of tasks without the need for billions of parameters or massive datasets. Furthermore, we demonstrate the benefits of weight interpolation for out-of-distribution generalization and highlight the synergy between modalities, showing that image and video pretraining significantly enhances performance on audio-text tasks.
Introduction: The Unification Gap
The quest for generalist agents requires models capable of perceiving and reasoning across diverse sensory inputs. While LLMs have mastered language, integrating vision and audio typically results in models that are either computationally prohibitive or restricted in scope. This "unification gap" suggests that current small-to-mid-scale models are often siloed into specific modality pairs. UnIVAL addresses this by proving that a compact, efficient architecture can effectively bridge four major modalities—image, video, audio, and language—using a unified training objective and format.
The UnIVAL Framework
1. Unified Architecture and Format
UnIVAL is built upon a Transformer encoder-decoder backbone (specifically BART-base). To handle diverse inputs, it utilizes lightweight, modality-specific CNN encoders that project features into a shared representation space:
- Images: ResNet-101
- Video: 3D ResNext-101
- Audio: PANN (Pretrained Audio Neural Networks)
All inputs and outputs are treated as sequences of tokens. This includes standard text tokens, location tokens for bounding box coordinates (visual grounding), and discrete image tokens. This "everything-as-a-sequence" approach allows the model to use a single objective: conditional next-token prediction via cross-entropy loss.
2. Multimodal Curriculum Learning (MCL)
To optimize training efficiency, UnIVAL employs Multimodal Curriculum Learning. Rather than training on all modalities simultaneously, the model gradually introduces them (e.g., starting with image-text before incorporating video-text). This strategy resulted in an 18% increase in training speed and a 25% reduction in GPU memory usage compared to standard one-stage training.
3. Weight Interpolation
A novel aspect of UnIVAL is the exploration of weight interpolation. By linearly interpolating the weights of models finetuned on different tasks—such as merging a Visual Question Answering (VQA) expert with an Image Captioning expert—the authors created robust multitask models. This technique, often referred to as "model souping," improves out-of-distribution (OOD) generalization without increasing inference latency.
Experimental Results and Synergy
Performance Benchmarks
Despite its modest parameter count (0.25B), UnIVAL achieves state-of-the-art (SoTA) results on several benchmarks:
- Visual Grounding: New SoTA results on RefCOCO, RefCOCO+, and RefCOCOg, outperforming larger models like OFA-Base.
- Audio Captioning: A +3.4 CIDEr improvement on the Audiocaps dataset compared to previous specialized models.
- Efficiency: Finetuning for one epoch on COCO takes only 3.1 GPU-hours, nearly twice as fast as comparable unified models like OFA.
Cross-Modal Synergy
One of the paper's key insights is the "synergy" between tasks. The researchers found that pretraining on image and video data made the model a significantly better learner for audio tasks. Even though UnIVAL was not pretrained on audio, the multimodal alignment learned from visual data allowed it to achieve competitive results on audio-text tasks after finetuning. This suggests that the temporal and structural representations learned from video are highly transferable to the audio domain.
Discussion and Future Directions
While UnIVAL demonstrates remarkable efficiency, it is not without limitations. Like many generative models, it can occasionally hallucinate details not present in the source media. It also faces challenges with highly complex instructions or multi-step reasoning in crowded visual scenes.
Future work involves scaling the model size and expanding the training set to include even more diverse modalities, such as 3D or tactile data. Additionally, the compact nature of UnIVAL makes it a prime candidate for Embodied AI applications, where real-time processing of simultaneous audio, video, and text streams is essential for robotics and navigation.
Conclusion
UnIVAL represents a significant step toward efficient generalist agents. By unifying four modalities within a compact 0.25B-parameter model, it challenges the necessity of extreme scale for multimodal competence. Through innovative training strategies like curriculum learning and weight interpolation, UnIVAL provides a versatile and robust foundation for the next generation of multimodal AI.
Summary updated