Abstract
Multimodal classification is a core task in human-centric machine learning. We observe that information is highly complementary across modalities, thus unimodal information can be drastically sparsified prior to multimodal fusion without loss of accuracy. To this end, we present Sparse Fusion Transformers (SFT), a novel multimodal fusion method for transformers that performs comparably to existing state-of-the-art methods while having greatly reduced memory footprint and computation cost. Key to our idea is a sparse-pooling block that reduces unimodal token sets prior to cross-modality modeling. Evaluations are conducted on multiple multimodal benchmark datasets for a wide range of classification tasks. State-of-the-art performance is obtained on multiple benchmarks under similar experiment conditions, while reporting up to six-fold reduction in computational cost and memory requirements. Extensive ablation studies showcase our benefits of combining sparsification and multimodal learning over naive approaches. This paves the way for enabling multimodal learning on low-resource devices.
Introduction
Transformers have revolutionized AI, but their computational complexity grows quadratically with the number of input tokens ($O(N^2)$). In multimodal settings (video + audio + text), the token count explodes, making these models prohibitively expensive to train and deploy on edge devices.
Current multimodal models often process and fuse nearly all available data from every modality. However, real-world information across senses is highly redundant. If you see and hear a baby laughing, every single pixel and millisecond of audio is not required to classify the event. Sparse Fusion Transformers (SFT) address this by "sparsifying" data—thinning it out—without losing the critical features necessary for scene understanding.
Methodology
The SFT architecture operates in three distinct stages, as illustrated in the architecture diagram below:
- Unimodal Modeling: Each modality (e.g., video frames, audio spectrograms) is first processed by its own standard transformer to learn local relationships.
- Sparse Multimodal Fusion: Instead of passing all tokens to the fusion layer, SFT uses a sparse-pooling block. This block applies a strided sparse attention layer to aggregate local context, followed by non-overlapping pooling (like average pooling) to drastically reduce the number of tokens. For example, it can compress 64 tokens into just one.
- Dense Cross-modal Modeling: The reduced sets of tokens from all modalities are concatenated and passed through a final "fusion" transformer to model complex inter-dependencies between senses.
To maintain training stability, the authors also introduced Multimodal Manifold Mixup, a regularization technique that interpolates latent representations across different modalities to improve model robustness.
Experimental Setup
The team evaluated SFT on two major benchmarks:
- VGG-Sound: A massive dataset of YouTube videos. Subsets used include VGGS10 (10 difficult-to-distinguish classes) and VGGS100 (a broader 100-class set).
- CMU-MOSEI: A large dataset for multimodal sentiment analysis and emotion recognition, featuring video, audio, and text.
Key Results and Efficiency
The quantitative gains of SFT are significant across all benchmarks. As shown in the efficiency table below, SFT achieves up to a 6x reduction (and in some cases over 10x) in GFlops and memory usage compared to state-of-the-art methods like Bottleneck Fusion (MBT) and Multimodal Transformers (MulT).
- Computational Speedup: On the VGGS100 benchmark, SFT required only 0.48 GB of memory, compared to 1.52 GB for a standard concatenation-based fusion model.
- Accuracy: On the CMU-MOSEI dataset, SFT achieved a 49.67% Top1 accuracy, outperforming all baselines while using a fraction of the resources. On VGGS100, the sparse model actually outperformed dense baselines, achieving 55.61% Top1 accuracy.
Discussion
A primary insight from this work is that multimodal models can tolerate much higher levels of data pruning than unimodal ones. Because modalities are complementary, the model can "fill in the blanks" even when one modality is heavily sparsified. The authors found they could remove over 98% of tokens in some cases without a significant drop in performance.
While SFT is a leap forward for classification, future work could focus on integrating sparsification directly into the initial feature extraction (rather than using pre-extracted features like I3D) and exploring how this aggressive pruning affects generative tasks like multimodal captioning. By proving that the vast majority of data can be discarded while maintaining or improving results, SFT paves the way for sophisticated multimodal AI on mobile and low-resource devices.
Summary updated