Hypergraph Clustering: a Modularity Maximization Approach

Hypergraph Clustering: a Modularity Maximization Approach

Hypergraph Clustering: A Modularity Maximization Approach Tarun Kumar∗ Sankaran Vaidyanathan∗ Harini Ananthapadmanabhan† Robert Bosch Centre for Data Science Robert Bosch Centre for Data Science Google, Inc. and AI, IIT Madras and AI, IIT Madras [email protected] [email protected] [email protected] Srinivasan Parthasarathy Balaraman Ravindran The Ohio State University Robert Bosch Centre for Data Science [email protected] and AI, IIT Madras [email protected] ABSTRACT This suggests that the hypergraph representation is not only more Clustering on hypergraphs has been garnering increased atten- information-rich, but is conducive to higher order learning tasks by tion with potential applications in network analysis, VLSI design virtue of its structure. Indeed, research in learning on hypergraphs and computer vision, among others. In this work, we generalize has been gaining recent traction [6, 17, 23, 24]. the framework of modularity maximization for clustering on hy- Analogous to the graph clustering task, Hypergraph clustering pergraphs. To this end, we introduce a hypergraph null model, seeks to find dense connected components within a hypergraph analogous to the configuration model on undirected graphs, anda [19]. This has been the subject of much research in various commu- node-degree preserving reduction to work with this model. This is nities with applications to various problems such as VLSI placement used to define a modularity function that can be maximized using [9], image segmentation [10], de-clustering for parallel databases the popular and fast Louvain algorithm. We additionally propose a [12] and modeling eco-biological systems [5], among others. A few refinement over this clustering, by reweighting cut hyperedges in previous works on hypergraph clustering [2, 4, 11, 13, 21] focused an iterative fashion. The efficacy and efficiency of our methods are on k-uniform hypergraphs. Within the machine learning commu- demonstrated on several real-world datasets. nity, the authors of [25], were among the earliest to look at learning on hypergraphs in the general case. They sought to support Spectral KEYWORDS Clustering methods on hypergraphs and defined a suitable hyper- graph Laplacian. This effort, like many other existing methods for Hypergraph, Modularity, Clustering hypergraph learning, makes use of a reduction of the hypergraph 1 INTRODUCTION to a graph [1] and has led to much follow up work [14]. An alternative methodology for clustering on simple graphs The graph clustering problem involves dividing a graph into multi- (those with just dyadic relations) is modularity maximization [15]. ple sets of nodes, such that the similarity of nodes within a cluster This class of methods, in addition to providing a useful metric for is higher than the similarity of nodes between different clusters. measuring cluster quality in the modularity function, also returns While most approaches for learning clusters on graphs assume the number of clusters automatically and don’t require the expen- pairwise (or dyadic) relationships between entities, many entities sive eigenvector computations typically associated with Spectral in real world network systems engage in more complex, multi-way Clustering. In practice, a greedy optimization algorithm known as (super-dyadic) relations. In such systems, modeling all relations as the Louvain method [3] is commonly used, as it is known to be pairwise would lead to loss in information present in the original fast and scalable. These are features that would be advantageous data. The representational power of pairwise graph models is in- to the hypergraph clustering problem as well, since graph reduc- sufficient to capture such higher order information and present it tions result in a combinatorial expansion in the number of edges. arXiv:1812.10869v1 [cs.LG] 28 Dec 2018 for analysis or learning tasks. However, extending the modularity function to hypergraphs is not Hypergraphs provide a natural representation for such super- straightforward, as a node-degree preserving null model would be dyadic relations. A hypergraph is a generalization of a graph that required, analogous to the graph setting. allows for an ‘edge’ to connect multiple nodes. Rather than vertices Encoding the hyperedge-centric information present within the and edges, the hypergraph looks like a collection of overlapping hypergraph is key to the development of an appropriate modularity- subsets of vertices, referred to as hyperedges. A hyperedge can based framework for clustering. One simple option would be to capture a multi-way relation; for example, in a co-citation network, reduce a hypergraph to simple graph and then employ a standard a hyperedge could represent a group of co-cited papers. If this were modularity-based solution. However, such an approach would lose modeled as a graph, we would be able to see which papers are citing critical information encoded within the complex super-dyadic hy- other papers, but would not see if multiple papers are being cited peredge structure. Additionally, when viewing the clustering prob- by the same paper. If we could visually inspect the hypergraph, lem via a minimization function, i.e., minimizing the number of cut we could easily see the groups that form co-citation interactions. edges, there are multiple ways to cut a hyperedge. Based on where ∗Both authors contributed equally to the paper the hyperedge is cut, the proportion and assignments of nodes on †Work done while the author was at IIT Madras different sides of the cut will change, influencing the clustering. One would want to explicitly incorporate such information during by a null model. For graphs, the configuration model [16] is used, clustering. where edges are drawn randomly while keeping the node-degree One way of incorporating information based on properties of preserved. For two nodes i and j, with (weighted) degrees ki and kj hyperedges or their vertices, is to introduce hyperedge weights respectively, the expected number of edges between them is hence based on a metric or function of the data. Building on this idea, we given by: make the following contributions in this work: • We define a null model on hypergraphs, and prove its equiv- kikj Pij = Í alence to the configuration model for undirected graphs. j kj We derive a node-degree preserving graph reduction to sat- Since the total number of edges in a given network is fixed, isfy this null model. Subsequently, we define a modularity maximizing the number of within-cluster edges is the same as function using the above, that can be maximized using the minimizing the number of between-cluster edges. This suggests Louvain method. that clustering can be achieved by modularity maximization. • We propose an iterative hyperedge reweighting procedure that leverages information from the hypergraph structure 3 HYPERGRAPH MODULARITY and the balance of hyperedge cuts. Analogous to the configuration model for graphs, we propose a sim- • We empirically evaluate the resultant algorithm, titled Iter- ple but novel node-degree preserving null model for hypergraphs. atively Reweighted Modularity Maximization (IRMM), on a Specifically we have: range of real-world and synthetic datasets and demonstrate both its efficacy and efficiency over competitive baselines. hyp d¹iº × d¹jº Pij = Í (2) v 2V d¹vº 2 BACKGROUND We wish to use this null model with an adjacency matrix obtained 2.1 Hypergraphs by reducing the hypergraph to a graph. However, when taking the LetV be a finite set of nodes and E be a collection of subsets ofV that clique reduction, the degree of a node in the corresponding graph are collectively exhaustive. Then G = ¹V ; E;wº is a hypergraph, is not the same as its degree in the original hypergraph, as verified with vertex set V and hyperedge set E. Each hyperedge can be below. associated with a positive weight w¹eº. While a traditional graph For the clique reduction of a hypergraph with incidence edge has just two nodes, a hyperedge can have multiple nodes. For Lemma 3.1. Í matrix H, the degree of a node i in the reduced graph is given by: a vertex v, we can write its degree as d¹vº = e 2E;v 2e w¹eº. The degree of a hyperedge e is the number of nodes it contains; we can Õ ki = H¹i; eºw¹eº¹δ¹eº − 1º ¹ º j j write this as δ e = e . e 2E The hypergraph incidence matrix H is given by h¹v; eº = 1 if ¹ º ¹ º vertex v is in hyperedge e, and 0 otherwise. W is the hyperedge where δ e and w e are the degree and weight of a hyperedge e respectively. weight matrix, Dv is the vertex degree matrix, and De is the edge degree matrix; all of these are diagonal matrices. Clique Reduction: For any hypergraph, one can find its clique Proof. The adjacency matrix of the reduced graph is given by reduction [8] by simply replacing each hyperedge by a clique formed T Aclique = HW H from its node set. The adjacency matrix for the clique reduction of a hypergraph with incidence matrix H can be written as: T Õ ¹HW H ºij = H¹i; eºw¹eºH¹j; eº T A = HW H e 2E The hypergraph is thus reduced to a graph. Dv may be subtracted Note that we do not have to consider self-loops, since they are from this matrix to zero its diagonals and remove self-loops. not cut during the modularity maximization process. This is done by explicitly setting Aii = 0 for all i. Taking this into account, we 2.2 Modularity can write the degree of a node i in the reduced graph as: When clustering graphs, it is desirable to cut as few edges within a cluster as possible. Modularity [15] is a metric of clustering quality Õ ki = Aij that measures whether the number of within-cluster edges is greater j than its expected value.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    10 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