Core Dependency Networks

Alejandro Molina, Alexander Munteanu, Kristian Kersting

Introduction

Probabilistic graphical models are essential for understanding complex relationships between variables, but training them on massive datasets is often computationally grueling. This paper introduces Core Dependency Networks (CDNs), a method to scale the training of Dependency Networks (DNs) to massive datasets using coresets—small, weighted subsets of data that act as accurate proxies for the full set. Unlike standard Bayesian Networks, DNs allow for cycles, making them highly flexible for tasks like collaborative filtering, genetic analysis, and sensor network modeling.

Theoretical Framework and Methods

The researchers leverage the concept of $\epsilon$-subspace embeddings to compress data without losing critical structural information. The approach varies based on the underlying distribution:

  1. Gaussian DNs: Training a Gaussian DN is shown to be equivalent to solving a series of linear regression problems. By calculating leverage scores—a measure of a data point's influence on the model fit—the authors can sample points non-uniformly. They prove that the resulting coreset size depends only on the number of variables, not the total number of data points ($n$), enabling massive compression.
  2. Poisson DNs: For count data, the authors provide a formal proof that Poisson regression does not admit sublinear coresets in the worst case. However, they bridge this gap by observing that real-world count data is often "overdispersed." By treating such data through a log-normal lens, leverage-score sampling remains highly effective in practice.

Empirical Evaluation

The authors evaluated CDNs on three distinct datasets: MNIST (handwritten digits), Traffic Data (~1.47 million measurements from Cologne, Germany), and NIPS Bag-of-Words (text corpus).

Accuracy and Structure Recovery

CDNs significantly outperform uniform sampling (randomly picking rows). Uniform sampling often misses the "corner cases" that define a model's boundaries, whereas leverage-score sampling preserves these critical points. On the MNIST dataset, a CDN using only 30% of the data achieved a staggering 0.01% relative error, while uniform sampling at the same size maintained over 13% error.

RMSE performance of CDN vs. Uniform and Full models across different training data sizes.

Computational Efficiency

The primary advantage of CDNs is scalability. By training on a tiny representative subset rather than the full dataset, the authors achieved orders-of-magnitude speedups. For the traffic sensor data, training on the full set required hours, while the coreset approach reduced the time to mere minutes.

Log training time comparison, demonstrating the significant speedup achieved by CDNs.

Key Insights and Limitations

The "Poisson Paradox" is a significant theoretical contribution, warning that count data is fundamentally harder to compress than continuous data because single outliers can have unbounded effects on likelihood. Despite this, the practical success of CDNs on real-world count data suggests that the log-normal approximation is a powerful tool for big data analytics.

While the theoretical gap for worst-case Poisson models remains, CDNs provide a robust framework for scaling graphical models. Future work includes exploring hybrid models with mixed distributions and applying these coreset techniques to deep generative models.

Summary updated

BibTeX
@inproceedings{molina2018core,
  author = {Alejandro Molina and Alexander Munteanu and Kristian Kersting},
  title = {{Core Dependency Networks}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.1609/aaai.v32i1.11726},
}
Figure