Abstract
We present VX2TEXT, a framework for text generation from multimodal inputs consisting of video plus text, speech, or audio. In order to leverage transformer networks, which have been shown to be effective at modeling language, each modality is first converted into a set of language embeddings by a learnable tokenizer. This allows our approach to perform multimodal fusion in the language space, thus eliminating the need for ad-hoc cross-modal fusion modules. To address the non-differentiability of tokenization on continuous inputs (e.g., video or audio), we utilize a relaxation scheme that enables end-to-end training. Furthermore, unlike prior encoder-only models, our network includes an autoregressive decoder to generate open-ended text from the multimodal embeddings fused by the language encoder. This renders our approach fully generative and makes it directly applicable to different "video+x to text" problems without the need to design specialized network heads for each task. The proposed framework is not only conceptually simple but also remarkably effective: experiments demonstrate that our approach based on a single architecture outperforms the state-of-the-art on three video-based text-generation tasks -- captioning, question answering and audio-visual scene-aware dialog.
Introduction
Generating natural language from video is a "holy grail" of multimodal AI, but it is notoriously difficult. Traditionally, researchers have relied on complex, ad-hoc "cross-modal fusion" modules, such as co-attention layers, to bridge the gap between continuous signals (pixels and waveforms) and discrete text. Furthermore, many existing models are discriminative—designed to pick an answer from a fixed list—making them brittle and difficult to adapt to open-ended tasks like dialog or captioning. VX2TEXT addresses this by providing a unified, generative, end-to-end trainable architecture that handles "video + x to text" problems without task-specific heads or expensive multimodal pretext training.
Methodology
The core philosophy of VX2TEXT is: Everything is a language.
- Differentiable Tokenization: Instead of feeding raw video/audio features into a network, the model uses modality-specific classifiers to predict semantic labels. To make this process end-to-end trainable, the authors use a relaxation scheme involving the Gumbel-Softmax trick and a Straight-Through Estimator. This allows gradients to flow back from the final text output to the video and audio backbones.
- Multimodal Fusion in Language Space: The predicted labels (e.g., "lifting," "male talking") are converted into word embeddings using a pre-trained language model's vocabulary. These embeddings, along with text input (like a question or dialog history), are fed into a standard T5 (Text-to-Text Transfer Transformer) encoder.
- Generative Decoder: Unlike encoder-only models, VX2TEXT uses an autoregressive decoder to generate open-ended text. This allows the same architecture to handle multiple tasks simply by changing a "task token" (e.g.,
[Captioning]or[Answer]).
Key Results and Insights
VX2TEXT achieved state-of-the-art (SOTA) results across three major benchmarks: AVSD (Audio-Visual Scene-Aware Dialog), TVQA (TV Question Answering), and TVC (Video Captioning).
- Language as the Universal Interface: By converting all modalities into the "language space," the model leverages the reasoning capabilities of pre-trained Transformers like T5, eliminating the need for specialized fusion modules.
- End-to-End Learning: Experiments show that "Differentiable Tokenization" significantly outperforms "Frozen Tokenization," suggesting that backbones learn to pick labels more useful for the specific downstream text generation task.
- Generative Advantage: A key finding was that the generative version of the model significantly outperformed a discriminative version, especially when training data was scarce. As shown in the figure below, the generative approach maintains robust performance even with only 10% of the training set.
Conclusion
VX2TEXT demonstrates that treating multimodal fusion as a language problem is a powerful and efficient approach. By leveraging differentiable tokenization and a generative decoder, the framework achieves SOTA performance without massive multimodal pre-training. Future work includes addressing vocabulary constraints of modality-specific classifiers and integrating object-level reasoning into the differentiable framework.
Summary updated