Abstract
Multimodal variational autoencoders (VAEs) aim to capture shared latent representations by integrating information from different data modalities. A significant challenge is accurately inferring representations from any subset of modalities without training an impractical number ($2^M$) of inference networks. Mixture-based models simplify this but suffer from information loss when modalities are missing. Alignment-based VAEs address this by aligning unimodal models with a multimodal model but face issues due to amortization gaps. We introduce multimodal iterative amortized inference, an iterative refinement mechanism that overcomes information loss and minimizes the amortization gap by refining the multimodal inference using all available modalities. By aligning unimodal inference to this refined multimodal posterior, we achieve unimodal inferences that effectively incorporate multimodal information. Experiments show improved linear classification accuracy, competitive cosine similarity, and enhanced cross-modal generation (lower FID scores).
Introduction
In a perfect multimodal learning scenario, a shared latent space would allow an image of a bird and its text description to map to the exact same point. However, standard Multimodal VAEs face two primary hurdles:
- The Missing Modality Problem: When a model trained on multiple modalities is provided with only one at test time, it often loses modality-specific details because it wasn't forced to reconstruct them from that single input during training.
- The Amortization Gap: Standard VAEs use a single forward pass of an encoder network to approximate latent variables. This "amortized" guess is computationally efficient but often inaccurate compared to the true posterior distribution. In multimodal settings, this gap leads to blurry generations and poor cross-modal alignment.
Existing models try to aggregate unimodal encoders (mixture-based) or force them to match a multimodal one (alignment-based). However, if the target multimodal encoder is limited by the amortization gap, the unimodal encoders will be as well.
Methodology: Multimodal Iterative Amortized Inference
The proposed approach bridges these gaps using a two-step refinement and alignment process.
1. Iterative Refinement
Instead of relying on a single encoder pass, the model performs $T$ iterations of refinement. In each step, it calculates the gradient of the multimodal Evidence Lower Bound (ELBO)—which considers all available modalities—and uses that gradient to update the latent representation parameters ($\mu$ and $\sigma$). This allows the model to "recover" information from missing modalities by seeing how the latent variables should change to satisfy the requirements of the full multimodal data.
2. Distribution Alignment
Once a refined, high-quality multimodal posterior is obtained, unimodal encoders ($q_{\lambda_m}$) are trained to mimic it using Kullback–Leibler (KL) divergence. This ensures that even with unimodal inputs at inference time, the resulting representations capture significantly richer multimodal information.
Experimental Results
The researchers evaluated their method on two standard benchmarks: MNIST-SVHN-Text and Caltech Birds (CUB).
- Classification Accuracy: On the MNIST-SVHN-Text dataset, the latent representations achieved higher linear classification accuracy (e.g., 98.15% for MNIST and 99.97% for Text), indicating a cleaner, more separable latent space.
- Generation Quality (FID): The Fréchet Inception Distance (FID) improved dramatically. On the CUB dataset (Text $\rightarrow$ Image), the proposed method achieved an FID of 207.13, compared to 268.15 for standard alignment-based models and 325.98 for mixture-based models.
- Cross-Modal Consistency: Qualitative results show that images generated from text alone were much more detailed and consistent with the "ground truth" style of the missing image modality.
Key Insights
- Gradients as Information Channels: The gradient of the multimodal ELBO acts as a signal that pulls in information from modalities not explicitly present in the input. By following this gradient, the latent representation "learns" what the missing modalities likely look like.
- Iterative Refinement Scales: As the number of iterations ($T$) increases, the quality of the latent representation improves. A single pass ($T=1$) often produces generic results, while $T=8$ captures fine-grained details.
Limitations and Future Work
While the method improves distributional alignment, "numerical consistency" (pixel-for-pixel matching) is not always perfectly maintained. Additionally, performing multiple iterations of gradient-based refinement increases training costs, though this overhead is only incurred during the training phase and not at inference.
Conclusion
By applying iterative amortized inference to the multimodal setting, this framework successfully recovers missing information and provides a superior target for unimodal encoder alignment. This results in more powerful unimodal encoders that effectively bridge the gap between disparate data modalities.
Summary updated