The Louvain algorithm detects densely connected communities by iteratively optimizing a clustering objective, then records each community on graph nodes for downstream processing. This reveals themes and higher-level relationships that individual edges may obscure. section 7.2.4
Use Louvain with these operational expectations:
- Community counts and sizes depend on the extracted graph; one run detected nine communities ranging from two to thirteen nodes. section 7.2.4
- Results are nondeterministic, so repeated runs can produce slightly different communities. section 7.2.4
- Hierarchical community levels are useful for broad and fine-grained analysis, but a small graph may use only one level. section 7.2.4
Narrative communities
In The Odyssey, a community might group characters connected to a particular event or location; summarizing that group captures relationships beyond individual character links. section 7.2.4


