arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.03523cond-mat.mtrl-sci
收藏

KLIFF:一个用于开发基于物理和机器学习原子间势的框架

KLIFF: A framework to develop physics-based and machine learning interatomic potentials

Mingjian Wen, Yaser Afshar, Ryan S. Elliott, Ellad B. Tadmor

AI总结:

本文提出 KLIFF 框架,通过模块化设计统一支持基于物理和机器学习的原子间势开发,并与 KIM API 及主流模拟软件兼容,实现从训练到部署的高效灵活流程。

摘要:

原子间势(IPs)是用于根据原子在空间中的位置和种类计算原子系统势能的降阶模型。IPs 将原子视为经典粒子,不显式建模电子,因此其计算成本远低于第一性原理方法,从而能够在更长时间尺度上对显著更大的体系进行分子模拟。开发一个 IP 是一个复杂的迭代过程,涉及多个步骤:组装训练集、设计函数形式、优化函数参数、测试模型质量以及部署到分子模拟软件包。本文介绍了基于 KIM 的学习集成拟合框架(KLIFF),这是一个促进整个 IP 开发流程的软件包。KLIFF 同时支持基于物理和机器学习的 IPs。它采用模块化方法,使拟合过程中的各种组件(如原子环境描述符、函数形式、损失函数、优化器、质量分析器等)能够彼此无缝协作。这为快速设计新的 IP 形式提供了一个灵活的框架。训练好的 IPs 与原子间模型知识库(KIM)应用程序编程接口(API)兼容,并且可以直接用于与 KIM 兼容的主要材料模拟软件包,包括 ASE、DL_POLY、GULP、LAMMPS 和 QC。KLIFF 使用 Python 编写,计算密集型组件以 C++ 实现。它在数据层面进行并行化,同时支持共享内存多核台式机和高性能分布式内存计算集群。我们通过为硅拟合一个基于物理的 Stillinger--Weber 势和一个机器学习神经网络势来演示 KLIFF 的使用。KLIFF 软件包及其文档可在以下地址公开获取:https://github.com/openkim/kliff。

英文摘要:

Interatomic potentials (IPs) are reduced-order models for calculating the potential energy of a system of atoms given their positions in space and species. IPs treat atoms as classical particles without explicitly modeling electrons and thus are computationally far less expensive than first-principles methods, enabling molecular simulations of significantly larger systems over longer times. Developing an IP is a complex iterative process involving multiple steps: assembling a training set, designing a functional form, optimizing the function parameters, testing model quality, and deployment to molecular simulation packages. This paper introduces the KIM-based learning-integrated fitting framework (KLIFF), a package that facilitates the entire IP development process. KLIFF supports both physics-based and machine learning IPs. It adopts a modular approach whereby various components in the fitting process, such as atomic environment descriptors, functional forms, loss functions, optimizers, quality analyzers, and so on, work seamlessly with each other. This provides a flexible framework for the rapid design of new IP forms. Trained IPs are compatible with the Knowledgebase of Interatomic Models (KIM) application programming interface (API) and can be readily used in major materials simulation packages compatible with KIM, including ASE, DL_POLY, GULP, LAMMPS, and QC. KLIFF is written in Python with computationally intensive components implemented in C++. It is parallelized over data and supports both shared-memory multicore desktop machines and high-performance distributed memory computing clusters. We demonstrate the use of KLIFF by fitting a physics-based Stillinger--Weber potential and a machine learning neural network potential for silicon. The KLIFF package, together with its documentation, is publicly available at: https://github.com/openkim/kliff.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑