Source-linked AI summary
Uncovering the Small Community Structure in Large Networks: A Local Spectral Approach
Yixuan Li, Kun He, David Bindel, John Hopcroft
TL;DR
Large networks can contain small, overlapping communities that global methods may be costly to find, motivating local expansion from seed members. LEMON searches a local random-walk subspace for a sparse vector containing the seeds. The paper reports effective detection on synthetic and real networks, with runtime depending on community size and results within seconds even on billion-vertex networks.
Problem
Finding small, potentially overlapping communities in very large networks is challenging because global methods can scale with the entire graph.
Source: §1 · pp. 1–2Method
LEMON forms a local spectra subspace from short random walks and seeks a sparse vector in that span with the seeds in its support.
Source: §1 · p. 2, §4.1 · p. 4Results
LEMON consistently returns results within seconds on networks with billions of vertices, with running time dependent on community size.
Source: §7 · p. 10Takeaways & Limitations
The paper demonstrates LEMON’s effectiveness and efficiency for community discovery on synthetic and real-world datasets.
Source: §7 · p. 10LEMON adopts the first low-conductance community as the target, while investigating larger low-conductance communities and possible hierarchy remains future work.
Source: §7 · p. 10
Abstract
from arXiv · showhide
Large graphs arise in a number of contexts and understanding their structure and extracting information from them is an important research area. Early algorithms on mining communities have focused on the global structure, and often run in time functional to the size of the entire graph. Nowadays, as we often explore networks with billions of vertices and find communities of size hundreds, it is crucial to shift our attention from macroscopic structure to microscopic structure when dealing with large networks. A growing body of work has been adopting local expansion methods in order to identify the community from a few exemplary seed members. In this paper, we propose a novel approach for finding overlapping communities called LEMON (Local Expansion via Minimum One Norm). Different from PageRank-like diffusion methods, LEMON finds the community by seeking a sparse vector in the span of the local spectra such that the seeds are in its support. We show that LEMON can achieve the highest detection accuracy among state-of-the-art proposals. The running time depends on the size of the community rather than that of the entire graph. The algorithm is easy to implement, and is highly parallelizable. Moreover, given that networks are not all similar in nature, a comprehensive analysis on how the local expansion approach is suited for uncovering communities in different networks is still lacking. We thoroughly evaluate our approach using both synthetic and real-world datasets across different domains, and analyze the empirical variations when applying our method to inherently different networks in practice. In addition, the heuristics on how the quality and quantity of the seed set would affect the performance are provided.
1. INTRODUCTION
Large networks contain overlapping communities that may be tiny relative to the graph, making global detection costly and motivating local seed-based expansion. LEMON uses local random-walk spectra and a sparse vector containing the seeds to identify overlapping communities, and the paper evaluates it across synthetic and real networks.
1. INTRODUCTION
- Communities may overlap: people can belong to work, friendship, and hobby groups, while products can belong to multiple categories.These examples challenge assumptions that communities are disjoint.Source: §1 · p. 1
- Global methods can be costly when searching billion-vertex networks for communities of only hundreds, motivating approaches whose runtime depends on community size.The paper frames this shift as moving from macroscopic to microscopic structure.Source: §1 · pp. 1–2
- Seed set expansion starts from known community members and grows the set to uncover other members of their community.The paper gives web search and product categorization as possible applications.Source: §1 · p. 2
- LEMON finds overlapping communities by seeking a sparse vector in the span of local spectra with the seeds in its support.The paper distinguishes this use of a subspace from PageRank-like methods using a single probability vector.Source: §1 · p. 2
- The paper evaluates LEMON on synthetic and real-world datasets across domains and examines empirical variation across different networks.It also presents guidance on how seed-set quality and quantity affect performance.Source: §1 · p. 2
2. RELATED WORK
Related work includes global community-finding methods and random-walk-based approaches, including locally expanding seed sets. The paper positions its approach against these methods by emphasizing local expansion and the need for effective stopping and expansion strategies.
Globally based community finding algorithms
- Global approaches include objective-function methods such as OSLOM, label propagation methods such as DEMON [9], and link-based clustering such as LC.The described approaches optimize fitness, propagate labels, or build and cut a link dendrogram, respectively.Source: §2 · p. 2
Random walk based detection algorithms
- Random walks are used in both global clustering and hierarchical methods, including Walk-Trap and Infomap.The passage also describes work studying transition-matrix eigenvectors and values [18].Source: §2 · p. 2
Seed set expansion based approaches
- Seed-expansion methods include lazy random walks, PageRank-based approaches, and variants analyzed by Kloumann and Kleinberg.The paper notes slow mixing for the lazy walk, limited practical functionality from lacking a stop criterion, and lower detection accuracy for the heat-kernel approach than LEMON.Source: §2 · p. 3
3. PRELIMINARIES
The paper studies finding a small target community from a much smaller set of known members, evaluates on synthetic and real networks, and uses F1 score to compare detected communities with ground truth.
3.1 Problem Statement
- The problem is to find the remaining members of a target community C from a seed set S, with |C| ≪ |V| and |S| ≪ |C|.The stated goal is accurate detection in time functional to the community size.Source: §3.1 · p. 3
3.2.1 Synthetic datasets
- Synthetic LFR benchmarks vary graph and community parameters, with mixing parameter µ controlling the fraction of links crossing outside a vertex’s associated community.The evaluation uses µ = 0.1 and 0.3, varies overlap parameter om from 2 to 8, and generates 14 networks; larger µ usually lowers detection accuracy.Source: §3.2.1 · p. 3
3.2.2 Real datasets
- The real-network evaluation uses Amazon, DBLP, YouTube, and Orkut datasets spanning product, collaboration, and online social networks.For each network, the study adopts the top 5000 communities by quality according to.Source: §3.2.2 · p. 3
3.3 Evaluation Metric
- F1 score quantifies similarity between an algorithmic community and its ground-truth community using precision and recall.Synthetic results are means and standard deviations over 24 test cases per instance, while real-network results use 120 test cases per instance.Source: §3.3 · p. 4
4.1 Algorithm Overview
LEMON builds a local subspace from short random walks around seed members, then searches that subspace for a sparse vector whose support includes the seeds. The resulting scores rank vertices for community detection, and reseeding can iteratively expand the initial seed set.
4.1 Algorithm Overview
- Short random walks from seed members generate several probability vectors whose span approximates a local invariant subspace, avoiding computation of many global singular vectors.The walk should reach target-community vertices without spreading across the entire graph.Source: §4.1 · p. 4
- The local spectra are formed from successive random-walk probability vectors, with an orthonormal basis computed for their span.The probability mass at the start is evenly distributed among the seed members.Source: §4.1 · p. 4
- LEMON seeks a minimum 1-norm vector in the local-spectra span, with nonnegative entries and the seeds in its support.The vector’s entries indicate likelihood that corresponding vertices belong to the target community.Source: §4.1 · p. 4
- The vertices corresponding to the top |C| entries of the sorted sparse vector are returned as the detected community.The method therefore uses the target community size to determine how many ranked vertices to return.Source: §4.1 · p. 4
- Reseeding augments the initial seed set with the top-ranked vertices and repeats detection, with expansion step s controlling the speed-accuracy trade-off.The experiments fix s at 6; larger steps generally mean lower performance but faster execution with fewer iterations.Source: §4.1 · p. 5
4.2 Parameter Selection
LEMON uses a three-dimensional local subspace and a three-step random walk as settings that balance performance, stability, and computation. Longer walks do not improve average F1 beyond three steps and increase variability after ten steps.
4.2.1 Subspace dimension
- Dimension l = 3 statistically achieves high, stable performance across the real datasets, while l = 1 makes F1 less stable and larger dimensions increase local-spectra computation cost.Changing l from 1 to 15 does not cause significant performance fluctuation overall.Source: §4.2.1 · p. 5
4.2.2 Random walk step
- Average F1 plateaus at k = 3, while its standard deviation increases significantly for k > 10, making longer walks undesirable for stable community detection.The paper fixes k = 3 for real datasets.Source: §4.2.2 · p. 5
4.3 Complexity Reduction by Sampling Method
The sampling method uses seed-centered random walks to focus computation on a partial graph likely to contain target-community members. In DBLP, sampling at α around 10 retains 98% of ground-truth community vertices on average while reducing the graph handled from 317,080 vertices to about 2,400.
Complexity Reduction by Sampling Method
- Sampling addresses the memory cost of finding a small community in a very large graph by avoiding the need to load the whole graph into memory.The method is motivated by finding communities of hundreds of vertices in networks with billions of vertices.Source: §4.3 · p. 5
- The partial graph is intended to stay near the target community’s scale while containing as many of its vertices as possible, since unknown members are likely to be a few steps from the seeds.For real datasets, the walk continues until probability spreads to α · |C|avg vertices; α · |C|avg should be large enough to cover as many ground-truth members as possible.Source: §4.3 · p. 5
- The method expands the seed set by random walk, favoring high-probability vertices because the target community can bottleneck probability spread; BFS can mix into the graph before reaching many community vertices.For the same subgraph size, BFS usually returns fewer target-community vertices than random-walk sampling.Source: §4.3 · p. 5
- In DBLP, α around 10 yields a sampled subgraph containing 98% of ground-truth community vertices on average, with about 2,400 vertices instead of 317,080.This reduces both temporal and spatial complexity.Source: Table 3 · p. 6, §4.3 · p. 6
4.4 Stop Criteria
LEMON estimates community size by selecting a low-conductance prefix of its sparse vector, then uses the conductance trend to decide when to stop reseeding. With automatic size determination, average F1 is only 10% lower than when ground-truth size is available across synthetic and real datasets.
4.4 Stop Criteria
- Without ground-truth communities, locally based methods have difficulty deciding when to stop expansion, so LEMON addresses both automatic community-size estimation and stopping seed-set growth.With ground truth, the algorithm stops within a few iterations once the seed set exceeds the community size.Source: §4.4 · p. 6
4.4.1 Determine the size of the community
- Conductance indicates community boundary tightness: adding irrelevant vertices tends to raise it, and a low-conductance set is associated with closeness to the seeds.Local conductance variation can support effective stop criteria.Source: §4.4.1 · p. 6
- To estimate size, LEMON sweeps prefixes Λ_i from |C|min to |C|max, computes each set’s conductance, and selects the first relative minimum on the typically decreasing-then-increasing curve.This truncates the sorted sparse vector ˆy at the selected position.Source: §4.4.1 · p. 6
4.4.2 Stop the reseeding process
- During reseeding, each seed set can produce a different sparse vector and candidate community; LEMON stops when φ_min first reaches a local minimum and begins increasing.This applies the size-selection idea to the reseeding process.Source: §4.4.2 · pp. 6–7
4.4.3 Auto detect size vs ground truth size
- With automatic size determination, average F1 is only 10% lower than with ground-truth size on both synthetic and real datasets.The authors conclude the method can find communities that mostly resemble ground truth when it is unavailable.Source: §4.4.3 · p. 7, Figure 3 · p. 7
5. SEEDING
Section 5 examines which seed sets best reveal a target community and how seed quantity affects detection. It also tests degree-weighted initialization, finding different performance patterns on synthetic and real networks.
5.1 Seeding Method
- High inward-edge-ratio seeding consistently performs best across synthetic and real datasets, while high-degree seeding leads on LFR datasets at µ = 0.1 and triangle seeding performs worst.The authors explain the inward-edge result by the greater likelihood that random walks keep probability within the target community; they attribute triangle seeding’s poor result to slower probability spread from cohesive seeds.Source: §5.1 · p. 7
- On real networks, seed degree has mixed effects: low-degree seeds do better on DBLP and YouTube, while degree has little impact on Amazon and Orkut.The text also reports that high-degree seeding is slightly better than random seeding on Orkut and YouTube for LEMON, contrary to a prior PageRank-based result.Source: §5.1 · pp. 7–8
5.2 Seed Set Size
- As LFR seed-set size increases from 2% to 10% of the target community, performance generally improves, but small seed sets suffice when mixing and overlap are low.For µ = 0.1 and om = 2, the text says 2–3 seeds can reveal the remaining members of a community of roughly 100; the authors use an 8% seed fraction for general LFR tests.Source: §5.2 · p. 8
- On real datasets, three seeds yield almost the same performance as an 8% seed fraction, and LEMON reaches average F1 0.66 with three DBLP vertices versus a prior method’s maximum recall 0.3 at a 10% seeding ratio.The authors present this low-seed requirement as useful when collecting many seeds is impractical.Source: §5.2 · p. 8
5.3 Further Extension
- Degree-normalized initialization improves results on LFR benchmarks but slightly worsens statistical results on real networks.The authors relate the real-network decline to their observation that high-degree seeds are less advantageous than random seeds there.Source: §5.3 · p. 8
6. COMPARISON WITH THE STATE-OF-THE-ART ALGORITHMS
LEMON is compared with localized and global community-detection methods on real and synthetic networks. It reports strong detection results, fast processing of large graphs, and different parameter sensitivities on real and synthetic data.
6.1 Baseline Algorithms
- The comparisons include Heat Kernel, PageRank, and Seed Set Expansion as localized baselines, alongside OSLOM, DEMON, and LinkCommunity as global baselines.Source: §6.1 · p. 8
6.2 Comparison with Localized Algorithms
- LEMON reaches F1 0.910 on Amazon and averages three times the Heat Kernel performance across Amazon, DBLP, and Orkut.The paper also reports twice the best “spread hubs” performance on Amazon and three times that performance on DBLP.Source: Figure 6 · p. 9, §6.2 · p. 9
6.3 Comparison with Global Algorithms
- On real networks, OSLOM and LinkCommunity fail to finish on YouTube within 10 days, while LEMON returns results within seconds and processes Orkut with 4GB RAM.LEMON’s independent seed-set expansions can also be parallelized.Source: §6.3 · p. 9, Table 4 · p. 10
- On synthetic graphs, LinkCommunity finds communities much smaller than ground truth, while DEMON finds much larger ones; LinkCommunity performs better on real data.Source: §6.3 · pp. 9–10
- At μ = 0.3, LEMON improves average F1 by about 30%–40% over the best baseline on LFR graphs, even with random seeds.The authors expect larger gains when seeds have the qualities discussed in Section 5.1.Source: §6.3 · p. 9, Figure 7 · p. 10
6.4 Empirical Comparison Between Synthetic and Real Data
- Real-network performance is less sensitive to walk steps and subspace dimension; fixing (k, l) = (3, 3) is reported to work well.On real networks, seed-set size 3 is sufficient for good performance; on LFR graphs, the seed-set size is proportional to community size.Source: §6.4 · p. 10
- LEMON is more sensitive to high-degree seeds on real networks, where unusually high-degree vertices can steer random-walk probabilities toward other communities.The authors propose counterbalancing this effect by assigning those vertices less initial probability; they conclude that real-network communities are less parameterized for LEMON than synthetic ones.Source: §6.4 · p. 10
7. CONCLUSION
The conclusion presents LEMON as a local-spectral method for finding overlapping communities, using sparse vectors in local spectra that contain the seeds. It reports high accuracy and community-sized running time, while identifying further questions about membership detection and larger low-conductance communities.
- LEMON seeks a sparse vector in the span of local spectra with the seeds in its support to find overlapping communities.Its local spectra are constructed from singular-vector approximations obtained from short random walks.Source: §7 · p. 10
- The method runs in time tied to community size and returns results within seconds on networks with billions of vertices, with the highest detection accuracy among state-of-the-art proposals.Source: §7 · p. 10
- Open questions include detecting all communities containing an arbitrary vertex and exploring whether larger low-conductance communities have hierarchical structure.Source: §7 · p. 10