Mirasol3B: A Multimodal Autoregressive model for time-aligned and contextual modalities

Aj Piergiovanni, Isaac Noble, Dahun Kim, Michael S. Ryoo, Victor Gomes, Anelia Angelova

TL;DR

Mirasol3B is a 3-billion parameter multimodal model that decouples time-aligned modalities (audio and video) from unaligned contextual modalities (text) using separate autoregressive components. By using a novel "Combiner" mechanism to produce compact, spatio-temporal representations, the model efficiently scales to long-form video (up to 512 frames) and achieves state-of-the-art performance, outperforming models nearly 30 times its size.

What Problem Does This Paper Address?

Multimodal learning involves a fundamental mismatch in data characteristics. Video and audio are high-bandwidth, high-frequency signals that are naturally synchronized in time. In contrast, text—like a video title or a question—is low-frequency and often acts as a global context rather than being tied to a specific millisecond of footage.

Current approaches often struggle with this imbalance. Some models over-compress visual features to fit them into a standard LLM's token limit, losing fine-grained temporal detail. Others treat all modalities as a single sequence, which becomes computationally explosive as video length increases. The authors of Mirasol3B address this by asking: How can we model these disparate signals in a way that respects their natural temporal properties without breaking the computational bank?

Methods

The core innovation of Mirasol3B is the decoupling of the multimodal architecture into two distinct autoregressive (AR) models, coordinated by cross-attention.

  1. Time-Aligned Autoregressive Model: This component handles audio and video. The inputs are partitioned into consecutive "chunks" or snippets.
  2. The Combiner: Within each chunk, a Combiner module fuses video (extracted via 3D tubes and ViT) and audio (spectrograms via ViT) into a compact latent representation. The authors explored two versions: a standard Transformer Combiner and a Token Turing Machine (TTM) version. The TTM uses a memory mechanism to process sequences, reducing memory usage by 30% and runtime by 18%.
  3. Latent Causal Modeling: The model learns to predict the next chunk’s representation autoregressively. This forces the model to learn the underlying dynamics of the media over time.
  4. Contextual Autoregressive Model: A separate model processes the text sequence. It uses the outputs of the time-aligned model as cross-attention inputs, allowing the text generation to be conditioned on the entire video/audio history.
Figure 2. The Mirasol3B model architecture consists of an autoregressive model for the time-aligned modalities, such as audio and video, which are partitioned in chunks (left) and an autoregressive model for the unaligned context modalities, which are still sequential, e.g., text (right). This allows adequate computational capacity to the video/audio time-synchronized inputs, including processing them in time autoregressively, before fusing with the autoregressive decoder for unaligned text (right). Joint feature learning is conducted by the Combiner, balancing the need for compact representations and allowing sufficiently informative features to be processed in time.

Datasets

The model was pretrained on the Video-Text Pairs (VTP) dataset (3M samples) and AudioSet-2M to specifically tune the audio weights.

For evaluation, the authors targeted three categories:

  • Standard Video QA: MSRVTT-QA.
  • Long-form Video QA: ActivityNet-QA (avg. 160s videos) and NExT-QA (avg. 44s videos).
  • Audio-Video Classification: Kinetics-Sound, VGG-Sound, and Epic-Sound.

Key Insights and Ideas

  • Decoupling is Efficient: By not forcing video tokens into the same sequence as text tokens, the model can allocate more capacity to media processing. This allows a 3B parameter model to beat the 80B Flamingo model on several benchmarks.
  • Autoregression in the Latent Space: Instead of predicting raw pixels (which is computationally heavy), predicting the next feature representation (latent space) effectively captures temporal dependencies.
  • Scaling via Snippets: Partitioning video into chunks allows the model to scale from 128 to 512 frames with only a marginal increase in parameters, primarily just increasing the sequence length for the AR model.
  • Causality Matters: The authors found that maintaining a causal mask even within chunks (ensuring the model doesn't "look ahead") was vital for the model's ability to handle streaming data.
Figure 3. Autoregressive modeling of video and audio in time.

Key Results

Mirasol3B sets new state-of-the-art (SOTA) records across multiple benchmarks:

  • MSRVTT-QA: Achieved 50.42% accuracy, surpassing the previous SOTA (M-PLUG2 at 48.0%) and the much larger Flamingo-80B (47.4%).
  • Long Video: On NExT-QA, the model reached 73.2% accuracy, a massive jump over the previous best of 63.1% (HiTeA).
  • Audio-Video: On Kinetics-Sound, it reached 90.1% accuracy, outperforming MBT (85.0%).
  • Scaling: Increasing the frame count from 128 to 512 on ActivityNet-QA improved accuracy from 48.25% to 51.13%, proving the architecture's ability to leverage longer temporal contexts.

Limitations and Future Work

  • Speech Integration: Currently, ASR (Automatic Speech Recognition) is treated as unaligned text context. The authors suggest that since speech is time-aligned, it could be integrated directly into the audio-video AR component for better performance.
  • Chunk Overlap: The current model uses non-overlapping chunks. Exploring overlapping snippets might provide smoother temporal transitions.
  • Reconstruction Loss: While the model includes a video reconstruction loss, the authors noted it was mostly subsumed by the latent space reconstruction loss. Refining this could be beneficial for generative tasks (e.g., video prediction).

Overall, Mirasol3B demonstrates that smart architectural decoupling and compact feature fusion are more important than raw parameter count when it comes to mastering the complexities of multimodal, time-sensitive data.

Summary updated

Abstract

One of the main challenges of multimodal learning is the need to combine heterogeneous modalities (e.g., video, audio, text). For example, video and audio are obtained at much higher rates than text and are roughly aligned in time. They are often not synchronized with text, which comes as a global context, e.g., a title, or a description. Furthermore, video and audio inputs are of much larger volumes, and grow as the video length increases, which naturally requires more compute dedicated to these modalities and makes modeling of long-range dependencies harder. We here decouple the multimodal modeling, dividing it into separate, focused autoregressive models, processing the inputs according to the characteristics of the modalities. We propose a multimodal model, called Mirasol3B, consisting of an autoregressive component for the time-synchronized modalities (audio and video), and an autoregressive component for the context modalities which are not necessarily aligned in time but are still sequential. To address the long-sequences of the video-audio inputs, we propose to further partition the video and audio sequences in consecutive snippets and autoregressively process their representations. To that end, we propose a Combiner mechanism, which models the audio-video information jointly within a timeframe. The Combiner learns to extract audio and video features from raw spatio-temporal signals, and then learns to fuse these features producing compact but expressive representations per snippet. Our approach achieves the state-of-the-art on well established multimodal benchmarks, outperforming much larger models. It effectively addresses the high computational demand of media inputs by both learning compact representations, controlling the sequence length of the audio-video feature representations, and modeling their dependencies in time.
BibTeX
@misc{piergiovanni2023mirasol,
  author = {AJ Piergiovanni and Isaac Noble and Dahun Kim and Michael S. Ryoo and Victor Gomes and Anelia Angelova},
  title = {{Mirasol3B: A Multimodal Autoregressive model for time-aligned and contextual modalities}},
  year = {2023},
  eprint = {2311.05698},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.05698},
}
Figure