Trait-Specific Stopping Rules for Respondent-Driven Sampling

Hidden populations have no list to sample from. Examples are people who inject drugs, sex workers, and undocumented migrants. Public-health teams therefore use respondent-driven sampling (RDS): a few initial participants each receive two or three coupons to recruit peers, those peers recruit further peers, and the sample grows as a referral tree over an unseen social network. When should recruitment stop? In practice the answer is "at 400 or 800 people, or when the money runs out." Theory says the right answer depends on the network. Samples from the same branch of the tree are correlated because friends resemble friends, and when the network is poorly connected relative to the branching rate, estimates stop improving at the usual $1/n$ rate. A fixed target is therefore wasteful for some questions and badly underpowered for others.

This note proposes that the sample size an RDS study needs is not a property of the network alone. It is a property of the pair (network, question). The idea is borrowed from instance-optimal testing, the study of how many samples a specific problem instance needs rather than the worst case. Berthet and Kanade showed that for a Markov chain, what decides how hard two starting distributions are to tell apart is how their difference projects onto the slow-decaying eigenvectors, not the chain's global mixing time. Carried over to RDS, this means a trait such as HIV status that is uncorrelated with the network's community structure can be estimated efficiently even on a badly clustered network. A trait that tracks the communities cannot be estimated efficiently on the same network. We propose to estimate this trait-specific difficulty online, from the recruitment tree alone, and to stop recruitment as soon as a public-health decision can be made at a guaranteed error level. A typical decision is whether prevalence exceeds an intervention threshold $\tau$.

Core Claim

The central object is the trait's correlation profile along the recruitment tree. Let $f$ be the (degree-reweighted) trait and $u_i, \lambda_i$ the eigenvectors and eigenvalues of the random walk on the social network. For two respondents at tree distance $k$, the covariance of their trait values is

$$\rho_f(k) = \sum_{i \ge 2} \lambda_i^{k}\, \langle f, u_i\rangle_\pi^2 ,$$

where $\langle\cdot,\cdot\rangle_\pi$ is the inner product weighted by the walk's stationary distribution. This is the same spectral-projection structure that sets the sample complexity in Statistical Windows in Testing for the Initial Distribution of a Reversible Markov Chain. Here, though, it is weighted by how many pairs sit at each distance in a branching tree rather than along a single path.

The variance of the estimate after $n$ recruits is a sum of $\rho_f(k)$ over all pairs. In an $m$-ary tree, the number of pairs at distance $k$ grows roughly like $n\,m^{k/2}$. This is where the known critical threshold $m < \lambda_2^{-2}$ comes from.

We claim three things. The first is that the threshold is really trait-specific: what matters is the largest $\lambda_i$ with non-negligible projection $\langle f,u_i\rangle_\pi$, not $\lambda_2$ itself. The second is that $\rho_f(k)$ can be estimated directly from the correlations between trait values of recruitment-tree pairs (parent–child, siblings, cousins) without reconstructing the network. The third is that a group-sequential test built on this estimate stops within a constant factor of the oracle sample size $n^*(f, G, m, \varepsilon)$, the size one would choose knowing the full network. It does so while holding type I error, and it switches to generalized-least-squares weighting when the estimated profile is supercritical.

The novelty is specific. The RDS theory in Central limit theorems for network driven sampling states the threshold in terms of $\lambda_2$ and gives asymptotic normality results. The instance-dependent testing theory of Berthet and Kanade assumes a known transition matrix and linear, unbranched paths. Nobody has stated or exploited the trait-projected, tree-indexed version as a sample-size and stopping criterion.

Research Program

The theoretical part has two sides. On the lower-bound side, we characterize the sample size needed to test "mean trait $\ge \tau$" against "mean trait $\le \tau-\varepsilon$" under tree-indexed sampling on a known graph. We will adapt the spectral argument of Berthet and Kanade to sums over tree pairs. We expect a bound of order $V_f(m)/\varepsilon^2$ in the subcritical regime, where $V_f(m)=\sum_k m^{k/2}\rho_f(k)$ is the tree-weighted correlation mass. In the supercritical regime we expect a slower polynomial rate for the plain weighted mean.

On the upper-bound side, Generalized least squares can overcome the critical threshold in respondent-driven sampling showed that generalized least squares (GLS), a weighted average that down-weights correlated observations, recovers $1/n$ variance decay above the threshold. It builds the needed covariance from a fitted blockmodel. We supply the method's covariance differently: we build it from the fitted $\rho_f$ profile. This removes the dependence on a correctly specified community model, which that paper itself notes performance degrades under.

The estimator is simple. At each field check-in, which in practice happens wave by wave, we compute the empirical trait covariance at tree distances $k = 1, \dots, K$. We then fit $\rho_f(k)$ as a nonnegative mixture of decaying powers $\lambda^k$ over a grid of $\lambda \in (-1,1)$, which regularizes the extrapolation to distances not yet observed. From the fit we compute the variance of both the inverse-degree-weighted (Volz–Heckathorn) estimate and the fitted-GLS estimate for the current tree. We then test against $\tau$ using an alpha-spending schedule, so that repeated looks do not inflate type I error.

The estimated variance is itself noisy. We will therefore inflate it by the upper confidence limit of the fitted correlation mass, obtained by resampling tree branches, and we will prove that this keeps error control under a bounded misfit of the power-mixture model.

Baselines

The naive reference point is current practice: a fixed sample size (400 and 800, matching common field targets described in Respondent-Driven Sampling: An Overview in the Context of Human Trafficking) analyzed with the Volz–Heckathorn estimate and a textbook design-effect-of-two interval. We will run it on exactly the same simulated recruitment trees as every other method. The proposal beats it if it reaches the same power with fewer recruits on easy traits and avoids false confident conclusions on hard ones.

The strongest existing competitor is the blockmodel-based feasible GLS of Generalized least squares can overcome the critical threshold in respondent-driven sampling, run at fixed sample sizes. It is the only method shown to fix the supercritical variance problem. The strongest number the file reports for it is qualitative: "fGLS with 500 samples outperformed VH with 1000 samples" in RMSE on Project 90. The file gives no reported numeric RMSE tables. We will give it the same trees, the same number of blocks the paper uses, and the same stopping looks. Beating it means matching its RMSE and power at equal $n$, and doing strictly better when the community structure is misspecified or when the trait is weakly aligned with communities.

The second strong competitor is sequential stopping with the tree bootstrap. Its consistency was established in Consistency for the tree bootstrap in respondent-driven sampling. We stop the first time the bootstrap interval excludes $\tau$, using the same alpha-spending schedule.

The key ablation replaces the trait-specific profile $\rho_f$ with a global-$\lambda_2$ rule. That rule estimates the network's second eigenvalue and assumes the trait loads fully on it. It isolates whether trait-specific projection, the instance-optimal ingredient, is what saves samples.

Why not just…?

Why not just run the tree bootstrap sequentially and stop when the interval clears $\tau$? This is the real threat. In the subcritical regime it may perform nearly as well as our rule. Its consistency results, however, rest on regimes where the estimator is asymptotically well behaved. Central limit theorems for network driven sampling reports deviations from normality above $\lambda_2 = 1/\sqrt{2}$ in binary trees, and bootstrapping only the observed branches cannot see correlation at distances the tree has not yet reached. We expect its early-stopping type I error to exceed the nominal level in the supercritical, trait-aligned setting, because the extrapolated $\rho_f$ adds exactly the variance the bootstrap misses. If the bootstrap holds its nominal error there, our method's advantage reduces to its GLS switch, and we will report that.

Why not just do an up-front power calculation with fGLS and recruit that many people? An up-front calculation needs $\lambda$ and the trait projection before any data exist. Errors in that guess translate directly into wasted or insufficient recruitment. The comparison against fixed-$n$ fGLS at several prior guesses of $n$ measures this regret directly.

Why not use the global spectral gap, since the literature already says it governs RDS? Because the spectral theory of Berthet and Kanade says the global gap is too coarse: difficulty depends on alignment with specific eigenvectors. The global-$\lambda_2$ ablation tests exactly this claim. If it matches our rule on realistic traits, then trait-specific projection is not buying anything in practice, and we would say so.

Why not use simulation-based estimators such as indirect inference? Hidden Population Estimation with Indirect Inference and Auxiliary Information reports calibration that "can be time-consuming (e.g., 24 hours for a sample)". That is incompatible with wave-by-wave decisions. It also targets population size rather than threshold tests.

Proposed Experiments

We will simulate RDS with branching $m \in \{2,3\}$ on the Add Health Comm15 friendship network and the Colorado Springs Project 90 network. Both were used by the CLT and GLS papers, and on both the full graph is known, so the oracle $n^*$ can be computed. We will add stochastic blockmodels that sweep $\lambda_2$ across $1/\sqrt{m}$.

Traits come in three kinds: real node attributes (gender and grade in Add Health), synthetic traits with controlled projection onto the slow eigenvectors, and traits correlated with degree to stress the reweighting. Thresholds $\tau$ are placed at graded distances from the true prevalence.

The metrics are empirical type I error, power, and expected stopping size divided by the oracle $n^*$, together with RMSE at stopping. We also report estimation error of $\rho_f(k)$ against the true spectral projection, computed from the full graph.

As a real-data check, we will replay the Kohtla-Järve PWID recruitment tree wave by wave, using ART status as the trait. We will report where each rule would have stopped and whether the conclusions agree with the full-sample analysis. There is no ground truth, so this is a plausibility check, not a benchmark. No reported result was found on Lacuna for sequential stopping in RDS on any of these datasets.

Three decisive checks follow. First, on high-$\lambda_2$ networks, the ratio of our stopping size to $n^*$ must stay bounded for traits orthogonal to the communities, while the global-$\lambda_2$ ablation over-recruits. Second, for community-aligned supercritical traits, sequential bootstrap stopping must show inflated type I error that our rule does not. Third, under blockmodel misspecification, our profile-based GLS must match or beat blockmodel fGLS in RMSE at equal $n$. If the first check fails, the instance-optimal thesis is wrong for RDS. If the second fails, the practical case rests only on sample savings.