Small-Variance Asymptotics for Nonparametric Bayesian Overlapping Stochastic Blockmodels

Gundeep Arora, Anupreet Porwal, Kanupriya Agarwal, Avani Samdariya, Piyush Rai

Abstract

The latent feature relational model (LFRM) for graphs represents each node as having binary memberships in one or more communities. The community memberships can be represented in form of a binary vector and LFRM defines the link probability between any pair of nodes as a bilinear function of their community membership vectors. Moreover, using nonparametric Bayesian prior - Indian Buffet Process - on the community membership matrix enables learning the number of communities automatically from the data. However, despite its modeling flexibility, strong link predictive performance, and nice interpretability of binary embeddings, inference in LFRM remains a challenge and is typically done via MCMC or variational methods. These methods can be slow and may take a long time to converge. In this work, we apply the small variance asymptotics idea to the non-parametric Bayesian LFRM, utilizing the connection between exponential families and Bregman divergence. This leads to an overlapping k-means like objective function for the nonparametric Bayesian LFRM, which can be optimized using generic or specialized solvers. We also propose an iterative greedy algorithm to optimize the objective function and compare our approach with other inference methods on several benchmark datasets. Our results demonstrate that our inference algorithm is competitive to methods such as MCMC while being much faster.

Introduction

In network analysis, identifying the underlying community structure of a graph is a fundamental task. Most real-world entities, such as individuals in a social network, belong to multiple overlapping communities simultaneously. The Latent Feature Relational Model (LFRM) provides a robust framework for modeling these overlaps using a nonparametric Bayesian prior, specifically the Indian Buffet Process (IBP), to automatically infer the number of communities.

Despite its expressive power, LFRM suffers from significant computational bottlenecks. Traditional inference methods like Markov Chain Monte Carlo (MCMC) are slow to converge and difficult to scale. This research introduces K-LAFTER, a fast optimization-based algorithm that leverages small-variance asymptotics (SVA) to transform the complex probabilistic LFRM into a deterministic objective function.

Methodology: Small-Variance Asymptotics

The core innovation lies in applying Small-Variance Asymptotics (SVA) to the LFRM. SVA serves as a bridge between probabilistic models and deterministic clustering, similar to how K-means relates to Gaussian Mixture Models.

Overcoming Bernoulli Likelihoods

SVA is typically applied to Gaussian data. However, graphs consist of Bernoulli-distributed links (0 or 1). To address this, the authors utilize the mathematical link between exponential families and Bregman divergences, creating a "scaled Bernoulli" representation suitable for SVA.

The K-LAFTER Algorithm

The resulting objective function, $Q(\mathbf{W}, \mathbf{Z})$, resembles a cross-entropy loss with a penalty term to regulate the number of communities. The proposed K-LAFTER algorithm uses a greedy, alternating optimization strategy to update community assignments ($\mathbf{Z}$) and interaction weights ($\mathbf{W}$). Notably, the algorithm can dynamically "birth" new communities to minimize the global cost, preserving the nonparametric nature of the original model.

Experimental Evaluation

The model was evaluated on several standard relational benchmarks, including the Lazega-Lawyers networks (Advice, Friendship, Work), the Protein230 interaction network, and the NIPS234 co-authorship network.

Performance and Accuracy

The SVA-based approach, LFRM-SVA, consistently outperformed or matched traditional methods across various datasets.

Link prediction performance (AUC-ROC) across various benchmark datasets.

As shown in the table above, LFRM-SVA achieved the highest AUC-ROC scores on most datasets, reaching 0.966 on the NIPS234 dataset, significantly outperforming the standard LFRM-MCMC on several benchmarks.

Computational Efficiency

The primary advantage of the SVA approach is its speed. By replacing stochastic sampling with deterministic optimization, the algorithm achieves dramatic speedups.

AUC-ROC vs. Time (log-scale) comparing LFRM-MCMC and LFRM-SVA-Opt.

As illustrated in the figure above, LFRM-SVA-Opt converges to a high-quality solution significantly faster than the MCMC-based LFRM. While MCMC requires extensive "burn-in" periods and thousands of iterations, SVA often converges in fewer than 100 iterations, making it far more practical for real-world applications.

Conclusion

By applying small-variance asymptotics to the LFRM, this work demonstrates that it is possible to maintain the flexibility of nonparametric Bayesian models while gaining the efficiency of deterministic optimization. The K-LAFTER algorithm provides a scalable and accurate alternative for discovering overlapping communities in complex networks.

Summary updated

BibTeX
@inproceedings{arora2018small,
  author = {Gundeep Arora and Anupreet Porwal and Kanupriya Agarwal and Avani Samdariya and Piyush Rai},
  title = {{Small-Variance Asymptotics for Nonparametric Bayesian Overlapping Stochastic Blockmodels}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  url = {https://openreview.net/forum?id=Bk467mGubH},
}
Figure