Curvature, torsion, microcanonical density and stochastic transition