unfolding network communities by combining defensive and
play

Unfolding network communities by combining defensive and offensive - PowerPoint PPT Presentation

Unfolding network communities by combining defensive and offensive label propagation Lovro Subelj and Marko Bajec Faculty of Computer and Information Science, University of Ljubljana September 20, 2010 1 1 Workshop on the Analysis of Complex


  1. Unfolding network communities by combining defensive and offensive label propagation Lovro ˇ Subelj and Marko Bajec Faculty of Computer and Information Science, University of Ljubljana September 20, 2010 1 1 Workshop on the Analysis of Complex Networks (ACNE ’10) Lovro ˇ Subelj (University of Ljubljana) Unfolding network communities ACNE ’10 1 / 22

  2. Outline Network communities 1 Detecting communities by label propagation 2 Label propagation algorithm Issues with label propagation Label hop attenuation Defensive & offensive label propagation 3 Defensive preservation & offensive expansion Combining the two strategies Empirical evaluation 4 Conclusion 5 Lovro ˇ Subelj (University of Ljubljana) Unfolding network communities ACNE ’10 2 / 22

  3. Network communities Network communities Intuitively, communities (or modules ) are cohesive groups of nodes densely connected within, and only loosely connected between. Formally, e.g., notions of weak and strong communities [39], etc. (a) Girvan-Newman [14] (b) JUNG graph library benchmark Play an important role in many real-world systems [15, 37]. Lovro ˇ Subelj (University of Ljubljana) Unfolding network communities ACNE ’10 3 / 22

  4. Detecting communities by label propagation Outline Network communities 1 Detecting communities by label propagation 2 Label propagation algorithm Issues with label propagation Label hop attenuation Defensive & offensive label propagation 3 Defensive preservation & offensive expansion Combining the two strategies Empirical evaluation 4 Conclusion 5 Lovro ˇ Subelj (University of Ljubljana) Unfolding network communities ACNE ’10 4 / 22

  5. Detecting communities by label propagation Label propagation algorithm Label propagation algorithm Undirected graph G ( N , E ) with weights W (and communities C ). Label propagation algorithm [40] ( LPA ): 1 initialize nodes with unique labels, i.e., ∀ n ∈ N : c n = l n , 2 set each node’s label to the label shared by most of its neighbors 2 , i.e., ∀ n ∈ N : c n = argmax l � n w nm , m ∈N l 3 if not converged, continue to 2. Near linear time complexity [40, 28, 46]. 2 Nodes are updated sequentially. Ties are broken uniformly at random. Lovro ˇ Subelj (University of Ljubljana) Unfolding network communities ACNE ’10 5 / 22

  6. Detecting communities by label propagation Issues with label propagation Issues with label propagation Oscillation of labels in, e.g., two-mode networks. ֒ → Nodes are updated sequentially ( asynchronous ), in a random order [40]. Convergence issues for, e.g., overlapping communities. ֒ → Node’s label is retained, when among most frequent [40]. Lovro ˇ Subelj (University of Ljubljana) Unfolding network communities ACNE ’10 6 / 22

  7. Detecting communities by label propagation Label hop attenuation Label hop attenuation Emergence of a major community (in large networks). ֒ → Label hop attenuation [28]: each label l n has associated a score s n (initialized to 1) that decreases by δ ∈ [0 , 1] after each step. Then, � � � ∀ n ∈ N : c n = argmax s m w nm and s n = max s m − δ. m ∈N cn l n m ∈N l n � � Actually, s n = 1 − δ d n , where d n = min m ∈N cn n d m + 1. Some issues not discussed (e.g., oscillation of labels [40], stability [47]). Lovro ˇ Subelj (University of Ljubljana) Unfolding network communities ACNE ’10 7 / 22

  8. Defensive & offensive label propagation Outline Network communities 1 Detecting communities by label propagation 2 Label propagation algorithm Issues with label propagation Label hop attenuation Defensive & offensive label propagation 3 Defensive preservation & offensive expansion Combining the two strategies Empirical evaluation 4 Conclusion 5 Lovro ˇ Subelj (University of Ljubljana) Unfolding network communities ACNE ’10 8 / 22

  9. Defensive & offensive label propagation Defensive preservation & offensive expansion Node propagation preference Applying node preference [28] (i.e., propagation strength) can improve the algorithm. Thus, � ∀ n ∈ N : c n = argmax f α m s m w nm , l m ∈N l n for some preference f n and parameter α . (c) Zachary’s karate club [50] However, static measures for f n do not work in general (see paper). Lovro ˇ Subelj (University of Ljubljana) Unfolding network communities ACNE ’10 9 / 22

  10. Defensive & offensive label propagation Defensive preservation & offensive expansion dDaLPA & oDaLPA algorithms Estimate diffusion within (current) communities, i.e., � p m / deg c n p n = m , m ∈N cn n using a random walker. Apply preference to: the core of each (current) community, i.e., f α n = p n , the border of each (current) community, i.e., f α n = 1 − p n . We get defensive and offensive diffusion and label propagation algorithm ( dDaLPA and oDaLPA respectively.) Lovro ˇ Subelj (University of Ljubljana) Unfolding network communities ACNE ’10 10 / 22

  11. Defensive & offensive label propagation Defensive preservation & offensive expansion dDaLPA & oDaLPA algorithms, cont. Algorithm ( dDaLPA ) { Initialization. } while not converged do shuffle ( N ) for n ∈ N do c n ← argmax l � n p m (1 − δ d m ) w nm { 1 − p m for oDaLPA. } m ∈N l n p m / deg c n p n ← � m { deg m for oDaLPA. } m ∈N cn if c n has changed then d n ← (min m ∈N cn n d m ) + 1 end if end for { Re-estimation of δ (see paper). } end while Lovro ˇ Subelj (University of Ljubljana) Unfolding network communities ACNE ’10 11 / 22

  12. Defensive & offensive label propagation Defensive preservation & offensive expansion Defensive preservation & offensive expansion of comm. dDaLPA defensively preserves the communities – high “recall”. oDaLPA offensively expands the communities – high “precision”. (d) American college football league [14]. (e) Nematode Caenorhabditis elegans [21]. Lovro ˇ Subelj (University of Ljubljana) Unfolding network communities ACNE ’10 12 / 22

  13. Defensive & offensive label propagation Combining the two strategies Combining the two strategies Find initial communities with dDaLPA , and refine them with oDaLPA – high “recall” and “precision”. However, simply running the algorithms successively does not work. Thus, relabel some of the nodes, e.g., a half. We get K - Cores algorithm. Lovro ˇ Subelj (University of Ljubljana) Unfolding network communities ACNE ’10 13 / 22

  14. Defensive & offensive label propagation Combining the two strategies K - Cores algorithm Algorithm ( K - Cores ) C ← dDaLPA ( G , W ) { Defensive propagation. } while | C | decreases do for c ∈ C do m c ← median ( { p n | n ∈ N ∧ c n = c } ) { Relabel nodes with c n = c and p n ≤ m c (i.e. retain cores). } end for C ← oDaLPA ( G , W ) { Offensive propagation. } end while Lovro ˇ Subelj (University of Ljubljana) Unfolding network communities ACNE ’10 14 / 22

  15. Empirical evaluation Outline Network communities 1 Detecting communities by label propagation 2 Label propagation algorithm Issues with label propagation Label hop attenuation Defensive & offensive label propagation 3 Defensive preservation & offensive expansion Combining the two strategies Empirical evaluation 4 Conclusion 5 Lovro ˇ Subelj (University of Ljubljana) Unfolding network communities ACNE ’10 15 / 22

  16. Empirical evaluation Experimental testbed Experimental testbed Experimental testbed: Lancichinetti et al. [22] benchmark networks (see paper), random graph ` a la Erd¨ os-R´ enyi [10] (see paper), 22 real-world networks (moderate size), 9 large real-world networks (over 10 6 edges). Results are assessed in terms of modularity Q , i.e., 1 � � A nm − deg n deg m � Q = δ ( c n , c m ) . 2 | E | 2 | E | n , m ∈ N and Normalized Mutual Information , i.e., 2 I ( C , P ) NMI = H ( C ) + H ( P ), where I ( C , P ) = H ( C ) − H ( C | P ) . Lovro ˇ Subelj (University of Ljubljana) Unfolding network communities ACNE ’10 16 / 22

  17. Empirical evaluation Lancichinetti et al. benchmark Lancichinetti et al. benchmark Lovro ˇ Subelj (University of Ljubljana) Unfolding network communities ACNE ’10 17 / 22

  18. Empirical evaluation Erd¨ os-R´ enyi random graph Erd¨ os-R´ enyi random graph Lovro ˇ Subelj (University of Ljubljana) Unfolding network communities ACNE ’10 18 / 22

Recommend


More recommend