{"id":207085,"date":"2025-02-23T23:08:04","date_gmt":"2025-02-24T05:08:04","guid":{"rendered":"https:\/\/lifeboat.com\/blog\/2025\/02\/online-test-time-adaptation-for-better-generalization-of-interatomic-potentials-to-out-of-distribution-data"},"modified":"2025-02-23T23:08:04","modified_gmt":"2025-02-24T05:08:04","slug":"online-test-time-adaptation-for-better-generalization-of-interatomic-potentials-to-out-of-distribution-data","status":"publish","type":"post","link":"https:\/\/lifeboat.com\/blog\/2025\/02\/online-test-time-adaptation-for-better-generalization-of-interatomic-potentials-to-out-of-distribution-data","title":{"rendered":"Online test-time adaptation for better generalization of interatomic potentials to out-of-distribution data"},"content":{"rendered":"<p><a class=\"aligncenter blog-photo\" href=\"https:\/\/lifeboat.com\/blog.images\/online-test-time-adaptation-for-better-generalization-of-interatomic-potentials-to-out-of-distribution-data2.jpg\"><\/a><\/p>\n<p>Molecular Dynamics (MD) simulation serves as a crucial technique across various disciplines including biology, chemistry, and material science<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Hospital, A., Go\u00f1i, J. R., Orozco, M. & Gelp\u00ed, J. L. Molecular dynamics simulations: advances and applications. Adv. Appl. Bioinform. Chem. 8, 37&ndash;47 (2015).\" href=\"https:\/\/www.nature.com\/articles\/s41467-025-57101-4#ref-CR1\" id=\"ref-link-section-d310143724e441\">1<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Senftle, T. P. et al. The reaxff reactive force-field: development, applications and future directions. npj Computational Mater. 2, 1&ndash;14 (2016).\" href=\"https:\/\/www.nature.com\/articles\/s41467-025-57101-4#ref-CR2\" id=\"ref-link-section-d310143724e441_1\">2<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Karplus, M. & Petsko, G. A. Molecular dynamics simulations in biology. Nature 347631&ndash;639 (1990).\" href=\"https:\/\/www.nature.com\/articles\/s41467-025-57101-4#ref-CR3\" id=\"ref-link-section-d310143724e441_2\">3<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 4\" title=\"Yao, N., Chen, X., Fu, Z.-H. & Zhang, Q. Applying classical, Ab Initio, and machine-learning molecular dynamics simulations to the liquid electrolyte for rechargeable batteries 122, 10970&ndash;11021 (2022).\" href=\"https:\/\/www.nature.com\/articles\/s41467-025-57101-4#ref-CR4\" id=\"ref-link-section-d310143724e444\">4<\/a><\/sup>. MD simulations are typically based on interatomic potential functions that characterize the potential energy surface of the system, with atomic forces derived as the negative gradients of the potential energies. Subsequently, Newton\u2019s laws of motion are applied to simulate the dynamic trajectories of the atoms. In ab initio MD simulations<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 5\" title=\"Car, R. & Parrinello, M. Unified approach for molecular dynamics and density-functional theory. Phys. Rev. Lett. 55, 2471 (1985).\" href=\"https:\/\/www.nature.com\/articles\/s41467-025-57101-4#ref-CR5\" id=\"ref-link-section-d310143724e448\">5<\/a><\/sup>, the energies and forces are accurately determined by solving the equations in quantum mechanics. However, the computational demands of ab initio MD limit its practicality in many scenarios. By learning from ab initio calculations, machine learning interatomic potentials (MLIPs) have been developed to achieve much more efficient MD simulations with ab initio-level accuracy<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Butler, K. T., Davies, D. W., Cartwright, H., Isayev, O. & Walsh, A. Machine learning for molecular and materials science 559547&ndash;555 (2018).\" href=\"https:\/\/www.nature.com\/articles\/s41467-025-57101-4#ref-CR6\" id=\"ref-link-section-d310143724e452\">6<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"No\u00e9, F., Tkatchenko, A., M\u00fcller, K.-R. & Clementi, C. Machine learning for molecular simulation 71361&ndash;390 (2020).\" href=\"https:\/\/www.nature.com\/articles\/s41467-025-57101-4#ref-CR7\" id=\"ref-link-section-d310143724e452_1\">7<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 8\" title=\"Unke, O. T. et al. Machine learning force fields 121, 10142&ndash;10186 (2021).\" href=\"https:\/\/www.nature.com\/articles\/s41467-025-57101-4#ref-CR8\" id=\"ref-link-section-d310143724e455\">8<\/a><\/sup>.<\/p>\n<p>Despite their successes, the crucial challenge of implementing MLIPs is the distribution shift between training and test data. When using MLIPs for MD simulations, the data for inference are atomic structures that are continuously generated during simulations based on the predicted forces, and the training set should encompass a wide range of atomic structures to guarantee the accuracy of predictions. However, in fields such as phaseion<sup>9,10<\/sup>, catalysis<sup>11,12<\/sup>, and crystal growth<sup>13,14<\/sup>, the configurational space that needs to be explored is highly complex. This complexity makes it challenging to sample sufficient data for training and easy to make a potential that is not smooth enough to extrapolate to every relevant point. Consequently, a distribution shift between training and test datasets often occurs, which causes the degradation of test performance and leads to the emergence of unrealistic atomic structures, and finally the MD simulations collapse<sup>15<\/sup>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Molecular Dynamics (MD) simulation serves as a crucial technique across various disciplines including biology, chemistry, and material science1,2,3,4. MD simulations are typically based on interatomic potential functions that characterize the potential energy surface of the system, with atomic forces derived as the negative gradients of the potential energies. Subsequently, Newton\u2019s laws of motion are applied [\u2026]<\/p>\n","protected":false},"author":661,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,19,41,48,1617,6,8],"tags":[],"class_list":["post-207085","post","type-post","status-publish","format-standard","hentry","category-biological","category-chemistry","category-information-science","category-particle-physics","category-quantum-physics","category-robotics-ai","category-space"],"_links":{"self":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/posts\/207085","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/users\/661"}],"replies":[{"embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/comments?post=207085"}],"version-history":[{"count":0,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/posts\/207085\/revisions"}],"wp:attachment":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/media?parent=207085"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/categories?post=207085"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/tags?post=207085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}