There is a lot of confusion around these points, so let me
start from the beginning.
1) In theory Hamiltonian Monte Carlo is fully geometric,
which means it is independent to whatever choice of
parameters we use. Gibbs sampling does depend on
the parametrization, as the exact parametrization defines
the conditionals.
Operationally, if we change the parameters (potential
energy) then the momenta (kinetic energy) have to change
in the opposite way so that the Hamiltonian, and hence
the trajectories, remain invariant.
Provided that we transform the parameters and momenta
together then all versions of Hamiltonian Monte Carlo are
invariant to any well-behaved transformation, including
rotations and scalings.
Interestingly enough, Random walk Metropolis behaves
the same way! When we transform the parameters we
also have to transform the proposal covariance or _we’re
specifying a different transition_!
2) This is confusing because in practice people often
transform the parameters but leave the momenta (kinetic
energy) the same. Because we’re not transforming them
together, this implies that we’re specifying a _different_
kinetic energy.
For example, a “unit mass matrix” is defined only relative
to a given parameterization. If we transform the system
then both the parameters and momenta change, including
the mass matrix to something non-unit. Forcing the
mass matrix to stay unit while changing the parameters
is implicitly defining a different kinetic energy.
The same thing happens with Random walk Metropolis.
If we keep the covariance constant but change the
parameters then we’re effectively defining a completely
different transition and can expect different performance.
3) All of this is complicated by adaptation. If we define
the mass matrix to be the global covariance of the target
distribution then we have no freedom to transform the
parameters and momenta separately. Change the
parameters and the form of the global covariance
changes, hence the mass matrix changes. But this
leaves the total system invariant as in (1).
In summary, all of this is confusing because people often
talk about the invariance of the posterior _relative to a fixed
kinetic energy and mass matrix_. But that’s an odd construction
because the parameters and momenta/kinetic energy/mass matrix
are supposed to transform together, so fixing the kinetic energy
and changing the parameterization is just a sneaky way to specify
an mass matrix.
The performance of HMC depends on how the target distribution
interacts with the kinetic energy. If the target distribution is
correlated in a parameterization but the kinetic energy is defined
with a unit mass matrix then the trajectories will be highly
oscillatory and expensive to simulate. If the parameterization
is fixed then rotating and scaling the mass matrix can define
a more optimal kinetic energy that reduces the oscillatory nature
of these trajectories.
Ultimately one can show that the optimal Euclidean mass matrix
is given by the global covariance of the target distribution, which
is invariant to any particular parameterization as discussed above.
Okay, that probably didn’t make any sense so we’ll have to iterate.