Abstract
X-ray spectroscopy delivers strong impact across the physical and biological sciences by providing end-users with highly-detailed information about the electronic and geometric structure of matter. To decode this information in challenging cases, e.g. in operando catalysts, batteries, and temporally-evolving systems, advanced theoretical calculations are necessary. The complexity and resource requirements often render these out of reach for end-users, and therefore data are often not interpreted exhaustively, leaving a wealth of valuable information unexploited. In this paper, we introduce supervised machine learning of X-ray absorption spectra, by developing a deep neural network (DNN) that is able to estimate Fe K-edge X-ray absorption near-edge structure spectra in less
than a second with no input beyond geometric information about the local environment of the absorption site. We predict peak positions with sub-eV accuracy and peak intensities with errors over an order of magnitude smaller than the spectral variations that the model is engineered to capture. The performance of the DNN is promising, as illustrated by its application to the structural refinement of iron(II)tris(bipyridine) and nitrosylmyoglobin, but also highlights areas for which future developments should focus.