Efficient neural network learning