Parameter Estimation in DAGs from Incomplete Data via Optimal Transport

Vy Vo, Trung Le, Long Tung Vuong, He Zhao, Edwin V. Bonilla, Dinh Phung

Estimating the parameters of a probabilistic directed graphical model from incomplete data is a long-standing challenge in machine learning. In the presence of latent variables, traditional methods often stumble. This paper introduces OTP-DAG, a novel framework that leverages Optimal Transport (OT) instead of traditional Maximum Likelihood Estimation (MLE) to estimate parameters in directed acyclic graphs (DAGs). By minimizing the Wasserstein distance rather than maximizing likelihood, OTP-DAG avoids intractable posterior calculations and proves significantly more robust to model mis-specification and "posterior collapse."

The Problem with Maximum Likelihood in Latent Models

Probabilistic DAGs, or Bayesian networks, are foundational to causal and statistical modeling. However, they become notoriously difficult to train when some data is missing—a scenario characterized by latent variables.

Traditionally, researchers rely on MLE via algorithms like Expectation-Maximization (EM) or Variational Inference (VI). The major drawback of these methods is their reliance on calculating or approximating the "posterior distribution" (the probability of hidden variables given observed data). In complex models, this calculation is mathematically intractable. To bypass this, researchers often resort to "mean-field" assumptions, pretending variables are independent when they are not. This compromise can lead to biased results or "posterior collapse," a phenomenon where the model simply ignores the latent variables altogether.

The Optimal Transport Solution

To overcome these limitations, the authors propose shifting the learning objective from the Kullback-Leibler (KL) divergence—the engine behind MLE—to the Wasserstein distance, rooted in Optimal Transport theory.

The core of their approach is the OTP-DAG algorithm, which utilizes a "backward-forward" mapping strategy:

  1. Backward Mapping (The Encoder): A stochastic map that takes observed data and "pushes it back" to its parent nodes, including the latent ones.
  2. Forward Mapping (The Decoder): A deterministic assignment that reconstructs the observed data from those parents.

The authors theoretically prove that minimizing the global Wasserstein distance between the model and the data is equivalent to minimizing a reconstruction error plus a divergence penalty. This penalty ensures the backward mapping matches the model's prior. Ultimately, this formulation acts as a powerful generalization of the Wasserstein Auto-Encoder (WAE), but it can be applied to any arbitrary DAG structure without requiring analytic derivations of a specific Evidence Lower Bound (ELBO) for every new graph.

Experimental Highlights and Key Insights

The researchers evaluated OTP-DAG across a diverse range of tasks, including synthetic data (Gaussian Mixture Models, LDA, Poisson HMMs), real-world text (20 News Group, BBC News), and images (CIFAR10, MNIST, SVHN).

Robustness to Mis-specification

One of the most striking findings is OTP-DAG's resilience to model mis-specification. If a model is initialized with incorrect variance or weights, traditional EM often plateaus with a high error rate. In contrast, OTP-DAG consistently converges toward the ground-truth parameters.

Parameter estimation error over time comparing OTP-DAG and EM.

Superior Pattern and Topic Recovery

In synthetic Latent Dirichlet Allocation (LDA) tasks designed for topic recovery, OTP-DAG significantly outperformed strong baselines. Visual comparisons of the recovered patterns demonstrate that OTP-DAG captures the ground truth much more faithfully than EM, SVI, or ProdLDA.

Comparison of ground-truth pattern recovery across OTP-DAG, EM, SVI, and Prod LDA.

When applied to real-world text datasets, OTP-DAG consistently achieved higher Coherence (how related words in a topic are) and Diversity (how unique the topics are).

Solving Codebook Collapse and Improving Efficiency

In discrete representation learning (like VQ-VAE), models often suffer from "codebook collapse," utilizing only a tiny fraction of their available feature dictionary. Because the OT objective forces the aggregate posterior to match the prior, OTP-DAG naturally utilizes almost all available codewords, achieving significantly higher Perplexity scores while maintaining superior or comparable image reconstruction quality.

Furthermore, OTP-DAG proved highly efficient. For Hidden Markov Models, it was not only more accurate but also significantly faster, taking roughly 3 minutes compared to EM’s 20 minutes for the same number of training steps.

Limitations and Future Work

While OTP-DAG offers a robust new paradigm, the authors note a few hurdles:

  • Scalability: As graph complexity grows, the number of operations required for ancestral sampling increases, which could become computationally expensive for extremely large networks.
  • Divergence Selection: The choice of the divergence measure (e.g., MMD vs. GAN-based) is flexible but can impact performance depending on data dimensionality.
  • Structure Learning: Currently, the algorithm assumes the DAG structure is known. Extending this OT-based framework to learn the graph structure itself from scratch remains a promising future direction.

Overall, this work marks a significant step toward making parameter estimation in complex, latent-variable models more automated, robust, and theoretically grounded.

Summary updated

BibTeX
@inproceedings{vo2024parameter,
  author = {Vy Vo and Trung Le and Long Tung Vuong and He Zhao and Edwin V. Bonilla and Dinh Phung},
  title = {{Parameter Estimation in DAGs from Incomplete Data via Optimal Transport}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=kXde6Qa6Uy},
}
Figure