The passive symmetries of machine learning