Beyond first-order methods in ML systems