potentialpaper

Colour me shocked: Exact Molecular Hessians from MLIPs in O(N) time using sparse differentiation!

Luca Thiede, Andreas Burger, Alan Aspuru-Guzik

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. Calculate molecular Hessians in linear time using sparse differentiation

Abstract. The Hessian of the energy with respect to the nuclear positions is indispensable in atomistic modelling. However, constructing this matrix requires O(N)O(N) Hessian vector products, traditionally limiting high-accuracy Hessians to small systems. Machine learning interatomic potentials (MLIPs) have accelerated atomistic modelling by providing highly accurate energies and forces at O(N)O(N) cost, yet the resulting O(N2)O(N^2) cost of Hessians remains a practical bottleneck for large systems. Based on the insight that we can derive the sparsity pattern for an MLIP's Hessians in closed form, we show in this paper how to use techniques from sparse automatic differentiation to reduce the cost of a local MLIP's Hessians to a system-size-independent number of Hessian-vector products, yielding overall O(N)O(N) total cost without any approximations. We benchmark our approach on a variety of systems ranging from alkane chains to water clusters to A$\beta$40 conformers. Depending on the MLIP configuration, we achieve the linear scaling regime already on relatively small systems, resulting in large runtime reductions between 2×−15×2\times-15\times for these systems. This opens up the possibility of scaling high-accuracy MLIP Hessians to very large systems, such as proteins that were previously inaccessible.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
2 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (spotlight)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (spotlight) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:47 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (spotlight)
Read decision
Meta-review

The paper proposes a method for computing exact molecular Hessians of local machine learning interatomic potentials (MLIPs) in linear time by exploiting analytically derived Hessian sparsity patterns together with sparse automatic differentiation. By deriving the sparsity pattern directly from the receptive field of local message-passing architectures, the approach avoids expensive sparsity detection while recovering exact Hessians using a system-size-independent number of Hessian-vector products.

Pre-rebuttal: The reviewers generally agree that the paper presents a technically sound and practically valuable contribution. They view the key insight (deriving Hessian sparsity analytically from the MLIP architecture) as elegant and well motivated, appreciate the use of established sparse differentiation techniques in this setting, and find the empirical evaluation convincing. Reviewers also note that the accompanying implementation and demonstrated runtime improvements make the method likely to be immediately useful to the atomistic machine learning community.

The reviewers raise the following concerns, which the authors should address in their rebuttal:

  • Scope and applicability. Several reviewers request that the paper more clearly state the assumptions underlying the proposed linear-scaling result. In particular, they ask the authors to emphasize that the method applies to local MLIPs with analytically derivable sparsity patterns and to explicitly discuss assumptions such as fixed interaction cutoffs, bounded local density, sparse storage, and fixed neighborhood graphs. They also suggest moderating claims in the title and abstract to better reflect this scope.
  • Broader evaluation and practical impact. Reviewers encourage the authors to strengthen the empirical evaluation by demonstrating the approach on additional widely used MLIP architectures (e.g., MACE, NequIP/Allegro, SevenNet) and by discussing how the resulting Hessians benefit downstream applications such as vibrational analysis, transition-state search, and geometry optimization. Several reviewers also ask for discussion of the physical accuracy of MLIP Hessians relative to reference calculations, as distinct from the exact recovery of the MLIP Hessian itself.
  • Positioning and related work. Reviewers request clearer positioning relative to existing sparse differentiation methods and software, including discussion of prior approaches for approximate Hessian recovery and automatic sparse differentiation packages. They also encourage the authors to better distinguish which aspects of the work are novel from the underlying sparse differentiation and graph-coloring techniques on which the method builds.

The issues above represent the primary concerns that should be prioritized in the rebuttal. In recognition of the time and effort invested by the reviewers, the authors are encouraged to address their individual questions and comments as fully as possible, subject to the constraints of the rebuttal.

Post-rebuttal: The authors provided a comprehensive rebuttal addressing the primary reviewer concerns. They clarified the scope and assumptions underlying the proposed linear-scaling result, agreed to revise the title to better reflect applicability to local MLIPs, expanded discussion of downstream applications and the physical accuracy of MLIP Hessians, provided additional results and discussion for MACE and other MLIP architectures, and strengthened the positioning relative to prior sparse differentiation methods and related software. Following the rebuttal, one reviewer increased their score after indicating that their concerns had been resolved, another noted that their concerns had been partially addressed while maintaining their score, and the third reviewer maintained their original positive assessment.

Final justification

The reviewers consistently found the paper technically sound, practically valuable, and well evaluated, and the rebuttal addressed the remaining concerns regarding scope, applicability, and positioning. In particular, the core insight of deriving the exact Hessian sparsity pattern directly from the receptive field of local MLIPs provides a novel and elegant route to exact linear-scaling Hessian computation, with substantial demonstrated computational gains. Given the combination of conceptual novelty, strong execution, and immediate practical utility, I recommend the paper for a spotlight.

Area Chair pizi · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The paper proposes a method for computing exact molecular Hessians of local machine learning interatomic potentials (MLIPs) in linear time by exploiting analytically derived Hessian sparsity patterns together with sparse automatic differentiation. By deriving the sparsity pattern directly from the receptive field of local message-passing architectures, the approach avoids expensive sparsity detection while recovering exact Hessians using a system-size-independent number of Hessian-vector products.

Pre-rebuttal: The reviewers generally agree that the paper presents a technically sound and practically valuable contribution. They view the key insight (deriving Hessian sparsity analytically from the MLIP architecture) as elegant and well motivated, appreciate the use of established sparse differentiation techniques in this setting, and find the empirical evaluation convincing. Reviewers also note that the accompanying implementation and demonstrated runtime improvements make the method likely to be immediately useful to the atomistic machine learning community.

The reviewers raise the following concerns, which the authors should address in their rebuttal:

  • Scope and applicability. Several reviewers request that the paper more clearly state the assumptions underlying the proposed linear-scaling result. In particular, they ask the authors to emphasize that the method applies to local MLIPs with analytically derivable sparsity patterns and to explicitly discuss assumptions such as fixed interaction cutoffs, bounded local density, sparse storage, and fixed neighborhood graphs. They also suggest moderating claims in the title and abstract to better reflect this scope.
  • Broader evaluation and practical impact. Reviewers encourage the authors to strengthen the empirical evaluation by demonstrating the approach on additional widely used MLIP architectures (e.g., MACE, NequIP/Allegro, SevenNet) and by discussing how the resulting Hessians benefit downstream applications such as vibrational analysis, transition-state search, and geometry optimization. Several reviewers also ask for discussion of the physical accuracy of MLIP Hessians relative to reference calculations, as distinct from the exact recovery of the MLIP Hessian itself.
  • Positioning and related work. Reviewers request clearer positioning relative to existing sparse differentiation methods and software, including discussion of prior approaches for approximate Hessian recovery and automatic sparse differentiation packages. They also encourage the authors to better distinguish which aspects of the work are novel from the underlying sparse differentiation and graph-coloring techniques on which the method builds.

The issues above represent the primary concerns that should be prioritized in the rebuttal. In recognition of the time and effort invested by the reviewers, the authors are encouraged to address their individual questions and comments as fully as possible, subject to the constraints of the rebuttal.

Post-rebuttal: The authors provided a comprehensive rebuttal addressing the primary reviewer concerns. They clarified the scope and assumptions underlying the proposed linear-scaling result, agreed to revise the title to better reflect applicability to local MLIPs, expanded discussion of downstream applications and the physical accuracy of MLIP Hessians, provided additional results and discussion for MACE and other MLIP architectures, and strengthened the positioning relative to prior sparse differentiation methods and related software. Following the rebuttal, one reviewer increased their score after indicating that their concerns had been resolved, another noted that their concerns had been partially addressed while maintaining their score, and the third reviewer maintained their original positive assessment.

Final justification

The reviewers consistently found the paper technically sound, practically valuable, and well evaluated, and the rebuttal addressed the remaining concerns regarding scope, applicability, and positioning. In particular, the core insight of deriving the exact Hessian sparsity pattern directly from the receptive field of local MLIPs provides a novel and elegant route to exact linear-scaling Hessian computation, with substantial demonstrated computational gains. Given the combination of conceptual novelty, strong execution, and immediate practical utility, I recommend the paper for a spotlight.

Reviewer ByPaOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

Authors apply techniques of sparse differentiation to extract the Hessian of an MLIP at low memory and computational cost. The approach is based on the assumption that the architecture performs message passing with a known number of layers and a known cutoff, so the sparsity pattern of the Hessian can be computed cheaply. Knowing the sparsity pattern, one performs coloring of the associated graph and builds probing vectors that are used to reconstruct the Hessian.

The resulting algorithm is evaluated on several representative examples. Experiments include positive (when the approach helps) and negative (when the approach fails due to a lack of sparsity) examples, as well as cases where the Hessian is computed approximately.

Strengths and weaknesses

Strengths:

  1. The article considers a real computational problem with sensible techniques.
  2. The results and the code can be immediately useful for researchers.
  3. The presentation is clear and detailed.
  4. The experiments are well-designed; the main questions addressed by the experiments are presented upfront.
  5. There is a good discussion of limitations, including examples where the method fails.

Weaknesses:

  1. Applications of Hessian computations are not discussed or leveraged well enough.
  2. The main contribution is an application of well-known techniques.
Questions

Applications of the Hessian

In my view, the authors left the applications of second derivatives virtually without discussion. In the introduction (lines 18–21), some potential applications are mentioned without references, but this discussion is too sketchy and not a single use case is illustrated. An explicit worked example showing what is possible when the Hessian is available would certainly strengthen the paper.

How accurate is the MLIP Hessian?

MLIPs are trained to supply forces, so it is unclear whether the computed Hessian is accurate and useful. Can the authors demonstrate the accuracy of the computed Hessian in some application? The accuracy in this context refers to absolute accuracy—i.e., not the difference between the sparse and dense Hessians, but between the MLIP and the ground-truth Hessian. The latter is typically known only through some proxy, so I again suggest demonstrating an application of the Hessian and comparing it with ground-truth data (e.g., the vibration analysis that the authors mention).

What is differentiable and what is not?

I think the discussion on what is differentiable and what is not should be extended. For example, the authors suggest that "Finally, it might be possible to supervise MLIP second derivatives in the compressed subspace spanned by the seed matrix, instead of random HVPs as is currently done" (lines 267–268). It seems that for such an application, one needs the entire procedure to be differentiable. As I understand it, the coloring of the graph is currently done with the ColPack library; thus, if the coloring needs to be recomputed, one must do that outside of the training loop. Can the authors expand the discussion on what is differentiable in their approach?

Related software and approaches

I am less familiar with the PyTorch ecosystem, but in Julia and JAX there are dedicated efforts toward sparse differentiation. A recent example is https://github.com/adrhill/asdex. Asdex is a package that automatically detects the sparsity pattern from a JAX computation graph, colors it, and infers what kind of probes need to be evaluated to reconstruct a sparse Jacobian or Hessian.

I suggest that the authors compare their approach with asdex. It would be great to see an empirical comparison; however, I understand it may not be straightforward to perform because of the framework differences. If an empirical comparison is too difficult, at least a discussion on the relationship between the two approaches should be provided.

In my view, an interesting feature of the authors' approach is the ability to extract approximate Hessians, in contrast to asdex, which aims for exact Hessians.

Limitations

yes

Final justification

The paper proposes a theoretically solid, numerically validated technique for sparse Hessian computation for MLIP based on message passing. The applications are well covered, and the limitations of the approach are illustrated numerically.

Formatting concerns

na

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the constructive feedback!

In my view, the authors left the applications of second derivatives ... MLIPs are trained to supply forces, so it is unclear whether the computed Hessian is accurate and useful

Our method recovers the dense-AD Hessian to floating-point precision, and therefore neither improves nor degrades the frequencies or other observables predicted by a given MLIP. The usefulness of energy- and force-trained MLIP Hessians has been studied by several papers:

Additionally, there are works and increasingly more datasets showing that fine-tuning MLIPs with Hessians can further significantly improve performance (https://arxiv.org/abs/2503.07839, https://arxiv.org/abs/2505.12447, https://arxiv.org/abs/2601.07742). Since our method yields exact Hessians and is compatible with any of these MLIPs (which have similar or smaller receptive fields than in our experiments and would therefore be accelerated similarly), we think adding our own experiments would be out of scope. But we agree that adding a section discussing these studies and Hessian applications in more detail will strengthen the paper and will include it.

I think the discussion on what is differentiable and what is not should be extended. For example, the authors suggest that "Finally, it might be possible to supervise MLIP second derivatives in the compressed subspace spanned by the seed matrix, instead of random HVPs as is currently done" (lines 267–268). It seems that for such an application, one needs the entire procedure to be differentiable.

The sparsity pattern, coloring, and seed matrix are discrete preprocessing steps determined by the molecular geometry and fixed model architecture, rather than by the NN parameters. Therefore, gradients with respect to the MLIP parameters do not require differentiation through the coloring procedure. For Hessian supervision, the seed matrix is treated as constant, while gradients flow through the compressed HVPs Y=HθSY=H_\theta S and the reconstruction operation, both are differentiable in our implementation, which we verified numerically. The same reasoning applies to higher input derivatives

I am less familiar with the PyTorch ecosystem, but in Julia and JAX there are dedicated efforts toward sparse differentiation. A recent example is https://github.com/adrhill/asdex... I suggest that the authors compare their approach with asdex...

Thank you for making us aware of asdex, we will reference it in our paper as complementary to our library for sparse Hessians in the jax ecosystem. They support externally supplied sparsity patterns and can therefore be used with our closed-form sparsity pattern formula for MLIPs written in jax. One important difference is that we are supporting acyclic coloring, while asdex currently only supports star coloring as far as we can tell. Acyclic coloring typically saves more HVPs, and in our experiments consistently and significantly outperformed star coloring in end-to-end runtimes.

Reviewer ByPa · CommentOpenReview ↗

I would like to thank the authors for the clarifications, especially regarding the applications and accuracy of the MLIP Hessian. Since my concerns have been resolved, I have increased my score.

Reviewer AnnLOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes a method to calculate exact Hessians for certain types of Machine-Learning Interatomic Potentials (MLIPs) at O(N)\mathcal{O}(N) cost, where NN is the number of atoms in molecule. The main idea is to exploit the local nature of certain MLIPs and construct sparsity pattern of hessian analytically from the message-passing scheme . This allows the proposed approach to skip the time-consuming sparsity-detection step, which typically is as expensive as computing the Hessian explicitly: O(N2)\mathcal{O}(N^2). The proposed method of Hessian construction was successfully tested on water clusters, alkane chains and a 40AA protein.

Strengths and weaknesses

Strengths

  • For a certain class of MLIPs, the proposed approach builds exact Hessians at O(N)\mathcal{O}(N) cost using the sparsity derived from MLIP interaction graph.
  • Well-established mathematical frameworks are used as coloring algorithms to reduce the number of HVPs.
  • The authors demonstrate exact Hessian recovery and reasonable computation times on realistic systems such as water clusters and a small protein.
  • The work provides a python package with ColPack library bindings.
  • For methods, where it is impossible to analytically derive sparsity pattern, approximate cutoff approach is discussed.

Weaknesses

  • The title of the paper is misleading. It suggests that Hessians can be computed at O(N)\mathcal{O}(N) cost for all MLIPs. However, the calculation of exact hessians can be done only for certain classes of MLIPs – those that are local and allow for analytical identification of interacting species via molecular graph.
  • Authors claim that Hessians are essential for various atomic properties, including e.g. normal mode analysis, vibrational spectra, etc. While the Hessian calculation can be indeed O(N)\mathcal{O}(N), the further steps requiring full diagonalization might be not. Discussion of memory scaling is absent.
  • Authors demonstrate the performance of the model for a TensorNet MLIP. While the selected example is indeed relevant, the work does not consider other widely used potentials, such as MACE, NequIP/Allegro, SevenNet, and AIMNet-like architectures
  • The proof of exact O(N) scaling assumes fixed cutoff, fixed message-passing depth, bounded local density, sparse storage, and a fixed differentiable neighbour graph. These assumptions should be stated explicitly. In deeper MLIPs or high-density systems, the number of colours may remain formally O(1)\mathcal{O}(1) but with a large practical prefactor.
  • While authors discuss how one can approach the cases with MLIPs/DFT that have long-range interactions, that section has much less novelty. Indeed, the proposed method has nothing to do with local graph structure of certain MLIP, that allow for sparsity detection. There are a variety of well-known methods exploiting the idea that distant hessian couplings are small or Hessian thresholding.
  • As far as I understand, in the approximate-cutoff case, coloured recovery with a wrong sparsity pattern is not equivalent to simply truncating the Hessian. Long-range omitted entries can alias into recovered near-field entries through the compressed HVPs. Discussion of the associated errors in missing in the manuscript.
Questions
  • Why do the authors claim in the title and abstract that they propose a way to compute Hessians for MLIPs at O(N)\mathcal{O}(N) cost? Their method is only applicable to the certain class of MLIPs, that have fixed-cutoff, fixed-depth, local, energy-conserving MLIP, bounded local density, sparse Hessian storage, and a fixed differentiable neighbour graph during the Hessian evaluation. The local nature of interactions is often considered one of the main weaknesses of such MLIPs, and in that sense the authors to some extend just exploit such shortcoming.
  • The paper starts with “The Hessian is a basic ingredient in atomistic modelling, entering, for example, vibrational analysis, normal-mode calculations, transition-state characterization, and second-order geometry optimization”. But how do those “ingridients” scale with the system size, provided that the sparse hessian is avaliable. Hessians is only a part of the pipeline. Which of those methods could benefit the most?
  • Why have authors chosen TensorNet among other MLIPs? How would the results changes for other most common MLIPs such as MACE?
  • Which prior work was done on approximate cutoff? Which part exactly is novel here?
Limitations

yes

Final justification

I thank the authors for a thorough and specific rebuttal. Several of my concerns were resolved, and I have raised Significance from 2 to 3 accordingly; I maintain my overall rating of 4 due to the limitations of the proposed approach.

Resolved.

  • The authors agreed to retitle the paper to "Exact Molecular Hessians from local MLIPs in O(N) time".
  • Scaling of the downstream pipeline. My concern that the Hessian is only one stage of a workflow whose later stages may not be O(N) was answered with numbers. For a 9k×9k Hessian (3k-atom water cluster), dense diagonalization takes ~2 s and a linear solve <0.01 s, against 660 s for the naive Hessian and 90 s for the sparse one.
  • Novelty and positioning. The authors distinguished their approach concretely from three prior approximate-Hessian methods and scoped their claim to being the first to combine sparse AD with closed-form MLIP sparsity and cutoffs. That addresses my question about which part of the approximate-cutoff section is new.
  • New MACE-OFF23 measurements show the method transfers as expected, with the sparse-AD overhead falling from 26% to 0.8% and the speedup rising from ~13× to ~18×.

Unresolved:

  • No downstream application is demonstrated. Both the AC and Reviewer ByPa asked for a worked example showing what becomes possible once the Hessian is cheap and this was declined as out of scope, with the literature cited in its place.
  • The method is bound to local MLIPs, and locality is itself a recognized limitation of that model class. The workaround offered for that case, the approximate-cutoff variant, is the least novel part of the contribution and the least characterized.
Formatting concerns

N/A

3 comments
Authors · CommentOpenReview ↗

We thank the reviewer for the constructive feedback!

As far as I understand, the approximate-cutoff case is not equivalent to simply truncating the Hessian.

Correct, there is aliasing, although it is small: If we measure the mean and max error of the Hessian elements inside the cutoff radius at a cutoff of 14 Å we get:

Method Mean Error Max Error
CHGNet 3.4e-8 3.3e-5
PBE 7.4e-7 6.4e-4

We will add these details

Why do the authors claim in the title ...? Their method is only applicable to the certain class of MLIPs, that have fixed-cutoff, fixed-depth, local, energy-conserving MLIP, bounded local density, sparse Hessian storage, and a fixed differentiable neighbour graph during the Hessian evaluation.

We thank you for your feedback. We will change the title to "Colour me shocked: Exact Molecular Hessians from local MLIPs in O(N) time using sparse differentiation!". The abstract already mentions "local".

Most of these assumptions, like fixed-cutoff, fixed-depth, and locality, are standard across the most widely used MLIPs. We also stated and discussed them explicitly in the paper.

Sparse storage is not an additional assumption on the MLIP, but the natural output representation of the sparse Hessian. Finally, the neighbour graph being differentiable at the geometry where the Hessian is evaluated is required for any well-defined Hessian.

The local nature of interactions is often considered one of the main weaknesses of such MLIPs

The Hessian of local models has been shown to give reasonable accuracy in various settings, for example:

Similarly for classical force fields, https://pmc.ncbi.nlm.nih.gov/articles/PMC2530920/ found that sparsifying the Hessian with cutoffs of 10 Å leads to reasonable results in real scientific use cases. But we agree that there is a degree of approximation error we pay in exchange for scalability.

But how do those “ingridients” scale with the system size

The most noteworthy other operations are diagonalization and linear solves. For Hessians of size 9k x 9k (the size of the 3k atom water cluster), dense diagonalization takes 2 seconds, and a linear solve less than 0.01s on our machine, vs 660s for naively and 90s for sparsely calculating the Hessian. Thus, despite the formal scaling, the Hessian calculation is clearly the bottleneck. At O(N3)O(N^3) for diagonalization vs O(N2)O(N^2) scaling for naive Hessians, crossover is at system sizes of one to ten million atoms, even later when a heavier MLIP such as MACE is used. For systems of this size we would usually switch to sparse methods such as CG and Lanzcos that need kk applications of HVPs. The analysis is more complicated here though as kk depends entirely on the conditioning number, requested tolerance and number of requested eigenmodes.

Why have authors chosen TensorNet among other MLIPs? How would the results change for ... MACE?

The method is orthogonal, and the complexity improvement is the same. The onset of the linear scaling regime depends only on the receptive field and density of the system. Other popular MLIPs like MACE are slower given the same receptive field due to the higher-order tensor products and other complex operations. Therefore, the coloring overhead matters less and the relative speedup is larger. We tested this on the MACE-OFF23 foundation model, which has the same 10 Å cutoff as the TensorNet model we used and therefore gives the exact same number of HVP savings. Each HVP for MACE is 38x more expensive than TensorNet (48ms vs 1852ms on the C300 Alkane chain). Reconstruction and coloring took about 2.5s for C300. This means that the overhead for sparse AD goes from 26% for TensorNet to 0.8% for MACE, and the relative speedup goes from about 13x to 18x between naive and sparse.

We will add MACE as an extra example in the paper.

Authors · CommentOpenReview ↗

Which prior work was done on approximate cutoff? Novelty?

We are discussing literature to previous approximate approaches in line 33. The most recent parallel work that employs cutoffs is https://pubs.acs.org/jpcafh/article/128/15/3024/166763/Efficient-Method-for-Numerical-Calculations-of However, their method works fundamentally differently: They fit local parabolas to all retained Hessian elements (picked by a cutoff). This leads to O(N2)O(N^2) scaling if applied to an MLIP since there are O(N)O(N) retained elements and each energy evaluation costs O(N)O(N).

An older use of cutoffs for Hessians appears here: https://pmc.ncbi.nlm.nih.gov/articles/PMC2530920/ However, they only use the cutoff to sparsify the Hessian, reducing memory but not compute.

Another recent approximate Hessian paper is https://pmc.ncbi.nlm.nih.gov/articles/PMC4827532/ Their method does not use spatial cutoffs and requires an accurate, well-aligned proxy Hessian, which may not be available for already inexpensive MLIPs and does not preserve our linear-scaling guarantee either.

The novelty is that we are the first that combine sparse AD with cutoffs and are therefore the first to enable linear scaling MLIP Hessians.

We will add these details to the paper to clearer show the distinction

Reviewer AnnL · CommentOpenReview ↗

I thank the authors for additional discussion. My concerns have been partially resolved. However, due to the limitations of the proposed method, i remain my score.

Reviewer eiFZOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
4/4
Clarity
4/4
Significance
4/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes a method to compute exact Hessians of MLIPs at O(N) cost. The authors show that for local message passing MLIPs, the sparsity pattern of the Hessian can be derived in closed form from the model's receptive field (max hops in the message passing). In the existing methods, the sparsity detection pass was expensive. Based on the pattern, they used standard graph coloring and compute Hessian vector products for each color group, which makes the number of HVPs independent of system size, resulting in O(N) total cost. They demonstrate linear scaling for multiple chemical systems.

Strengths and weaknesses

Strengths:

  • Smart idea deriving the exact sparsity pattern from the message passing structure, that sidesteps the sparsity detection bottleneck.
  • Clear demonstration of cost reduction, which will only become better as the system size grow.
  • Error vs cutoff curves on DFT vs. MLIP could be used as a diagnostic tool for how much longer range coupling DFT Hessians carry relative to MLIPs.

Weaknesses:

  • I did not find any critical weakness.
Questions
  • Are MLIP Hessians physically reliable enough for the downstream applications like transition state search? I understand this is largely inherited from the underlying model and may be out of scope. But I've seen some recent work on Hessian-supervised MLIP training that is partly motivated by MLIPs having unreliable curvature, so I was wondering what is the current state. It would be useful for the readers if there's a comment on this.

  • Is a similar magnitude of speedup expected for other architectures like higher body order and equivariant models? My understanding is that these are orthogonal to the presented method and the method can be applied straighforwardly, but I am curious if there's additional implications on the speed.

Limitations

Yes.

Final justification

The questions are sufficiently answered and I do not have additional concerns regarding the paper. Thus I maintain the accept rating.

Formatting concerns

No concerns.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the warm feedback!

Are MLIP Hessians physically reliable enough for the downstream applications? I understand this is largely inherited from the underlying model

Correct, since the method calculates exact Hessians, the usefulness depends just on how well the model is trained. There are several studies assessing the usefulness of off-the-shelf MLIP Hessians, for example:

Our internal tests show similar results for OMol25 trained MLIPs: Off-the-shelf models seem to perform quite well. However, as you mentioned, supervision on Hessians can further significantly improve performance (https://arxiv.org/abs/2503.07839, https://arxiv.org/abs/2505.12447, https://arxiv.org/abs/2601.07742). Our expectation is that more Hessian labels will be generated in the future to fine-tune MLIPs on.

Is a similar magnitude of speedup expected for other architectures like higher body order and equivariant models? My understanding is that these are orthogonal to the presented method and the method can be applied straighforwardly, but I am curious if there's additional implications on the speed.

Yes, the method is orthogonal and the complexity improvement is the same. The onset of the linear scaling regime depends only on the receptive field and density of the system. Other popular MLIPs like MACE are slower given the same receptive field due to the higher order tensorproducts and other complex operations. Therefore the coloring overhead matters less and the the relative speedup is larger. We tested this on the MACE-OFF23 (medium) model which has the same 10 Å cutoff as the TensorNet model we used and therefore gives the exact same number of HVP savings. Each HVP for MACE is 38x more expensive than TensorNet (48ms vs 1852ms on the C300 Alkane chain). Reconstruction and coloring took about 2.5s for C300. This means that the overhead for sparse AD goes from 26% for TensorNet to 0.8% for MACE and the relative speedup goes from about 13x to 18x between naive and sparse.

Reviewer eiFZ · CommentOpenReview ↗

Thank you for the detailed response! I maintain the accept rating.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…