Much of the structure of macroscopic evolution equations for relaxation to
equilibrium can be derived from symmetries in the dynamical fluctuations around
the most typical trajectory. For example, detailed balance as expressed in
terms of the Lagrangian for the path-space action leads to gradient zero-cost
flow. We find a new such fluctuation symmetry that implies GENERIC, an
extension of gradient flow where a Hamiltonian part is added to the dissipative
term in such a way as to retain the free energy as Lyapunov function