TL;DR
UnIVAL is a compact, 0.25-billion parameter unified model that handles image, video, audio, and language tasks within a single sequence-to-sequence framework. By employing multimodal curriculum learning and task balancing, it achieves state-of-the-art performance on several benchmarks while remaining efficient enough to run on consumer-grade hardware.
What Problem Does This Paper Address?
The quest for "generalist agents"—AI models that can perceive and act across various environments—is a major goal in machine learning. However, most current unified models are either massive (billions of parameters) or restricted to just two modalities, typically image-text or video-text.
Building a model that handles all major modalities (text, images, video, and audio) usually requires enormous datasets and immense computational power. The authors of UnIVAL ask: Is it possible to build a truly multimodal unified model efficiently, without needing billions of parameters or "fancy" proprietary datasets?
Methods
UnIVAL (Unified Model for Image, Video, Audio and Language) achieves unification across four main axes:
- Unified Architecture: It uses an encoder-decoder Transformer (initialized from BART-base). To keep it efficient, it uses lightweight, modality-specific CNN encoders (ResNet for images, 3D ResNext for video, and PANN for audio) to project different inputs into a shared token space.
- Unified Input/Output: All inputs (images, video frames, audio snippets, text) and outputs are converted into sequences of discrete tokens.
- Unified Tasks: Every task is framed as a sequence-to-sequence problem guided by a textual prompt (e.g., "What does the audio describe?").
- Unified Objective: The model is trained solely on next-token prediction using a standard cross-entropy loss.
Two key training strategies make UnIVAL efficient:
- Multimodal Curriculum Learning (MCL): Instead of training on everything at once, the model starts with image-text tasks and gradually introduces video-text. This "warm-up" provides a better initialization and reduces memory usage by 25%.
- Multimodal Task Balancing: The authors found that simply mixing datasets leads to models biased toward the largest (and often noisiest) datasets. By balancing the number of examples per task in each batch, they significantly improved performance.
Datasets
UnIVAL was pretrained on a collection of relatively small, high-quality public datasets:
- Image-Text: COCO, Visual Genome, SBU, CC3M, and CC12M.
- Video-Text: WebVid2M and WebVidQA.
- Evaluation: The model was tested on standard benchmarks like VQAv2, SNLI-VE, RefCOCO (Visual Grounding), MSR-VTT (Video Captioning), and Audiocaps (Audio Captioning).
Key Insights and Ideas
- Cross-Modality Synergy: The researchers found that training on multiple modalities isn't just about adding features; it creates synergy. For example, training on video tasks actually improved the model's performance on image-based tasks.
- Zero-Shot Modality Transfer: Remarkably, even though UnIVAL was not pretrained on audio, the feature representations it learned from image and video were so robust that it achieved competitive performance on audio-text tasks after just a brief finetuning phase.
- Weight Interpolation (Model Merging): The paper introduces a novel study on merging multimodal models. By taking two UnIVAL models finetuned on different tasks (e.g., one for VQA and one for Captioning) and literally averaging their weights, they created a "multi-skilled" model. This merged model often outperformed the individual specialists and showed better generalization to out-of-distribution data.
Key Results
Despite its modest size (~0.25B parameters), UnIVAL punches well above its weight class:
- Visual Grounding: It achieved new state-of-the-art results for its size on RefCOCO, RefCOCO+, and RefCOCOg benchmarks.
- Audio Captioning: On the Audiocaps dataset, it outperformed specialized audio models by +3.4 CIDEr points.
- Efficiency: The curriculum learning approach was 18% faster than standard one-stage training.
Limitations and Future Work
While powerful, UnIVAL is not without flaws. The authors note that it can still hallucinate (describing objects not present in an image), though it does so less frequently than larger models like Flamingo. It also struggles with complex instructions, such as identifying very small objects or following intricate multi-step reasoning.
Future work involves scaling the model further, incorporating even more modalities (like depth or thermal imaging), and exploring its use in embodied agents for robotics, where handling multiple sensory inputs simultaneously is critical.
Summary updated