1
|
Poline V, Purushottam Raj Purohit RRP, Bordet P, Blanc N, Martinetto P. Neural networks for rapid phase quantification of cultural heritage X-ray powder diffraction data. J Appl Crystallogr 2024; 57:831-841. [PMID: 38846765 PMCID: PMC11151672 DOI: 10.1107/s1600576724003704] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 12/04/2023] [Accepted: 04/23/2024] [Indexed: 06/09/2024] Open
Abstract
Recent developments in synchrotron radiation facilities have increased the amount of data generated during acquisitions considerably, requiring fast and efficient data processing techniques. Here, the application of dense neural networks (DNNs) to data treatment of X-ray diffraction computed tomography (XRD-CT) experiments is presented. Processing involves mapping the phases in a tomographic slice by predicting the phase fraction in each individual pixel. DNNs were trained on sets of calculated XRD patterns generated using a Python algorithm developed in-house. An initial Rietveld refinement of the tomographic slice sum pattern provides additional information (peak widths and integrated intensities for each phase) to improve the generation of simulated patterns and make them closer to real data. A grid search was used to optimize the network architecture and demonstrated that a single fully connected dense layer was sufficient to accurately determine phase proportions. This DNN was used on the XRD-CT acquisition of a mock-up and a historical sample of highly heterogeneous multi-layered decoration of a late medieval statue, called 'applied brocade'. The phase maps predicted by the DNN were in good agreement with other methods, such as non-negative matrix factorization and serial Rietveld refinements performed with TOPAS, and outperformed them in terms of speed and efficiency. The method was evaluated by regenerating experimental patterns from predictions and using the R-weighted profile as the agreement factor. This assessment allowed us to confirm the accuracy of the results.
Collapse
Affiliation(s)
- Victor Poline
- Univ. Grenoble Alpes, CNRS, Grenoble INP, Institut Néel, 38000 Grenoble, France
| | | | - Pierre Bordet
- Univ. Grenoble Alpes, CNRS, Grenoble INP, Institut Néel, 38000 Grenoble, France
| | - Nils Blanc
- Univ. Grenoble Alpes, CNRS, Grenoble INP, Institut Néel, 38000 Grenoble, France
| | - Pauline Martinetto
- Univ. Grenoble Alpes, CNRS, Grenoble INP, Institut Néel, 38000 Grenoble, France
| |
Collapse
|
2
|
Ekeberg T. Introduction to the virtual collection of papers on Artificial neural networks: applications in X-ray photon science and crystallography. J Appl Crystallogr 2024; 57:1-2. [PMID: 38322721 PMCID: PMC10840311 DOI: 10.1107/s1600576723010476] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 02/08/2024] Open
Abstract
Artificial intelligence is more present than ever, both in our society in general and in science. At the center of this development has been the concept of deep learning, the use of artificial neural networks that are many layers deep and can often reproduce human-like behavior much better than other machine-learning techniques. The articles in this collection are some recent examples of its application for X-ray photon science and crystallography that have been published in Journal of Applied Crystallography.
Collapse
Affiliation(s)
- Tomas Ekeberg
- Department of Cell and Molecular Biology, Uppsala University, Husargatan 3 (Box 596), SE-751 24 Uppsala, Sweden
| |
Collapse
|
3
|
Sun Y, Brockhauser S, Hegedűs P, Plückthun C, Gelisio L, Ferreira de Lima DE. Application of self-supervised approaches to the classification of X-ray diffraction spectra during phase transitions. Sci Rep 2023; 13:9370. [PMID: 37296300 PMCID: PMC10256752 DOI: 10.1038/s41598-023-36456-y] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 02/17/2023] [Accepted: 06/04/2023] [Indexed: 06/12/2023] Open
Abstract
Spectroscopy and X-ray diffraction techniques encode ample information on investigated samples. The ability of rapidly and accurately extracting these enhances the means to steer the experiment, as well as the understanding of the underlying processes governing the experiment. It improves the efficiency of the experiment, and maximizes the scientific outcome. To address this, we introduce and validate three frameworks based on self-supervised learning which are capable of classifying 1D spectral curves using data transformations preserving the scientific content and only a small amount of data labeled by domain experts. In particular, in this work we focus on the identification of phase transitions in samples investigated by x-ray powder diffraction. We demonstrate that the three frameworks, based either on relational reasoning, contrastive learning, or a combination of the two, are capable of accurately identifying phase transitions. Furthermore, we discuss in detail the selection of data augmentation techniques, crucial to ensure that scientifically meaningful information is retained.
Collapse
Affiliation(s)
- Yue Sun
- Software Engineering Department, Institute of Informatics, University of Szeged, Dugonics tér 13, Szeged, 6720, Hungary.
- European XFEL GmbH, Holzkoppel 4, 22869, Schenefeld, Germany.
| | - Sandor Brockhauser
- Software Engineering Department, Institute of Informatics, University of Szeged, Dugonics tér 13, Szeged, 6720, Hungary
- Center for Materials Science Data, Humboldt-Universität zu Berlin, Zum Großen Windkanal 2, 12489, Berlin, Germany
| | - Péter Hegedűs
- Software Engineering Department, Institute of Informatics, University of Szeged, Dugonics tér 13, Szeged, 6720, Hungary.
| | - Christian Plückthun
- European XFEL GmbH, Holzkoppel 4, 22869, Schenefeld, Germany
- Deutsches Elektronen-Synchrotron (DESY), 22607, Hamburg, Germany
| | - Luca Gelisio
- European XFEL GmbH, Holzkoppel 4, 22869, Schenefeld, Germany
| | | |
Collapse
|
4
|
Assalauova D, Vartanyants IA. The structure of tick-borne encephalitis virus determined at X-ray free-electron lasers. Simulations. JOURNAL OF SYNCHROTRON RADIATION 2023; 30:24-34. [PMID: 36601923 PMCID: PMC9814066 DOI: 10.1107/s1600577522011341] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Figures] [Subscribe] [Scholar Register] [Received: 05/23/2022] [Accepted: 11/24/2022] [Indexed: 06/17/2023]
Abstract
The study of virus structures by X-ray free-electron lasers (XFELs) has attracted increased attention in recent decades. Such experiments are based on the collection of 2D diffraction patterns measured at the detector following the application of femtosecond X-ray pulses to biological samples. To prepare an experiment at the European XFEL, the diffraction data for the tick-borne encephalitis virus (TBEV) was simulated with different parameters and the optimal values were identified. Following the necessary steps of a well established data-processing pipeline, the structure of TBEV was obtained. In the structure determination presented, a priori knowledge of the simulated virus orientations was used. The efficiency of the proposed pipeline was demonstrated.
Collapse
Affiliation(s)
- Dameli Assalauova
- Deutsches Elektronen-Synchrotron DESY, Notkestrasse 85, 22607 Hamburg, Germany
| | - Ivan A. Vartanyants
- Deutsches Elektronen-Synchrotron DESY, Notkestrasse 85, 22607 Hamburg, Germany
| |
Collapse
|
5
|
Assalauova D, Ignatenko A, Isensee F, Trofimova D, Vartanyants IA. Classification of diffraction patterns using a convolutional neural network in single-particle-imaging experiments performed at X-ray free-electron lasers. J Appl Crystallogr 2022; 55:444-454. [PMID: 35719305 PMCID: PMC9172041 DOI: 10.1107/s1600576722002667] [Citation(s) in RCA: 5] [Impact Index Per Article: 1.7] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Download PDF] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 12/30/2021] [Accepted: 03/08/2022] [Indexed: 11/10/2022] Open
Abstract
Single particle imaging (SPI) at X-ray free-electron lasers is particularly well suited to determining the 3D structure of particles at room temperature. For a successful reconstruction, diffraction patterns originating from a single hit must be isolated from a large number of acquired patterns. It is proposed that this task could be formulated as an image-classification problem and solved using convolutional neural network (CNN) architectures. Two CNN configurations are developed: one that maximizes the F1 score and one that emphasizes high recall. The CNNs are also combined with expectation-maximization (EM) selection as well as size filtering. It is observed that the CNN selections have lower contrast in power spectral density functions relative to the EM selection used in previous work. However, the reconstruction of the CNN-based selections gives similar results. Introducing CNNs into SPI experiments allows the reconstruction pipeline to be streamlined, enables researchers to classify patterns on the fly, and, as a consequence, enables them to tightly control the duration of their experiments. Incorporating non-standard artificial-intelligence-based solutions into an existing SPI analysis workflow may be beneficial for the future development of SPI experiments.
Collapse
Affiliation(s)
- Dameli Assalauova
- Deutsches Elektronen-Synchrotron DESY, Notkestraße 85, 22607 Hamburg, Germany
| | - Alexandr Ignatenko
- Deutsches Elektronen-Synchrotron DESY, Notkestraße 85, 22607 Hamburg, Germany
| | - Fabian Isensee
- Applied Computer Vision Lab, Helmholtz Imaging, German Cancer Research Center (DKFZ), Im Neuenheimer Feld 280, 69120 Heidelberg, Germany
- Division of Medical Image Computing, German Cancer Research Center (DKFZ), Im Neuenheimer Feld 280, 69120 Heidelberg, Germany
| | - Darya Trofimova
- Applied Computer Vision Lab, Helmholtz Imaging, German Cancer Research Center (DKFZ), Im Neuenheimer Feld 280, 69120 Heidelberg, Germany
- Division of Medical Image Computing, German Cancer Research Center (DKFZ), Im Neuenheimer Feld 280, 69120 Heidelberg, Germany
| | - Ivan A. Vartanyants
- Deutsches Elektronen-Synchrotron DESY, Notkestraße 85, 22607 Hamburg, Germany
| |
Collapse
|