NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Scalable Nonparametric Multiway Data Analysis

Shandian Zhe, Zenglin Xu, Xinqi Chu, Yuan Alan Qi, Youngja ParkAISTATS 2015

Abstract

Multiway data analysis deals with multiway arrays, i.e., tensors, and the goal is twofold: predicting missing entries by modeling the interactions between array elements and discovering hidden patterns, such as clusters or communities in each mode. Despite the success of existing tensor factorization approaches, they are either unable to capture nonlinear interactions, or computationally expensive to handle massive data. In addition, most of the existing methods lack a principled way to discover latent clusters, which is important for better understanding of the data. To address these issues, we propose a scalable nonparametric tensor decomposition model. It employs Dirichlet process mixture (DPM) prior to model the latent clusters; it uses local Gaussian processes (GPs) to capture nonlinear relationships and to improve scalability. An efficient online variational Bayes Expectation-Maximization algorithm is proposed to learn the model. Experiments on both synthetic and real-world data show that the proposed model is able to discover latent clusters with higher prediction accuracy than competitive methods. Furthermore, the proposed model obtains significantly better predictive performance than the state-of-the-art large scale tensor decomposition algorithm, GigaTensor, on two large datasets with billions of entries.

Introduction

Multiway data, or tensors, are essential for representing multi-dimensional relationships across various domains, from user-file interactions in access logs to complex clinical trial data. Traditional tensor decomposition methods, such as CP or Tucker decomposition, rely on multilinear assumptions. While mathematically elegant, these methods often struggle to capture the complex, nonlinear interactions prevalent in real-world datasets.

Nonparametric models like InfTucker were introduced to address these nonlinearities using Gaussian Processes (GPs). However, they face a significant "scalability wall" due to the $O(N^3)$ complexity of GP matrix inversions. Moreover, most existing methods lack a principled mechanism to identify latent clusters—natural groupings within the data modes—which are crucial for data interpretability. This paper introduces a scalable, nonparametric approach that captures nonlinear relationships and automatically discovers latent clusters, even on massive datasets with billions of entries.

The Proposed Model: Local GPs and DPM Priors

The proposed model balances flexibility and efficiency through several key innovations. Central to the approach is the use of a Dirichlet Process Mixture (DPM) prior for latent factors. Unlike simple distributions, the DPM allows the model to automatically infer the number of latent clusters in each mode of the tensor, enhancing interpretability.

To overcome the computational burden of global GPs, the authors employ Local Gaussian Processes. By slicing a massive tensor into numerous small subarrays, each can be modeled by its own local tensor-variate GP. This "divide and conquer" strategy transforms a computationally "heavy" global process into a series of manageable local approximations.

Graphical representation of the proposed nonparametric tensor decomposition model featuring DPM priors and latent factors.

Learning is achieved via an Online Variational Bayes EM (VB-EM) algorithm. This algorithm processes subarrays sequentially, updating global statistics (like cluster centers) and local latent factors using stochastic gradient descent. This approach ensures the model can scale to massive data without requiring the entire dataset to reside in memory. For prediction, the model aggregates results from multiple subarrays (bagging), providing fast and robust estimates for missing values.

Experimental Evaluation

The model was evaluated on datasets of varying scales, including Digg (social news), Enron (emails), and Alog (file access logs). For large-scale testing, the authors utilized the DBLP bibliography dataset (20 billion possible entries) and ACC source code logs (13.5 billion possible entries).

Key Results

On smaller datasets, the proposed model consistently outperformed standard linear models (PARAFAC, Tucker) and the previous state-of-the-art nonparametric model (InfTucker). As shown in the performance plots, the proposed model variants maintain high AUC and low MSE across different numbers of factors.

Performance comparison (AUC and MSE) on Digg, Enron, and Alog datasets against various baseline methods.

In synthetic tests, the model successfully recovered distinct latent clusters where traditional methods failed. On massive datasets like DBLP and ACC, the model significantly outperformed GigaTensor, a leading large-scale linear decomposition tool. For instance, it improved AUC on DBLP by 12% and reduced MSE on ACC by 53%. Notably, while GigaTensor required a Hadoop cluster, the proposed model achieved these results on a single computer, demonstrating exceptional computational efficiency.

Insights and Future Directions

A primary insight is that a collection of local GP approximations can match or exceed the accuracy of a global GP while being orders of magnitude faster. Furthermore, integrating DPM priors does more than just discover clusters; it provides a better prior for latent factors, directly improving prediction accuracy.

Future work includes developing a distributed version of the VB-EM algorithm to scale to "trillions" of entries using frameworks like Spark. Additionally, exploring more sophisticated subarray sampling techniques and addressing hyperparameter sensitivity in Bayesian nonparametric settings remain open areas for improvement.

Summary updated

BibTeX
@inproceedings{zhe2015scalable,
  author = {Shandian Zhe and Zenglin Xu and Xinqi Chu and Yuan Alan Qi and Youngja Park},
  title = {{Scalable Nonparametric Multiway Data Analysis}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2015},
  url = {https://openreview.net/forum?id=gB6ZO0STRM},
}
Figure