# Poster 28011

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/28011

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

I'm going to describe work done by Yunyang Li, a grad student at Yale, Z-Sha, a grad student at UC Davis, and also work that's collaborative with Microsoft Research, in particular Jia Zhang and Lin Huang. First some background.
A core method in quantum chemistry is density functional theory, and core to DFT is calculation of the Hamiltonian, in particular the cone -chain Hamiltonian. Unfortunately, this is very computationally expensive, scaling with molecular size cubically to quartically.
So the reason for this bonus is we have to do what's called SCF iteration, and this is shown here in the middle of the slide. You can see a generalized eigenvalue problem where we have to compute the Hamiltonian applied to the coefficients matrix, and we get back the coefficients matrix multiplied by the energy.
The coefficients matrix depends on the Hamiltonian and vice versa, so we have to iterate this and it takes a long time. Now after the iteration converges we get a gold standard value for the Hamiltonian that we denote as H star and we get a gold standard value for the coefficients matrix we call C star.
Now our objective is to quickly compute the Hamiltonian with a machine learning model directly from the molecular structure. And we're going to call our prediction H hat. And so overall the optimization problem we're going to tackle here is we're going to minimize the distance between H hat and H star summed over all of our molecules. And we're going to work on something called the PubChemQH dataset which has about 50,000 molecules.
These are about 40 to 100 atoms in size, and they're considerably bigger molecules than the previous benchmark, which is the QH9 dataset, which topped off at about 31 atoms per molecule. And because these molecules are so large, we have very big calculations. Our final calculation took about a month of processing on...
a hundred GPUs and central char method is computing on this loss between the predicted Hamiltonian and the Gold Standard Hamiltonian. Now the straightforward thing to do would be to do an element by element comparison between the predicted Hamiltonian and the Gold Standard Hamiltonian and this is what people did before in showing the first two terms of the loss. Unfortunately this doesn't scale well to large molecular systems so we introduced a third term here we
We call wave function alignment loss.
or Y lost. And I'm going to describe it in detail on this slide. So you can see the core of this thing is we're computing a difference between the Gold standard energy called epsilon star and the predicted energy, which is the h hat Hamiltonian applied to the coefficients matrix. However, we don't have the predicted coefficients matrix. So what we do here is we put in C star, which is the Gold standard coefficients matrix. This is...
This is kind of motivated by first order perturbation theory. And this works fairly well. And the other thing that we do in our model is we have a very efficient architecture. So the first aspect is we, in our architectures, we convert lots of the SO3 convolutions into SO2 convolutions. Also because we're dealing with fairly large molecules, we have lots of long-range interactions. And for that, we have to have lots of little submodels that deal with different length scales.
And here we use a mixture of expert's approach with these submodels. And finally, because we have large molecules, we have lots of mini body interaction terms. And here we use the density trick to calculate that efficiently.
Here's the performance of our thing. Now we compare it to the previous benchmark QHNet and also to a state-of-the-art echoformer regression. As you can see, we do about two orders of magnitude better on computing the Homo energy than QHNet. And we do actually even a little bit better than the regression. That's for the Homo energy and for the systems energy, we actually do a full three orders of magnitude better.
And finally here in this slide we show how we apply our approach to a set of molecules outside of PubChem QA to assist series of progressively longer alkanes and we can see how the error in
our predictions scales almost constantly with molecular size, meaning that we can probably scale this up to even bigger molecular systems. And then finally I show how we can actually use this practically to speed up DFT calculations. DFT calculations are dominated by the SCF iteration and if we take our predicted Hamiltonian H hat and put it in as the initial guess for the SCF iteration it speeds that up.
by about 18%. And thank you very much for your attention.
