Is it true that given a smooth manifold M (with or without boundary), a "generic" metric g on M does not possess any non-trivial (non-constant) first integral for the geodesic flow induced by g on the unit sphere bundle? What if we restrict ourselves to considering the first integrals of the geodesic flow which is a polynomial in the momenta? I did some search, it seems that for the case that the first integrals are linear in momenta, then a generic metric does not possess such first integral. This somehow related to the fact that a generic metric does not possess Killing vector fields. What about for higher order (Killing tensors)? Thanks a lot.