Skip to content

jakublala/alchemical-kernels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyTorch Implementation of Alchemical Kernels

Reproduced from Feature optimization for atomistic machine learning yields a data-driven construction of the periodic table of the elements with a simplified loss function compared to the original paper. The idea is to use kernel ridge regression to fit the structure-energy relationship from the SOAP descriptor representation. The SOAP vector is computed by librascal.

Nevertheless, to reduce the dimensionality of the kernel, an alchemical kernel is used, which describes the elemental information of the 39 elements present in the dataset as a linear combination of 4 pseudo-elements, or alchemical elements. This then allows us to produce a reconstruction of the periodic table of elements as shown in the figure below, for 2, 3, and 4 pseudo-elements (taken from the original paper).

periodic_table

The dataset used is an elpasolite dataset of 8k structure from Machine Learning Energies of 2 Million Elpasolite (ABC2D6) Crystals. My slightly different approach in terms of learning the coupling parameters, compared to the original paper, is given in the figure below.

model_structure

We use two different datasets during training: a) training dataset: learns the weights that describe the kernel-energy relationship through linear matrix regression and b) optimization dataset: learns the coupling parameters U that transfer the full SOAP descriptor into the reduced SOAP vector with the reduced dimensionality. We train the weights and coupling parameters simultaneously.

It was found that there is training instability if we detach the gradients in the training dataset path, betwen the weights and the U coupling parameters. Hence the parameter updates of the U matrix are updated using gradients that propagate through both paths - training and optimization.

About

Pytorch implementation of Alchemical Kernels from Phys. Chem. Chem. Phys., 2018,20, 29661-29668

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages