Accelerating Neural Network Training Along Sharp and Flat Directions