Stochastic model for photoinduced anisotropy