词条 | Louvain Modularity | |||||||||||||||||||||||||||||||||||||||||||||||
释义 |
The Louvain Method for community detection is a method to extract communities from large networks created by Blondel et al.[1] from the University of Louvain (affiliation of authors has given the method its name). The method is a greedy optimization method that appears to run in time . Modularity OptimizationThe inspiration for this method of community detection is the optimization of Modularity as the algorithm progresses. Modularity is a scale value between -1 and 1 that measures the density of edges inside communities to edges outside communities. Optimizing this value theoretically results in the best possible grouping of the nodes of a given network, however going through all possible iterations of the nodes into groups is impractical so heuristic algorithms are used. In the Louvain Method of community detection, first small communities are found by optimizing modularity locally on all nodes, then each small community is grouped into one node and the first step is repeated. The method is similar to the earlier method by Clauset, Newman and Moore[2] that connects communities whose amalgamation produces the largest increase in modularity. AlgorithmThe value to be optimized is modularity, defined as a value between -1 and 1 that measures the density of links inside communities compared to links between communities.[1] For a weighted graph, modularity is defined as: where
In order to maximize this value efficiently, the Louvain Method has two phases that are repeated iteratively. First, each node in the network is assigned to its own community. Then for each node , the change in modularity is calculated for removing from its own community and moving it into the community of each neighbor of . This value is easily calculated by two steps: (1) removing from its original community, and (2) inserting to the community of . The two equations are quite similar, and the equation for step (2) is: [1] Where is sum of all the weights of the links inside the community is moving into, is the sum of all the weights of the links to nodes in the community is moving into, is the weighted degree of , is the sum of the weights of the links between and other nodes in the community that is moving into, and is the sum of the weights of all links in the network. Then, once this value is calculated for all communities is connected to, is placed into the community that resulted in the greatest modularity increase. If no increase is possible, remains in its original community. This process is applied repeatedly and sequentially to all nodes until no modularity increase can occur. Once this local maximum of modularity is hit, the first phase has ended. In the second phase of the algorithm, it groups all of the nodes in the same community and builds a new network where nodes are the communities from the previous phase. Any links between nodes of the same community are now represented by self-loops on the new community node and links from multiple nodes in the same community to a node in a different community are represented by weighted edges between communities. Once the new network is created, the second phase has ended and the first phase can be re-applied to the new network. Previous Uses
Comparison to Other MethodsWhen comparing modularity optimization methods, the two measures of importance are the speed and the resulting modularity value. A higher speed is better as it shows a method is more efficient than others and a higher modularity value is desirable as it points to having better-defined communities. The compared methods are, the algorithm of Clauset, Newman, and Moore,[2] Pons and Latapy,[6] and Watika and Tsurumi.[7]
See also
References1. ^1 2 3 {{cite journal|last1=Blondel|first1=Vincent D|last2=Guillaume|first2=Jean-Loup|last3=Lambiotte|first3=Renaud|last4=Lefebvre|first4=Etienne|title=Fast unfolding of communities in large networks|journal=Journal of Statistical Mechanics: Theory and Experiment|date=9 October 2008|volume=2008|issue=10|pages=P10008|doi=10.1088/1742-5468/2008/10/P10008|arxiv=0803.0476|bibcode=2008JSMTE..10..008B}} 2. ^1 {{Cite journal|last=Clauset|first=Aaron|last2=Newman|first2=M. E. J.|last3=Moore|first3=Cristopher|date=2004-12-06|title=Finding community structure in very large networks|arxiv=cond-mat/0408187|journal=Physical Review E|volume=70|issue=6|pages=066111|doi=10.1103/PhysRevE.70.066111|pmid=15697438|issn=1539-3755|bibcode=2004PhRvE..70f6111C}} 3. ^{{cite arxiv|eprint=0905.4918v1|last1=Pujol|first1=Josep M.|title=Divide and Conquer: Partitioning Online Social Networks|last2=Erramilli|first2=Vijay|last3=Rodriguez|first3=Pablo|class=cs.NI|year=2009}} 4. ^{{cite techreport|url=https://www.csi.ucd.ie/files/ucd-csi-2011-06.pdf|title=Tracking the Evolution of Communities in Dynamic Social Networks|first1=Derek|last1=Greene|first2=Dónal|last2=Doyle|first3=Pádraig|last3=Cunningham|institution=University College Dublin|number=UCD-CSI-2011-06|date=May 2011|accessdate=2014-11-20 |deadurl=yes |archiveurl=https://web.archive.org/web/20130512153616/http://www.csi.ucd.ie/files/ucd-csi-2011-06.pdf |archivedate=2013-05-12}} 5. ^{{Cite journal|last=Markovitch|first=Omer | last2=Krasnogor|first2=Natalio | title=Predicting species emergence in simulated complex pre-biotic networks | journal=PLoS ONE|volume=13|issue=2|doi=10.1371/journal.pone.0192871|pmid=29447212 |pmc=5813963 |pages=e0192871|year=2018 }} 6. ^{{cite journal|first1=Pascal|last1=Pons|first2=Matthieu|last2=Latapy|journal=Journal of Graph Algorithms and Applications|volume=10|issue=2|pages=191–218|date=2006|title=Computing Communities in Large Networks Using Random Walks|url=http://jgaa.info/accepted/2006/PonsLatapy2006.10.2.pdf|doi=10.7155/jgaa.00124}} 7. ^{{cite arxiv|eprint=cs/0702048|last1=Blondel|first1=Vincent D.|title=Finding Community Structure in Mega-scale Social Networks|last2=Guillaume|first2=Jean-Loup|last3=Lambiotte|first3=Renaud|last4=Lefebvre|first4=Etienne|year=2007}} 8. ^{{cite journal|arxiv=0803.0476v2|doi=10.1088/1742-5468/2008/10/P10008|title=Fast unfolding of communities in large networks|journal=Journal of Statistical Mechanics: Theory and Experiment|volume=2008|issue=10|pages=P10008|year=2008|last1=Blondel|first1=Vincent D.|last2=Guillaume|first2=Jean-Loup|last3=Lambiotte|first3=Renaud|last4=Lefebvre|first4=Etienne}} 9. ^{{cite journal|title=Multilevel local optimization of modularity|first1=Thomas|last1=Aynaud|first2=Vincent D.|last2=Blondel|first3=Jean-Loup|last3=Guillaume|first4=Renaud|last4=Lambiotte|journal=Graph Partitioning|pages=315–345|publisher=John Wiley & Sons|date=2011}}
1 : Network theory |
|||||||||||||||||||||||||||||||||||||||||||||||
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。