Features of edge-centric collective dynamics in machine learning tasks