Comparing community structure identification
Paper · 2005 · León Danon, Albert Dı́az-Guilera, Jordi Duch et al.
Summary
Finding groups in a network sounds straightforward: collect nodes that connect strongly to one another and weakly to the rest. In practice, different algorithms can return different groups, and a convincing partition may be expensive to obtain. Comparing community structure identification examines how to choose among these methods. Its central contribution is a comparison framework that treats recovery accuracy and computational cost as separate, necessary parts of the decision. A method can be attractive because it recovers difficult structures, because it handles large networks, or because it supports a particular kind of community. Those advantages need to be assessed against the problem being studied.
The authors compare methods using artificial networks whose intended communities are known in advance. The standard setup contains 128 nodes arranged into four groups, with 32 nodes in each group. Connections are generated probabilistically, and the average node degree remains 16 while the balance between internal and external connections changes. As more connections leave their assigned group, the communities become harder to recover. This creates a controlled test: algorithms face increasingly ambiguous structure while network size, group size, and average connectivity remain fixed. Most methods perform well when the average external degree, written as z_out, is 6. At z_out equal to 7, most still classify more than half the nodes correctly. At z_out equal to 8, two methods recover more than 80 % correctly according to the classification measure used in the collected comparisons.
The paper also asks what “correctly” should mean. An existing node-counting measure can treat a partially successful partition too harshly when communities are merged, yet give misleading credit when weak structure is fragmented into small groups. The authors recommend normalized mutual information, which compares the entire recovered partition with the intended partition through their shared information. This recommendation belongs within a broader concern about evaluation and benchmarks: a benchmark needs a suitable scoring rule as well as suitable test data. The paper separately revisits modularity, a score for judging a partition from its internal connectivity relative to an expected baseline. Modularity does not require known communities, but a high score alone cannot establish meaningful organization. The authors cite a random network with 128 nodes and 1024 links whose maximum modularity is 0.208.
The practical conclusion is a tradeoff, instead of a universal winner. More accurate approaches tend to require more computation. For a small network, the authors favor simulated annealing; for a much larger network, a fast approximate method becomes more practical; between those cases, extremal optimization can offer a useful compromise. These are contextual recommendations supported by the comparison, not guarantees that a particular method always produces the best partition. The paper’s enduring methodological idea is to evaluate the quality of recovered structure, the assumptions behind that evaluation, and the resources needed to obtain it together.
Interesting ideas
Separate structural quality from recovery accuracy. A partition can look strong according to a graph-based objective without matching an independently known grouping. The paper makes this distinction concrete by discussing modularity alongside comparisons against planted communities. These evaluations answer different questions: whether the partition has more internal connectivity than its baseline predicts, and whether it recovers a particular assignment. The distinction is useful whenever an optimization target stands in for an underlying scientific goal. An engineer can preserve the convenience of an internal score while resisting the temptation to present it as direct evidence of correctness.
Vary ambiguity while holding basic conditions fixed. In the artificial networks, the authors increase external connectivity while maintaining the same average degree. This helps attribute performance changes to the weakening community signal rather than to a simultaneous change in overall connectivity. The reusable idea is experimental control: choose a parameter that makes the desired structure harder to distinguish, and keep other important conditions stable. This approach is valuable when comparing procedures that extract organization from noisy relationships. It also encourages reporting a performance curve across difficulty levels rather than relying on a single favorable test.
Give partial recovery meaningful credit. A method that merges some genuine groups has retained more information than a method that puts every node together. The earlier node-counting measure does not always represent that distinction well. Normalized mutual information provides a way to evaluate how much of the reference partition remains recoverable from the result. The broader lesson applies to clustering and other tasks whose outputs are structured assignments: evaluation should distinguish useful incompleteness from complete failure. A single all-or-nothing judgment can conceal the nature of an error and make sensible engineering compromises difficult to recognize.
Challenge the score with a null case. The discussion of modularity shows why an appealing numerical value needs context. Random finite networks can admit partitions with substantial modularity even though the network was not generated with communities. Searching over candidate partitions can uncover patterns arising from fluctuations. A researcher can borrow this habit by asking what the same analysis would find when the intended organization is absent. The point is to learn what the score can produce under conditions that do not support the desired interpretation, before treating a favorable result as substantive evidence.
Choose methods at the scale of deployment. The paper compares algorithms through computational growth as well as accuracy. A method suitable for a small biological network may be impractical for a large collaboration network. This suggests a useful order of reasoning: identify the required structural capabilities, estimate the size of the intended analysis, and then compare feasible methods on recovery quality. Computational cost belongs in the scientific description because it determines which analyses can actually be performed. A result that cannot be obtained within the available resources has limited practical value, however attractive its accuracy may be.
Keep assumptions attached to speed claims. The fastest approach discussed in the conclusion requires advance knowledge of the community count and assumes similarly sized groups. Those conditions are part of its usefulness. A speed claim becomes easier to interpret when accompanied by the information and structural restrictions that make it possible. This lesson transfers to any comparison in which a procedure gains efficiency by narrowing the problem. Methods should be compared on the task they actually solve, including what they must be told beforehand and which kinds of answers they can represent.
Deep dive: Comparing community structure identification
How community detection methods compare in accuracy and cost, why evaluation metrics matter, and what controlled network tests establish. · about 34 minutes to read
How Mova uses it
For Mova, a small transparent language system implemented in Rust, the strongest connection is methodological. The paper offers a way to assess procedures that organize a network into groups, together with a warning about interpreting those groups. It does not describe a Mova implementation, establish a language-specific application, or demonstrate that community detection improves any linguistic task. Any connection therefore has to remain a proposed use. The concrete opportunity is to make the grouping procedure, its assumptions, and its evaluation visible whenever Mova represents relationships as a graph.
A possible application would begin with a clearly specified graph of language-related items. The important design decision would be what an edge means: the grouping algorithm only sees the relationships encoded in that graph. If the edges reflect one kind of evidence, the resulting communities should be interpreted in terms of that evidence. A dense group would not automatically establish a linguistic category, a meaning, or a functional unit. The paper’s discussion of thematic and functional communities motivates investigating such interpretations, but it does not remove the need to validate them separately.
Mova could use the controlled-network benchmark as a test of a community-detection component before applying it to language data. Artificial graphs with known assignments would allow a developer to check whether the component recovers the organization it is supposed to detect. Changing external connectivity would reveal how recovery degrades as the evidence becomes less distinct. This would evaluate the graph procedure under a documented construction. It would not establish that the same procedure discovers useful linguistic structure, because that further claim depends on how language items and relationships are represented.
The distinction between modularity and reference agreement would also be useful in a transparent implementation. Mova could expose modularity as an account of the graph objective while reporting normalized mutual information when an independent reference partition exists. These values would have different labels and different explanations. A user could then see whether a partition scores well internally, whether it agrees with a reference, and whether those judgments diverge. Such an interface would support inspection without turning an optimization score into an unsupported statement about linguistic truth.
The computational comparison suggests keeping the choice of algorithm explicit. A small graph that is inspected occasionally may justify a more expensive search. A substantially larger graph may require a faster approximation. The paper does not establish a fixed boundary suitable for Mova, so that boundary would need to come from measurements of the actual implementation and workload. Rust alone would not settle the algorithmic tradeoff. The relevant questions would remain how the work grows with graph size, what information the method requires beforehand, and how much recovery quality is lost under the intended conditions.
Finally, Mova could make uncertainty visible through the form of the returned partition. Merging reference groups, splitting them, and producing an assignment unrelated to them are different outcomes. An evaluation report that preserves those distinctions would be more informative than a single success label. The paper supports this principle through its criticism of the earlier classification measure and its recommendation of an information-based comparison. This is a plausible design direction for Mova, instead of a feature demonstrated by the paper: use explicit graph assumptions and interpretable evaluation to keep automatically discovered groups open to examination.
The problem and its context
Why groups in networks matter
The paper begins from a broad observation: many systems can be described through nodes and the connections among them. Its examples include the web, social relationships, communication systems, and biochemical interactions. Within such networks, connectivity may be unevenly organized. Some subsets contain many links among their members while maintaining fewer links to other subsets. The authors use this relative concentration of connections as the intuitive starting point for a community.
That description is deliberately loose. It identifies a pattern worth finding without supplying a complete operational definition that every algorithm must implement. A community is not simply a set of nodes with many connections in absolute terms. Its internal connectivity matters in relation to the surrounding network. This makes community identification a problem of comparison: which nodes belong together, and how much stronger is their association than the alternatives?
The possible usefulness comes from the relationship between network position and other properties. The authors point to web communities associated with themes and to biochemical or neural groups that may have a functional interpretation. Discovering such organization can help make a large system easier to study. Rather than treating all nodes and links as an undifferentiated collection, a researcher may be able to investigate groups and the connections between them.
However, the interpretation follows the structural analysis; it is not guaranteed by it. A connectivity-based algorithm identifies groups according to its procedure and objective. Whether those groups correspond to themes, functions, or another scientifically useful distinction is a further question. The paper’s examples explain why community detection attracts interest, while the comparison asks which computational methods are suitable for carrying it out.
What earlier partitioning problems supplied
The authors connect community detection to graph bipartitioning, an older problem studied in computer science. In that setting, the aim is to divide a graph into equally sized groups while keeping relatively few connections across the division. This supplies a more constrained version of the grouping problem. The number of groups and their relative sizes are already specified, which narrows the range of acceptable answers.
The paper describes graph bipartitioning as NP-complete and notes earlier efforts to reduce the computational difficulty. Its purpose in invoking that history is to show that dividing a graph is already challenging under substantial restrictions. General community detection asks for more. Researchers frequently do not know the appropriate community count in advance, and the groups need not have matching sizes.
A further complication is hierarchy. A community may contain smaller communities, which may themselves admit additional subdivisions. The answer may therefore depend on the level of organization being examined. A partition at one level can be useful without exhausting the graph’s structure. The paper identifies hierarchical organization as part of the broader challenge, even though its controlled benchmark concentrates on a single known partition.
This background explains why a fast method for a restricted task cannot automatically be treated as a complete solution to community identification. Prior information can simplify computation, but requiring that information changes the task. A method that needs the desired community count is useful when that count is known. It has a different role when discovering the count is itself part of the investigation.
Why comparison had become difficult
By the time of this paper, many approaches had been proposed. The authors emphasize their diversity: methods differed in their motivating ideas, their applications, and their computational behavior. That diversity created a practical problem for researchers who wanted to use community detection without first mastering the entire literature. A collection of successful demonstrations did not, on its own, explain which approach suited a new network.
The paper responds by concentrating on aspects that can be compared. It does not attempt a complete technical derivation of every algorithm. More detailed descriptions and a classification of approaches are assigned to a companion article and to the original references. Here, the emphasis falls on recovery sensitivity and computational cost. This scope makes the paper an introduction to choosing methods as well as a proposal about benchmark practice.
Sensitivity refers to how well a method recovers communities as their distinguishing connectivity weakens. Computational cost concerns the work needed to perform the analysis as the graph grows. These dimensions interact in practical decisions, but they are not interchangeable. A procedure can remain accurate on a difficult small graph while being unsuitable for a much larger one. Another can handle a large graph quickly while returning a less accurate partition.
The authors also recognize a limit to comprehensive comparison. Methods are not always designed for precisely the same application, so not all can be judged fairly through the same test. This qualification matters because the benchmark offers a common problem instead of a universal definition of usefulness. It can reveal how methods behave under controlled conditions while leaving some capabilities outside the comparison.
Two evaluation questions
The paper’s discussion separates evaluating a partition from evaluating a recovery procedure. When no independent answer exists, researchers may want a graph-based score that indicates whether a partition has unusually strong internal connectivity. Modularity serves that purpose. It compares observed internal links with an expectation calculated from the distribution of link connections across groups.
When communities are known because they were built into an artificial graph, a more direct question becomes available: how closely does the algorithm’s partition match the intended assignment? This is where classification accuracy and normalized mutual information enter. They assess agreement with a reference rather than the attractiveness of a partition under a graph objective.
Keeping those questions apart is essential to the paper’s argument. A high-quality benchmark needs more than a graph generator, because the agreement measure can favor or punish particular errors. Similarly, a strong internal objective needs more than a favorable value, because finite random graphs may also support high-scoring partitions. The comparison therefore examines both the construction of the task and the interpretation of its measurements.
The method, step by step
The paper’s method is a comparative evaluation procedure rather than a newly introduced community-detection algorithm. It defines how partitions can be scored, describes a controlled family of graphs, examines alternative measures of recovery, and combines the accuracy evidence with computational scaling. There is no training stage in this procedure. The central data-generation step creates networks whose intended assignments are already known.
Comparing community identification methods
The steps in order.
Represent a partition through its links
Begin with a graph and an assignment of its nodes to communities. The paper denotes the community count by n_c. It then summarizes how connections are distributed across the groups using a matrix called e. The matrix has a row and a column for each community.
An entry e_ij records the share of network links associated with a connection from community i to community j under the paper’s convention. An entry on the diagonal, e_ii, concerns links that stay inside community i. Entries away from the diagonal concern connections between different communities. The matrix is therefore a compact account of connectivity at the level of groups.
For each community, the authors calculate the corresponding row total:
a_i = ∑ⱼ e_ij
Here, a_i is the fraction of link connections associated with community i. The index j ranges over communities, and e_ij is the matrix entry for the pair of groups i and j. The summation collects all destinations for connections associated with group i. The paper also describes the corresponding column interpretation.
This representation matters because the size of a community in terms of connections affects the expected amount of internal connectivity. A group attached to many links has more opportunity to contain internal links than a group attached to few. An evaluation should therefore compare the observed internal fraction with an appropriate expectation rather than treating every internal connection as equally surprising.
Calculate modularity
The baseline argument uses the group’s connection share at both ends of a link. If those endpoint assignments have no community-specific association beyond their shares, the expected internal fraction for community i is a_i squared. The observed internal fraction is e_ii. Modularity adds the difference between those quantities across communities:
Q = ∑ᵢ (e_ii − a_i²)
Q denotes modularity. The index i ranges over the communities in the proposed partition. The term e_ii measures the observed fraction of links internal to community i, and a_i² supplies the expected internal fraction under the stated baseline. The summation combines each community’s contribution into a score for the whole partition.
A positive contribution means that a community contains more internal connectivity than this baseline predicts. A negative contribution means that it contains less. The score concerns the entire proposed grouping, so it depends on how the nodes are assigned as well as on the graph itself. It is not a property that can be read from network size alone.
The authors illustrate the scale of the measure with a graph consisting of disconnected, fully connected components. For the component-based partition in their example, they give:
Q = 1 − 1/n_c
Q again denotes modularity, and n_c is the component or community count in this illustration. The expression shows how the example’s score approaches 1 as the number of components grows. It serves to explain the behavior of modularity under an especially clear separation of groups; it is not an empirical accuracy result.
At the opposite extreme, assigning each node to a separate community can produce negative modularity. Such communities contain no internal links, while their expected terms still contribute to the calculation. The authors mention an alternative measure proposed by Massen and Doye in connection with this issue, but do not develop that alternative in their own comparison.
The more important caution concerns random graphs. Even without planted communities, a finite graph can contain fluctuations that a search procedure organizes into a favorable partition. Modularity therefore provides an objective to inspect, not an automatic certificate that the graph contains substantive communities. The paper returns to this point through a numerical example in its evaluation discussion.
Construct networks with known assignments
To assess recovery directly, the authors use a standard artificial setup with 128 nodes. The intended partition contains four communities, each with 32 members. Those assignments exist before edges are generated. They therefore provide an independent answer against which a recovered partition can be compared.
Pairs of nodes in the same assigned community receive a link with probability p_in. Pairs assigned to different communities receive a link with probability p_out. These probabilities define the relationship between the planted grouping and the observed graph. The algorithm is evaluated through the graph’s connections, while the evaluator retains the planted assignments for scoring.
The difficulty parameter is z_out, the average number of connections a node has outside its assigned community. The generation procedure varies p_out to control z_out. It also adjusts p_in so that the total average degree, denoted k, stays at 16. Degree means the number of links incident to a node; average degree summarizes that quantity across the graph.
This construction changes the allocation of connectivity rather than simply adding more edges. When external connectivity is low, the intended groups are relatively distinct. As external connectivity grows, fewer of the fixed average connections remain available inside the group. The community signal weakens, making recovery increasingly difficult.
The comparison often expresses difficulty as z_out/k. In that expression, z_out is the average external degree and k is the average total degree. The ratio indicates the proportion of connectivity leaving the assigned community. It helps distinguish the difficulty setting from the network’s overall degree.
The planted assignment is a benchmark reference. It is known because the graph-generation process supplied it, not because an observer later decided which detected partition looked most convincing. This makes the setup valuable for controlled comparison. It also limits the conclusion: recovery is being assessed for a particular construction with equal-sized groups and a specified pattern of connection probabilities.
Understand the earlier node-counting measure
For the collected sensitivity comparisons, the authors describe a measure associated with Newman’s earlier work. Within each reference community, the largest recovered group is treated as correctly classified. However, if a recovered cluster combines multiple reference communities, the nodes in that merged cluster are counted as incorrect.
The paper gives an example in which some original communities are recovered separately while the remaining ones are merged. Under the earlier measure, only half the nodes receive credit. This scoring rule reflects a strict demand for the correct separation. It can make a partially informative answer look worse than its retained grouping information suggests.
The difficulty becomes clearer when comparing different kinds of error. Merging genuine communities preserves some distinctions while losing others. Fragmenting a community creates a different pattern: the method may retain small within-group pieces while failing to recover the larger group. A measure focused on selected matching fragments need not treat these outcomes in the most informative way.
At high external connectivity, the authors warn that small clusters lying inside reference communities can earn credit even when the recovered organization has little relationship to the planted partition overall. The concern is not merely numerical generosity. It is that the score can suggest meaningful recovery when the output no longer expresses much of the intended structure.
This motivates an alternative that considers all intersections between the reference and detected partitions. Rather than deciding that a particular group is wholly correct or incorrect, the evaluator can ask how much information about one assignment is contained in the other.
Build the confusion matrix
The alternative begins with a confusion matrix, written N. Its rows represent reference communities, and its columns represent recovered communities. An entry N_ij counts nodes that belong to reference group i and recovered group j.
This construction does not require the recovered partition to have the same community count as the reference. A method may merge reference groups, split them, or return another arrangement. The matrix records those outcomes through how node counts are distributed across its cells. Arbitrary community names do not matter; the overlap pattern does.
The row total N_i. gives the size of reference community i. The column total N_.j gives the size of recovered community j. The total node count is N. The notation therefore distinguishes the matrix’s cell counts from the overall population on which they are defined.
A clean match places each reference group’s nodes together in a corresponding recovered group. A merger causes a recovered column to contain nodes from multiple reference rows. A split spreads a reference row across multiple recovered columns. These patterns provide the raw material for an information-based assessment of agreement.
Calculate normalized mutual information
The authors recommend the following normalized mutual information measure:
I(A,B) = [−2 ∑ᵢ₌₁^c_A ∑ⱼ₌₁^c_B N_ij log(N_ij N / (N_i. N_.j))] / [∑ᵢ₌₁^c_A N_i. log(N_i./N) + ∑ⱼ₌₁^c_B N_.j log(N_.j/N)]
A denotes the reference partition, and B denotes the recovered partition. I(A,B) is their normalized mutual information. The community counts are c_A for A and c_B for B. The indices i and j range over reference and recovered communities respectively. N_ij counts the nodes in their intersection, N is the total node count, N_i. is a row total, and N_.j is a column total. The function log is the logarithm used in the information calculation.
The numerator measures the association between the assignments through the confusion matrix. Its central comparison asks whether an intersection is larger or smaller than would be expected from the sizes of the corresponding groups under independence. The denominator normalizes the result using terms determined by the group-size distributions.
For a newcomer, the most useful interpretation is about retained distinctions. If knowing a node’s detected community reveals its reference community, the recovered partition contains strong information about the reference assignment. If detected membership tells little about reference membership, the shared information is weak. This interpretation handles partial recovery more naturally than an all-or-nothing judgment on a merged cluster.
Identical partitions receive the maximum value, 1. Independent assignments receive 0. The paper gives the case in which the algorithm returns the entire graph as a single community as an example of the latter behavior. Such an output cannot distinguish the reference communities.
The authors do not claim that the earlier measure is wholly uninformative. Both measures can indicate broad performance trends. Their preference is that normalized mutual information better represents ambiguous or partially successful outcomes. It can acknowledge information preserved by a merger while reducing the misleading impression of success that small fragments may create under weak structure.
Add computational cost before choosing a method
The final stage places recovery results beside computational growth. The paper describes cost using network observables: n for the node count and m for the link count. Its fastest reported scaling has the form:
O(m + n)
O describes how computational work grows in relation to input size. Here, m is the number of links and n is the number of nodes. This expression concerns growth with those quantities; it is not a measured elapsed time for a particular implementation.
At the slow end of the range discussed by the authors is:
O(exp(n))
Again, O describes growth in computational work, n is the node count, and exp denotes an exponential function. The contrast with the preceding expression explains why graph size can radically change which method is practical.
For the fastest approach discussed that does not require advance knowledge of community count or group sizes, the conclusion gives:
O(n log² n)
Here, n is the node count, log denotes a logarithm, and the squared logarithmic factor multiplies n in the growth expression. The authors emphasize that this computational advantage does not guarantee an optimal partition.
These cost statements complete the method-selection framework. Accuracy determines what a procedure recovers under test conditions; computational growth determines whether that recovery procedure is feasible at the intended scale. A practical recommendation requires both.
Experiments and results
What the benchmark compares
The primary experimental setting uses the artificial networks described above: 128 nodes, four assigned communities, 32 nodes per community, and average degree fixed at 16. The test varies external connectivity to make the same basic grouping task progressively less distinct. Performance is measured against the planted assignment.
This is an important choice of data. The benchmark does not ask an expert to label an arbitrary real network after seeing algorithm outputs. Its reference comes from construction. The evaluator therefore knows which grouping generated the difference between internal and external connection probabilities.
At the same time, the test isolates a relatively specific community structure. The groups have matching sizes, the reference is a partition, and the connectivity contrast is controlled through the stated probabilities. Success establishes recovery under those conditions. It does not directly measure every capability a community algorithm might offer.
The comparison brings together results from multiple methods instead of introducing a single new detector. The authors use the earlier fraction-correct measure for the broad sensitivity plots because that is the measure used in the results available from other researchers. Their preferred information-based measure appears in a separate examination of evaluation behavior. This distinction explains why the main collected comparison does not use the metric they recommend.
Performance as external connectivity increases
Across methods, accuracy generally deteriorates as z_out grows. This is the expected direction under the construction: the intended groups have less distinctive internal connectivity while the average degree stays fixed. The useful question is how long a method continues to recover the assignment as the distinction weakens.
The paper highlights z_out settings of 6, 7, and 8. It gives the corresponding external proportions as 0.375, 0.4375, and 0.5. These are selected comparison points from the sensitivity curves, used to make the differences easier to inspect. They are benchmark conditions, not accuracy scores.
At z_out equal to 6, most methods recover the community structure very well. The authors do not supply a universal exact accuracy for that setting in the prose. It would therefore be misleading to turn the qualitative statement into a precise value shared by all methods. The result supports the narrower conclusion that this setting is comparatively manageable for much of the tested field.
At z_out equal to 7, the task exposes more differences. Some methods begin to lose accuracy, although most still classify more than half the nodes correctly. Again, the reported threshold describes the broad comparison rather than a complete numerical ranking of named algorithms.
At z_out equal to 8, two methods retain accuracy above 80 %. The paper’s prose does not identify those methods in the sentence reporting that threshold or provide their exact values. The result is evidence that substantial recovery remains possible at this difficult setting, but it cannot support an invented ordering or a chart of precise algorithm scores.
The figure caption notes an incomplete comparison: FLM has no available result at z_out equal to 8. This matters because a missing value is not a failure value. A reader cannot infer that the method would perform poorly merely because that benchmark point is absent.
Why the hardest highlighted condition still contains signal
An external proportion of 0.5 can initially sound like a boundary beyond which communities should disappear. The authors explain why that intuition is incomplete for this graph construction. External connections are spread across the other communities rather than concentrated in a single competing group.
The relevant comparison is therefore between connections to the assigned community and connections to each alternative community. Pooling all external groups together hides that distinction. A node can have substantial total external connectivity while its own community remains the strongest individual destination.
This explanation is specific to how the benchmark is organized. It helps interpret why strong recovery at z_out equal to 8 is possible without implying that every graph with the same external proportion must be equally recoverable. The arrangement of connections across alternatives matters alongside the aggregate fraction leaving a group.
The result also illustrates why benchmark parameters need interpretation. A scalar difficulty setting is useful for organizing experiments, but it does not replace an explanation of the underlying construction. Knowing what z_out counts is necessary to understand what the reported recovery demonstrates.
What the information measure contributes
The paper directly compares the older classification measure with normalized mutual information using Newman’s fast algorithm and extremal optimization. The purpose is to inspect how the scoring rules behave on the same kind of recovery task. The authors describe normalized mutual information as more discriminating when performance becomes uncertain.
The following chart records the stated endpoints of that measure. These are analytical reference conditions, not measured performances of competing algorithms.
Normalized mutual information for reference partition relationships
An identical partition preserves the reference distinctions, while an independent partition carries no information about them.
The numbers
| System or setting | normalized mutual information |
|---|---|
| Independent recovered partition | 0 |
| Identical recovered partition (this paper) | 1 |
Those endpoints make the scale interpretable, but the paper’s argument concerns what happens between them. A merger can preserve useful information even though it fails to reproduce the full reference partition. Conversely, small groups that happen to lie inside reference groups should not automatically be interpreted as successful recovery of the larger organization.
The numerical sensitivity curves support a comparison of these behaviors, but the accompanying discussion does not state exact values for every curve position. The defensible conclusion is therefore about how the metric distinguishes errors. It is not a new numerical ranking reconstructed from the figures.
Modularity on a random network
The modularity discussion supplies a separate result about evaluation. Drawing on Guimerà and colleagues, the authors report that a random graph with 128 nodes and 1024 links has maximum modularity 0.208. The number concerns the best modularity obtainable for that random example, not agreement with a planted community assignment.
Its importance is conceptual. A score above zero can emerge from finite-size fluctuations, and searching for a favorable partition can expose those fluctuations. The existence of a high-scoring division does not, by itself, establish that the graph was organized by communities.
This result does not make modularity useless. It changes what a modularity value can justify. The score describes internal connectivity relative to its baseline, while the scientific interpretation of the resulting groups requires additional care. In particular, the random example warns against treating a favorable optimization result as a complete validation procedure.
Computational results and practical recommendations
The paper reports a broad range of computational growth, from work proportional to nodes and links at the fast end to exponential growth in the node count at the slow end. It describes a general tendency for greater recovery accuracy to require greater computation. This is a tendency across the surveyed approaches, not a theorem that every slower method must beat every faster one.
The authors make the tradeoff concrete through real-network examples. For the metabolic network of Caenorhabditis elegans, containing 453 nodes, they recommend simulated annealing. At that size, they consider computation a sufficiently weak constraint that the more accurate approach is attractive. They also note that slower cooling can improve the partitions obtained by that method.
For an actor collaboration network containing 374,511 nodes, the recommendation changes. The authors estimate that simulated annealing would need months of continuous computation, whereas a suitable fast implementation could complete the analysis in hours. These are scale-based estimates and recommendations, not a newly reported controlled timing experiment across a common machine setup.
The PGP trust network provides an intermediate case, with 10,680 nodes. The authors suggest extremal optimization as a compromise. In their account, it offers better recovery than the fast approach while saving substantial computation relative to simulated annealing.
These examples show how the same comparison can justify different choices. The paper does not ask readers to identify an overall winner and reuse it everywhere. It asks them to decide how much accuracy is needed, what computation is feasible, and which method assumptions fit the network under study.
What the ablations show
The paper offers controlled benchmark and scoring comparisons rather than ablations of a newly introduced algorithm.
External connectivity isolates weakening structure
The clearest controlled analysis varies z_out while maintaining average degree at 16. This keeps the network’s overall connectivity level stable while changing where the links go. The resulting performance decline can therefore be interpreted as a response to less distinct communities within this construction.
That control is useful because otherwise an increase in external links could also make the graph denser. A method might then benefit from more observations even while the groups became less separated. Adjusting the internal connection probability avoids that particular mixture of effects.
The experiment consequently tests a specific form of robustness: whether an algorithm can continue to recover the planted assignment as connections become less concentrated inside it. It does not vary every potentially important graph property. Its strength lies in the clarity of that isolated change.
The highlighted settings also reveal differences that an easy benchmark might hide. When most methods do well, their practical distinctions may be dominated by cost or other capabilities. As the structure weakens, recovery behavior becomes more informative. The comparison therefore supports testing across a difficulty range instead of reporting only a favorable point.
Changing the score changes the interpretation of failure
The comparison between the older classification measure and normalized mutual information is an analysis of the evaluation instrument. The network and algorithm output can remain the object of interest while the scoring rule changes. This asks whether the same recovered partition is being interpreted appropriately.
The merger example exposes the strictness of the earlier measure. A detected group that combines reference communities loses credit even though it may preserve other group distinctions. An information-based score recognizes that partial retention. This does not make the merger correct; it describes what remains recoverable in spite of the mistake.
The fragmentation concern points in the other direction. A score can be too forgiving if it rewards small within-reference clusters when the overall assignment has become unrelated to the intended structure. The authors argue that normalized mutual information better reflects this loss of association as the benchmark becomes highly diffuse.
Together, these cases show why metric choice cannot be separated from the kinds of mistakes an application cares about. A recovery score should not only order outputs; it should explain what its ordering values. The paper’s recommendation is grounded in the distinction between retaining some information and recovering the complete partition.
The random-network example tests interpretation
The modularity example is another controlled comparison in spirit, although it is not presented as an ablation of an algorithm. It examines whether a favorable partition score can occur without communities being planted. The reported random-network result answers that question affirmatively.
This changes the role of the baseline. Comparing observed internal connectivity with an expectation is useful, but optimizing over partitions can still produce a score that looks substantial. A reader must consider the difference between evaluating one proposed assignment and searching for the most favorable assignment in a graph with fluctuations.
The authors use this analysis to challenge an overly simple inference from modularity to meaningful structure. It does not establish that every detected community is accidental. It establishes that modularity alone cannot rule out that explanation.
The method recommendations examine scale
The small, intermediate, and large real-network examples test the practical consequences of computational growth through reasoning about workload. They show why an accuracy preference can change when the graph becomes much larger. A more expensive search may be acceptable in one setting and dominate the entire project in another.
These examples should be read as selection guidance rather than as a fully controlled runtime study. The paper does not present the same complete experimental apparatus for each real graph, with matched hardware, exact timings, and a shared external truth assignment. Its contribution is the connection between algorithmic cost and practical choice.
The analyses therefore work together at different levels. The graph construction probes sensitivity, the scoring comparison probes evaluation behavior, the random example probes interpretation, and the scale examples probe feasibility. None alone supplies a universal ranking, but each removes a different source of confusion when selecting a method.
Limitations
Limits acknowledged by the authors
The authors explicitly recognize that their comparison cannot encompass every method on fully equal terms. Community-identification approaches differ in their underlying ideas and intended applications. Some can be compared through the standard artificial graphs; others have capabilities or assumptions that do not fit that common test neatly.
Their overview also leaves detailed algorithm descriptions to other work. This is a deliberate scope choice. The paper explains how to compare performance and select methods, but it is not a complete implementation account of every approach it discusses. Readers seeking the mechanics of a specific detector would need the corresponding original description.
The computational tradeoff remains unresolved. The authors do not offer an approach that combines guaranteed accuracy with the fastest practical growth. In their account, efforts to find quicker and more accurate methods remain ongoing. The comparison identifies useful compromises without removing the underlying difficulty.
The conclusion attaches important assumptions to the fastest method. It needs the community count in advance and assumes groups of similar size. These restrictions limit the kinds of exploratory analyses for which its speed is relevant. The faster general-purpose alternative discussed in the conclusion avoids those particular requirements but does not guarantee the best partition.
The authors also acknowledge that computationally expensive methods may offer benefits beyond the benchmark’s principal accuracy measure, including overlapping communities. A simple speed ranking would therefore discard relevant functionality. Choosing a method requires knowing which structural questions the analysis is meant to answer.
The artificial benchmark covers a narrow family
A careful reader should separate controlled recovery evidence from general claims about networks. The benchmark fixes the node count at 128 and gives every planted community 32 nodes. Those choices make methods easier to compare, but they leave unequal group sizes outside the main experimental construction.
The groups are also represented as a partition: each node receives a reference community assignment. This is suitable for the confusion-matrix comparison, but it does not directly test the ability to recover overlapping memberships. A method that supports overlap may have value that the principal benchmark does not measure.
Hierarchy is part of the introductory motivation, yet the controlled task assesses agreement with a single planted grouping. It does not establish how well methods recover nested levels of organization. A good result on the benchmark therefore cannot be extended automatically to hierarchical recovery.
Likewise, the experiment varies external connectivity while holding the other stated construction choices fixed. It shows sensitivity to that change. It does not isolate the consequences of every network property that could affect performance. This is the ordinary boundary of a controlled experiment: clarity about one variable comes with limited coverage of others.
The main comparison uses the criticized metric
There is a useful tension in the paper’s evaluation. The authors recommend normalized mutual information, but the broad collected comparison uses the earlier fraction-correct measure because that is what the available studies reported. The paper is transparent about this choice.
Accordingly, the main accuracy findings inherit the older measure’s interpretation. Statements about correctly classified nodes should be understood under its rules for merged and fragmented groups. They are not interchangeable with normalized mutual information values.
The separate metric analysis helps readers understand this limitation, but it does not retroactively replace every collected score. A comprehensive comparison under the recommended measure would require corresponding outputs or results for the methods being compared. The paper’s methodological proposal reaches beyond the measurement consistency of the evidence it could assemble.
Exact rankings are not fully stated in the prose
The text reports broad patterns and selected thresholds, while the figures carry much of the detailed comparative presentation. The statement that two methods exceed 80 % at z_out equal to 8 is informative, but it does not provide exact scores for all methods.
A careful account must preserve that level of precision. It cannot turn a threshold into an exact value or assign an unnamed result to a particular algorithm without explicit support. The missing FLM result at the hardest highlighted setting further prevents a complete comparison at that point.
The same caution applies to runtime. Asymptotic growth describes how work scales, while the real-network examples provide practical estimates. Neither supplies a universal elapsed time. Implementation details and the conditions of execution would matter for a direct timing comparison, but the paper does not present a matched timing study covering all surveyed approaches.
Modularity does not validate interpretation
The authors state the core modularity caution through the random-network example. A careful reader can take the implication further without changing the factual claim: a graph objective and an application meaning need separate justification.
Even a partition that exceeds the baseline may not correspond to a useful functional or thematic organization. The paper motivates those possibilities through earlier applications, but its benchmark primarily evaluates planted recovery. It does not establish a general rule connecting a particular modularity value to scientific importance.
Similarly, an algorithm can find a high-scoring partition without proving that it is the best attainable partition. The conclusion explicitly preserves this distinction for the fast approach. Optimization quality, reference agreement, and application usefulness are related concerns, but the paper does not collapse them into a single guarantee.
Partial credit still needs an application context
Normalized mutual information is recommended because it captures retained information more effectively in the discussed cases. That does not mean every application should regard all partially informative partitions as equally useful. Merging groups may be acceptable for an exploratory overview while being harmful for a task that requires their separation.
This is an interpretive limit instead of an author-reported benchmark failure. The metric describes agreement with a reference through information sharing. The practical importance of the disagreements still depends on the purpose of the analysis.
The paper’s wider framework supports that caution. It repeatedly returns to choosing a method for a particular problem. The same principle applies to choosing a measure: evaluation should preserve relevant distinctions, and its result should be read in relation to the decision being made.
What came after
The paper closes with open problems rather than a documented account of its later influence. No specific subsequent study can be established from that closing discussion. What it does supply is a clear agenda: improve recovery without making computation prohibitive, and compare methods under conditions that expose both strengths and assumptions.
One direction is faster community identification without requiring the desired community count or similarly sized groups. The conclusion treats those requirements as important boundaries on the fastest approach. Removing such restrictions while preserving efficiency would widen the range of exploratory problems a method could address.
Another direction is better accuracy at a feasible computational cost. The authors describe approximate speed and expensive accuracy as a practical tension. Their recommendations show why progress on either side matters: small networks can justify intensive searches, while large networks make computational growth decisive. An improved method would need to demonstrate where it changes that balance.
The benchmark proposal also points toward more consistent evaluation. Artificial graphs with known assignments allow controlled tests, and normalized mutual information offers a shared way to assess partial recovery. The paper’s own reliance on previously reported classification scores shows why a common measure would help future comparisons. It would make differences between methods easier to interpret without requiring readers to reconcile incompatible scoring rules.
Finally, the discussion leaves room for capabilities beyond a single partition, including overlap and hierarchy. These concerns already appear in the paper’s framing of the problem. Its comparison does not settle them, but it establishes a useful discipline for pursuing them: state the structure being sought, explain the evidence used to judge recovery, and report the computation required to obtain the result.
Cite
Cite as León Danon, Albert Dı́az-Guilera, Jordi Duch and Àlex Arenas. 2005. Comparing community structure identification. Journal of Statistical Mechanics Theory and Experiment.
@article{danon2005comparing,
title = {{Comparing community structure identification}},
author = {León Danon, Albert Dı́az-Guilera, Jordi Duch and Àlex Arenas},
journal = {Journal of Statistical Mechanics Theory and Experiment},
year = {2005},
doi = {10.1088/1742-5468/2005/09/p09008},
eprint = {cond-mat/0505245},
archivePrefix = {arXiv},
url = {https://doi.org/10.1088/1742-5468/2005/09/p09008}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/danon-2005-comparing-community-structure-identification/
References
- Barabási A L and Albert R, 2002, Rev. Mod. Phys., 74, 47. OpenAlex ↗ · Scholar ↗
- Newman M E J, 2003, SIAM Review, 45, 167. OpenAlex ↗ · Scholar ↗
- Dorogovtsev S N and Mendes J F F, 2003, Evolution of Networks: From biological nets to the internet and WWW, (Oxford University Press, Oxford). OpenAlex ↗ · Scholar ↗
- Strogatz S H, 2001, Nature, 410, 268. OpenAlex ↗ · Scholar ↗
- Bornholdt S and Schuster H G eds. 2002, Handbook of Graphs and Networks - From the Genome to the Internet, (Wiley-VCH, Berlin). OpenAlex ↗ · Scholar ↗
- Pastor-Satorras R, Rubí M and Díaz-Guilera A eds. 2003, Statistical Mechanics of Complex Networks, (Springer). our card
- Newman M E J, 2004, Eur. Phys. J. B, 38, 321. OpenAlex ↗ · Scholar ↗
- Boss M, Elsinger H, Summer M and Thurner S, 2003, Preprint cond-mat/0309582. OpenAlex ↗ · Scholar ↗
- Ravasz E, Somera A L, Mongru D A, Olvai Z N and Barabási A L, 2002, Science, 297, 1551. OpenAlex ↗ · Scholar ↗
- Guimerà R, Amaral L A N, 2005, Nature, 433, 895-900. OpenAlex ↗ · Scholar ↗
- Holme P, Huss M and Jeong H, 2003, Bioinformatics, 19, 532. OpenAlex ↗ · Scholar ↗
- Flake G W, Lawrence S, Giles C L and Coetzee F M, 2002, IEEE Computer, 35, 66. OpenAlex ↗ · Scholar ↗
- Eckmann J-P and Moses E, 2002, Proc. Natl. Acad. Sci., 99, 5825. OpenAlex ↗ · Scholar ↗
- Zhou H and Lipowsky R, 2004, Lecture Notes Comput. Sci. 3038, 1062 - 1069. OpenAlex ↗ · Scholar ↗
- Latapy M, Pons P, 2004, Preprint cond-mat/0412568. OpenAlex ↗ · Scholar ↗
- Garey M R and Johnson D S, 1979, Computers and Intractability, A Guide to the Theory of NP-Completeness (W. H Freeman, New York). OpenAlex ↗ · Scholar ↗
- Kernighan B W and Lin S, 1970, The Bell System Tech. J., 49, 291. OpenAlex ↗ · Scholar ↗
- Fiedler M, 1973, Czech, Math. J., 23, 298. OpenAlex ↗ · Scholar ↗
- Boettcher S and Percus A G, 2001, Phys. Rev. E, 64 026114. OpenAlex ↗ · Scholar ↗
- Pothen A, Simon H and Liou K-P, 1990, SIAM J. Matrix Anal. Appl., 11, 430. OpenAlex ↗ · Scholar ↗
- Guimerà R, Danon L, Díaz-Guilera A, Giralt F and Arenas A, 2003, Phys. Rev. E, 68,065103. OpenAlex ↗ · Scholar ↗
- Gleiser P and Danon L, 2003, Adv. Complex Systems, 6, 565. OpenAlex ↗ · Scholar ↗
- Arenas A, Danon L, Díaz-Guilera A, Gleiser P M and Guimerà R, 2004, Eur. Phys. J. B, 38, 373. OpenAlex ↗ · Scholar ↗
- Newman M E J, 2004, Phys. Rev. E, 69, 066133. OpenAlex ↗ · Scholar ↗
- Newman M E J and Girvan M, 2004, Phys. Rev. E, 69, 026113. OpenAlex ↗ · Scholar ↗
- Massen C P and Doye J P K, 2005, Phys. Rev. E, 71, 046101. OpenAlex ↗ · Scholar ↗
- Guimerà R, Sales M and Amaral L A N, 2004, Phys. Rev. E, 70, 025101. OpenAlex ↗ · Scholar ↗
- Danon L, Duch J, Arenas A and Díaz-Guilera A, to appear in COSIN book, Preprint cond-mat/0505245. OpenAlex ↗ · Scholar ↗
- Kuncheva L I and Hadjitodorov S T, Systems, 2004, Man and Cybernetics, 2004 IEEE International Conference, 2, 1214. OpenAlex ↗ · Scholar ↗
- Fred A L N and Jain A K, 2003, Proc. IEEE Computer Society Conference on Computer Vision and Pattern Recognition, p. II-128-133. OpenAlex ↗ · Scholar ↗
- Duch J and Arenas A, 2005, E, 72, 027104. OpenAlex ↗ · Scholar ↗
- Girvan M and Newman M E J, 2002, Proc. Natl. Acad. Sci., 99, 7821. OpenAlex ↗ · Scholar ↗
- Fortunato S, Latora V and Marchiori M, 2004, E, 70, 056104. OpenAlex ↗ · Scholar ↗
- Radicchi F, Castellano C, Cecconi F, Loreto V and Parisi D, 2004, Proc. Natl. Acad. Sci., 101, 2658. OpenAlex ↗ · Scholar ↗
- Donetti L and Muñoz M A, 2004, J. Stat. Mech, P10012. OpenAlex ↗ · Scholar ↗
- Donetti L and Muñoz M A, 2005, Preprint physics/0504059. OpenAlex ↗ · Scholar ↗
- Bagrow J P and Bollt E M, 2004, Preprint cond-mat/0412482. OpenAlex ↗ · Scholar ↗
- Capocci A, Servedio V, Colaiori F and Caldarelli G, 2004, Lecture Notes Comput. Sci., 3243, 181-188. OpenAlex ↗ · Scholar ↗
- Wu F and Huberman B, 2004, Eur. Phys. J. B, 38, 331. OpenAlex ↗ · Scholar ↗
- Palla G, Derenyi I, Farkas I and Vicsek T, 2005, Nature, 435, 814. OpenAlex ↗ · Scholar ↗
- Reichardt J and Bornholdt S, 2004, Phys. Rev. Lett. 93, 218701. OpenAlex ↗ · Scholar ↗
- Dijkstra E W, 1976, A Discipline of Programming, (Prentice-Hall, New Jersey). OpenAlex ↗ · Scholar ↗
- Guimerà R and Amaral L A N, 2005, J. Stat. Mech., P02001. OpenAlex ↗ · Scholar ↗
- Clauset A, Newman M E J and Moore C, 2004, E, 70, 066111. OpenAlex ↗ · Scholar ↗
- Guardiola X, Guimerà R, Arenas A, Díaz-Guilera A, Streib D and Amaral L A N, 2002, Preprint cond-mat/0206240. OpenAlex ↗ · Scholar ↗