Abstract
Many vision-related tasks benefit from reasoning over multiple modalities to leverage complementary views of data in an attempt to learn robust embedding spaces. Most deep learning-based methods rely on a late fusion technique whereby multiple feature types are encoded and concatenated and then a multi layer perceptron (MLP) combines the fused embedding to make predictions. This has several limitations, such as an unnatural enforcement that all features be present at all times as well as constraining only a constant number of occurrences of a feature modality at any given time. Furthermore, as more modalities are added, the concatenated embedding grows. To mitigate this, we propose Deep Multi-Modal Sets: a technique that represents a collection of features as an unordered set rather than one long ever-growing fixed-size vector. The set is constructed so that we have invariance both to permutations of the feature modalities as well as to the cardinality of the set. We will also show that with particular choices in our model architecture, we can yield interpretable feature performance such that during inference time we can observe which modalities are most contributing to the prediction. With this in mind, we demonstrate a scalable, multi-modal framework that reasons over different modalities to learn various types of tasks. We demonstrate new state-of-the-art performance on two multi-modal datasets (Ads-Parallelity and MM-IMDb).
Introduction: The Limitations of Late Fusion
In multi-modal deep learning, the standard "late fusion" recipe involves extracting features from disparate sources—such as CNNs for images and LSTMs for text—and concatenating them into a single, long vector. This vector is then fed into a Multi-Layer Perceptron (MLP) for final prediction. However, this approach introduces three significant bottlenecks:
- Rigidity: It assumes a fixed number of features. If an input is missing (e.g., an image with no detected faces), developers must use "placeholders" or zero-padding, which is inefficient and unnatural.
- Scaling Issues: As more modalities or object detections are added, the concatenated vector grows linearly, causing the final MLP to become increasingly massive and computationally expensive.
- Lack of Interpretability: It is notoriously difficult to determine which specific modality—the text, the detected objects, or the global image—actually drove the model's final decision.
Proposed Method: Deep Multi-Modal Sets
We propose moving away from fixed-length vectors toward a set-based representation. Inspired by the "Deep Sets" architecture, we represent data as a collection of features $X = \{x_1, \dots, x_S\}$. This formulation is inherently permutation-invariant and can handle any number of input features (cardinality).
The Pipeline
The framework operates through a three-stage process:
- Modality Encoders ($\phi$): Each input (a face, a sentence, a bounding box) is passed through a specific encoder that maps it into a common $D$-dimensional embedding space.
- Permutation-Invariant Pooling ($\psi$): To aggregate the set into a single representation, we use pooling operators like
sum,mean, ormax. These operators ensure the model doesn't care about the order of the features. - The Predictor ($\rho$): The resulting "set encoding" is passed to a final MLP to produce the task output.
Interpretability via Feature Importance
A major advantage of this architecture is its inherent interpretability when using element-wise max-pooling. By tracking which specific feature provided the maximum value for each of the $D$ dimensions (the argmax), we can calculate a "Feature Importance" metric at inference time. This allows us to see exactly which modalities the model prioritized for a specific prediction.
Experimental Results
We evaluated our framework on two challenging multi-modal benchmarks, achieving new state-of-the-art (SOTA) results on both:
- Ads-Parallelity: A dataset of persuasive advertisements where the task is to determine if the image and slogan convey the same message. Our model saw a massive performance jump, improving overall accuracy by +11.2% and accuracy on the "parallel" class by +21.3% over previous baselines.
- MM-IMDb: A large-scale dataset for movie genre classification based on posters and plots. The framework outperformed existing SOTA methods across Micro-F1, Macro-F1, and Samples-F1 metrics.
Qualitative analysis using Feature Importance Matrices (FIMs) revealed that the model correctly identifies relevant cues: for example, relying on "Faces" for drama movies and "OCR text" for identifying specific themes in advertisements.
Conclusion
Deep Multi-Modal Sets provide a flexible, scalable, and interpretable alternative to traditional fusion methods. By treating multi-modal data as a set, the model naturally handles variable inputs and provides clear insights into its decision-making process. Future work will look toward extending this framework to temporal domains, such as video analysis.
Summary updated