Papers
Topics
Authors
Recent
Search
2000 character limit reached

N-Ball Sampling for Unbiased Graph Estimation

Updated 12 December 2025
  • N-ball Sampling Technique is a probabilistic graph sampling method that employs BFS expansion from a randomized seed to unbiasedly estimate subgraph motifs.
  • It generalizes classical designs such as random-node, multiplicity, and adaptive cluster sampling while effectively capturing local subgraph densities.
  • The technique's flexibility in adjusting the number of expansion waves enables a balance between computational cost and variance reduction for accurate motif counts.

N-ball sampling, also referred to as T-wave snowball sampling (SBS), is a probabilistic graph sampling technique defined by breadth-first expansion from a randomized initial node sample, aiming to unbiasedly estimate finite-order subgraph totals such as triangles, cycles, or stars. The methodology generalizes multiple classical sampling paradigms, including random-node, random-edge, multiplicity, and adaptive cluster sampling, by constructing “N-balls” (subgraphs induced by nodes within T steps from seed nodes) and employing Horvitz–Thompson normalization for unbiased inference (Oguz-Alper et al., 2020).

1. Formal Definition

Let G=(V,E)G=(V,E) denote a simple undirected graph with V=N|V|=N nodes. The N-ball (or T-wave SBS) protocol comprises the following steps:

  • Initial Sample and Observation: Select an initial seed set s0Vs_0\subset V (typically of fixed size nn) using any probability design admitting known first- and higher-order inclusion probabilities.
  • Reciprocal Incident Observation Procedure (RIOP): Whenever uVu\in V enters the sample, observe all incident edges (u,v)E(u,v)\in E and their endpoints vv.
  • Wave Expansion (N-balls): For step t1t\geq1, define

α(st1)={vVr<tsr:ust1,(u,v)E}\alpha(s_{t-1}) = \{ v\in V \setminus \bigcup_{r<t} s_r : \exists u\in s_{t-1}, (u,v)\in E \}

and set the new sample increment as

Δt=α(st1)r<tsr.\Delta_t = \alpha(s_{t-1}) \setminus \bigcup_{r< t}s_r.

The process is iterated up to V=N|V|=N0 waves (or until V=N|V|=N1), yielding the final sample V=N|V|=N2.

  • Final Sample Graph: The discovered sample graph is V=N|V|=N3, consisting of the observed node set V=N|V|=N4 and all edges V=N|V|=N5 exposed during RIOP.

This framework yields an “N-ball of radius V=N|V|=N6 around V=N|V|=N7” in the breadth-first search (BFS) sense.

2. Inclusion Probabilities and Ancestor Sets

An essential component of unbiased graph motif estimation under SBS is the computation of inclusion probabilities, leveraging the structure of SBS-ancestor sets:

  • For a motif V=N|V|=N8 (e.g., node, edge, triangle), define its ancestor set as:

V=N|V|=N9

Typically, a recognized subset s0Vs_0\subset V0 is used, identifiable from the observed s0Vs_0\subset V1 when s0Vs_0\subset V2 is seen.

  • The first-order inclusion probability is:

s0Vs_0\subset V3

For a single-node motif s0Vs_0\subset V4 and initial simple random sampling (SRS) without replacement of size s0Vs_0\subset V5:

s0Vs_0\subset V6

where s0Vs_0\subset V7 is the number of ancestors of node s0Vs_0\subset V8.

  • Higher-order (joint) inclusion probabilities for any motif set s0Vs_0\subset V9 are:

nn0

In SRS, these probabilities admit closed-form combinatorial representation in terms of nn1-set overlaps (e.g., nn2).

3. Unbiased Estimation via Horvitz–Thompson

Given motif set nn3, with associated values nn4, the inferential target is nn5. The canonical unbiased estimator (Horvitz–Thompson) is

nn6

where nn7 is the set of motifs observed in nn8 (those for which nn9). This estimator is unbiased for uVu\in V0:

uVu\in V1

since uVu\in V2 and summing over uVu\in V3 yields exact expectation.

This formalism encompasses node totals (uVu\in V4), edge totals (uVu\in V5), triangle counts, or totals over arbitrary motifs.

4. Sampling Variance Analysis

The variance of the Horvitz–Thompson estimator under SBS design on the seed set uVu\in V6 is

uVu\in V7

For node-sum estimation,

uVu\in V8

Approximate forms arise if all uVu\in V9 are small or the sampling fraction (u,v)E(u,v)\in E0 is small, in which case independence is assumed:

(u,v)E(u,v)\in E1

The HT methodology supports unbiased variance estimation:

(u,v)E(u,v)\in E2

5. Special Cases and Theoretical Generalizations

T-wave SBS unifies several classical sampling designs in a single graph-theoretic formalism:

  • Random-node (T=0) sampling: No waves. The ancestor set reduces to (u,v)E(u,v)\in E3; (u,v)E(u,v)\in E4 is the initial inclusion probability.
  • Random-edge sampling: Utilizing a bipartite T=0 design on the incidence graph (edges as “nodes”).
  • Multiplicity sampling (Birnbaum–Sirken): The bipartite sampling-unit/measurement-unit relation forms a graph (u,v)E(u,v)\in E5; 1-wave SBS from (u,v)E(u,v)\in E6 with RIOP reconstructs classical multiplicity estimators through known ancestor sets and yields direct application of the HT formula.
  • Adaptive cluster sampling (Thompson): Treating the spatial grid and neighbor-criteria as an infinite-wave ((u,v)E(u,v)\in E7) directed procedure, clusters form connected components detected via suitable (u,v)E(u,v)\in E8.

6. Methodological Advantages and Practical Considerations

T-wave SBS possesses several notable advantages:

  • Flexibility: Adjusting (u,v)E(u,v)\in E9 controls the trade-off between traversal cost and variance.
  • Motif Generality: Any finite-order subgraph motif can be estimated within the same HT framework.
  • Sampling Efficiency: Breadth-first “waves” tend to oversample high-degree regions, increasing efficiency for motifs vv0 associated with local subgraph density.
  • Unification: SBS instantiates a general theory encompassing otherwise disparate sampling regimes, allowing analytical connection between motif estimation and finite-population sampling theory.

The key operational principle is that T-wave snowball sampling equates to BFS truncated at depth vv1 from a randomly sampled seed set, with motif inclusion determined by ancestor-set intersection with vv2. Once inclusion probabilities for motifs are characterized, unbiased estimation and closed-form variance expressions are immediate (Oguz-Alper et al., 2020).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

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 N-ball Sampling Technique.