Manifold Percolation: from generative model to Reinforce learning