High-order Equivariant Flow Matching for Density Functional Theory Hamiltonian Prediction

Seongsu Kim, Nayoung Kim, Dongwoo Kim, Sungsoo Ahn

Introduction

Density Functional Theory (DFT) is a cornerstone of modern chemistry and materials science, yet its computational cost remains a significant barrier. The primary bottleneck is the Self-Consistent Field (SCF) process—an iterative loop that repeatedly updates the electron density and the Hamiltonian matrix until convergence. While recent machine learning models have attempted to bypass this loop by predicting the Hamiltonian directly from atomic coordinates, standard deterministic regression often fails to capture the intricate physical symmetries and internal correlations of these matrices. This leads to high predictive uncertainty and poor generalization, especially for larger or non-equilibrium molecular geometries.

Methodology: From Regression to Flow Matching

The authors introduce QHFLOW, a generative framework that shifts the paradigm from simple regression to Flow Matching. Instead of predicting a single matrix in one step, the model learns a "vector field" that defines a trajectory, transforming a simple, symmetric noise distribution (the prior) into the complex target Hamiltonian distribution.

The QHFLOW framework transforms a symmetric noise distribution into a structured Hamiltonian matrix through a learned vector field.

Key technical innovations include:

  • High-Order SE(3)-Equivariance: Utilizing a neural architecture based on QHNet, the model ensures that predicted Hamiltonians transform exactly as physics dictates under rotation and translation.
  • Symmetry-Aware Priors: The model employs a Tensor Expansion (TE) Prior, which incorporates group-theoretic biases to match the specific block-wise symmetry of Hamiltonian matrices, significantly outperforming standard noise priors like the Gaussian Orthogonal Ensemble (GOE).
  • Energy Alignment Fine-Tuning (WA-FT): A specialized fine-tuning scheme aligns predicted orbital energies (eigenvalues) with ground truth values, focusing on critical properties like the HOMO and LUMO energies.

Experimental Results

QHFLOW was evaluated on major benchmarks including MD17 and QH9. On the MD17 dataset, which tracks molecular dynamics trajectories, the model achieved a 73% reduction in Hamiltonian prediction error compared to previous state-of-the-art models. On the larger QH9 dataset, which features over 130,000 molecules, the error was reduced by 53%.

Performance comparison on the QH9 dataset, showing significant improvements in Hamiltonian and orbital energy prediction accuracy across various splits.

Beyond raw accuracy, QHFLOW demonstrates remarkable physical fidelity. It provides highly accurate predictions for the HOMO-LUMO gap, a vital metric for chemical reactivity. Most importantly, when the predicted Hamiltonian is used to initialize a standard SCF loop, the process converges in roughly 46% of the time required by conventional methods, representing a more than 2x real-world speedup for DFT simulations.

Conclusion

By framing Hamiltonian prediction as a distribution-matching problem rather than a simple regression task, QHFLOW successfully captures the highly structured nature of quantum mechanical systems. Its ability to maintain low error rates as molecular size increases suggests a robust learning of underlying physics, offering a scalable path toward accelerating large-scale quantum chemistry simulations. Future work will focus on extending this framework to periodic solids and more complex exchange-correlation functionals.

Summary updated

BibTeX
@inproceedings{kim2025high,
  author = {Seongsu Kim and Nayoung Kim and Dongwoo Kim and Sungsoo Ahn},
  title = {{High-order Equivariant Flow Matching for Density Functional Theory Hamiltonian Prediction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=iFIjNXb0Y5},
}
Figure