Docsity

Maximizing Modularity in Graph Communities: Algorithms and Analysis by Ying Xuan - Prof. M, Study notes of Computer Science

Partial preview of the text

Download Maximizing Modularity in Graph Communities: Algorithms and Analysis by Ying Xuan - Prof. M and more Study notes Computer Science in PDF only on Docsity!

Modularity-Maximizing Graph Communities via

Mathematical Programming

Ying Xuan

February 24, 2009

Table of contents

1 Problem Definition and Preliminaries Modularity Maximization Recent Efforts Main Contributions

2 Algorithms and Analysis Linear Programming Algorithm Vector Programming Algorithm

Problem Definition and Preliminaries Recent Efforts

Recent Efforts

This maximization problem is NP-complete[2]; Correlation Clustering[3] interprets “partial membership of the same cluster” as a distance metric, group nearby ones together; Spectral Clustering[4] repeatedly divides clusters based on the largest eigenvalue and corresponding eigenvector of the modularity matrix.

Problem Definition and Preliminaries Main Contributions

Main Contributions

Two heuristics:

LP relaxation and Distance-based Rounding Algorithm; Quadratic Programming and Randomized Rounding Algorithm.

One potential method ratio analysis:

Similarity with Min-Disagree problem (4-approx) in LP formulation.

Algorithms and Analysis Linear Programming Algorithm

Linear Programming Algorithm

IP Formulation and LP relaxation; Distance-based Rounding;

Algorithms and Analysis Linear Programming Algorithm

IP formulation

Integer Program Maximize 1 2 m ·^

u,v

(au,v − d 2 um^ dv ) · (1 − xu,v )

Subject to

xu,w ≤ xu,v + xv ,w ∀u, v , w ∈ V xu,v ∈ { 0 , 1 } ∀u, v ∈ V

Let mu,v = a 2 um,v − d 4 umdv 2

Algorithms and Analysis Linear Programming Algorithm

Distance-based rounding

Algorithm 1

dist(u, v ) ← xu,v for LP solution X ; S ← V ; while S 6 = ∅ do Select u ∈ S; ⊲ randomly select Tu ← {v |dist(u, v ) ≤ 1 / 2 } if average dist(u, v ) < 1 / 4 for all v ∈ {Tu \ {u}} then Make C = Tu a cluster; else Make C = {u} a singleton cluster S ← S \ C ; Refine the result using local-search algorithm.

How good can this heuristic be? Ying Xuan () Modularity-Maximizing Graph Communities via Mathematical ProgrammingFebruary 24, 2009 10 / 19

Algorithms and Analysis Linear Programming Algorithm

Analysis

Definition Min-Disagree problem formulated by [3]:

Given a complete graph where all edges are labeled as respectively ‘+’ or ‘-’ to indicate the similarity or dis-similarity of vertex pair; partition the graph into clusters such that the number of errors (‘-’ edges within clusters and ‘+’ edges between clusters) are minimized.

Algorithms and Analysis Linear Programming Algorithm

Analysis(Cont’)

Further results: if define μu,v = mu,v = a 2 um,v − d 4 um^ d 2 v Mis-Degree formulation on complete graph is similar to the IP formulation of modularity maximization. Mis-Degree problem has a 4-approximation rounding algorithm; Due to existence of |E+|, it is hard to get a same approximation algorithm for modularity maximization.

Algorithms and Analysis Vector Programming Algorithm

Vector Programming Algorithm

Kernel:

Formulate the problem as Quadratic Program; Relax to vector program (Semi-definite programming); Use randomized cutting hyperplane to round the SDP solution.

Algorithms and Analysis Vector Programming Algorithm

Semi-definite Relaxation

Key idea: relax y = ±1 to n-dimensional vector −→y with ‖ y ‖= 1.

The product of yuyv is corresponding to inner product of −→yu • −→yv = cos θ

Algorithms and Analysis Vector Programming Algorithm

Randomized Rounding

randomly select a n-dimension vector −→s , where each component is following independent N (0, 1) Gaussian. S = {v |−→yv • −→s ≥ 0 } S^ ¯ = {v |−→yv • −→s < 0 }

Algorithms and Analysis Vector Programming Algorithm

Bibliography

M. Newman and M. Girvan. “Finding and evaluating community structure in networks”. Physical Review E, 69, 2004. U. Brandes, D. Delling, M. Gaertler, R. G¨orke, M. Hoefer, Z. Nikoloski, and D. Wagner. “On modularity clustering”. IEEE Transactions on Knowledge and Data Engineering ,

20(2):172õ188, 2008.

M. Charikar, V. Guruswami, and A. Wirth. “Clustering with qualitative information”.

Journal of Computer and System Sciences , pages 360õ383, 2005.

M. Newman. “Modularity and community structure in networks.” Proc. Natl. Acad. Sci.

USA, 103:8577õ8582, 2006.