Assortative-Constrained Stochastic Block Models

Assortative-Constrained Stochastic Block Models

Assortative-Constrained Stochastic Block Models Daniel Gribel Thibaut Vidal Michel Gendreau Departamento de Informatica´ Departamento de Informatica´ Department of Mathematics and Pontif´ıcia Universidade Catolica´ Pontif´ıcia Universidade Catolica´ Industrial Engineering do Rio de Janeiro do Rio de Janeiro Polytechnique Montreal´ Rio de Janeiro, Brazil, 22451-900 Rio de Janeiro, Brazil, 22451-900 Montreal,´ Canada, P.O. Box 6079 Email: [email protected] Email: [email protected] Email: [email protected] Abstract—Stochastic block models (SBMs) are often used to community detection approaches are agnostic to the assortativ- find assortative community structures in networks, such that the ity of their solutions. They allow to search for solutions with probability of connections within communities is higher than in a pre-defined number of communities, and can indifferently between communities. However, classic SBMs are not limited to assortative structures. In this study, we discuss the implica- model assortative and disassortative structures. This modeling tions of this model-inherent indifference towards assortativity capability can be viewed as an asset but also as a weakness. or disassortativity, and show that this characteristic can lead Indeed, SBMs are often used in contexts in which users to undesirable outcomes for networks which are presupposedy expect assortative solutions. In the most dramatic situations, assortative but which contain a reduced amount of information. non-assortative solutions might go under the radar and lead To circumvent this issue, we introduce a constrained SBM that imposes strong assortativity constraints, along with efficient to mistakes of interpretation. In other cases, non-assortative algorithmic approaches to solve it. These constraints significantly solutions with a better likelihood may substitute the assortative boost community recovery capabilities in regimes that are close solutions which were originally sought (Figure 1). This later to the information-theoretic threshold. They also permit to iden- situation is especially prevalent in case studies involving sparse tify structurally-different communities in networks representing graphs, or with lightly assortative structures which challenge cerebral-cortex activity regions. detection algorithms. I. INTRODUCTION Community detection methods hold a central place in machine learning, with an extensive range of applications related to sociological behavior, protein interactions, image segmentation, and gene expressions analysis [1]. In most of these applications, the actual classes of the nodes in the (a) Optimal solution (b) 2nd best solution (c) 3rd best solution network are unknown, but pairwise relations between nodes log L = −2:7616 log L = −5:3193 log L = −5:9012 are exploited to identify communities. Fig. 1. The three best solutions in a small example case with eight nodes and two communities. The two best solutions in terms of maximum likelihood are Fitting the parameters of a stochastic block model (SBM) disassortative, whereas the third (c) is assortative. [2, 3] to a given graph is a prominent way of searching for communities. The canonical SBM assumes that each node In this work, we propose a variant of the DC-SBM which belongs to one block (representing a community) and that the includes user knowledge about assortativity. We incorporate expected number of edges between two nodes depends only on this information by setting assortativity constraints on the DC- the blocks to which they belong. Thus, the model only assumes SBM parameter set. Indeed, if the user expects an assortative that nodes within each block are statistically equivalent in their solution due to the characteristics of the application case, connectivity patterns. Several variations of the standard SBM it is plausible to guide the convergence of the model via were also introduced to overcome some of its limitations. The additional constraints. We show that the resulting constrained degree-corrected SBM (DC-SBM) introduced by Karrer and likelihood-maximization model can be solved efficiently with arXiv:2004.11890v1 [cs.SI] 21 Apr 2020 Newman [4], in particular, allows non-uniform node degree an iterative method based on local-search and interior-point distributions, making block modeling more representative of algorithms. Our computational experiments show that the real-world networks. assortativity constraints prevents the search from converging Broadly speaking, a solution for community detection (rep- towards spurious non-assortative local minima, especially for resented as a partition of the node set into communities) is sparse networks, and that they contribute to identify different assortative when connections within communities are more solution structures in application cases related to the analysis frequent than in between communities, it is disassortative of the brain cortex. The key contributions of this work are when connections within communities are less frequent than therefore the following. in between communities, and finally it is non-assortative if 1) We introduce a DC-SBM variant which incorporates as- no such relation exists among all communities. SBM-based sortativity constraints to represent prior user knowledge; 2) We propose an efficient solution approach based on III. BACKGROUND AND NOTATIONS local optimization and interior-point algorithms for this A. Degree-Corrected Stochastic Block Model (DC-SBM) model; 3) Through extensive computational experiments, we dis- In its most fundamental form, the DC-SBM considers N cuss the practical implications of this constrained model nodes allocated to K groups. We assume that the number and identify the regimes in which it contributes to of edges between a pair of nodes (i; j) depends only on the improve community detection practice. groups to which the nodes belong and on their degrees [5]. Finding the latent membership of nodes corresponds to finding II. RELATED WORKS the block-model parameters that best fit the observed graph [1]. SBMs are commonly used to extract meaningful informa- For an observed adjacency matrix A 2 NN;N representing a tion from complex networks. The classical SBM is also a graph with m (possibly weighted) edges, the log-likelihood natural modeling choice for community detection [1] and a function of the DC-SBM is calculated as [4]: generalization of modularity maximization [5]. The surveys K N of Abbe [1] and Lee and Wilkinson [6] discuss key results 1 XX kikj log P (AjΩ;Z) = A log(! ) − ! z z : regarding recovery requirements and solution algorithms. Dif- 2 ij rs 2m rs ir js rs ij ferent types of algorithms can be used to fit SBMs, based on (1) Markov Chain Monte Carlo (MCMC) approaches [3, 7, 8], In this equation, ki is the degree of node i, and m is the variational inference [9, 10], belief propagation [11], spectral total number of edges. Variables Z 2 f0; 1gN;K represent the clustering [12–14], and semidefinite programming [15, 16], binary community assignments, in such a way that zir = 1 among others. indicates that node i is assigned to group r. Ω is a symmetric To date, few works have considered the possibility of K × K edge probability matrix. Each element !rs of Ω incorporating prior information on assortativity. Moore et al. corresponds to the expected number of edges between any [17] studied a SBM in which the edge probabilities within two points in groups r and s. The expected number of and in between communities follow a Beta prior. The hyper- kikj edges between nodes i and j is !rs, for zir = 1 and parameters defining the Beta distributions drive the degree of 2m zjs = 1. If we fix the assignment Z, then the (unconstrained) assortativity in the graph. Yet, according to their experiments, maximum-likelihood for each parameter !rs can be estimated these priors dominate only in small or sparse data sets, by differentiation: otherwise they tend to wash out. The Assortative Mixed Membership SBM (a-MMSB) intro- 2m · mrs !^rs = ; (2) duced by Gopalan et al. [18] considers soft node-to-community κrκs assignments and includes a latent parameter describing com- PN where mrs = ij Aijzirzjs is the number of edges between munity strength, representing how tightly nodes are connected N groups r and s, and κ = P k z is the sum of the degrees within each group. Edges are assumed to be drawn from a r i i ir of nodes in group r. If we substitute !^ in Equation (1), we Bernoulli distribution centered around the community strength rs obtain the following log-likelihood function: if the nodes belong to the same group. Otherwise, the distribu- tion is centered around a small value. A variational inference K N 1 X X mrs approach is used to fit the model. Li et al. [19] pursued this log P (AjZ) = A log z z ; (3) 2 ij κ κ ir js research line by proposing a scalable MCMC method using rs ij r s a stochastic gradient algorithm for posterior inference in the in which we dropped the terms that do not involve Z. a-MMSB. Lu and Szymanski [20] finally proposed a regularized vari- B. Planted Partition Model and Modularity ant of the DC-SBM, using a prior to regularize the observed in-degree ratio of each node. In practice, this adaptation turns The Planted Partition Model (PPM) is a special case of the out to penalize high-degree nodes with many connections to standard SBM with only two parameters describing the blocks: other communities. The new parameter is adjusted to control !rs = !IN if r = s, and !rs = !OUT if r 6= s. Newman [5] the assortativity level, and a MCMC algorithm is used to infer shows that maximizing the likelihood of the PPM is equivalent the block assignments. to maximizing modularity. Modularity optimization maximizes The aforementioned models aim to better fit assortative the difference between the observed graph and a random graph networks, but they are either dependent on ad-hoc parameters where edges are reinserted randomly and the degrees of each which are difficult to scale [18, 20], or of limited effect node is preserved.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    6 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us