Md. Asif Uddin
    I.14.X03

    A mean and a max cannot count

    counterexample▲▲△

    Find what the sum, the mean and the maximum return for the multisets {1,1,2,2}\{1,1,2,2\} and {1,2}\{1,2\}, and for {1,1,2}\{1,1,2\} and {1,2,2}\{1,2,2\}. Then give every node of a star with two leaves and of a star with four leaves the feature 11, and compare what each aggregator delivers to the centre.

    Hint

    A mean sees proportions; a maximum sees which values occur.

    Solution
    multisetssummeanmax
    {1,1,2,2}\{1,1,2,2\}, {1,2}\{1,2\}66, 331.51.5, 1.51.522, 22
    {1,1,2}\{1,1,2\}, {1,2,2}\{1,2,2\}44, 551.3333331.333333, 1.6666671.66666722, 22

    The first pair has the same proportions, so the mean cannot separate it, and the same values, so the maximum cannot either. The second pair has different proportions but the same values: the mean separates it and the maximum does not. The sum separates both.

    At the stars’ centres, the neighbour features are {1,1}\{1,1\} and {1,1,1,1}\{1,1,1,1\}. The mean gives 11 and 11, the maximum 11 and 11, the sum 22 and 44. With constant features, a mean- or max-aggregating network cannot even learn a node’s degree.

    So mean and max aggregators separate strictly fewer graphs than colour refinement, which counts. This is why the graph isomorphism network of (I.14.8) sums. The mean has its uses: it keeps the scale of the state independent of the degree, which helps on graphs with very uneven degrees. The choice trades counting for stability.

    Draws on