Neural Networks Learn Statistics of Increasing Complexity