Papers
Topics
Authors
Recent
Search
2000 character limit reached

AbC Benchmark: Synthetic Graph & Hypergraph Models

Updated 2 July 2026
  • AbC Benchmark is a family of synthetic graph and hypergraph models that generates realistic, community-structured networks using power-law distributions.
  • The methodology employs controlled mixing, input parameters, and parallelized implementations to achieve fast, scalable community detection evaluations.
  • Variants like mABCD, ABCDe, and h-ABCD enable flexible testing on multilayer, overlapping, and hypergraph data, outperforming traditional LFR benchmarks.

The term AbC Benchmark (and its variants: ABC, ABCD, mABCD, h-ABCD, ABCDe, ABCD+o, ABCD+oΒ²) designates a family of synthetic random graph and hypergraph models with built-in community structure, designed to systematically evaluate community detection algorithms across a spectrum of modularity, degree and community-size distributions. Originating as a response to scalability and theoretical limitations in the LFR (Lancichinetti–Fortunato–Radicchi) benchmark, AbC models have become central tools for generating realistic, analytically tractable testbeds for unsupervised community detection, including extensions for multilayer, hypergraph, overlapping, and outlier-rich network regimes (KamiΕ„ski et al., 2020, Barrett et al., 5 Jun 2025, KamiΕ„ski et al., 2022, KraiΕ„ski et al., 14 Jul 2025, KamiΕ„ski et al., 2022).

1. The Classical AbC/ABCD Model: Principles and Construction

The core Artificial Benchmark for Community Detection (ABCD) model is a random-graph generator defined by the following ingredients:

  • Input parameters:

nn: number of nodes; Ξ³>1\gamma>1: power-law exponent for node degrees; (Ξ΄,Ξ”)(\delta, \Delta): min/max degree; Ξ²>1\beta>1: power-law exponent for community sizes; (s,S)(s, S): min/max community sizes; ξ∈[0,1]\xi \in [0, 1]: mixing (β€œexternal-noise”) parameter.

  • Generative process:
  1. Sample the degree sequence from a truncated power-law P(d=k)∝kβˆ’Ξ³P(d=k) \propto k^{-\gamma} for k∈[Ξ΄,Ξ”]k \in [\delta, \Delta].
  2. Sample the community-size sequence from a truncated power-law P(sβ„“=r)∝rβˆ’Ξ²P(s_\ell = r) \propto r^{-\beta} for r∈[s,S]r \in [s, S], with Ξ³>1\gamma>10.
  3. Assign nodes to communities via a greedy random assignment.
  4. Split each node’s degree Ξ³>1\gamma>11 into community stubs Ξ³>1\gamma>12 and background stubs Ξ³>1\gamma>13.
  5. Generate intra-community subgraphs (community graphs) using the configuration or Chung–Lu model with degrees Ξ³>1\gamma>14.
  6. Generate the background graph on all nodes with residual degrees Ξ³>1\gamma>15.
  7. Merge all edges, remove loops/multiedges by rewiring.

Interpretation of Ξ³>1\gamma>16:

Ξ³>1\gamma>17 yields strictly separated communities; Ξ³>1\gamma>18 gives a purely random graph; intermediate Ξ³>1\gamma>19 provides a tunable transition from modular to structureless ensembles. The expected inter-community edge fraction is (Ξ΄,Ξ”)(\delta, \Delta)0, where (Ξ΄,Ξ”)(\delta, \Delta)1 with (Ξ΄,Ξ”)(\delta, \Delta)2 the sum of degrees in community (Ξ΄,Ξ”)(\delta, \Delta)3 (KamiΕ„ski et al., 2020).

2. Theoretical Properties and Parameterization

Degree and Community-Size Distributions

Both are realized as discrete power-laws, with normalization integrated over integer support:

(Ξ΄,Ξ”)(\delta, \Delta)4

for (Ξ΄,Ξ”)(\delta, \Delta)5, (Ξ΄,Ξ”)(\delta, \Delta)6 (degree), (Ξ΄,Ξ”)(\delta, \Delta)7 (community).

Edge Placement and Mixing

In the (default) configuration-model variant, intra-community and background edges are placed independently. The probability that two nodes (Ξ΄,Ξ”)(\delta, \Delta)8 in the same community are connected is

(Ξ΄,Ξ”)(\delta, \Delta)9

and, for background,

Ξ²>1\beta>10

The final edge-probability is additive for small probabilities:

Ξ²>1\beta>11

Scalability and Analytical Tractability

Generation runs in Ξ²>1\beta>12 time (Ξ²>1\beta>13 = edges); power-law properties and edge statistics can be derived in closed form; modularity and self-similarity limits are analytically provable. By contrast, LFR’s edge-switching is slower (Ξ²>1\beta>14), with less interpretable mixing scaling (KamiΕ„ski et al., 2020, KamiΕ„ski et al., 2022).

3. Implementation: Parallelization and Variants

ABCDe

ABCDe is a multi-threaded Julia implementation of ABCD, supporting linear scaling to Ξ²>1\beta>15–β>1\beta>16 on multi-core servers. All community graphs and the background graph are generated in parallel threads, with reproducibility and seed determinism (KamiΕ„ski et al., 2022).

Performance:

  • 10–60Γ— faster per edge than LFR (NetworKit) at Ξ²>1\beta>17.
  • Graph properties (clustering, modularity, assortativity, centrality, path length) closely match LFR (in the β€œlocal” variant); ABCDe generally outperforms LFR in scalability and output fidelity.
Generator Wall-time per Ξ²>1\beta>18 edges Modularity Ξ²>1\beta>19 Degree–degree correl
LFR high (s,S)(s, S)0 (s,S)(s, S)1
ABCDe (s,S)(s, S)210–60 speedup (s,S)(s, S)3 (s,S)(s, S)4

mABCD

mABCD generalizes ABCD to multilayer networks, generating (s,S)(s, S)5 correlated layers (s,S)(s, S)6 on a shared node set, with per-layer: degree distribution, community-size distribution, mixing (s,S)(s, S)7, actor activity (s,S)(s, S)8, degree-label correlation (s,S)(s, S)9, community-reference correlation ξ∈[0,1]\xi \in [0, 1]0, and specified inter-layer overlap ξ∈[0,1]\xi \in [0, 1]1 (KraiΕ„ski et al., 14 Jul 2025). Phase 6 enforces edge-overlap via targeted edge swaps. mABCD dominates in speed and configurability compared to existing multilayer models (mLFR, multilayerGM).

Overlapping and Outliers: ABCD+o and ABCD+oΒ²

ABCD+o designates a subset of outlier nodes, assigning all their connectivity to the background graph. ABCD+oΒ² further allows non-outliers to belong to multiple communities (parameter ξ∈[0,1]\xi \in [0, 1]2 for average memberships), with overlap structure induced by geometric clustering in a latent reference space, and user-specified degree–membership correlation ξ∈[0,1]\xi \in [0, 1]3. Community assignment and the background graph proceed as in ABCD, with edge counts and pseudocode fully specified (Barrett et al., 5 Jun 2025).

Hypergraph Extension: h-ABCD

h-ABCD produces simple hypergraphs with ground-truth community partition, power-law degree and community-size sequences, specified hyperedge size-distribution ξ∈[0,1]\xi \in [0, 1]4, and tunable mixing ξ∈[0,1]\xi \in [0, 1]5. Hyperedge homogeneity is controlled via weights ξ∈[0,1]\xi \in [0, 1]6; the model admits analytic control over 2-section and hypergraph modularity. Parameterization mirrors LFR for direct comparison (KamiΕ„ski et al., 2022).

4. Comparison to LFR and Competing Benchmarks

  • Parameterization:

ABCD’s mixing ξ∈[0,1]\xi \in [0, 1]7 encodes the fraction of edge stubs devoted to inter-community (background) links directly and globally, whereas LFR’s per-node ξ∈[0,1]\xi \in [0, 1]8 governs external-degree fractions but creates interpretability and threshold ambiguities near ξ∈[0,1]\xi \in [0, 1]9.

  • Scalability:

No edge-switching MCMC step; ABC(D)e is P(d=k)∝kβˆ’Ξ³P(d=k) \propto k^{-\gamma}010Γ— faster than LFR for large graphs. Parallel ABCDe yields near-linear wall-time scaling.

  • Analytical transparency:

Allows explicit calculation of modularity, degree, size, assortativity, and clustering statistics.

  • Flexibility:

ABCD, mABCD, ABCD+o/ABCD+oΒ², and h-ABCD accommodate disjoint, overlapping, multilayer, heterogeneous, outlier-rich, and hypergraph datasets, supporting a broad range of experimental and theoretical evaluations.

  • Empirical fidelity:

Key statistics (clustering, centrality, intra-community edge fraction, modularity) are closely matched to LFR in the local ABCD variant; ABCD avoids β€œanti-community” artifacts at high mixing.

5. Usage, Evaluation Protocols, and Extensions

ABC(D) and its extensions are extensively used for benchmarking community detection algorithms. Typical evaluation practices:

  • Ground truth:

True community partition is available for AMI, NMI, ARI, modularity, and overlap-aware metrics.

  • Noise sweeps:

Analyze algorithm performance as P(d=k)∝kβˆ’Ξ³P(d=k) \propto k^{-\gamma}1 increases, interpolating from strong to weak community regime.

  • Multilayer tests:

Evaluate layerwise and joint community recovery.

  • Hypergraph benchmarks:

Measure clustering algorithms on h-ABCD via recovered partitions (2-section or true hypergraph modularity).

Limitations:

Configuration models yield low local triangle density; communities are strictly disjoint unless using ABCD+oΒ². Temporal and attribute-driven correlations are not modeled by default.

6. Practical Recommendations and Impact

For scalable, theoretically-grounded benchmarking:

  • Use ABCDe for high-throughput synthetic graph generation, especially when LFR is infeasible.
  • mABCD is recommended for multiplex/multilayer settings, with explicit control over inter-layer correlation matrices.
  • Use ABCD+oΒ² for realistic modeling of overlapping communities and outlier nodes, with tuneable degree–overlap correlation.
  • h-ABCD is suitable for benchmarking hypergraph clustering and evaluating homogeneity vs. noise sensitivity.
  • Parameter sweeps over P(d=k)∝kβˆ’Ξ³P(d=k) \propto k^{-\gamma}2 can be tailored to mimic empirical datasets or stress specific failure modes in algorithms.

The AbC/ABCD suite enables reproducible, analytic, and scalable testing of clustering and community detection methods, forming the backbone of contemporary methodological development in network science (KamiΕ„ski et al., 2020, Barrett et al., 5 Jun 2025, KamiΕ„ski et al., 2022, KraiΕ„ski et al., 14 Jul 2025, KamiΕ„ski et al., 2022).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to AbC Benchmark.