A method for simulating dynamic nuclear magnetic resonance spectra based on machine learning

By simulating dynamic NMR spectra using machine learning methods, and using electronic structure calculations and dynamics simulations, the problem of dynamic NMR spectrum analysis is solved, and efficient dynamic NMR spectrum simulations and chemical shift predictions are achieved, which is suitable for dynamic conformation calculations of large systems.

CN114550850BActive Publication Date: 2024-09-13XIAMEN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210108006.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-28
Publication Date
2024-09-13
Estimated Expiration
2042-01-28

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively analyze the local structure and dynamic information in dynamic NMR spectroscopy, especially in fast chemical exchange NMR spectroscopy, which makes it difficult to analyze spectral signals. Moreover, calculation methods based on electronic structure are expensive in computing resources and difficult to be widely used.

Method used

Using machine learning methods, by constructing force and energy data sets for electronic structure calculations, the machine learning potential model is trained, molecular dynamics simulations or Monte Carlo simulations are performed, partial structures are selected, chemical shift prediction models are trained, and dynamic nuclear magnetic spectra are generated. Descriptors such as deep potential embedded feature space, smooth overlap of atomic positions, and atomic central symmetry functions are used, combined with machine learning methods such as Gaussian processes and deep neural networks.

Benefits of technology

It achieves efficient simulation of dynamic NMR spectra from the atomic level, reduces calculation costs, improves the efficiency of chemical shifts and structure sampling, and the prediction accuracy reaches the level of electronic structure calculation methods. It is suitable for dynamic conformation calculations of large systems, greatly improving Efficiency of dynamic NMR simulations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114550850B
    Figure CN114550850B
Patent Text Reader

Abstract

The present disclosure provides a method for simulating dynamic nuclear magnetic resonance spectra based on machine learning, characterized in that it includes: constructing a data set of forces and energies calculated by electronic structure, training the data set by machine learning methods, and obtaining a machine learning potential model after training; performing molecular dynamics simulation or Monte Carlo simulation by the machine learning potential model to obtain a simulation trajectory, and selecting a partial structure from the simulation trajectory; based on the selected partial structure, training the chemical shift data set calculated by electronic structure by machine learning methods to obtain a chemical shift prediction model; predicting the chemical shift of the simulation trajectory structure obtained by molecular dynamics simulation or Monte Carlo simulation by the chemical shift prediction model; and generating a dynamic nuclear magnetic spectrum based on the chemical shift. The present disclosure also provides a device, an electronic device, and a readable storage medium for simulating dynamic nuclear magnetic resonance spectra based on machine learning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of nuclear magnetic resonance technology, and in particular to a method, device, electronic device and readable storage medium for simulating dynamic nuclear magnetic resonance spectra based on machine learning. Background Art

[0002] The basic principle of Nuclear Magnetic Resonance (NMR) is that the atomic nucleus undergoes Zeeman energy level splitting under the action of a magnetic field. This energy level can resonate and absorb electromagnetic waves in the radio frequency band, and the magnitude of the energy level splitting is proportional to the magnetic field at the atomic nucleus. The atomic nucleus exhibits different chemical shifts in the NMR spectrum due to the different shielding effects of the chemical environment on the external magnetic field. Because chemical shift can be used as a "fingerprint" of the local chemical environment around the observed atomic nucleus, NMR has become a unique characterization technology and has been widely used in physical, chemical, and biological systems.

[0003] However, the mechanism of chemical shift is relatively complex and depends on the type of electronic structure of the system. In a diamagnetic system, all electrons exist in pairs, and the shielding effect of paired electrons on the external magnetic field contributes to the so-called orbital shielding shift; in a paramagnetic system, the presence of unpaired electrons usually dominates the chemical shift, which is divided into Fermi contact shift and pseudo-contact shift according to the mechanism. The complex displacement mechanism makes it difficult to accurately identify the experimentally measured chemical shift peak. Applying ab initio methods based on quantum mechanics or density functional theory methods to calculate the electronic structure of the system on the atomic-scale structural model can directly obtain the chemical shift, and can link the experimentally measured displacement peak with a clear local structure.

[0004] However, the observed atomic nuclei in actual systems often have rapid microscopic dynamic processes, such as the rotation of groups in molecules, conformational conversion, and the transmission of ions in liquid or solid materials. These microscopic dynamic processes have very important and extensive application value. For example, the rapid charging and discharging of electric vehicles requires the rapid transmission of Li ions in the positive electrode, negative electrode, and electrolyte materials. In such systems, the experimentally measured NMR spectral peaks often have the average of multiple local site signals, also known as fast chemical exchange NMR spectra or dynamic NMR spectra, which contain the local structure and dynamic information of the observed nuclei. And because the two are coupled in the dynamic NMR spectrum, the spectroscopic signal is more difficult to analyze.

[0005] Theoretically, the calculation method based on electronic structure can use molecular dynamics structure sampling and calculated chemical shift to simulate dynamic NMR spectra at the same time. However, the computational resources required by this method are expensive and have a cubic relationship with the number of atoms in the system, making it difficult to apply widely. Machine learning methods are becoming a new tool in many fields of chemistry and physics. They can learn the relationship between variables through training on a large amount of data. The local structure of atoms and the forces on atoms, and the local structure of atoms and chemical shift are two pairs of strongly correlated variables. The use of machine learning methods requires the characterization of the local structure of atoms, which is also called a "descriptor". Machine learning methods can greatly reduce the computational cost of chemical shift and structure sampling, and can achieve efficient simulation of dynamic NMR spectra at the atomic level, assisting in the interpretation of experimentally measured spectral signals. Summary of the invention

[0006] In order to solve at least one of the above technical problems, the present disclosure provides a method, device, electronic device and readable storage medium for simulating dynamic nuclear magnetic resonance spectra based on machine learning.

[0007] According to one aspect of the present disclosure, a method for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning is provided, comprising:

[0008] Constructing a data set of forces and energies calculated by electronic structure, training the data set by a machine learning method, and obtaining a machine learning potential model after training;

[0009] Performing molecular dynamics simulation or Monte Carlo simulation through the machine learning potential model to obtain a simulation trajectory, and selecting a partial structure from the simulation trajectory;

[0010] Based on the selected partial structure, a chemical shift data set for electronic structure calculation is trained by a machine learning method to obtain a chemical shift prediction model;

[0011] Predicting the chemical shift of the simulated trajectory structure obtained by the molecular dynamics simulation or Monte Carlo simulation by the chemical shift prediction model;

[0012] A dynamic NMR spectrum is generated based on the chemical shift.

[0013] According to the method for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning of at least one embodiment of the present disclosure, the electronic structure calculation includes an ab initio method based on quantum mechanics or a density functional theory method.

[0014] According to the method for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning of at least one embodiment of the present disclosure, when constructing a data set of forces and energies calculated by electronic structure, the local environment of atoms needs to be characterized, and the descriptors used for the characterization of the local environment of atoms include: an embedded feature space for deep potential, smooth overlap of atomic positions, an atomic central symmetry function, and one of multi-body tensor representations.

[0015] According to the method for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning of at least one embodiment of the present disclosure, the machine learning method used in the training includes: at least one of: Gaussian process, deep neural network, and support vector machine.

[0016] According to the method for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning of at least one embodiment of the present disclosure, it is necessary to fully sample the dynamic processes involved in the dynamic nuclear magnetic resonance spectroscopy during the molecular dynamics simulation or Monte Carlo simulation.

[0017] According to the method for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning of at least one embodiment of the present disclosure, the method of selecting partial structures from the simulation trajectory is an arbitrary selection method.

[0018] According to at least one embodiment of the present disclosure, a method for simulating dynamic nuclear magnetic resonance spectra based on machine learning is provided, wherein a dynamic nuclear magnetic resonance spectrum is generated based on the chemical shift, comprising:

[0019] The dynamic nuclear magnetic spectrum is obtained by time averaging the chemical shift.

[0020] According to another aspect of the present disclosure, there is provided a device for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning, comprising:

[0021] A machine learning potential model acquisition module is used to construct a data set of forces and energies calculated by electronic structure, and to train the data set by a machine learning method to obtain a machine learning potential model after training;

[0022] A structure sampling module, performing molecular dynamics simulation or Monte Carlo simulation through the machine learning potential model to obtain a simulation trajectory, and selecting a part of the structure from the simulation trajectory;

[0023] A chemical shift prediction model generation module, based on the selected partial structure, trains the chemical shift data set for electronic structure calculation by machine learning method to obtain a chemical shift prediction model;

[0024] A chemical shift acquisition module, which predicts the chemical shift of the simulation trajectory structure obtained by the molecular dynamics simulation or Monte Carlo simulation through the chemical shift prediction model;

[0025] A dynamic nuclear magnetic spectrum generation module generates a dynamic nuclear magnetic spectrum based on the chemical shift.

[0026] According to the device for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning of at least one embodiment of the present disclosure, the electronic structure calculation includes an ab initio method based on quantum mechanics or a density functional theory method.

[0027] According to at least one embodiment of the device for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning of the present disclosure, when constructing a data set of forces and energies calculated by electronic structure, it is necessary to characterize the local environment of atoms, and the descriptors used for characterizing the local environment of atoms include: an embedded feature space for deep potential, smooth overlap of atomic positions, an atomic central symmetry function, and one of multi-body tensor representations.

[0028] According to the device for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning in at least one embodiment of the present disclosure, the machine learning method used in the training includes: at least one of Gaussian process, deep neural network, and support vector machine.

[0029] According to the method for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning of at least one embodiment of the present disclosure, it is necessary to fully sample the dynamic processes involved in the dynamic nuclear magnetic resonance spectroscopy during the molecular dynamics simulation or Monte Carlo simulation.

[0030] According to the device for simulating dynamic nuclear magnetic resonance spectra based on machine learning of at least one embodiment of the present disclosure, the method of selecting partial structures from the simulation trajectory is an arbitrary selection method.

[0031] According to at least one embodiment of the present disclosure, a device for simulating dynamic nuclear magnetic resonance spectra based on machine learning generates a dynamic nuclear magnetic resonance spectrum based on the chemical shift, comprising:

[0032] The dynamic nuclear magnetic spectrum is obtained by time averaging the chemical shift.

[0033] According to another aspect of the present disclosure, there is provided an electronic device, comprising:

[0034] A memory storing execution instructions;

[0035] A processor, wherein the processor executes the execution instruction stored in the memory, so that the processor executes any one of the methods described above.

[0036] According to another aspect of the present disclosure, a readable storage medium is provided, wherein the readable storage medium stores execution instructions, and the execution instructions are used to implement any of the above-mentioned methods when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings illustrate exemplary embodiments of the present disclosure and together with the description serve to explain the principles of the present disclosure. These drawings are included to provide a further understanding of the present disclosure and are incorporated in and constitute a part of this specification.

[0038] Figure 1 It is a schematic flow chart of a method for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning according to one embodiment of the present disclosure.

[0039] Figure 2 It is a schematic diagram of a process of simulating dynamic nuclear magnetic resonance spectra using a machine learning method according to one embodiment of the present disclosure.

[0040] Figure 3 is a P2-type Na according to one embodiment of the present disclosure 2 / 3 (Mg 1 / 3 Mn 2 / 3 ) 2 Comparison of machine learning potential functions and DFT predictions of atomic forces and total energy.

[0041] Figure 4 P6 according to one embodiment of the present disclosure 3 / mcm-Na 2 / 3 (Mg 1 / 3 Mn 2 / 3 ) 2 ZhongNa + Distribution plot in the xy plane.

[0042] Figure 5 is a P2-type Na according to one embodiment of the present disclosure 2 / 3 (Mg 1 / 3 Mn 2 / 3 ) 2 Comparison of chemical shifts predicted by machine learning models and DFT.

[0043] Figure 6 P6 according to one embodiment of the present disclosure 3 / mcm-Na 2 / 3 (Mg 1 / 3 Mn 2 / 3 ) 2 middle 23 Distribution of Na chemical shift in the xy plane.

[0044] Figure 7 P6 according to one embodiment of the present disclosure 3 / mcm-Na 2 / 3 (Mg 1 / 3 Mn 2 / 3 ) 2 of 23 Na dynamic NMR spectroscopy.

[0045] Figure 8 It is a schematic diagram of the structure of a device for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning according to one embodiment of the present disclosure.

[0046] Description of Reference Numerals

[0047] 1000 Device for simulating dynamic nuclear magnetic resonance spectra based on machine learning

[0048] 1002 Machine Learning Potential Model Acquisition Module

[0049] 1004 Structural Sampling Module

[0050] 1006 Chemical shift prediction model generation module

[0051] 1008 Chemical Shift Acquisition Module

[0052] 1010 Dynamic NMR spectrum generation module

[0053] 1100 Bus

[0054] 1200 processor

[0055] 1300 Memory

[0056] 1400 Other circuits. DETAILED DESCRIPTION

[0057] The present disclosure is further described in detail below in conjunction with the accompanying drawings and implementations. It is understood that the specific implementations described herein are only used to explain the relevant content, rather than to limit the present disclosure. It should also be noted that, for ease of description, only the parts related to the present disclosure are shown in the accompanying drawings.

[0058] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in the present disclosure can be combined with each other. The technical solution of the present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0059] Unless otherwise specified, the exemplary embodiments / embodiments shown will be understood as providing exemplary features of various details of some ways in which the technical concept of the present disclosure can be implemented in practice. Therefore, unless otherwise specified, the features of the various embodiments / embodiments can be combined, separated, interchanged and / or rearranged without departing from the technical concept of the present disclosure.

[0060] The use of cross-hatching and / or shading in the accompanying drawings is generally used to make the boundaries between adjacent components clear. As such, unless otherwise specified, the presence or absence of cross-hatching or shading does not convey or indicate any preference or requirement for the specific materials, material properties, dimensions, proportions, commonalities between the components shown, and / or any other characteristics, attributes, properties, etc. of the components. In addition, in the accompanying drawings, the sizes and relative sizes of the components may be exaggerated for clarity and / or descriptive purposes. When the exemplary embodiments can be implemented differently, the specific process sequence can be performed in a different order than described. For example, two successively described processes can be performed substantially simultaneously or in an order opposite to the described order. In addition, the same figure numbers represent the same components.

[0061] When a component is referred to as being "on" or "over," "connected to," or "coupled to" another component, the component may be directly on, directly connected to, or directly coupled to the other component, or intervening components may be present. However, when a component is referred to as being "directly on," "directly connected to," or "directly coupled to" another component, there are no intervening components. For this purpose, the term "connected" may refer to a physical connection, an electrical connection, etc., with or without intervening components.

[0062] The terms used herein are for the purpose of describing specific embodiments, and are not intended to be restrictive. As used herein, unless the context clearly indicates otherwise, the singular forms "one (kind, person)" and "said (the)" are also intended to include plural forms. In addition, when the terms "comprise" and / or "include" and their variations are used in this specification, it is explained that there are stated features, integral bodies, steps, operations, parts, assemblies and / or their groups, but it is not excluded that there are or add one or more other features, integral bodies, steps, operations, parts, assemblies and / or their groups. It should also be noted that, as used herein, the terms "substantially", "approximately" and other similar terms are used as approximate terms and not as degree terms, so that they are used to explain the inherent deviations of the measured values, calculated values ​​and / or the values ​​provided that will be recognized by those of ordinary skill in the art.

[0063] Figure 1 It is a flow chart of a method for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning according to one embodiment of the present disclosure. The method S100 for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning includes the following steps.

[0064] In step S102, a data set of forces and energies calculated by electronic structure is constructed, and the data set is trained by machine learning methods, and a machine learning potential model is obtained after training. Electronic structure calculations include ab initio methods based on quantum mechanics or density functional theory methods. When constructing a data set of forces and energies calculated by electronic structure, it is necessary to characterize the atomic local environment. The descriptors used for characterizing the atomic local environment include: embedded feature space (Embedded Feature Space) for deep potential (Deep Potential, DP), smooth overlap of atomic positions (Smooth Overlap of Atomic Positions, SOAP), atomic center symmetry function (Atom-centered Symmetry Functions, ACSF), and many-body tensor representation (Many-body Tensor Representation, MBTR). The machine learning methods used in training include: at least one of Gaussian Process (Gaussian Process, GP), Deep Neural Network (Deep Neural Network, DNN), and Support Vector Machine (Support Vector Machine, SVM). Specifically, the P2 type Na is trained using DPGEN software. 2 / 3 (Mg 1 / 3 Mn 2 / 3 ) 2 The deep potential function (machine learning potential model) of the proposed method has achieved DFT accuracy after 5 rounds of iterations, with a total of 1,297 structures collected in the data set. Figure 3 P2-type Na 2 / 3 (Mg 1 / 3 Mn 2 / 3 ) 2 Comparison of machine learning potential functions and DFT predictions of atomic forces and total energy.

[0065] In step S104, a molecular dynamics simulation or a Monte Carlo simulation is performed using the machine learning potential model obtained in step S102 to obtain a simulation trajectory, and a partial structure is selected from the simulation trajectory. In molecular dynamics simulation or Monte Carlo simulation, the dynamic process involved in the dynamic nuclear magnetic resonance spectrum needs to be fully sampled. The method of selecting a partial structure from the simulation trajectory is an arbitrary selection method. 3 / mcm and P6 3 The 22 supercell model was run with a 200 nanosecond deep potential molecular dynamics simulation to make the distribution of Na ions in the xy plane conform to the periodicity of the supercell. 1000 configurations were extracted at equal time intervals in the molecular dynamics trajectory as partial structures, and the chemical shifts were calculated using density functional theory as the labeled chemical shift data set.

[0066] In step S106, based on the partial structure selected in step S104, the chemical shift data set calculated by electronic structure is trained by machine learning method to obtain a chemical shift prediction model. The machine learning method used in the training includes at least one of Gaussian Process (GP), Deep Neural Network (DNN), and Support Vector Machine (SVM). The chemical shift marked in step S104 is a data set, and SOAP and neural network are used together to train a model for predicting chemical shifts.

[0067] In step S108, the chemical shift prediction model obtained in step S106 is used to predict the chemical shift of the simulated trajectory structure obtained by molecular dynamics simulation or Monte Carlo simulation. The trained chemical shift model (i.e., the chemical shift prediction model in step S106) is used to predict the chemical shifts of 50,000 configurations in the molecular dynamics trajectory in step S104. Figure 4 P6 is shown 3 / mcm-Na 2 / 3 (Mg 1 / 3 Mn 2 / 3 ) 2 ZhongNa + Distribution plot in the xy plane. Figure 6 P6 is shown 3 / mcm-Na 2 / 3 (Mg 1 / 3 Mn 2 / 3 ) 2 middle 23 Distribution of Na chemical shift in the xy plane.

[0068] In step S110, a dynamic NMR spectrum is generated based on the chemical shift obtained in step S108. The dynamic NMR spectrum is obtained by averaging the chemical shift over time. Specifically, the chemical shifts predicted by 50,000 configurations are averaged over different time lengths to simulate the dynamic NMR spectrum. Figure 7 As shown, P6 3 / mcm-Na 2 / 3 (Mg 1 / 3 Mn 2 / 3 ) 2 of 23 Na dynamic NMR spectroscopy.

[0069] Figure 5 P2-type Na 2 / 3 (Mg 1 / 3 Mn 2 / 3 ) 2 Comparison of chemical shifts predicted by machine learning model and DFT. P2-type Na 2 / 3(Mg 1 / 3 Mn 2 / 3 ) 2 middle 23 The RMSE of Na displacement was 125±6ppm, and the correlation coefficient (R 2 ) is 0.96, showing good accuracy of the machine learning model.

[0070] Figure 2 It is a schematic diagram of a process of simulating dynamic nuclear magnetic resonance spectra using a machine learning method according to one embodiment of the present disclosure. Figure 2 In the generation of deep potential models, energies and forces are labeled by DFT methods. In the generation of neural network models for predicting chemical shifts, chemical shifts are labeled by DFT methods.

[0071] Figure 8 1 is a schematic structural diagram of a device 1000 for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning according to an embodiment of the present disclosure, comprising:

[0072] The machine learning potential model acquisition module 1002 constructs a data set of forces and energies calculated by electronic structure, trains the data set by machine learning methods, and obtains a machine learning potential model after training. When constructing a data set of forces and energies calculated by electronic structure, it is necessary to characterize the atomic local environment. The descriptors used for characterizing the atomic local environment include: an embedded feature space (Embedded Feature Space) for deep potential (DP), smooth overlap of atomic positions (Smooth Overlap of Atomic Positions, SOAP), an atomic center symmetry function (Atom-centered Symmetry Functions, ACSF), and a multi-body tensor representation (Many-body Tensor Representation, MBTR). The machine learning methods used in training include at least one of Gaussian Process (Gaussian Process, GP), Deep Neural Network (Deep Neural Network, DNN), and Support Vector Machine (Support Vector Machine, SVM). Specifically, the P2 type Na is trained using DPGEN software. 2 / 3 (Mg 1 / 3 Mn 2 / 3 ) 2 The deep potential function (machine learning potential model) of the proposed method has achieved DFT accuracy after 5 rounds of iterations, with a total of 1,297 structures collected in the data set.

[0073] The structure sampling module 1004 performs molecular dynamics simulation or Monte Carlo simulation through a machine learning potential model to obtain a simulation trajectory, and selects some structures from the simulation trajectory. In molecular dynamics simulation or Monte Carlo simulation, it is necessary to fully sample the dynamic process involved in the dynamic nuclear magnetic resonance spectrum. The method of selecting some structures from the simulation trajectory is an arbitrary selection method. Specifically, for P6 3 / mcm and P6 3 The 22 supercell model was run with a 200 nanosecond deep potential molecular dynamics simulation to make the distribution of Na ions in the xy plane conform to the periodicity of the supercell. 1000 configurations were extracted at equal time intervals in the molecular dynamics trajectory as partial structures, and the chemical shifts were calculated using density functional theory as the labeled chemical shift data set.

[0074] The chemical shift prediction model generation module 1006 trains the chemical shift data set of electronic structure calculation based on the partial structure selected by the structure sampling module 1004 through a machine learning method to obtain a chemical shift prediction model. The machine learning method used in the training includes at least one of Gaussian Process (GP), Deep Neural Network (DNN), and Support Vector Machine (SVM). Specifically, the chemical shifts marked in the structure sampling module 1004 are the data set, and the model for predicting chemical shifts is trained by combining SOAP and neural network.

[0075] The chemical shift acquisition module 1008 predicts the chemical shift of the simulated trajectory structure obtained by molecular dynamics simulation or Monte Carlo simulation through the chemical shift prediction model. The chemical shift of 50,000 configurations in the molecular dynamics trajectory in the chemical shift prediction model generation module 1006 is predicted by the trained chemical shift model (i.e., the chemical shift prediction model in the chemical shift prediction model generation module 1006).

[0076] The dynamic NMR spectrum generation module 1010 generates a dynamic NMR spectrum based on the chemical shift obtained by the chemical shift acquisition module 1008. The dynamic NMR spectrum is obtained by averaging the chemical shift over time. The dynamic NMR spectrum is obtained by averaging the chemical shift over time. Specifically, the chemical shifts predicted by 50,000 configurations are averaged for different time lengths to simulate the dynamic NMR spectrum.

[0077] According to another aspect of the present disclosure, there is provided an electronic device, comprising:

[0078] A memory, the memory stores execution instructions;

[0079] The processor executes the execution instructions stored in the memory, so that the processor executes any of the above methods.

[0080] According to another aspect of the present disclosure, a readable storage medium is provided, in which execution instructions are stored. When the execution instructions are executed by a processor, they are used to implement any of the above methods.

[0081] The method or device disclosed herein for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning has the following technical advantages:

[0082] First, the accuracy of the machine learning model is good. The machine learning potential model and chemical shift prediction model can achieve the accuracy of the electronic structure calculation method.

[0083] Second, the machine learning model is highly efficient. The prediction of atomic forces and chemical shifts depends on the generation and reading and writing speed of atomic local structure descriptors. Compared with the electronic structure calculation method, it greatly improves the efficiency of conformational sampling and the efficiency of calculating chemical shifts.

[0084] Third, the time required for prediction is linearly related to the number of atoms in the system, and can be easily extended to the calculation of chemical shifts of dynamic conformations of large systems, greatly improving the efficiency of dynamic NMR spectroscopy simulation.

[0085] The method and device for simulating dynamic nuclear magnetic resonance spectra based on machine learning provided by the present disclosure simulate dynamic nuclear magnetic spectra from the atomic level and first principle calculation accuracy, which can assist in interpreting experimentally measured nuclear magnetic spectra. For this purpose, a workflow combining machine learning methods is established, and the energy, force and chemical shift data sets obtained by electronic structure calculation are trained to obtain machine learning potential and chemical shift prediction models. The combined application of the two machine learning models realizes the simulation of dynamic nuclear magnetic spectra from the atomic level.

[0086] Figure 8 An exemplary diagram of an apparatus using a hardware implementation of a processing system is shown.

[0087] The device may include a corresponding module for performing each or several steps in the above flowchart. Therefore, each step or several steps in the above flowchart may be performed by a corresponding module, and the device may include one or more modules in these modules. The module may be one or more hardware modules specially configured to perform the corresponding steps, or implemented by a processor configured to perform the corresponding steps, or stored in a computer-readable medium for implementation by a processor, or implemented by some combination.

[0088] The hardware structure can be implemented using a bus architecture. The bus architecture can include any number of interconnecting buses and bridges, depending on the specific application and overall design constraints of the hardware. The bus 1100 connects various circuits including one or more processors 1200, memory 1300, and / or hardware modules together. The bus 1100 can also connect various other circuits 1400 such as peripherals, voltage regulators, power management circuits, external antennas, etc.

[0089] The bus 1100 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Component (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the figure only uses one connecting line, but does not mean that there is only one bus or one type of bus.

[0090] Any process or method description in the flowchart or otherwise described herein can be understood as a module, fragment or portion of a code representing one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present disclosure includes other implementations, in which the functions may not be performed in the order shown or discussed, including performing the functions in a substantially simultaneous manner or in a reverse order according to the functions involved, which should be understood by a person skilled in the art of the present disclosure. The processor performs the various methods and processes described above. For example, the method implementation in the present disclosure can be implemented as a software program, which is tangibly contained in a machine-readable medium, such as a memory. In some embodiments, part or all of the software program can be loaded and / or installed via a memory and / or a communication interface. When the software program is loaded into the memory and executed by the processor, one or more steps in the method described above can be performed. Alternatively, in other embodiments, the processor can be configured to perform one of the above methods in any other appropriate manner (e.g., by means of firmware).

[0091] The logic and / or steps represented in the flowchart or otherwise described herein may be embodied in any readable storage medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from and execute instructions on an instruction execution system, apparatus, or device), or in combination with such instruction execution systems, apparatuses, or devices.

[0092] For the purposes of this specification, a "readable storage medium" may be any device that can contain, store, communicate, propagate or transmit a program for use with or in conjunction with an instruction execution system, device or apparatus. More specific examples of readable storage media (a non-exhaustive list) include the following: an electrical connection with one or more wirings (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and editable read-only memory (EPROM or flash memory), a fiber optic device, and a portable read-only memory (CDROM). In addition, the readable storage medium may even be paper or other suitable medium on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a memory.

[0093] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0094] A person skilled in the art may understand that all or part of the steps of implementing the above-mentioned implementation method may be completed by instructing related hardware through a program, and the program may be stored in a readable storage medium, which, when executed, includes one or a combination of the steps of the implementation method.

[0095] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a readable storage medium. The storage medium may be a read-only memory, a disk or an optical disk, etc.

[0096] In the description of this specification, the description with reference to the terms "one embodiment / method", "some embodiments / methods", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment / method or example are included in at least one embodiment / method or example of the present application. In this specification, the schematic representations of the above terms are not necessarily the same embodiment / method or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments / methods or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments / methods or examples described in this specification and the features of the different embodiments / methods or examples, unless they are contradictory.

[0097] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0098] Those skilled in the art should understand that the above embodiments are only for the purpose of clearly illustrating the present disclosure, and are not intended to limit the scope of the present disclosure. For those skilled in the art, other changes or modifications may be made based on the above disclosure, and these changes or modifications are still within the scope of the present disclosure.

Claims

1. A method for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning, characterized in that: include: Constructing a data set of forces and energies calculated by electronic structure, training the data set by a machine learning method, and obtaining a machine learning potential model after training; Performing molecular dynamics simulation or Monte Carlo simulation through the machine learning potential model to obtain a simulation trajectory, and selecting a partial structure from the simulation trajectory; Based on the selected partial structure, a chemical shift data set for electronic structure calculation is trained by a machine learning method to obtain a chemical shift prediction model; Predicting the chemical shift of the simulated trajectory structure obtained by the molecular dynamics simulation or Monte Carlo simulation by the chemical shift prediction model; as well as generating a dynamic nuclear magnetic spectrum based on the chemical shift; The electronic structure calculation includes an ab initio method based on quantum mechanics or a density functional theory method; In which, when constructing a data set of forces and energies calculated by electronic structure, it is necessary to characterize the atomic local environment, and the descriptors used for characterizing the atomic local environment include: an embedded feature space for deep potential, smooth overlap of atomic positions, an atomic central symmetry function, and a multi-body tensor representation; The machine learning method used in the training includes at least one of Gaussian process, deep neural network, and support vector machine; Wherein, during the molecular dynamics simulation or Monte Carlo simulation, it is necessary to fully sample the dynamic processes involved in the dynamic nuclear magnetic resonance spectrum; Wherein, the method of selecting a part of the structure from the simulation trajectory is an arbitrary selection method; Wherein, generating a dynamic nuclear magnetic spectrum based on the chemical shift comprises: The dynamic nuclear magnetic spectrum is obtained by time averaging the chemical shift.

2. A device for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning, characterized in that: include: A machine learning potential model acquisition module is used to construct a data set of forces and energies calculated by electronic structure, and to train the data set by a machine learning method to obtain a machine learning potential model after training; A structure sampling module, performing molecular dynamics simulation or Monte Carlo simulation through the machine learning potential model to obtain a simulation trajectory, and selecting a part of the structure from the simulation trajectory; A chemical shift prediction model generation module, based on the selected partial structure, trains the chemical shift data set for electronic structure calculation by machine learning method to obtain a chemical shift prediction model; A chemical shift acquisition module, which predicts the chemical shift of the simulation trajectory structure obtained by the molecular dynamics simulation or Monte Carlo simulation through the chemical shift prediction model; as well as A dynamic nuclear magnetic spectrum generation module, which generates a dynamic nuclear magnetic spectrum based on the chemical shift; The electronic structure calculation includes an ab initio method based on quantum mechanics or a density functional theory method; In which, when constructing a data set of forces and energies calculated by electronic structure, it is necessary to characterize the atomic local environment, and the descriptors used for characterizing the atomic local environment include: an embedded feature space for deep potential, smooth overlap of atomic positions, an atomic central symmetry function, and a multi-body tensor representation; The machine learning method used in the training includes at least one of Gaussian process, deep neural network, and support vector machine; Wherein, during the molecular dynamics simulation or Monte Carlo simulation, it is necessary to fully sample the dynamic processes involved in the dynamic nuclear magnetic resonance spectrum; Wherein, the method of selecting a part of the structure from the simulation trajectory is an arbitrary selection method; Wherein, generating a dynamic nuclear magnetic spectrum based on the chemical shift comprises: The dynamic nuclear magnetic spectrum is obtained by time averaging the chemical shift.

3. An electronic device, characterized in that: include: A memory storing execution instructions; as well as A processor, wherein the processor executes the execution instructions stored in the memory, so that the processor executes the method for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning as described in claim 1.

4. A readable storage medium, characterized in that: The readable storage medium stores execution instructions, which, when executed by a processor, are used to implement the method for simulating dynamic nuclear magnetic resonance spectroscopy based on machine learning as described in claim 1.