- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
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:
- The article considers a real computational problem with sensible techniques.
- The results and the code can be immediately useful for researchers.
- The presentation is clear and detailed.
- The experiments are well-designed; the main questions addressed by the experiments are presented upfront.
- There is a good discussion of limitations, including examples where the method fails.
Weaknesses:
- Applications of Hessian computations are not discussed or leveraged well enough.
- 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
Paper formatting concerns
na
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.
We thank the reviewer for the constructive feedback!
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.
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θS and the reconstruction operation, both are differentiable in our implementation, which we verified numerically. The same reasoning applies to higher input derivatives
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.