Multi-Source Neural Variational Inference: A Modular Framework for Robust Multi-Modal Learning
Abstract
Standard Variational Autoencoders (VAEs) typically rely on a single, monolithic encoder to process multi-source data, leading to issues with sensor failure, missing data, and poor interpretability. We present Multi-Source Neural Variational Inference (MSNVI), a modular framework that decouples encoders to learn separate "beliefs" from different information sources. By employing importance sampling and flexible integration strategies such as Product of Experts (PoE) and Mixture of Experts (MoE), MSNVI enables robust inference, autonomous conflict detection, and superior performance in missing data imputation across various benchmarks.
Introduction
In complex real-world environments, autonomous systems must integrate information from diverse sensors, such as cameras, LiDAR, and microphones. Traditional deep generative models often fuse these inputs into a single vector before processing, creating a "hard-wired" dependency on the presence of all sensors. This lack of modularity results in three primary challenges: inflexibility to sensor dropouts, limited interpretability of individual source contributions, and vulnerability to conflicting or noisy inputs. MSNVI addresses these limitations by modularizing the inference process, allowing for dynamic integration and comparison of source-specific beliefs.
Methods
The fundamental innovation of MSNVI is the modularization of neural variational inference. Rather than a single joint encoder $q_\phi(z|x)$, the framework utilizes $M$ independent encoders $q_{\phi_m}(z|x_m)$, where each encoder corresponds to a specific data source $m$.
- Learning Individual Beliefs: To ensure that each encoder learns a meaningful representation even when other sources are absent, we introduce a training objective $\mathcal{L}^{(ind)}$ that averages the Evidence Lower Bounds (ELBOs) across individual sources. To prevent the generative model from collapsing into a simple average of partial inputs, we incorporate importance sampling (inspired by IWAE). This mechanism provides the necessary feedback for the model to learn a generative process capable of reconstructing the full state from partial, potentially poorly-informed individual beliefs.
- Integrating Beliefs: Once individual encoders are trained, their outputs can be combined using different strategies:
- Product of Experts (PoE): A conjunctive approach that treats sources as constraints, effectively reducing uncertainty when sources are reliable and independent.
- Mixture of Experts (MoE): A disjunctive approach that treats sources as alternatives, providing robustness against outliers or faulty sensors.
- Conflict Detection: The modular nature of MSNVI allows for explicit conflict detection. By comparing the latent distributions produced by different encoders using a ratio of KL divergences, the system can identify when a specific source provides information that contradicts the prior or other sensors, signaling a potential failure.
Experiments and Key Results
The framework was evaluated on a variety of datasets, including a toy 2D Gaussian mixture, MNIST variants (top/bottom, quarters, noisy), Caltech-UCSD Birds 200, and a synthetic pendulum task.
- Ambiguity Resolution: On the toy 2D dataset, individual sources often exhibit high uncertainty, represented as broad ellipses in the latent space. MSNVI successfully integrates these partial views to pinpoint the correct latent state.
- Superior Imputation: MSNVI demonstrated superior performance in missing data imputation on MNIST variants compared to standard MCMC methods. Furthermore, in the synthetic pendulum experiment, the model maintained high predictive accuracy despite simulated sensor failures by utilizing its conflict detection mechanism to filter out unreliable inputs.
Conclusion
MSNVI provides a flexible and robust framework for multi-source learning. By decoupling encoders and providing principled ways to integrate beliefs, it enhances both the reliability and interpretability of variational autoencoders. Future work will explore extending this modularity to temporal dynamics and more complex hierarchical latent structures.
Summary updated