TL;DR
This paper introduces Variational Gibbs Inference (VGI), a novel method for estimating statistical models from data with missing values. VGI offers a computationally efficient and flexible way to handle missing data, outperforming existing methods on various tasks, including Variational Autoencoders and Normalizing Flows.
What Problem Does This Paper Address?
Estimating statistical models is a cornerstone of machine learning, enabling tasks like classification, prediction, and anomaly detection. However, real-world data often suffers from missing values, posing a significant challenge. While variational inference (VI) is a powerful tool for latent variable models, its direct application to incomplete data becomes computationally intractable. This is because standard VI would require an exponential number of variational distributions, one for each possible pattern of missingness. This paper addresses this gap by proposing VGI, a method that scales linearly with data dimensionality, making it practical for modern, high-dimensional datasets.
Methods
VGI combines the computational efficiency of variational inference with the expressiveness of Markov chains, specifically Gibbs sampling. The core idea is to represent the complex joint distribution of missing variables using a set of d univariate variational conditionals, where d is the dimensionality of the data. This drastically reduces the number of variational distributions needed from an exponential to a linear number.
The VGI algorithm iteratively alternates between two steps:
- Learning Step: The statistical model parameters and the variational conditionals are updated by maximizing a variational lower bound on the log-likelihood.
- Imputation Step: Missing values are imputed using pseudo-Gibbs sampling, leveraging the learned variational distributions. These imputations are persistent and updated across iterations.
Key innovations include:
- Variational Gibbs Inference (VGI): A general-purpose method that uses d variational conditionals to represent all possible missingness patterns.
- Extended-Gibbs Conditionals: A modification that allows variational conditionals to depend on previous imputations, improving computational efficiency and enabling parameter sharing.
- Variational Block-Gibbs Inference (VBGI): An extension for scenarios where missingness occurs in blocks, particularly useful for latent variable models.
Datasets
The paper evaluates VGI on several datasets:
- Toy Data: A synthetic 6-dimensional Factor Analysis (FA) model with a 2-dimensional latent space.
- FA-Frey: A synthetic 560-dimensional FA model derived from the Frey dataset, with 43 latent dimensions.
- VAE-Frey: A synthetic 560-dimensional dataset generated from a VAE model.
- UCI Datasets for Normalizing Flows: POWER, GAS, HEPMASS, and MINIBOONE.
Key Insights and Ideas
- Linear Scaling for Missing Data: The most significant insight is that VGI circumvents the exponential complexity of handling missing data patterns by using only d variational conditionals. This is a crucial step towards making advanced statistical modeling accessible for real-world, incomplete datasets.
- Bridging VI and Gibbs Sampling: VGI elegantly merges the strengths of VI (computational efficiency, scalability) and Gibbs sampling (expressiveness, ability to model complex dependencies) to tackle the missing data problem.
- Imputation as a Learning Component: Unlike traditional "impute-then-fit" methods, VGI integrates imputation directly into the model learning process, allowing imputations to adapt and improve alongside the model parameters. This leads to more accurate and robust model estimation.
- Importance of Conditioning: The paper empirically validates that conditioning the variational model on observed data (x_obs) is crucial for performance, even when dealing with latent variables.
Key Results
- Superior Performance: VGI consistently outperformed existing methods, including MCEM, MICE, and VAE-specific approaches, across various tasks (FA, VAEs, Normalizing Flows) and missingness levels.
- Accuracy: VGI achieved comparable or better accuracy than classical EM in low-dimensional settings and significantly outperformed impute-then-fit methods on higher-dimensional FA models. For VAEs and Normalizing Flows, VGI-based methods demonstrated superior log-likelihood estimates, especially at high missingness rates.
- Efficiency: While VGI can have a higher per-iteration cost due to Gibbs sampling, it often converges faster, leading to better overall computational efficiency, especially for complex models like autoregressive flows where other methods struggle.
- Extended-Gibbs Benefit: The extended-Gibbs conditionals improved computational efficiency without sacrificing accuracy, particularly in higher-dimensional problems.
Limitations and Future Work
- Computational Cost: While VGI is more efficient than many alternatives, the Gibbs sampling step can still be computationally intensive, especially with high missingness or complex models.
- Mixing Rate: The mixing rate of the Gibbs imputation chains can be slow if variables are highly correlated, potentially slowing down learning.
- Non-Ignorable Missingness: The current VGI framework assumes ignorable missingness. Extending it to handle non-ignorable missingness is a significant area for future work.
- Improving Efficiency: Future work could explore techniques to improve Gibbs sampling mixing (e.g., ordered over-relaxation, adaptive scans) and optimize variational model evaluation using sparse matrix computations.
- General-Purpose Platform: The authors envision VGI as a candidate for implementation in probabilistic modeling platforms and machine learning frameworks to improve the handling of missing data.
Summary updated