Material type identification system using material spectrum data

The integration of a one-dimensional CNN with deep distance learning and physically-based data augmentation enhances material type identification accuracy by addressing the challenges of large class numbers and spectral data similarities, achieving precise classification.

JP7556340B2Active Publication Date: 2024-09-26TOYOTA JIDOSHA KK
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021169174
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-10-14
Publication Date
2024-09-26
Estimated Expiration
2041-10-14

AI Technical Summary

Technical Problem

Existing systems struggle to accurately identify the type of materials from spectral data due to the large number of classes and similarities in spectral characteristics, leading to low classification accuracy, especially when using standard one-dimensional CNNs.

Method used

A material type identification system utilizing a configuration that combines a one-dimensional CNN with a deep distance learning algorithm, employing physically-based data augmentation to generate additional training data and implementing hierarchical distance learning to enhance classification accuracy.

Benefits of technology

The system achieves high-accuracy material type identification by distinguishing between similar spectral data, reducing comparison time, and improving classification precision for thousands to hundreds of thousands of material types.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007556340000004
    Figure 0007556340000004
  • Figure 0007556340000006
    Figure 0007556340000006
  • Figure 0007556340000005
    Figure 0007556340000005
Patent Text Reader

Abstract

To provide a system capable of identifying a kind of an arbitrary material with high precision by collating spectral data of the arbitrary material with spectral data of existing materials.SOLUTION: A material kind identification system includes: a one-dimensional CNN processor for calculating a characteristic amount vector based on spectral data of a material by a one-dimensional convolution neural network algorithm; and a distance learning processor for computing a probability that a kind of the material is each kind of various materials from the characteristic amount vector by a deep distance learning algorithm, wherein spectral data of existing materials is used as learning data, the one-dimensional CNN processor and the distance learning processor are, once each learning data is inputted, learned to compute a probability of the kind of each material such that the probabilities for the kinds of the respective materials for the learning data becomes maximum, and when the spectral data of an arbitrary material is inputted, the kind obtaining the maximum probability value is identified as the kind of the arbitrary material.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a technique for analyzing spectral data obtained from various materials, and more specifically, to a system for identifying the type of any material by comparing the spectral data of any material obtained by powder X-ray diffraction, infrared spectroscopy, etc. with the spectral data of known materials stored in a spectrum database using machine learning technology. The spectral data of a material is any spectral data in which a spectral intensity value is measured for any one-dimensional variable (it may be a full spectrum or a line spectrum), and specifically, in addition to powder X-ray diffraction spectra and infrared spectroscopy spectra, it may be mass spectra, NMR spectra, absorption spectra, emission spectra, etc., and such cases also fall within the scope of the present invention. [Background technology]

[0002] In identifying an arbitrary material, the spectral data of the material is measured by an arbitrary measuring method, and the spectral data is compared with the spectral data of known materials. However, when comparing the spectral data of the material to be identified with the known materials, the number of spectral data of known materials is now enormous, and comparing the spectral data by humans requires a great deal of time, effort, and cost. Therefore, various attempts have been made to automatically compare the spectral data of materials by computers using machine learning technology or AI technology. For example, Patent Document 1 proposes a system for identifying an arbitrary material by extracting features from X-ray diffraction spectrum data obtained from the arbitrary material and using a machine learning model that is trained to be able to select diffraction patterns with high similarity from the diffraction patterns of known materials based on the features. In addition, Non-Patent Document 1 examines the effectiveness of several machine learning algorithms for the problem of identifying the dimensionality and space group of the crystal structure of a material from the X-ray diffraction spectrum data of the material, and reports that a classifier using a one-dimensional a-CNN (all convolutional neural network) can accurately identify the dimensionality and space group of the crystal structure. This document reports that in the learning stage of a-CNN, existing data on the X-ray diffraction spectrum of each material and data generated by artificially and randomly modifying the existing data of each material using a technique called physics-informed data augmentation are used as learning data, and that even when only one or two pieces of X-ray diffraction spectrum data exist for each material in the existing data, a classifier can be constructed that can identify the dimensionality and space group of the crystal structure from the spectrum data with high accuracy.

[0003] In addition, a technology called deep metric learning has been proposed as a machine learning technology for accurately classifying a huge number of classes. Regarding such deep metric learning, various algorithms named CosFace, ArcFace, AdaFace, etc. have been devised for recognizing the faces of many people (see Non-Patent Documents 2 and 3, etc.), and it has been reported that in these algorithms, image feature vectors obtained from a CNN (convolutional neural network) of a two-dimensional image are input to the above-mentioned deep metric learning algorithm, and it has been achieved to identify and classify individual face images with a higher accuracy than when using only CNN. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Patent No. 2021-92467 [Non-patent literature]

[0005] [Non-Patent Document 1] “Fast and interpretable classification of small X-ray diffraction datasets using data augmentation and deep neural networks”, F. Oviedo et al., npj Computational Materials volume 5, Article number: 60 (2019) [Non-Patent Document 2] “Cosface: Large margin cosine loss for deep face recognition”, H.Wang et al., In CVPR(2018) URL https: / / arxiv.org / abs / 1801.09414. [Non-Patent Document 3] X. Zhang, et al., “Adacos: Adaptively sca1ing cosine logits for effectively learning deep face representations” In CVPR(2019) URL httPs: / / arxiv.org / abs / 1905.00292. [Non-Patent Document 4] I. Radosavovic, et al., “Designing network design spaces” CVPR 2020 https: / / arxiv.org / pdf / 2003.13678.pdf Summary of the Invention [Problem to be solved by the invention]

[0006] In order to identify the type of an unidentified material by comparing the spectral data of the material (unidentified material) to be identified with existing data of known materials, as described in the above literature, when a classifier is constructed to identify and classify the type of material from the spectral data using machine learning technology, as already mentioned, the number of types of known materials is enormous, so the number of classes to be classified by the classifier is also enormous. For example, as of 2021, there are 136,899 types of materials registered in the Inorganic Crystal Structure Database (ICSD) provided by the National Institute of Standards and Technology, etc., so if all of these are to be identified by X-ray diffraction data, the number of classes to be classified in the classifier to which the X-ray diffraction data is input will also be the number of registered types in the database. In this regard, in the spectral data of materials, as with human faces, different materials may have similar characteristics, and it is difficult to accurately identify the types of different materials from each other in spectral data having such similar characteristics. In fact, in research by the inventors of the present invention, they attempted to identify material types using X-ray diffraction data of materials registered in ICSD, but were unable to achieve the expected level of accuracy using standard 1D CNN.

[0007] Therefore, the inventors of the present invention have conducted various studies on the configuration of a classifier capable of classifying the type of material from the spectral data of the material with high accuracy for the purpose of identifying the type of unidentified material. As a result, a configuration is constructed in which the spectral data is input to a one-dimensional CNN as a classifier, and the feature vector of the spectral data obtained there is further input to a deep metric learning configuration proposed for human face recognition as described above to perform class classification for the type of material. It has been found that when the learning of the classifier of such a configuration is performed using the spectral data of known materials as learning data, the type of material can be identified from the spectral data of the material with higher accuracy than before. In addition, it has been found that the classification accuracy can be improved by using, as the learning data, the spectral data of the known materials themselves (known data) and data generated by modifying the known data using a method called "physically-based data augmentation" which will be described in detail later. Furthermore, it has been found that the classification accuracy can be further improved by using a configuration in which the deep metric learning algorithm is executed twice in succession (called "hierarchical metric learning") in the deep metric learning configuration of the classifier. In the present invention, this finding is utilized.

[0008] Thus, one object of the present invention is to provide a material type identification system that can compare the spectral data of an arbitrary material with the spectral data of existing materials to identify the type of the arbitrary material.

[0009] Another object of the present invention is to provide a system as described above having a configuration capable of classifying spectral data with higher accuracy than a configuration using a standard one-dimensional CNN as a classifier. [Means for solving the problem]

[0010] According to the present invention, the above problem is solved by a system for identifying a type of material from spectral data of the material, comprising: a one-dimensional CNN processing unit including a data input layer to which spectral data of a material is input, and a vector output layer to output a feature vector of a predetermined dimension, wherein when spectral data is input to the input layer, the one-dimensional CNN processing unit outputs, in the output layer, a feature vector corresponding to the spectral data obtained by calculation based on the spectral data using a one-dimensional convolutional neural network algorithm; a metric learning processing unit including a vector input layer to which the feature vector is input and a probability output layer to output probabilities of various types of ingredients, the metric learning processing unit calculating, when the feature vector is input to the vector input layer, the probability that the type of the ingredient in the spectrum data corresponding to the feature vector is one of the various types of ingredients based on the feature vector using a deep metric learning algorithm, and outputting the calculated probability to the probability output layer; Including, Spectral data of a plurality of known materials whose types are known is used as learning data, and the one-dimensional CNN processing unit and the distance learning processing unit learn so that when each of the learning data is input to the data input layer of the one-dimensional CNN processing unit, the probability of the input learning data for the type of material in the probability output layer of the distance learning processing unit is maximized; A system in which, when spectrum data of an arbitrary material is input to the data input layer of the one-dimensional CNN processing unit, a type for which a maximum probability value is obtained in the probability output layer of the distance learning processing unit is identified as the type of the arbitrary material. This is achieved by:

[0011] In the above configuration, the spectral data of the material may be data obtained by measuring the intensity with respect to any one-dimensional variable, such as a powder X-ray diffraction spectrum, an infrared spectrum, a mass spectrum, an NMR spectrum, an absorption spectrum, an emission spectrum, etc. The material may be any inorganic or organic substance.

[0012] The "algorithm of one-dimensional convolutional neural network" in the "one-dimensional CNN processing unit" may be an algorithm that executes a calculation by a convolutional neural network (CNN) algorithm using data, such as one-dimensional spectral data, in which values ​​such as intensity values ​​and brightness values ​​are assigned to one-dimensional variables as input data. In the input layer of the one-dimensional CNN processing unit, specifically, a spectral value for each predetermined variable interval, which may be set arbitrarily, in the spectral data is assigned to one neuron (perceptron). For example, in the case of X-ray diffraction data, an intensity value for each predetermined angle is input to one neuron in the input layer (thus, in the case of a configuration in which an intensity value is given to one neuron every 0.02 degrees in the range of 0 to 120 degrees, 6000 neurons are prepared in the input layer). In addition, in a CNN, a result of a classification or a regression operation is usually output in the final output layer, but in the present invention, as described above, a feature vector of a predetermined dimension that may be set arbitrarily, for example, 1024 dimensions, is used for the subsequent operation, so that the output layer is composed of neurons of the predetermined number of dimensions, and the feature vector is composed of the output value of each neuron as an element (that is, the operation of the neural network of the present invention is up to a stage before the output stage of a classification or regression result in a normal case). According to the research of the inventor of the present invention, it has been found that the 1D-RegNet algorithm (Non-Patent Document 4) can be advantageously used as a one-dimensional CNN algorithm for the purpose of the present invention.

[0013] The algorithm of "deep distance learning" in the "distance learning processing unit" may be the same as the algorithm of the deep distance learning technology (AdaCos, CosFace, ArcFace, SphereFace, etc.) as described in Non-Patent Documents 2 and 3. The deep distance learning technology is advantageous for solving a classification problem. In short, in this technology, when the cosine similarity between the feature vector and the weight vector obtained from the CNN operation is calculated and the feature vector is mapped onto a multidimensional sphere, the weight vector is learned so that the distance on the sphere between the mapping points of the feature vectors is greater the greater the difference in the features of the data corresponding to the feature vector, and then the probability that the data corresponding to the feature vector is classified into each class is calculated using the cosine similarity between the feature vector and the weight vector. In the case of the present invention, the distance learning processing unit is configured to calculate the probability that the material of the data corresponding to the feature vector is one of various types of materials according to the above-mentioned deep distance learning algorithm when the feature vector calculated from the spectrum data of the material by the one-dimensional CNN processing unit is input as described above.

[0014] In addition, the learning of the one-dimensional CNN processing unit and the distance learning processing unit, i.e., the calculation process for determining the weight parameters used in the calculations in those processing units, is performed using the spectral data of known materials whose types are known as learning data. Data registered or stored in any database may be used as the spectral data of the known materials. For example, in the case of identifying the type of material from X-ray diffraction data of an inorganic substance, the spectral data of the known materials may be data registered in ICSD or the like. The learning of the above processing units may be performed according to any algorithm, for example, an error backpropagation algorithm, so that when each of the learning data is input to the data input layer of the one-dimensional CNN processing unit, the probability for each type of material of the learning data in the probability output layer of the distance learning processing unit is maximized.

[0015] Then, in the distance learning processing unit of the present invention, the type for which the maximum probability value is obtained for the spectrum data of an arbitrary material is identified as the type of that arbitrary material.

[0016] In the configuration of the material type identification system of the present invention, to put it simply, a deep metric learning algorithm is connected to a one-dimensional CNN algorithm, whereby the spectral data of an arbitrary material is collated with the spectral data of various known materials, and the type of the arbitrary material is identified with high accuracy. As already mentioned, in identifying the type of material, the number of types to be identified, i.e., the number of classes, is enormous, and accurate identification of the type cannot be achieved with standard CNN alone. However, it has been found that by connecting deep metric learning technology to CNN, it becomes possible to more clearly distinguish between similar data and dissimilar data, and it becomes possible to successfully identify the type of arbitrary material.

[0017] In the above configuration, the distance learning processing unit may be configured to calculate the probability of each type of material based on the feature vector by a "hierarchical distance learning" algorithm that executes the deep distance learning algorithm twice in succession. In the "hierarchical distance learning" algorithm, as described above, the feature vector output by the one-dimensional CNN is transformed at least twice by the deep distance learning algorithm, and then the probability that data corresponding to the feature vector is classified into each class (in the case of the present invention, the material type) is calculated. More specifically, in the case of a configuration in which the deep distance learning algorithm is continued twice in the hierarchical distance learning algorithm, when the feature vector is input to a processing unit that executes the first deep distance learning, the feature vector is transformed by a calculation according to the first deep distance learning algorithm, and a second feature vector of a predetermined dimension that may be set arbitrarily is calculated. Such a second feature vector may be a logit used to calculate the probability in the case of a configuration in which the probability of each class is calculated by the first deep distance learning algorithm. Then, the second feature vector (logit of the first deep metric learning algorithm) is further input to a processing unit that executes the second deep metric learning algorithm, and a process is executed in which the second feature vector is further transformed by a calculation according to the deep metric learning algorithm, and the probability of each class is calculated from the obtained feature vector, i.e., the logit in the second deep metric learning algorithm. For example, a softmax function may be used to calculate the probability of each class from the logit. It has been found that the use of such a hierarchical metric learning algorithm improves the accuracy of identifying the type of material.

[0018] The algorithm used for the above hierarchical distance learning algorithm may be any deep distance learning algorithm, specifically, it may be selected from AdaCos, CosFace, ArcFace, SphereFace, etc. As exemplified in the following embodiment section, according to the research of the inventor of the present invention, it has been found that by using AdaCos (Non-Patent Document 3) as the first deep distance learning algorithm and CosFace (Non-Patent Document 2) as the second deep distance learning algorithm as the hierarchical distance learning algorithm, the identification of the type of material can be achieved with higher accuracy. In this case, in the distance learning processing unit, according to the AdaCos algorithm, the feature vector output by the one-dimensional CNN processing unit is converted into AdaCos logits, and the AdaCos logits are further converted into CosFace logits according to the CosFace algorithm, and the probability of each type in various types of materials may be calculated from the CosFace logits.

[0019] In the above-described configuration of the system of the present invention, the learning data may include not only the spectral data of the known material, but also extended spectral data generated from the spectral data of the known material according to an algorithm of "physics-based data augmentation". In the algorithm of "physics-based data augmentation", various changes that may occur when measuring actual spectral data, such as the angle at which a peak occurs in the data, the shift of variables (shift of peak position), the fluctuation of the intensity ratio of multiple peaks, the disappearance of a peak, the splitting of a peak, etc., are artificially and virtually added to the spectral data of the known material to generate spectral data (extended data) different from the spectral data of the known material (original data). Specifically, in such a physics-based data augmentation process, the following process may be executed. (i) Peak shifting process - Randomly shifting the variables in which peaks occur that are observed in the spectral data of a known material. (ii) Peak intensity ratio alteration process - the intensity ratio of multiple peaks observed in the spectral data of a known material is randomly altered. (iii) Peak Elimination Treatment - Randomly eliminating peaks observed in the spectral data of known materials. (iv) Peak splitting treatment - randomly splitting a peak observed in the spectral data of a known material into two or more peaks. (v) A combination of at least two of (i) to (iv) In addition, various data modifications in each process may be performed to various degrees by adaptation, taking into consideration the degree of fluctuation that may occur in actual measurement data. In addition, preferably, the extended data may be generated by performing all of the peak shift process, the peak intensity ratio change process, the peak disappearance process, and the peak split process in the physics-based data enhancement algorithm.

[0020] When the augmented data generated by the above-mentioned physics-based data augmentation algorithm is used as training data, the accuracy of identifying the type of material for the spectral data of any material is further improved. As described above, when measuring actual spectral data, in many cases, various variations as described above occur in the data. In contrast, the number of existing spectral data for each material of known materials is small (for example, one or two examples), and when learning of a classifier is performed using only such a small amount of data, it is generally difficult for the classifier to accurately identify the material of the data for actual measurement data in which various variations have occurred. In other words, in order to improve the identification accuracy in learning of a classifier, it is necessary to prepare as much data as possible for each material and use it as training data. However, some materials are expensive or rare, and preparing a large amount of data for various materials by actually measuring them requires a lot of time, effort, and cost. Therefore, in the present invention, the physics-based data augmentation algorithm is used to generate data in which artificial changes have been added to the spectral data of known materials, and the data is added to the training data, thereby improving the identification accuracy of the classifier.

[0021] In addition, the more extended data used as learning data, the more the effect of improving the classification accuracy of the classifier is expected, and there is no need to perform the generation of extended data and the learning process unnecessarily many times. Therefore, in the embodiment, the generation of extended data and the learning process of the 1D CNN processing unit and the distance learning processing unit using the extended data may be performed until the identification accuracy of the arbitrary material type reaches a predetermined value. In other words, the 1D CNN processing unit and the distance learning processing unit may be configured such that different extended data are generated by a physics-based data augmentation algorithm and the learning process of the 1D CNN processing unit and the distance learning processing unit are repeatedly performed using the different extended data as learning data until the identification accuracy of the arbitrary material type reaches a predetermined value. Effect of the Invention

[0022] In the above-mentioned configuration of the system of the present invention, first, one-dimensional CNN is used in matching the spectral data of an arbitrary material with the spectral data of an existing material, so that even if there is some difference between the spectral data of the arbitrary material and the existing spectral data, robust feature extraction is possible, and the type of the arbitrary material can be accurately identified. In this regard, in the past, matching the spectral data of an arbitrary material with the spectral data of an existing material required a comparison of the data of the arbitrary material with each of the data registered in the database of existing materials, whereas in the system of the present invention, the use of CNN makes such a comparison operation unnecessary, and the speed required for identification can be reduced (if the number of data in the database is m, the speed required for identification is 1 / m). Furthermore, since the basic configuration of the system of the present invention employs a deep metric learning algorithm used for face recognition, it is expected that classification into more classes can be successfully achieved than when only a standard one-dimensional CNN is used, and thus it is expected that the type of material corresponding to the spectral data of the arbitrary material can be identified with higher accuracy.

[0023] Other objects and advantages of the present invention will become apparent from the following description of preferred embodiments of the invention. [Brief description of the drawings]

[0024] [Figure 1] FIG. 1 is a schematic diagram showing a computer in which a material type identification system using material spectrum data according to this embodiment is realized. [Diagram 2] FIG. 2 is a schematic diagram for explaining the configuration of the calculation process (classifier) ​​up to identifying the material type from the spectrum data of the material by the system of this embodiment. [Diagram 3] Fig. 3(A) is a schematic diagram for explaining the algorithm of hierarchical distance learning in the system of this embodiment. Fig. 3(B) is a diagram illustrating the concept of the action of the hierarchical distance learning algorithm, which shows that when feature vectors (points on a dotted circle) obtained by one-dimensional CNN processing from various data are mapped onto a virtual sphere, the first distance learning processing separates the vectors into groups of similar features, and the second distance learning processing separates the distances on the sphere between the feature vectors in each group, thereby achieving high-precision classification of materials for the feature vectors. [Figure 4] FIG. 4 is a diagram showing an example of data changes applied to existing spectrum data by the physics-based data augmentation algorithm in the system of this embodiment. [Explanation of symbols]

[0025] 1. Computer body 2. Computer terminal 3. Monitor 4...Keyboard, mouse (input device) 10. Database BEST MODE FOR CARRYING OUT THEINVENTION

[0026] Computer device configuration The system for identifying the type of material from the spectral data of any material according to this embodiment may be realized by the operation of a computer program in a computer device 1, as illustrated in FIG. 1, of a type commonly used in this field. The computer device 1 is equipped with a CPU, a storage device, and an input / output device (I / O) interconnected by a bidirectional common bus in a typical manner, and the storage device includes a memory for storing each program for executing the arithmetic processing used in the calculation of this embodiment, and a work memory and a data memory used during the calculation. In addition, the operator's instructions to the computer device 1 and the display and output of the calculation results and other information are performed through a computer terminal device 2 connected to the computer device 1. The computer terminal device 2 is provided with a monitor 3 and an input device 4 such as a keyboard and a mouse in a typical manner, and when the program is started, the operator can use the input device 4 to give various instructions and inputs to the computer device 1 according to the display on the monitor 3 in accordance with the procedure of the program, and can visually confirm the calculation status and calculation results from the computer device 1 on the monitor 3. Furthermore, in this embodiment, as described later, existing spectral data of known materials is used, and the existing spectral data may be acquired from any database, and therefore the computer device 1 may be able to access any database 10 in any manner. It should be understood that the computer device 1 and the computer terminal device 2 may be equipped with other peripheral devices (such as a printer for outputting results, a storage device for inputting and outputting calculation conditions and calculation result information, etc.) that are not shown. When performing various processes or calculations described below using the computer device 1, a program required for the various processes or calculations is started in a normal manner, and the implementer inputs data required for the calculation, calculation conditions at the time of calculation, and other various settings in the computer terminal device 2 according to the input procedure prepared in the program, and the calculation is started. Then, during or after the calculation, the calculation result can be output through the computer terminal device 2 as appropriate.

[0027] In the above computer device 1, when identifying the type of material from the spectral data, in the same manner as in the computational processing using a normal machine learning technique, to put it simply, first, a learning process (determination of parameters such as weights used in computation) is performed using existing data as learning data, thereby forming a model (classifier) ​​for identifying the type of material, and then, the spectral data of any material whose type is to be identified is input to the trained classifier, which outputs the type of material as the identification result. Thus, when the learning process is performed, the operator inputs data from the input device 4 to set hyperparameters to be used in the computation, reads existing data of known materials from a database, and the computer device 1 performs the learning process using the read existing data as learning data according to the program stored in the program memory. Then, when the learning process is completed, the operator inputs data from the input device 4 to input the spectral data of the material whose type is to be identified, and the computer device 1 identifies the material type of the input spectral data using the trained classifier according to the program stored in the program memory, and the result is output to the computer terminal device 2 and displayed on a monitor or the like.

[0028] In this embodiment, the spectral data of the material may be data obtained by measuring spectral values ​​or intensity values ​​for any one-dimensional variable, such as a powder X-ray diffraction spectrum, an infrared spectroscopy spectrum, a mass spectrum, an NMR spectrum, an absorption spectrum, or an emission spectrum, as already mentioned, and the material may be an inorganic or organic material. The existing data of a known material used as learning data may be data obtained by any method (measurement or simulation) or data obtained from any database. For example, the powder X-ray diffraction spectrum of an inorganic material may be data available from ICSD provided by the National Institute of Standards and Technology, etc.

[0029] Basic configuration of the classifier Referring to FIG. 2, the configuration of a classifier in the system for identifying a type of material from spectral data of the material according to this embodiment basically includes a one-dimensional CNN processing unit that receives input of spectral data and calculates a feature vector, and a distance learning processing unit that receives the feature vector from the one-dimensional CNN processing unit and determines the probability for each material.

[0030] The one-dimensional CNN processing unit may be a calculation processing unit that realizes a one-dimensional CNN algorithm in a normal mode. Specifically, a spectral value (intensity value, brightness value, etc.) for each variable of the spectral data of the material is input to each of a plurality of neurons in the input layer of the CNN, and a feature vector with a predetermined number of dimensions is calculated in the output layer through calculations in the convolution layer, pooling layer, and fully connected layer. For example, when the spectral data is a powder X-ray diffraction spectrum, 6000 neurons may be prepared in the input layer so that an intensity value for every 0.02 degrees is given to each neuron in the range of 0 to 120 degrees of the variable 2θ. In addition, the dimension of the feature vector in the output layer may be set appropriately. In the example in which 6000 values ​​are given to the input layer, for example, the number of dimensions of the feature vector in the output layer may be 1024. Note that, according to research by the inventor of the present invention, it has been found that in this embodiment, the 1D-RegNet algorithm (Non-Patent Document 4) is advantageously used as the one-dimensional CNN algorithm.

[0031] As already mentioned, the distance learning processing unit may be a calculation processing unit that realizes an algorithm of a deep distance learning technology called AdaCos, CosFace, ArcFace, SphereFace, etc. Specifically, the feature vector output by the one-dimensional CNN processing unit is received, and the cosine similarity between the feature vector and the weight vector is calculated, and the logit is calculated using the cosine similarity and the hyperparameter, and the probability that the data corresponding to the feature vector is classified into each class is calculated from the logit. Here, in this embodiment, each class classified in the distance learning processing unit is the type of material to which each data can correspond. The calculation from the logit to the probability of each class may typically use a softmax function, but is not limited to this. Then, the class that gives the maximum probability in the probability of each class is selected, and the material type of the selected class is identified as the material type of the input spectrum data. As will be described later, in the distance learning processing unit in this embodiment, a "hierarchical distance learning" algorithm that executes a deep distance learning technology algorithm at least twice in succession may be advantageously adopted.

[0032] As already described, the learning of the classifier including the one-dimensional CNN processing unit and the distance learning processing unit may be performed by a so-called "end-to-end training" method using existing data of known materials as learning data. Specifically, for example, when performing learning processing using certain learning data, the spectral data of the learning data is input to the input layer of the one-dimensional CNN processing unit, a correct answer label (the probability of the class of the material type corresponding to the input learning data = 1, and the probability of other classes = 0) is given in the output layer of the distance learning processing unit that gives the probability of each class, a loss function is calculated in the output layer of the distance learning processing unit, and learning may be performed to update the parameters in the one-dimensional CNN processing unit and the distance learning processing unit according to the backpropagation algorithm. Here, the loss function may typically be a cross entropy error, but is not limited to this. Note that, since the learning of the classifier is supervised learning using existing data of known materials as described above, the classes that can be classified by the classifier, i.e., the types of materials, are the types of known materials.

[0033] According to the configuration of the present embodiment described above, by adopting a one-dimensional CNN and deep metric learning algorithm as a classifier for identifying the type of material from the spectral data of the material, it is expected that the data discrimination ability will be improved, and it will be possible not only to classify the material characteristics (crystal dimensionality, space group, etc.), but also to identify thousands to hundreds of thousands of material types from the data.

[0034] Hierarchical Distance Learning Configuration As described above, in the distance learning processing unit of this embodiment, a "hierarchical distance learning" algorithm is adopted to further improve the ability to identify the type of material from the data. In such a hierarchical distance learning algorithm, as already mentioned, the calculation process in the deep distance learning algorithm is executed at least twice in succession. Specifically, first, in the deep distance learning algorithm, the logit of each class (k dimension) is usually calculated from the cosine similarity between the feature vector (i dimension) output by the one-dimensional CNN processing unit and the weight vector (for each class) and the hyperparameter, and the probability of each class is calculated as it is. On the other hand, in the case of hierarchical distance learning, as shown in FIG. 3(A), a logit (j dimension) is calculated in a first distance learning processing unit using a feature vector (i dimension) output from a one-dimensional CNN processing unit, and then the logit is passed to a second distance learning processing unit, where a logit of each class (k dimension) is calculated, and the probability of each class is calculated from the logit using a softmax function or the like (if the deep distance learning algorithm is to be continued further, the logit is passed to the next distance learning processing unit). Note that the j dimension of the logit calculated in the first distance learning processing unit may be set arbitrarily, and may be the same as or different from the i dimension of the feature vector output from the one-dimensional CNN processing unit.

[0035] According to the above hierarchical distance learning algorithm, it is believed that data having similar features can be classified in more detail. Referring to the conceptual diagram of FIG. 3(B), at the stage where the feature vectors output by the one-dimensional CNN processing unit of various data are mapped onto a virtual sphere, the distance between the feature vectors of each data is not so far away as shown by the points (●, ▲, ■, etc.) on the left side of FIG. 3(B), and the discrimination ability is not so high. However, the feature vectors are converted by the first distance learning process so that the distance between vectors having different features is increased as shown by the points in FIG. 3(B), and further, the second distance learning process converts the distance between vectors having similar features to be increased as shown by the points on the right side of FIG. 3(B). In other words, the distance increases not only between vectors having different features but also between vectors having similar features, and it is believed that this improves the discrimination ability for vectors having similar features.

[0036] The algorithm used in the hierarchical distance learning algorithm may be selected from any deep distance learning algorithm, such as AdaCos, CosFace, ArcFace, and SphereFace. According to the research of the inventor of the present invention, it has been found that using AdaCos for the first distance learning process and CosFace for the second distance learning process can achieve very good classification accuracy.

[0037] Generating Augmented Data Through Physics-Based Data Augmentation In most cases, the number of existing data available for existing materials used to train a classifier is small for each material. For example, as data on inorganic substances registered in ICSD, one or two standard data are usually registered for each material. On the other hand, as already mentioned, various variations occur in the measured values ​​in actual measurements, and the measured data may have deviations in variables such as the angle at which a peak occurs and the frequency (shifts in peak position), deviations in the intensity ratio of multiple peaks, disappearance of a peak, splitting of a peak, etc., compared to the existing data. Therefore, if only one or two standard data registered in the database for each material are used as data for training a classifier, it is difficult to accurately classify data with the above-mentioned variations.

[0038] Therefore, in this embodiment, preferably, data in which various variations that may occur in actual measurement are artificially added to the existing data of the existing material is generated on a computer (physically-based data augmentation processing), and the data may be used as learning data together with the existing data (original data) of the existing material. With such a configuration, it is expected that actual measurement data having various variations different from standard data for a certain material can be identified with a higher accuracy, and the type of the material can be identified.

[0039] In the above-mentioned physics-based data augmentation process, specifically, the following processes may be applied to the original data to give various variations (I(θ) is the spectrum value at the variable θ, and θ pr , θ ps etc. are the variables that give the peaks.) (i) Peak shifting (see Figure 4(i)) - Randomly shift the position of the data relative to the variables so that the variables in which the peaks observed in the original data occur are shifted. I(θ) → I(θ±Δ r )[Δ r is a random shift amount] (ii) Peak intensity ratio change process (see Fig. 4(ii)) - The intensity ratio of multiple peaks observed in the original data is randomly changed. I(θpr ):I(θ ps )=α r :β r [α r :β r is a randomly set intensity ratio] (iii) Peak elimination process (see Fig. 4(iii)) - Randomly eliminate peaks observed in the original data. I(θ pr ) → 0 (iv) Peak splitting process (see Fig. 4(iv)) - The peak observed in the original data is randomly split into two or more peaks. I(θ pr ) →I(θ pr1 )+I(θ pr2 ) The degree of each of the above variations may be appropriately set to be the same as the variation that may occur in an actual measurement. The above variation-imparting processes may be performed in any combination on one existing data. The data generated by the physics-based data augmentation process is called "augmented data."

[0040] In principle, the more the above-mentioned extended data, the higher the discrimination or classification accuracy, but when learning is performed with a certain amount of data, the accuracy does not change, so it is pointless to continue generating new extended data and learning from that state. Therefore, in this embodiment, in the learning process, a cycle of generating new extended data and performing the learning process is performed while verifying the accuracy, and the cycle may be repeated until there is almost no change in the accuracy. In one learning process cycle, several pieces of extended data, for example, five pieces, may be generated for each existing data, and used as learning data together with the existing data.

[0041] Experimental Example According to the teaching of the present embodiment, a discriminator for identifying material types from the spectrum data was constructed using the spectrum data of 6800 types of lithium-containing materials among the powder X-ray diffraction spectrum data provided by ICSD provided by the National Institute of Standards and Technology, etc., and the effectiveness of the present embodiment was verified by detecting the identification accuracy of the material type. It should be understood that the following experimental examples are intended to illustrate the effectiveness of the present embodiment and do not limit the scope of the present invention.

[0042] In the configuration of the classifier in the experiment, the spectral data was data in the range of 0 to 120° for 2θ, and the spectral intensity values ​​of 0.02 degrees were input to each neuron of the input layer consisting of 6000 neurons of the 1D CNN processing unit. The 1D-RegNet described above was used as the 1D CNN algorithm. The feature vector output by the 1D CNN processing unit was 1024-dimensional. The distance learning processing unit was configured to execute hierarchical distance learning by first executing the AdaCos algorithm and then executing the CosFace algorithm. In AdaCos, 1024-dimensional vectors were input and output on both the input and output sides, and in CosFace, 1024-dimensional vectors were received on the input side and 6800 classes of logits were output on the output side. The probability of each class was calculated from the CosFace logits using the softmax function.

[0043] The training data used were existing data of each material obtained by ICSD and augmented data generated from the existing data by the above-mentioned physics-based data augmentation process. Five pieces of augmented data were generated in each learning cycle and used as training data. Each piece of augmented data was generated by applying all of the above-mentioned four processes of giving variations. 70% of the training data was used as training data, 15% as validation data, and 15% as test data. The training data was used to update the weight parameters using the backpropagation method, the validation data was used to verify the versatility of the trained model and to adjust the hyperparameters, and the test data was used to detect the identification accuracy. The learning cycle was performed for 150 epochs (the augmented data was changed every epoch).

[0044] As a result of the above calculation experiment, the identification accuracy was as follows. [Table 1] The identification accuracy (Top 1) is the percentage of times when the material type of the class that gave the highest probability was correct. As can be seen from Table 1, when the distance learning process was hierarchical distance learning, and when the augmented data obtained by physics-based data augmentation process was used as the learning data, the accuracy was improved compared to when they were not used. When hierarchical distance learning and physics-based data augmentation process were applied simultaneously, it was possible to identify the material type with a high accuracy of over 94%.

[0045] Next, we investigated whether data with variations from standard data could be identified. We applied the classifier's hierarchical distance learning algorithm, and during learning, we used learning data that included expanded data obtained by physics-based data augmentation processing. We then detected the identification accuracy using data obtained by performing only peak shift processing, only intensity ratio change processing, only peak disappearance processing, and only peak splitting on existing data. The results are as follows. [Table 2] Top1 accuracy (%) is the percentage when the material type of the class with the highest probability was correct, and Top5 accuracy (%) is the percentage when the correct material was among the classes with the highest probability of 5. As can be seen from Table 2, it is possible to identify with an accuracy of about 90% or more, regardless of any fluctuations in the data.

[0046] Thus, according to the present embodiment described above, it is possible to identify the type of material from the spectral data of the material more accurately and quickly than ever before.

[0047] The above description has been given in relation to the embodiment of the present invention, but it will be apparent to those skilled in the art that many modifications and changes can be easily made thereto, and that the present invention is not limited to the embodiment exemplified above, but can be applied to various devices without departing from the concept of the present invention.

Claims

1. 1. A system for identifying a type of material from spectral data of the material, comprising: a one-dimensional CNN processing unit including a data input layer to which spectral data of a material is input, and a vector output layer to output a feature vector of a predetermined dimension, the one-dimensional CNN processing unit outputting, when the spectral data is input to the input layer, a feature vector corresponding to the spectral data obtained by calculation using a one-dimensional convolutional neural network algorithm based on the spectral data, at the output layer; a distance learning processing unit having a vector input layer to which the feature vector is input and a probability output layer to output probabilities of various types of ingredients, and when the feature vector is input to the vector input layer, the distance learning processing unit calculates the probability that the type of the ingredient in the spectrum data corresponding to the feature vector is among the various types of ingredients based on the feature vector using a deep distance learning algorithm and outputs the calculated probability to the probability output layer; and Including, Spectral data of a plurality of known materials whose types are known is used as learning data, and the one-dimensional CNN processing unit and the distance learning processing unit are trained so that when each of the learning data is input to the data input layer of the one-dimensional CNN processing unit, a probability for the type of material of the input learning data in the probability output layer of the distance learning processing unit is maximized; A system in which, when spectral data of an arbitrary material is input to the data input layer of the one-dimensional CNN processing unit, the type for which the maximum probability value is obtained in the probability output layer of the distance learning processing unit is identified as the type of the arbitrary material.

2. 2. The system of claim 1, wherein the algorithms executed twice in succession in the hierarchical distance learning algorithm are AdaCos and CosFace, and in the distance learning processing unit, the feature vector is converted into the AdaCos logit according to the AdaCos algorithm, the AdaCos logit is converted into the CosFace logit according to the CosFace algorithm, and the probability of each type of the various material types is calculated from the CosFace logit.

3. 2. The system of claim 1, wherein the algorithm executed twice in succession in the hierarchical distance learning algorithm is selected from AdaCos, CosFace, ArcFace, and SphereFace.

4. 4. A system according to claim 1 , wherein the learning data includes spectral data of the known material and extended spectral data generated from the spectral data of the known material in accordance with a physics-based data augmentation algorithm, and the physics-based data augmentation algorithm is an algorithm that applies a peak shifting process, a peak intensity ratio changing process, a peak disappearance process, a peak splitting process, or a combination of at least two of these processes to the spectral data of the known material to modify the spectral data of the known material and generate extended spectral data.

5. 5. The system of claim 4, wherein the physics-based data enhancement algorithm performs all of the peak shifting, peak intensity ratio changing, peak disappearance and peak splitting processes to generate extended spectrum data.

6. 5. The system of claim 4, wherein the one-dimensional CNN processing unit and the distance learning processing unit are configured to generate different extended spectral data by the physics-based data augmentation algorithm until the identification accuracy of the type of the arbitrary material reaches a predetermined value, and to repeatedly execute the learning process of the one-dimensional CNN processing unit and the distance learning processing unit using the different extended spectral data as the learning data.

7. 7. The system according to claim 1, wherein the one-dimensional convolutional neural network algorithm is a 1D-RegNet algorithm.

Citation Information

Patent Citations

  • Information processing device, information processing method, and program

    JP2020119154A

  • Image retrieval device, classifier learning method, and program

    JP2020119508A

  • Data analysis system and data analysis method

    JP2021092467A

  • Real-time spectral analysis through high-speed spectral classification

    WO2019039313A1

  • Computer implemented method for identifying at least one peak in a mass spectrometry response curve

    WO2021191421A1