Comparative analysis of animal behaviour using locomotion data such as GPS data is difficult because the large amount of data makes it difficult to contrast group differences. Here the authors apply deep learning to detect and highlight trajectories characteristic of a group across scales of millimetres to hundreds of kilometres