Skip to content
DraconiticResearch
Search Sources API
186,123 studies31 sourcesUpdated 28 min ago
PreprintCC BY-NC-ND 4.0arXiv

Hamiltonian Metric Learning and Energy-Based Training: A Dissipative Geometric Framework for Optimization

Abstract

Optimization in machine learning is usually expressed through iterative rules that update model parameters using information from the loss landscape. In this work, we study an alternative viewpoint in which parameter optimization is treated as the evolution of a dissipative dynamical system. The model parameters are regarded as generalized coordinates, the loss acts as a potential energy, and a positive-definite metric defines the local kinetic geometry of parameter space. Starting from a variational formulation, we derive the corresponding Hamiltonian dynamics, the geometric force generated by a position-dependent metric, and a metric-compatible Rayleigh dissipation law. The resulting continuous system satisfies a monotonic energy-dissipation relation, while its discrete form allows the influence of curvature on the optimization trajectory to be studied directly. We illustrate the framework using a controlled CIFAR-10 image-reconstruction problem for which the optimum is known analytically. With the image Hessian used as the metric, the curvature dependence of the quadratic modal dynamics is removed. We then reparameterize the same image as a matrix product state, producing a genuinely position-dependent metric and a nonzero geometric force. Poincaré return maps provide a complementary phase-space view of the resulting contraction dynamics. These examples establish HAMLET as a geometric, energy-based framework for studying optimization as dissipative motion in parameter space. On a five-seed MNIST MLP benchmark, HAMLET attains the highest mean test accuracy (97.95\%) and the lowest mean test negative log-likelihood (0.0696) among the three evaluated optimizers.

Related

  1. Nonlinear differential-algebraic systems with dissipative port-Hamiltonian structure
    Volker Mehrmann, Arjan van der Schaft
    arXivPreprintCC BY 4.0Full textOptimisation & controlarXiv
  2. Dissipative Hamiltonian representations of linear evolution equations
    Volker Mehrmann, Timo Reis
    arXivPreprintCC BY 4.0Full textAnalysis & PDEsarXiv
  3. Fourth-Order Energy-Consistent Average Vector Field Discrete Gradient Methods for Dissipative Hamiltonian Systems
    Lucas Lautwein, Nicole Marheineke, Håkon Noren Myhr +1
    arXivPreprintarXiv licenceFull textMathematical physicsNumerical analysis & scientific computingarXiv
  4. Renyi's Relative Entropy Lyapunov Functional for Convergence to Invariant Measure in Dissipative Stochastic Hamiltonian Systems
    Igor G. Vladimirov
    arXivPreprintarXiv licenceFull textAnalysis & PDEsDynamical systemsarXiv
  5. Energy-Dissipative, High-Order BDF Schemes for Simulating Geometric Flows via Energy Increments
    Zhiqing Pan, Wei Jiang, Jiwei Jia
    arXivPreprintCC BY 4.0Full textNumerical analysis & scientific computingarXiv
BibTeX
@misc{chakraborty2026hamiltonian,
  title = {{Hamiltonian Metric Learning and Energy-Based Training: A Dissipative Geometric Framework for Optimization}},
  author = {Sparsho Chakraborty and Mohammad Alamgir and Nishanth M and Akshit Nanda and Ram Prasad Padhy and Sayan Mukherjee},
  howpublished = {arXiv},
  year = {2026},
  month = oct,
  doi = {10.48550/arxiv.2610.04969},
  eprint = {2610.04969},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.04969},
  note = {CC BY-NC-ND 4.0},
}
RIS
TY  - UNPB
TI  - Hamiltonian Metric Learning and Energy-Based Training: A Dissipative Geometric Framework for Optimization
AU  - Sparsho Chakraborty
AU  - Mohammad Alamgir
AU  - Nishanth M
AU  - Akshit Nanda
AU  - Ram Prasad Padhy
AU  - Sayan Mukherjee
PY  - 2026
DA  - 2026/10/04
PB  - arXiv
DO  - 10.48550/arxiv.2610.04969
UR  - https://arxiv.org/abs/2610.04969
AB  - Optimization in machine learning is usually expressed through iterative rules that update model parameters using information from the loss landscape. In this work, we study an alternative viewpoint in which parameter optimization is treated as the evolution of a dissipative dynamical system. The model parameters are regarded as generalized coordinates, the loss acts as a potential energy, and a positive-definite metric defines the local kinetic geometry of parameter space. Starting from a variational formulation, we derive the corresponding Hamiltonian dynamics, the geometric force generated by a position-dependent metric, and a metric-compatible Rayleigh dissipation law. The resulting continuous system satisfies a monotonic energy-dissipation relation, while its discrete form allows the influence of curvature on the optimization trajectory to be studied directly. We illustrate the framework using a controlled CIFAR-10 image-reconstruction problem for which the optimum is known analytically. With the image Hessian used as the metric, the curvature dependence of the quadratic modal dynamics is removed. We then reparameterize the same image as a matrix product state, producing a genuinely position-dependent metric and a nonzero geometric force. Poincaré return maps provide a complementary phase-space view of the resulting contraction dynamics. These examples establish HAMLET as a geometric, energy-based framework for studying optimization as dissipative motion in parameter space. On a five-seed MNIST MLP benchmark, HAMLET attains the highest mean test accuracy (97.95\%) and the lowest mean test negative log-likelihood (0.0696) among the three evaluated optimizers.
ER  -