Robust Sampling in Deep Learning