Meso-scale structures in social contagion and graph neural networks