Efficient Algorithm for Sparse Tensor-variate Gaussian Graphical Models via Gradient Descent

Pan Xu, Tingting Zhang, Quanquan Gu

Abstract

Estimating the structure of dependencies in multi-dimensional data, or tensors, is a critical task in fields ranging from neuroscience to recommendation systems. Traditional Gaussian Graphical Models (GGMs) fail to scale to the high dimensionality of tensor data. While Tensor-variate GGMs (TGGMs) address this by assuming a Kronecker product structure for the covariance, the resulting optimization problem is non-convex and computationally intensive. This paper introduces AltGD, an efficient alternating gradient descent algorithm for sparse TGGM estimation. AltGD is the first algorithm for this problem to provide a provable linear convergence rate to the minimax optimal statistical error. Empirical evaluations on synthetic data and real-world fMRI and EEG datasets demonstrate that AltGD significantly outperforms existing state-of-the-art methods in both speed and accuracy.

Introduction

In many modern applications, data is naturally represented as tensors—multi-dimensional arrays. For instance, fMRI scans provide 3D spatial data over time, forming a 4D tensor. Understanding the conditional dependencies between variables in such data is often modeled using Gaussian Graphical Models (GGMs), where the goal is to estimate a sparse precision matrix. However, the sheer number of parameters in a flattened tensor model makes standard GGM estimation computationally prohibitive.

Tensor-variate GGMs (TGGMs) mitigate this by assuming the total precision matrix is a Kronecker product of smaller, mode-specific precision matrices. Despite this simplification, enforcing sparsity leads to a non-convex optimization problem that has historically lacked efficient algorithms with strong theoretical guarantees.

The AltGD Algorithm

The authors propose Alternating Gradient Descent (AltGD) to solve the sparsity-constrained maximum likelihood estimation for TGGMs. The algorithm iterates through each mode of the tensor, updating one precision matrix while keeping others fixed.

Key innovations of AltGD include:

  • Single Gradient Step: Unlike previous methods like Tlasso that require exact minimization of sub-problems, AltGD takes only one gradient step per iteration. This drastically reduces the per-iteration computational cost.
  • Hard Thresholding: To maintain sparsity and interpretability, the algorithm applies a truncation operator after each gradient step, retaining only the most significant entries.
  • Sample Splitting: For theoretical analysis, the algorithm uses independent data batches across iterations to ensure statistical independence, though it performs robustly in practice even without this step.

Theoretical Guarantees and Convergence

A major contribution of this work is the first proof of linear convergence for a TGGM estimation algorithm. The authors show that, given a suitable initialization, the optimization error of AltGD decays geometrically.

Linear convergence of AltGD across different tensor modes. The optimization error (blue) drops linearly until it reaches the statistical noise floor (red dashed line).

Furthermore, the algorithm is shown to achieve the minimax optimal statistical rate, meaning its estimation error is as low as theoretically possible for this class of models.

Experimental Results

The performance of AltGD was validated through extensive experiments on synthetic and real-world datasets.

Synthetic Benchmarks

In controlled tests with known ground-truth structures, AltGD consistently reached the statistical error floor faster than the Tlasso algorithm. As shown in the table below, AltGD achieved lower Frobenius norm errors across various settings while being significantly faster—up to 3x faster in some instances.

Performance comparison between AltGD and Tlasso on synthetic data. AltGD consistently achieves lower estimation error in less time.

Real-World Applications

  • fMRI Brain Imaging: On the StarPlus dataset, AltGD achieved a classification accuracy of 88.4%, outperforming Tlasso (78.4%) and standard vectorized models (77.6%).
  • EEG Motor Imagery: The algorithm reached 93.5% accuracy in classifying motor imagery tasks, demonstrating its effectiveness in capturing complex biological signal structures.

Conclusion

AltGD represents a significant advancement in tensor-variate graphical modeling. By combining alternating updates with simple gradient steps and hard thresholding, it provides a computationally efficient path to statistically optimal models. Its provable linear convergence and superior performance on real-world neuroimaging data make it a powerful tool for high-dimensional data analysis.

Summary updated

BibTeX
@inproceedings{xu2017efficient,
  author = {Pan Xu and Tingting Zhang and Quanquan Gu},
  title = {{Efficient Algorithm for Sparse Tensor-variate Gaussian Graphical Models via Gradient Descent}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2017},
}
Figure