Training Restricted Boltzmann Machine by Perturbation