Averaging over sampled neighbours
probability▲▲△A node has neighbours whose features have mean and variance around it. A sampled layer averages of them, drawn without replacement. Show that the sampled mean is unbiased, find its variance, and evaluate it for , and .
Hint
Each neighbour is included with probability . For sampling without replacement from a finite population of size , the variance of the sample mean is .
Solution
Write the sampled mean as , where is if neighbour is drawn. Each has mean , so the expectation is : unbiased.
The draws are not independent, since choosing one neighbour makes the others slightly less likely. The covariance of two indicators is , and summing gives the finite-population variance
With and : at , at , and at , where every neighbour is used and the mean is exact. Independent draws would have given and ; the factor is what sampling without replacement saves.
The layer stays unbiased in expectation, but a nonlinearity applied after it does not average out the noise exactly, and stacking sampled layers compounds it. Sampling buys a fixed cost per node at the price of a noisy, slightly biased deep network, a trade Hamilton, Ying and Leskovec (2017) found worth making on large graphs.