Supervised vs. unsupervised imitation learning