- Introduced by
- Ngiam et al. / Rumelhart, Hinton & Williams (MLP foundations)
- Year
- 2011 (multimodal extension); 1986 (MLP backpropagation)
- Type
- Feedforward neural network with multi-stream fusion
- Family
- Deep learning / NLP / CV
What does it do?
A Multimodal Multilayer Perceptron (MM-MLP) is a feedforward neural network that takes features from two or more heterogeneous input modalities, such as structured tabular data, text embeddings, and image feature vectors.
It encodes each stream separately, fuses the encodings into a shared vector, and passes that vector through fully connected layers to produce a classification output. The output formula in the mechanics block is a softmax, so the classification case is the one formalised here; a regression variant is described in prose only.
The intuition behind the method
A standard MLP processes a single flat feature vector. Many prediction problems involve several kinds of data at once: a clinical record may combine numeric measurements, free-text notes, and medical images. A Multimodal MLP gives each data type its own encoding branch, a small sub-network suited to that modality, and then merges the resulting representations into one joint vector. Standard fully connected layers process the merged vector, and training determines which combinations of signals matter for the prediction task.
History
The backpropagation method used to train multilayer perceptrons is associated with Rumelhart, Hinton, and Williams (1986). Multimodal deep learning over heterogeneous inputs is represented in the references by Ngiam et al. (2011), presented at ICML, an early work on learning from multiple input modalities. The fully connected design with per-modality encoders and a shared fusion layer is a general construction, and no single originator is attributed to this specific form.
When to use it
Use a Multimodal MLP when your dataset contains two or more distinct input types and you expect information from all of them to improve prediction. It is a reasonable first choice when modalities include structured tabular features alongside a small number of dense embeddings, such as sentence embeddings from a pretrained language model. Avoid it when only one modality is informationally relevant, because adding empty or redundant streams can introduce noise and hurt performance. Also avoid it when cross-modal interactions are highly complex and sequential, where multimodal Transformers are the better choice, or when some modalities are frequently missing and no imputation strategy is planned.
Limitations and considerations
- Fusion strategy (concatenation, gating, bilinear) must be chosen carefully; naive concatenation may underfit rich cross-modal interactions.
- Performance degrades when one modality is frequently missing at inference time unless missing-modality handling is explicitly designed in.
- May underperform attention-based multimodal models on high-dimensional or sequence-structured modalities such as long documents or video.
- Requires aligned, paired multimodal samples for training; collecting such datasets is often expensive.
- Harder to interpret than unimodal models because attributions span multiple heterogeneous feature spaces.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Directly exploits complementary information from heterogeneous data sources in a single end-to-end model.
- Architecturally flexible: any encoder compatible with backpropagation can serve as a modal branch.
- Simpler and faster to train than multimodal Transformers, especially with smaller datasets.
- Feature-importance and SHAP analyses can be applied per modality to understand each stream's contribution.
- Can be combined with pretrained unimodal encoders to leverage large-scale pretraining without full fine-tuning.
Applications
- Clinical prediction: fusing structured patient vitals with text discharge summaries and lab values.
- Multimodal sentiment analysis: combining text embeddings with audio prosody features and facial action unit vectors.
- E-commerce recommendation: merging product image features with structured attribute tables and user history embeddings.
- Scientific document classification: combining text-derived embeddings with metadata features (journal, year, citation count).
- Tabular + text fusion: augmenting classical tabular models with sentence-level embeddings from text columns.
- Financial forecasting: integrating structured market features with news sentiment embeddings.
How it works
How it works
Each input modality is mapped through its own encoder into a representation of a common dimension. The mechanics block gives no formula for this stage. In practice, tabular inputs are often handled by a linear layer or a small sub-MLP, text by a pre-computed or trainable embedding, and images by a pooled feature vector from a CNN or ViT backbone. Normalisation and dropout are commonly applied per modality at this point.
The encoded representations are combined as in z = σ(W_1 x_1 ⊕ W_2 x_2 ⊕ ⋯ ⊕ W_m x_m + b). For the formula as written, ⊕ denotes concatenation along the feature dimension, so the projected modality vectors W_i x_i are stacked into one vector before the non-linearity σ is applied to the combined projection. Other combining operations, such as element-wise summation, require the projected vectors to share the same dimension and are different formulas. Gated, attention-weighted, or bilinear fusion can model cross-modal interactions more directly, but these are variants outside the formula given.
Formula
z = \sigma(W_1 x_1 \oplus W_2 x_2 \oplus \cdots \oplus W_m x_m + b)
The fused vector is taken as the starting point of the recursion, h^(0) = z. Fully connected layers with non-linear activations then compute h^(l) = σ(W^(l) h^(l-1) + b^(l)) for l = 1, …, L−1, so the output layer uses the last hidden representation h^(L-1), as in the output formula. Batch normalisation and dropout between layers are common regularisers, but they are not part of the formula.
Formula
h^{(l)} = \sigma(W^{(l)} h^{(l-1)} + b^{(l)})For classification, the last hidden representation is mapped to class scores by ŷ = softmax(W^(L) h^(L-1) + b^(L)), and a loss such as cross-entropy is computed against the labels. For regression, the softmax would be replaced by an identity output with a loss such as MSE; this variant is not formalised in the mechanics block.
Formula
\hat{y} = \text{softmax}(W^{(L)} h^{(L-1)} + b^{(L)})The gradient of the loss propagates backwards through the output, hidden, and fusion layers and, if the modal encoders are trainable, into those encoders as well. Training therefore adjusts the cross-modal weights jointly, rather than relying only on hand-crafted feature combinations. The mechanics block does not specify an update rule or a formula for this step.
Common pitfalls
- Concatenating raw modalities of vastly different scales without normalisation, causing one modality to dominate gradients.
- Skipping modal-specific dropout or regularisation, leading to overfitting on the dominant modality.
- Evaluating on in-distribution held-out data only, without testing modality-drop scenarios present in real deployment.
- Treating all modalities as equally informative without checking per-modality ablation performance.
- Choosing fusion depth (early, mid, late) arbitrarily rather than based on cross-validation evidence.
Frequently asked questions
How should I choose the fusion strategy?
Start with simple concatenation as a baseline. If you suspect rich cross-modal interactions, experiment with gated or attention-weighted fusion. Compare strategies via held-out validation performance rather than selecting arbitrarily.
Should I freeze pretrained modal encoders or fine-tune them?
With small datasets, freezing pretrained encoders and training only the fusion and output layers reduces the number of trainable parameters, which often helps when data is limited. Freezing does not by itself guarantee against overfitting in the fusion and output layers, so check performance on held-out data. With larger datasets, joint end-to-end fine-tuning often improves performance but requires careful learning-rate scheduling per module.
What if one modality is missing for some samples?
Design a zero-vector or learned missing-modality token to substitute for the absent encoding at training time, so the network learns to handle absence robustly. Alternatively, train modality-dropout augmentation to simulate real-world missingness.
When should I use a Multimodal Transformer instead?
Prefer Multimodal Transformers when modalities are sequential (text sequences, video frames, audio spectrograms) and cross-modal attention is essential. The Multimodal MLP is preferable when modalities reduce to fixed-length embeddings and computational efficiency matters.
How do I interpret which modality matters most?
Run per-modality ablation experiments: remove one modality at a time and record performance drop. Additionally, compute SHAP values or integrated gradients on the fused representation and attribute them back to each modal encoder's output.
Related methods
Sources
Ngiam, J., Khosla, A., Kim, M., Nam, J., Lee, H., & Ng, A. Y. (2011). Multimodal deep learning. In Proceedings of the 28th International Conference on Machine Learning (ICML 2011), pp. 689–696.
Open publication referenceGoodfellow, I., Bengio, Y., & Courville, A. (2016). Deep Learning (Ch. 6: Deep Feedforward Networks). MIT Press.
ISBN: 978-0-262-03561-3