Leiden Community Detection

Optimizes a graph partition objective using local moving, refinement and aggregation.

Method

Move nodes to improve modularity or a constant-Potts objective; refine communities before aggregation; repeat to an appropriate stopping rule.

Applications

Network analysis, single-cell neighbor-graph clustering.

Advantages

Avoids disconnected communities that Louvain can produce.

Limitations

Objective resolution and randomness affect results; connectedness guarantees are algorithm-specific and do not imply a globally optimal or scientifically true partition.

Alternatives

Louvain, Infomap, spectral clustering.

Example

Partition a cell-neighbor graph after PCA.

Editorial clarification

Leiden is dominant; Louvain is its distinct predecessor, already cataloged.

Sources

Educational reference only, not professional advice.

All algorithms