Three Layers Of Averaging

A three-node path graph A−B−CA - B - C carries scalar node features. Each layer replaces every node's feature with the mean over itself and its neighbours:

hv←mean({hv}∪{hu:u∼v})h_v \leftarrow \text{mean}\big({h_v} \cup {h_u : u \sim v}\big)

so AA averages over {A,B}{A, B}, BB over {A,B,C}{A, B, C}, and CC over {B,C}{B, C}. Start from h(0)=(1,0,−1)h^{(0)} = (1, 0, -1) and apply three layers. What are the features, and what does the pattern mean for a 10-layer version of this network?

A

(0, 0, 0)(0,\ 0,\ 0) after a single layer, since averaging over a connected graph reaches its fixed point immediately.

B

(0.125, 0, −0.125)(0.125,\ 0,\ -0.125): the gap between AA and CC halves at every layer and tends to 0, so a deep stack drives all node representations toward the same vector and a classifier can no longer separate the nodes.

C

(0.125, 0, −0.125)(0.125,\ 0,\ -0.125): the shrinking activations are vanishing gradients, so the fix is a larger learning rate or a non-saturating activation.

D

(0.5, 0, −0.5)(0.5,\ 0,\ -0.5): the first layer smooths, and further layers recompute the same average from the original features, so the values stop changing.