On The Finetuning of MLIPs Through the Lens of Iterated Maps With BPTT

Evan Dramko, Yizhi Zhu, Aleksandar Krivokapic, Geoffroy Hautier, Thomas Reps, Christopher Jermaine, Anastasios Kyrillidis · DOI

Introduction

In computational materials science, structural relaxation—the process of finding the stable, lowest-energy arrangement of atoms—is a fundamental task. While quantum mechanical methods like Density Formula Theory (DFT) provide high accuracy, they are computationally prohibitive for large-scale systems. Machine learning interatomic potentials (MLIPs) have emerged as a faster alternative, approximating DFT forces to guide atomic movement.

However, a significant challenge remains: standard MLIPs are typically trained on individual snapshots of atomic structures. Because structural relaxation requires hundreds of iterative steps, tiny force prediction errors accumulate over time, leading to "compounding errors" that steer the atomic structure away from the true physical minimum. This paper introduces a fine-tuning method that treats the relaxation process as an iterative map, using Backpropagation Through Time (BPTT) to optimize the final relaxed structure directly.

Methodology: Trajectory Unrolling and BPTT

The core innovation lies in coupling structural relaxation (moving atoms) with MLIP training (updating model weights) in a fully differentiable, end-to-end simulation loop.

  1. Trajectory Unrolling: Instead of isolated structure-force pairs, the model simulates a full relaxation trajectory. It predicts forces, updates atomic coordinates based on a step on the potential energy surface (PES), and repeats this process for a fixed number of steps.
  2. BPTT Fine-Tuning: The loss function is calculated only at the end of the unrolled trajectory. It compares the predicted final structure to the ground-truth relaxed structure using a mass-weighted displacement metric ($\Delta Q$). Gradients are then backpropagated through the entire sequence of steps to update the MLIP's weights.
Comparison of (a) traditional training on individual frames versus (b) the proposed BPTT fine-tuning scope which unrolls the trajectory.

This approach allows the model to learn how to reach the correct destination, even if the intermediate path deviates from the exact physical trajectory.

Experimental Setup and Datasets

The authors evaluated the BPTT fine-tuning method across three distinct structural domains to ensure generalizability:

  • Silicon Crystal Defects: Point defects (substitutions, vacancies) in silicon lattices, where identifying local minima is highly sensitive.
  • Pure Crystals (CHGNet Subset): Periodic lattices of varying chemistries and sizes from the Materials Project.
  • Catalysts (OC20): Data from the Open Catalyst Project, specifically focusing on the is2res (initial structure to relaxed energy/structure) task.

Key Results and Insights

The BPTT fine-tuning method achieved an average 32% reduction in prediction error ($\Delta Q$) across all evaluated models and datasets. In the silicon defects task, error reductions reached as high as 48%, while pure crystal tasks saw improvements of up to 58%.

The Proxy Map Phenomenon

Interestingly, the authors observed that BPTT fine-tuning often degrades the model's ability to predict exact DFT forces. For example, in one test, force error increased from 4.32 to 13.36, yet the final structure prediction significantly improved. This suggests the model learns a "proxy map"—a simplified dynamic that reliably funnels structures toward the correct final destination rather than perfectly mimicking the complex physical path.

Robustness to Hyperparameters

The method proved remarkably resilient to the initialization of the Potential Energy Surface (PES) step size. Even when initialized with sub-optimal step sizes, the BPTT process adjusted the MLIP's internal weights to compensate, eventually converging to performance levels comparable to a perfectly grid-searched static step size.

The effect of step size initialization on convergence, demonstrating the robustness of BPTT fine-tuning to sub-optimal starting parameters.

Limitations and Future Outlook

While powerful, the method has specific constraints. It is intended as a final fine-tuning stage for pre-trained MLIPs rather than a replacement for foundational physics training. Additionally, unrolling trajectories is computationally intensive, requiring significant memory during the training phase.

A technical limitation exists for Graph Neural Network (GNN) based MLIPs: as atoms move, they may cross cutoff radii, changing the graph's topology. These discrete changes are non-differentiable, making standard BPTT difficult to apply without further modification. Future work may focus on smoothing these transitions or applying the method to more complex dynamical systems.

Summary updated

BibTeX
@misc{dramko2025finetuning,
  author = {Evan Dramko and Yizhi Zhu and Aleksandar Krivokapic and Geoffroy Hautier and Thomas Reps and Christopher Jermaine and Anastasios Kyrillidis},
  title = {{On The Finetuning of MLIPs Through the Lens of Iterated Maps With BPTT}},
  year = {2025},
  eprint = {2512.01067},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.01067},
}
Figure