Projected Subgradient Methods for Learning Sparse Gaussians

John C. Duchi, Stephen Gould, Daphne Koller

Abstract

Learning the structure of Gaussian Markov Random Fields (GMRFs) is a fundamental task in high-dimensional statistics, typically involving the estimation of a sparse inverse covariance (precision) matrix. We present a significantly faster approach using projected gradient methods applied to the dual optimization problem. This method reduces computational complexity from $O(n^4)$ to $O(n^3)$ per iteration. Furthermore, we introduce a "block sparsity" framework that incorporates domain-specific structural knowledge, such as biological pathways or articulated body parts, into the learning process. Empirical results demonstrate that our method outperforms existing state-of-the-art algorithms in both speed and generalization.

Introduction

In high-dimensional data analysis, understanding variable interactions is critical. For Gaussian distributions, these interactions are encoded in the precision matrix. A zero entry indicates conditional independence between two variables. Learning this sparse structure is essential for building robust models from limited data, especially in complex systems like gene networks. Traditional convex optimization methods for this problem often scale poorly with the number of variables $n$, or rely on non-optimal greedy heuristics. We address the need for a mathematically principled algorithm that is efficient enough for high-dimensional real-world applications.

Methodology

The core objective is the $\ell_1$-regularized log-likelihood, which uses a penalty to induce sparsity in the precision matrix. Our key innovation involves shifting the optimization focus to the dual problem. While the primal problem is challenging to solve directly, the dual formulation features simple "box constraints."

The Algorithm

  1. Projected Gradient Descent: The algorithm moves in the direction of increasing likelihood and subsequently "projects" the result back into the feasible box defined by the constraints. This projection is computationally trivial.
  2. Complexity: The most computationally intensive step is matrix inversion, resulting in a cost of $O(n^3)$ per iteration. This is a significant improvement over the $O(n^4)$ cost associated with previous coordinate-descent methods.
  3. Block Sparsity: We extend this method to handle groups of variables. By penalizing entire blocks of the matrix rather than individual edges, we can incorporate prior knowledge about variable clusters, such as genes within a specific metabolic pathway.
Figure 1: CPU time comparison between Projected Subgradient, Iterated QP, and Graphical Lasso across different problem sizes.

Experimental Evaluation

The method was evaluated on synthetic benchmarks, mammal 2D shape landmarks (60 landmarks across six animal species), and gene expression data (667 genes in S. cerevisiae).

Key Results

  • Computational Efficiency: As shown in Figure 1, the projected subgradient method outperforms state-of-the-art algorithms like Graphical Lasso and Iterated QP by one to two orders of magnitude in CPU time, maintaining a clear advantage as problem size increases.
  • Generalization Performance: On the mammal shape dataset, the block-sparsity approach achieved superior test log-likelihood compared to standard $\ell_1$ methods (Figure 2). This proves that incorporating structural knowledge helps the model generalize better to unseen data.
  • Biological Relevance: In yeast gene expression analysis, the block-regularized model successfully recovered known metabolic interactions that were missed by simpler, non-structured models.
Figure 2: Test log-likelihood vs. percentage of non-zero entries, comparing the Block L1 approach with standard L1 regularization.

Conclusion and Future Work

By solving the dual problem, we transform complex constraints into trivial box projections, enabling $O(n^3)$ scaling. Our block-sparsity framework further allows for the integration of domain knowledge, leading to more robust and interpretable models.

Future work includes automating the selection of blocks, which currently requires manual definition. Additionally, extending the framework to handle overlapping blocks and discrete Markov Random Fields would broaden its applicability to more complex biological and categorical datasets.

Summary updated

BibTeX
@inproceedings{duchi2008projected,
  author = {John C. Duchi and Stephen Gould and Daphne Koller},
  title = {{Projected Subgradient Methods for Learning Sparse Gaussians}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2008},
}
Figure