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

Evan Dramko, Yizhi Zhu, Geoffroy Hautier, Anastasios Kyrillidis, Chris Jermaine, Thomas Reps, Aleksandar Krivokapic

TL;DR

This paper introduces a novel method for fine-tuning machine learning interatomic potentials (MLIPs) by treating the entire structural relaxation process as a single, differentiable neural network. By using backpropagation through time (BPTT) to optimize the final relaxed structure directly, they achieve significant improvements in accuracy and robustness, even with limited data.

What Problem Does This Paper Address?

Accurately predicting the stable atomic structure of materials is crucial for materials design. Traditional methods rely on computationally expensive first-principles calculations (like DFT) to find these stable structures, which can take hours or days. Machine learning interatomic potentials (MLIPs) offer a faster alternative by learning to predict atomic forces and energies. However, current MLIP training often focuses on accurately predicting forces at each step, which doesn't always translate to the best final relaxed structure, especially given the limited and expensive nature of materials data. This paper tackles the challenge of extracting more value from existing data by optimizing the outcome of the relaxation process itself, rather than just the intermediate steps.

Methods

The core innovation is a fully-differentiable, end-to-end simulation loop for structural relaxation. Instead of training an MLIP on individual structure-force pairs, the authors "unroll" the entire relaxation trajectory. This means the sequence of atomic structure updates, driven by the MLIP's force predictions, is treated as a single, large neural network.

Key techniques include:

  • Backpropagation Through Time (BPTT): This standard recurrent neural network technique is adapted to track gradients through the entire unrolled relaxation trajectory. This allows the model to learn from the quality of the final relaxed structure, not just the accuracy of forces at each step.
  • Trajectory-Level Training: The objective function is the mass-weighted displacement (Delta Q) between the predicted final structure and the true relaxed structure, directly optimizing for structural accuracy.
  • PES-Level Step-Size Control: The authors explore making the step size of the atomic coordinate updates (the "PES-level step size") a learnable parameter, either as a single scalar or a small neural network. This allows the model to adapt its relaxation dynamics.

Datasets

The paper validates its approach on three types of datasets:

  • Silicon Crystal Defects: Focuses on controlled disruptions of silicon lattices (substitutional, interstitial, and vacancy defects).
  • Pure Crystals: Datasets of periodic crystal structures.
  • Catalysts: Datasets related to catalytic processes.

The authors utilize existing datasets curated from sources like CHGNet and the Open Catalyst Project, rather than introducing new benchmarks.

Key Insights and Ideas

  • Optimizing the Outcome, Not Just the Steps: The most significant insight is that directly optimizing for the final relaxed structure via BPTT yields better results than traditional force-matching, even if it means slightly sacrificing per-step force accuracy.
  • BPTT Learns Structural Biases: The method doesn't necessarily improve the physical fidelity of force predictions but rather learns a higher-level "structural bias" that guides the relaxation towards correct metastable states.
  • Robustness to Hyperparameters: The BPTT fine-tuning process is surprisingly robust to variations in relaxation setup, including hyperparameter choices for step size and trajectory length.
  • MLIP Modification is Key: Improvements are primarily driven by modifying the MLIP itself, rather than just learning optimal PES-level descent parameters.
  • Effective Fine-Tuning Strategy: BPTT is presented as a powerful fine-tuning strategy for pretrained MLIPs, rather than a standalone method for training from scratch.

Key Results

  • Significant Reduction in Prediction Error: The proposed BPTT fine-tuning method consistently improved performance across evaluated models, achieving an average of 32% reduction in prediction error (Delta Q).
  • Improved Final Structures: For silicon defects, BPTT-tuned ADAPT achieved an average Delta Q of 2.73, a substantial improvement over ADAPT with FIRE (6.73) and ADAPT with a tuned step size (5.32).
  • Generalizability: The approach showed benefits across different datasets (defects, crystals, catalysts) and MLIP architectures (ADAPT, ResMLP).
  • Efficiency: While BPTT adds training overhead, it can lead to fewer expensive DFT evaluations in practice by producing more accurate relaxed structures.
  • Robustness: The method demonstrated negligible performance differences across varied hyperparameter and procedural modifications, highlighting its stability.

Limitations and Future Work

  • Not Universally Valid MLIPs: BPTT-tuned models are not intended to be universally valid MLIPs. They are optimized for specific datasets and tasks, and their performance might degrade on out-of-distribution data.
  • Computational Overhead: BPTT fine-tuning adds computational cost to the training process.
  • Graph Architectures and Non-Differentiability: For graph-based MLIPs, the non-differentiable nature of cutoff radii can pose challenges for direct BPTT implementation.
  • Future Work: The authors suggest treating BPTT as a final stage in a staged training pipeline: pretrained MLIP -> supervised structure-force training -> BPTT fine-tuning. They also note that further exploration of optimization controls and their interaction with BPTT could be beneficial.

Summary updated

BibTeX
@misc{dramko2025finetuning,
  author = {Evan Dramko and Yizhi Zhu and Geoffroy Hautier and Anastasios Kyrillidis and Chris Jermaine and Thomas Reps and Aleksandar Krivokapic},
  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