INSPIRED: Inelastic neutron scattering prediction for instantaneous results and experimental design

IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Computer Physics Communications Pub Date : 2024-06-25 DOI:10.1016/j.cpc.2024.109288
Bowen Han , Andrei T. Savici , Mingda Li , Yongqiang Cheng
{"title":"INSPIRED: Inelastic neutron scattering prediction for instantaneous results and experimental design","authors":"Bowen Han ,&nbsp;Andrei T. Savici ,&nbsp;Mingda Li ,&nbsp;Yongqiang Cheng","doi":"10.1016/j.cpc.2024.109288","DOIUrl":null,"url":null,"abstract":"<div><p>Inelastic neutron scattering (INS) has unique advantages in probing how atoms vibrate and how the vibrations propagate and interact. Such dynamic information is crucial in understanding various material properties, from heat capacity, thermal conductivity, phase transitions, and chemical reactions to more exotic quantum behavior. The analysis and interpretation of the INS spectra often start from a model structure of the sample, followed by a series of calculations to obtain the simulated spectra to compare with experiments. The conventional way to perform such calculations usually requires significant time, computing resources, and specialized expertise. Here, we present a new program named INSPIRED (Inelastic Neutron Scattering Prediction for Instantaneous Results and Experimental Design), which enables users to perform rapid INS simulations in several different ways on their personal computers in just a few clicks, with the crystal structure as the only input file. Specifically, the users can choose a pre-trained symmetry-aware neural network (coupled with an autoencoder) to predict the phonon density of states (DOS), 1D S(E) and 2D S(<span><math><mo>|</mo><mtext>Q</mtext><mo>|</mo></math></span>,E) spectra for any given structure. One can also choose an existing density functional theory (DFT) calculation from a database (containing over 12,000 crystals), and quickly obtain the simulated INS spectra for single crystals and powders. It is also possible to use pre-trained universal machine learning force fields to relax a given crystal structure, calculate the phonon dispersion and DOS, and, subsequently, the INS spectra. All these functions are implemented with a PyQt graphic user interface. We expect these new tools will benefit broad user communities and significantly improve the efficiency of experiment design, execution, and data analysis for INS.</p></div><div><h3>Program summary</h3><p><em>Program Title:</em> INSPIRED</p><p><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/8g3s8f9n2p.1</span></span><svg><path></path></svg></p><p><em>Developer's repository link:</em> <span><span>https://github.com/cyqjh/inspired</span></span><svg><path></path></svg> (software), <span><span>https://doi.org/10.5281/zenodo.11478889</span></span><svg><path></path></svg> (database, models files, and virtual machine appliance file)</p><p><em>Licensing provisions:</em> MIT</p><p><em>Programming language:</em> Python</p><p><em>Nature of problem:</em> How to easily and quickly assess the expected INS spectra for a given crystal structure has been a major challenge in the INS user community. It is a main bottleneck affecting almost every stage of the workflow, from experimental design and steering to data analysis and interpretation. The widely used approach involving DFT calculations is time-consuming, requires advanced computing resources, and has a steep learning curve. With the growing power of neutron sources and more high-throughput INS experiments, there is a pressing need to address this problem, preferably by taking advantage of the recent developments in machine learning and artificial intelligence.</p><p><em>Solution method:</em> We take a data-driven approach to tackle the problem. A symmetry-aware neural network is trained to make direct predictions from the crystal structure to either 1D spectra or latent space vectors, which can be decoded to reconstruct 2D spectra. The database used for the training contains over ten thousand crystals, which can also be used to calculate INS spectra for single crystals and powders. The recently emerging universal machine learning force fields provide another venue to accelerate the simulation significantly. All these solutions are implemented in a graphic user interface so that a user with no modeling/programming background or access to powerful computers can still easily run the workflow.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2000,"publicationDate":"2024-06-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S001046552400211X","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

Inelastic neutron scattering (INS) has unique advantages in probing how atoms vibrate and how the vibrations propagate and interact. Such dynamic information is crucial in understanding various material properties, from heat capacity, thermal conductivity, phase transitions, and chemical reactions to more exotic quantum behavior. The analysis and interpretation of the INS spectra often start from a model structure of the sample, followed by a series of calculations to obtain the simulated spectra to compare with experiments. The conventional way to perform such calculations usually requires significant time, computing resources, and specialized expertise. Here, we present a new program named INSPIRED (Inelastic Neutron Scattering Prediction for Instantaneous Results and Experimental Design), which enables users to perform rapid INS simulations in several different ways on their personal computers in just a few clicks, with the crystal structure as the only input file. Specifically, the users can choose a pre-trained symmetry-aware neural network (coupled with an autoencoder) to predict the phonon density of states (DOS), 1D S(E) and 2D S(|Q|,E) spectra for any given structure. One can also choose an existing density functional theory (DFT) calculation from a database (containing over 12,000 crystals), and quickly obtain the simulated INS spectra for single crystals and powders. It is also possible to use pre-trained universal machine learning force fields to relax a given crystal structure, calculate the phonon dispersion and DOS, and, subsequently, the INS spectra. All these functions are implemented with a PyQt graphic user interface. We expect these new tools will benefit broad user communities and significantly improve the efficiency of experiment design, execution, and data analysis for INS.

Program summary

Program Title: INSPIRED

CPC Library link to program files: https://doi.org/10.17632/8g3s8f9n2p.1

Developer's repository link: https://github.com/cyqjh/inspired (software), https://doi.org/10.5281/zenodo.11478889 (database, models files, and virtual machine appliance file)

Licensing provisions: MIT

Programming language: Python

Nature of problem: How to easily and quickly assess the expected INS spectra for a given crystal structure has been a major challenge in the INS user community. It is a main bottleneck affecting almost every stage of the workflow, from experimental design and steering to data analysis and interpretation. The widely used approach involving DFT calculations is time-consuming, requires advanced computing resources, and has a steep learning curve. With the growing power of neutron sources and more high-throughput INS experiments, there is a pressing need to address this problem, preferably by taking advantage of the recent developments in machine learning and artificial intelligence.

Solution method: We take a data-driven approach to tackle the problem. A symmetry-aware neural network is trained to make direct predictions from the crystal structure to either 1D spectra or latent space vectors, which can be decoded to reconstruct 2D spectra. The database used for the training contains over ten thousand crystals, which can also be used to calculate INS spectra for single crystals and powders. The recently emerging universal machine learning force fields provide another venue to accelerate the simulation significantly. All these solutions are implemented in a graphic user interface so that a user with no modeling/programming background or access to powerful computers can still easily run the workflow.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
灵感:非弹性中子散射预测瞬时结果和实验设计
非弹性中子散射(INS)在探测原子如何振动以及振动如何传播和相互作用方面具有独特的优势。这些动态信息对于了解各种材料特性至关重要,从热容量、热导率、相变、化学反应到更奇特的量子行为。对 INS 图谱的分析和解释通常从样品的模型结构开始,然后通过一系列计算获得模拟图谱,并与实验结果进行比较。进行此类计算的传统方法通常需要大量时间、计算资源和专业知识。在此,我们介绍一种名为 INSPIRED(非弹道中子散射瞬时结果和实验设计预测)的新程序,用户只需点击几下,就能在个人电脑上以几种不同的方式快速进行 INS 模拟,而晶体结构则是唯一的输入文件。具体来说,用户可以选择预先训练好的对称性感知神经网络(与自动编码器相结合)来预测任何给定结构的声子态密度(DOS)、一维 S(E) 和二维 S(|Q|,E) 光谱。还可以从数据库(包含 12,000 多种晶体)中选择现有的密度泛函理论(DFT)计算,快速获得单晶体和粉末的模拟 INS 光谱。还可以使用预先训练好的通用机器学习力场来松弛给定的晶体结构,计算声子色散和 DOS,进而计算 INS 光谱。所有这些功能都是通过 PyQt 图形用户界面实现的。我们希望这些新工具能惠及广大用户群体,并显著提高 INS 实验设计、执行和数据分析的效率:INSPIREDCPC 库与程序文件的链接:https://doi.org/10.17632/8g3s8f9n2p.1Developer's repository 链接:https://github.com/cyqjh/inspired(软件)、https://doi.org/10.5281/zenodo.11478889(数据库、模型文件和虚拟机设备文件)许可条款:MIT 编程语言:Python问题性质:如何方便快捷地评估给定晶体结构的预期 INS 光谱一直是 INS 用户社区面临的主要挑战。从实验设计和指导到数据分析和解释,它几乎是影响工作流程每个阶段的主要瓶颈。广泛使用的 DFT 计算方法耗时长,需要先进的计算资源,而且学习曲线陡峭。随着中子源和更多高通量 INS 实验的日益强大,迫切需要解决这一问题,最好是利用机器学习和人工智能的最新发展:我们采用数据驱动的方法来解决这个问题。我们训练了一个对称感知神经网络,从晶体结构直接预测一维光谱或潜在空间向量,然后解码重建二维光谱。用于训练的数据库包含一万多个晶体,也可用于计算单晶体和粉末的 INS 光谱。最近出现的通用机器学习力场为大幅加速模拟提供了另一个途径。所有这些解决方案都是通过图形用户界面实现的,因此没有建模/编程背景或无法使用强大计算机的用户也能轻松运行工作流程。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Computer Physics Communications
Computer Physics Communications 物理-计算机:跨学科应用
CiteScore
12.10
自引率
3.20%
发文量
287
审稿时长
5.3 months
期刊介绍: The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper. Computer Programs in Physics (CPiP) These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged. Computational Physics Papers (CP) These are research papers in, but are not limited to, the following themes across computational physics and related disciplines. mathematical and numerical methods and algorithms; computational models including those associated with the design, control and analysis of experiments; and algebraic computation. Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.
期刊最新文献
A novel model for direct numerical simulation of suspension dynamics with arbitrarily shaped convex particles Editorial Board Study α decay and proton emission based on data-driven symbolic regression Efficient determination of free energies of non-ideal solid solutions via hybrid Monte Carlo simulations 1D drift-kinetic numerical model based on semi-implicit particle-in-cell method
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1