Surveys of hidden populations, such as people who inject drugs or men who have sex with men in places where that is criminalized, often rely on respondent-driven sampling (RDS). In RDS, a few initial participants each get two or three coupons and pass them to peers, who then pass on their own coupons. The resulting sample over-represents well-connected people. The standard fix, the Volz-Heckathorn (VH) estimator, down-weights each respondent by one over their self-reported number of contacts. That fix rests on a strong assumption: a recruiter hands coupons to a uniformly random contact. Real recruiters do not. They favor close friends, people who share their drug-use setting, or people they judge likely to show up. When those preferences correlate with the trait being measured, such as HIV or treatment status, VH is biased in ways that more data cannot fix.
This proposal makes the recruiter's choice the object of learning. It treats recruitment as an attention mechanism, a learned softmax that decides how much weight each neighbor gets, of the kind graph neural networks use to aggregate neighbor features. It fits that mechanism to the choices recruiters actually made among the contacts they reported in an ego-network survey (a questionnaire about the people in each respondent's social circle). It then converts the learned preferences into inclusion weights. Put simply, each respondent's weight is no longer one over their number of contacts. It is one over the total "pull" their contacts exert toward recruiting them, as estimated from how comparable recruiters behaved. When preferences are flat, this reduces exactly to VH. When they are not, it corrects a bias that existing estimators either ignore or handle with a single assumed constant.
Core Claim
Dynamic neighbor weighting is useful in RDS for a different reason than in node classification. It is not a better feature aggregator over a graph we cannot see. Its value is that it is the right parametric form for a recruiter's discrete choice among alters. The paper behind the attention form, Graph Attention Networks, scores each neighbor pair from their features and normalizes the scores over the neighborhood. In RDS that neighborhood is the respondent's reported contact list, and the observed "label" is which contacts received coupons.
Let $s_\theta(h_k, h_j)$ be a learned score for recruiter features $h_k$ and alter features $h_j$. Let $\mathcal{A}_j$ be the alters respondent $j$ reports. Under a recruitment walk whose transition from $k$ to $j$ is $\exp(s_\theta(h_k,h_j))/Z_k$, with $Z_k = \sum_{l \in \mathcal{A}_k} \exp(s_\theta(h_k,h_l))$, the long-run probability of reaching $j$ is proportional to the incoming mass $\sum_{k \in \mathcal{A}_j} \exp(s_\theta(h_k,h_j))$. This holds exactly when the score is symmetric, because the walk is then a reversible random walk with edge weights $\exp(s_\theta)$. The estimator of a population mean of trait $y$ is then
$$\hat{\mu} = \frac{\sum_{j \in S} y_j / m_j}{\sum_{j \in S} 1/m_j}, \qquad m_j = \sum_{k \in \mathcal{A}_j} \exp\big(s_\theta(h_k, h_j)\big),$$
where $S$ is the sample and $m_j$ is the attention-weighted degree. With $s_\theta \equiv 0$, $m_j$ is the degree and $\hat{\mu}$ is VH. The new element is the identification and estimation of $s_\theta$ from recruitment choices, together with this plug-in correction. The neural part is secondary, and the experiments are designed to test whether it is needed at all.
How This Relates to Prior Work
Three lines of RDS work motivate the gap. Respondent-driven Sampling on Directed Networks shows that when ties are asymmetric, inclusion depends on unobserved indegree. On a directed Nordic network of 16,082 MSM, VH bias often exceeds 5 percentage points. Its $VH_{m^*}$ fix requires a known group-level attractivity ratio $m^*$. Our score $s_\theta$ is a feature-conditional generalization of that ratio: a group-only score recovers a single attractivity constant per group pair. The difference is that we estimate it from data rather than postulating it.
Generalized least squares can overcome the critical threshold in respondent-driven sampling attacks variance rather than bias. It fits a degree-corrected block model to restore $O(n^{-1})$ variance decay, still under uniform recruitment within the network. Our proposal targets bias from non-uniform choice and is complementary: the two corrections could be stacked.
Hidden Population Estimation with Indirect Inference and Auxiliary Information calibrates likelihood estimates of arrival rate and population size by simulation. It also assumes exponential waiting times and notes that recruiter preferences complicate its likelihood. That complication is the one we model directly.
Two works supply method. The ego-network estimator summarized in Correcting Degree Bias in Network Sampling ($RDS\ I^{ego}$) shows that collecting the composition of each respondent's circle cuts bias from 20% to under 2%. We reuse its data-collection design, but we use the alter data as choice sets rather than as a direct estimate of the trait. That distinction matters for traits a respondent cannot see in their peers, as argued below. Graph Attention Networks supplies the pairwise, normalized, possibly asymmetric score. DeepInf: Social Influence Prediction with Deep Learning found that attention, unlike degree-normalized graph convolution, isolates which neighbors actually drive an action. This is the behavioral analogue of a recruiter picking specific peers.
One constraint is worth stating up front. Every attention model in the file assumes the neighborhood is fully observed. We do not assume this. The neighborhood is exactly the self-reported alter list, which is noisy and truncated, and we treat its errors as part of what must be evaluated.
Research Program
The first component is the choice model. Each recruiter $k$ reports alters $\mathcal{A}_k$ with visible features: age band, gender, drug-use venue, relationship closeness, and frequency of contact. Recruiter $k$ then hands out up to $c$ coupons. We match recruits to alters through a short question at the recruit's interview ("how do you know the person who gave you this coupon?") combined with feature agreement. We model the coupon sequence as sampling without replacement from a softmax over remaining alters plus a "give no more coupons" option, which follows directly from the coupon limit. We fit $\theta$ by maximum likelihood.
We compare three score families. The first is a group-only table, which corresponds to the $m^*$ setting. The second is a linear conditional logit on pairwise features. The third is a small multi-head attention network in the style of Graph Attention Networks. Each family has an optional asymmetric part.
The second component is the estimator above. We will derive its bias when $s_\theta$ is asymmetric, the regime where the reversibility argument fails. We will also propose a one-step fixed-point correction that replaces the implicit assumption that recruiters' own inclusion probability is proportional to $Z_k$ with the estimator's own sample-based value. Variance comes from a tree bootstrap that resamples recruitment chains and refits $\theta$ within each replicate, so uncertainty about preferences propagates into the confidence intervals.
The third component is robustness to the data actually available. Respondents misreport alter counts and features. We will degrade simulated ego reports by truncating them (name generators that cap at five alters), adding feature noise, and omitting weak ties. We will then measure how quickly the advantage over VH disappears.
Baselines
The naive reference is the unweighted sample mean, which shows how much selection bias exists at all in each simulated condition.
VH is the field default and the method our estimator reduces to under flat preferences. We run it on the same simulated samples using the same self-reported degrees our method sees.
$VH_{m^*}$ from Respondent-driven Sampling on Directed Networks is the strongest existing directed-network competitor. We run it twice: with oracle $m^*$ computed from the true network, which is an upper bound it cannot reach in practice, and with $m^*$ estimated from the same recruitment data we use. The file reports that $VH_{m^*}$ "effectively eliminates" the >5-point VH bias given accurate $m^*$, but gives no residual bias number. Beating it means lower bias than estimated-$m^*$ $VH_{m^*}$ whenever preferences depend on more than group labels, and matching oracle $VH_{m^*}$ when they do not.
$RDS\ I^{ego}$ from Correcting Degree Bias in Network Sampling is the strongest competitor whenever the target trait is visible to peers. Its reported bias drops from 20% to under 2%. It receives the same ego data we use.
SBM-fGLS from Generalized least squares can overcome the critical threshold in respondent-driven sampling is the strongest variance-oriented baseline. The file reports only that fGLS with 500 samples sometimes beat VH with 1,000 in root-mean-squared error (RMSE), with no numeric table. We give it the same number of blocks the simulator uses, which is a generous specification.
Ablations isolate the key ingredient. Setting $s_\theta \equiv 0$ but keeping ego-reported degrees separates the gain from better degree measurement from the gain from preference modeling. Comparing linear and attention scores tests whether the neural form earns its place. Dropping the no-more-coupons option and the without-replacement structure tests whether the coupon constraint matters. All methods see identical samples. The attention model's hyperparameters are tuned by recruitment-choice log-likelihood on held-out chains, never on the target estimate. Every method gets the same bootstrap budget.
Why not just…?
Why not just use $VH_{m^*}$ with a sensible guess of $m^*$? When preferences depend only on the group label that defines the target, $VH_{m^*}$ with a good $m^*$ is essentially our group-only model. In that case we expect a tie, and the experiments include this condition to show it. The method's claim rests on conditions where recruitment depends on features other than the target group, such as closeness or venue, that correlate with the target. A single scalar cannot represent that. The file reports bias above 5 points even in the scalar case (Respondent-driven Sampling on Directed Networks). Our simulations measure how much of that bias remains after the best scalar correction.
Why not just fit a standard conditional logit instead of attention? This is the real threat, and we take it seriously. A single-head linear attention score is a conditional logit. With RDS samples of a few hundred to roughly 800 respondents, like the St. Petersburg study, a flexible network may overfit. The linear-versus-attention ablation settles the question. If the linear model matches attention in bias and RMSE across our simulated preference structures, we will report that and recommend it, because the estimator, not the score family, is the contribution. Attention should only win when preferences involve interactions, for example closeness mattering only within shared venues.
Why not just use $RDS\ I^{ego}$, which already sidesteps recruitment choices? $RDS\ I^{ego}$ averages the traits of reported alters, so it is largely immune to which alters get recruited. That makes it a hard baseline for visible traits, and we expect it to win or tie there. Its weakness is that respondents must know their peers' trait, which fails for HIV status, treatment status, or trafficking experience. Our estimator uses the respondent's own self-reported trait and needs alter data only on visible features that drive recruitment. The decisive comparison is therefore stratified by whether the target trait is visible to peers.
Why not reconstruct the hidden graph with RENDER and reweight on it? Seeing the Unseen Network: Inferring Hidden Social Ties from Respondent-Driven Sampling infers missing ties by simulated annealing, reaching a true positive rate of 0.769 at a false positive rate of 0.106 on Project 90. A reconstructed graph still says nothing about who prefers whom, and a 10% false-tie rate inflates degrees in unpredictable ways. We include RENDER-degree VH as a secondary baseline on Project 90.
Proposed Experiments
We simulate RDS on three real networks named in the file: Project 90 (undirected, high-risk ties), Add Health (school friendships with demographic attributes), and the Nordic MSM web network (directed). On each, we plant recruitment preferences of increasing complexity: flat, group-only, linear in pairwise features, and interacting. We also vary how strongly preferences correlate with a binary target trait, and whether that trait is visible to peers. We record the samples, the coupon sequences, and ego reports of chosen fidelity, with 2–3 coupons and sample sizes of 300, 500, and 1,000. Metrics are bias, RMSE, and 95% interval coverage of the population prevalence. We also report held-out recruitment-choice log-likelihood to check that $s_\theta$ is learned, not just that the final estimate looks right.
The decisive checks are four. First, under flat preferences our estimator must match VH, a sanity check on the reduction. Second, under group-only preferences on the directed Nordic network it must approach oracle $VH_{m^*}$ without being given $m^*$. Third, under feature-dependent preferences with a peer-invisible trait it must cut bias substantially below VH, estimated $VH_{m^*}$, and SBM-fGLS, while intervals keep near-nominal coverage. Fourth, the gain must survive ego reports truncated to five alters.
If the third check fails, recruitment preferences are not identifiable from realistic ego data, and that negative result would itself be useful for RDS survey design. A final, smaller analysis applies the choice model to whatever recruitment-tree data is available from the Kohtla-Järve and St. Petersburg studies. It reports only whether the fitted preferences depart detectably from uniform, since without alter-level data no prevalence claim can be validated there.
References
- Graph Attention Networks
- Respondent-driven sampling on directed networks
- Generalized least squares can overcome the critical threshold in respondent-driven sampling
- Hidden Population Estimation with Indirect Inference and Auxiliary Information
- DeepInf: Social Influence Prediction with Deep Learning
- Seeing the Unseen Network: Inferring Hidden Social Ties from Respondent-Driven Sampling