This application relates generally to systems and methods for searching spectral data bases and identifying unknown materials.
The challenge of integrating multiple data types into a comprehensive database searching algorithm has yet to be adequately solved. Existing data fusion and database searching algorithms used in the spectroscopic community suffer from key disadvantages. Most notably, competing methods such as interactive searching are not scalable, and are at best semi-automated, requiring significant user interaction. For instance, the BioRAD KnowItAll® software claims an interactive searching approach that supports searching up to three different types of spectral data using the search strategy most appropriate to each data type. Results are displayed in a scatter plot format, requiring visual interpretation and restricting the scalability of the technique. Also, this method does not account for mixture component searches. Data Fusion Then Search (DFTS) is an automated approach that combines the data from all sources into a derived feature vector and then performs a search on that combined data. The data is typically transformed using a multivariate data reduction technique, such as Principal Component Analysis, to eliminate redundancy across data and to accentuate the meaningful features. This technique is also susceptible to poor results for mixtures, and it has limited capacity for user control of weighting factors.
The present disclosure describes a system and method that overcomes these disadvantages allowing users to identify unknown materials with multiple spectroscopic data.
The present disclosure provides for a system and method to search spectral databases and to identify unknown materials. A library having a plurality of sublibraries is provided wherein each sublibrary contains a plurality of reference data sets generated by a corresponding one of a plurality of spectroscopic data generating instruments associated with the sublibrary. Each reference data set characterizes a corresponding known material. A plurality of test data sets is provided that is characteristic of an unknown material, wherein each test data set is generated by one or more of the plurality of spectroscopic data generating instruments. For each test data set, each sublibrary is searched where the sublibrary is associated with the spectroscopic data generating instrument used to generate the test data set. A corresponding set of scores for each searched sublibrary is produced, wherein each score in the set of scores indicates a likelihood of a match between one of the plurality of reference data sets in the searched sublibrary and the test data set. A set of relative probability values is calculated for each searched sublibrary based on the set of scores for each searched sublibrary. All relative probability values for each searched sublibrary are fused producing a set of final probability values that are used in determining whether the unknown material is represented through a known material characterized in the library. A highest final probability value is selected from the set of final probability values and compared to a minimum confidence value. The known material represented in the libraries having the highest final probability value is reported, if the highest final probability value is greater than or equal to the minimum confidence value.
In one embodiment, the spectroscopic data generating instrument comprises one or more of the following: a Raman spectrometer; a mid-infrared spectrometer; an x-ray diffractometer; an energy dispersive x-ray analyzer; and a mass spectrometer. The reference data set comprises one or more of the following a Raman spectrum, a mid-infrared spectrum, an x-ray diffraction pattern, an energy dispersive x-ray spectrum, and a mass spectrum. The test data set comprises one or more of the following a Raman spectrum characteristic of the unknown material, a mid-infrared spectrum characteristic of the unknown material, an x-ray diffraction pattern characteristic of the unknown material, an energy dispersive x-ray spectrum characteristic of the unknown material, and a mass spectrum characteristic of the unknown material.
In another embodiment, each sublibrary is searched using a text query of the unknown material that compares the text query to a text description of the known material.
In yet another embodiment, the plurality of sublibraries are searched using a similarity metric comprising one or more of the following: an Euclidean distance metric, a spectral angle mapper metric, a spectral information divergence metric, and a Mahalanobis distance metric.
In still another embodiment, an image sublibrary is provided where the library contains a plurality of reference images generated by an image generating instrument associated with the image sublibrary. A test image characterizing an unknown material is obtained, wherein the test image data set is generated by the image generating instrument. The test image is compared to the plurality of reference images.
In another embodiment, the present disclosure provides further for a system and method to search spectra databases and to identify unknown materials. A library having a plurality of sublibraries is provided. Each sublibrary contains a plurality of reference data sets generated by a corresponding one of a plurality of spectroscopic data generating instruments associated with the sublibrary. Each reference data set characterizes a corresponding known material and one sublibrary comprises an image sublibrary containing a set of reference feature data. Each set of reference feature data includes one or more of the following: particle size, color value, and morphology data. A plurality of test data sets characteristic of an unknown material is obtained, wherein each test data set is generated by one of the plurality of spectroscopic data generating instruments and one test data set comprises an image test data set generated by an image generating instrument. A set of test feature data is extracted from the image test data set, using a feature extraction algorithm, the test feature data comprising one or more of the following: particle size, color value, and morphology. For the test feature data, the image sublibrary is searched to compare each set of reference feature data with said set of test feature data to thereby produce a set of scores, wherein each score in said set of scores indicates a likelihood of a match between a corresponding set of reference feature data in said searched image sublibrary and said set of test feature data. For each test data set, each sublibrary associated with the spectroscopic data generating instrument used to generate the test data set, is searched producing a corresponding set of scores for each searched sublibrary, wherein each score in said set of scores indicates a likelihood of a match between a corresponding one of said plurality of reference data sets in the searched sublibrary and the test data set. A set of relative probability values for each searched sublibrary is calculated based on the corresponding set of scores for each searched sublibrary and a set of relative probability values for the image sublibrary based on the corresponding set of scores for the image sublibrary. All relative probability values for each searched sublibrary and search image sublibrary are fused producing a set of final probability values to be used in determining whether said unknown material is represented through a corresponding known material characterized in the library. The known material represented in the library having the highest final probability value is reported, if the highest final probability value is greater than or equal to the minimum confidence value.
In another embodiment, if a highest final probability value is less than a minimum confidence value, the unknown material is treated as a mixture of unknown materials. A plurality of second test data sets is obtained that are characteristic of the unknown materials. Each second test data set is generated by one of the plurality of the different spectroscopic data generating instruments. The plurality of second test data sets is combined with the plurality test data sets to generate a plurality of combined test data sets. The combination is made such that the plurality of second test data sets and plurality of test data sets were generated by the same spectroscopic data generating instrument. For each combined test data set, each sublibrary, associated with the spectroscopic data generating instrument used to generate the combined test data set, is searched producing a corresponding second set of scores for each second searched sublibrary. Each second score in the second set of scores indicates a second likelihood of a match between a corresponding one of the plurality of reference data sets in the second searched sublibrary and each combined test data set. A second set of relative probability values is calculated for each searched sublibrary based on the corresponding second set of scores for each searched sublibrary. All second relative probability values, for each searched sublibrary, are fused producing a second set of final probability values to be used in determining whether the unknown material is represented through a corresponding set of known materials in the library.
The accompanying drawings, which are included to provide further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and, together with the description, serve to explain the principles of the disclosure.
In the drawings:
Reference will now be made in detail to the embodiments of the present disclosure, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts.
The plurality of test data sets 110 include data that characterizes an unknown material. The plurality of test data sets 110 are obtained from a variety of instruments 140 that produce data representative of the chemical and physical properties of the unknown material. The plurality of test data sets includes spectroscopic data, text descriptions, chemical and physical property data, and chromatographic data. In one embodiment, the test data set includes a spectrum or a pattern that characterizes the chemical composition, molecular composition, physical properties and/or elemental composition of an unknown material. In another embodiment, the plurality of test data sets include one or more of a Raman spectrum, a mid-infrared spectrum, an x-ray diffraction pattern, an energy dispersive x-ray spectrum, and a mass spectrum that are characteristic of the unknown material. In yet another embodiment, the plurality of test data sets may also include image data set of the unknown material. In still another embodiment, the test data set may include a physical property test data set selected from the group consisting of boiling point, melting point, density, freezing point, solubility, refractive index, specific gravity or molecular weight of the unknown material. In another embodiment, the test data set includes a textual description of the unknown material.
The plurality of spectroscopic data generating instruments 140 include any analytical instrument which generates a spectrum, an image, a chromatogram, a physical measurement and a pattern characteristic of the physical properties, the chemical composition, or structural composition of a material. In one embodiment, the plurality of spectroscopic data generating instruments 140 includes a Raman spectrometer, a mid-infrared spectrometer, an x-ray diffractometer, an energy dispersive x-ray analyzer and a mass spectrometer. In another embodiment, the plurality of spectroscopic data generating instruments 140 further includes a microscope or image generating instrument. In yet another embodiment, the plurality of spectroscopic generating instruments 140 further includes a chromatographic analyzer.
Library 120 includes a plurality of sublibraries 120a, 120b, 120c, 120d and 120e. Each sublibrary is associated with a different spectroscopic data generating instrument 140. In one embodiment, the sublibraries include a Raman sublibrary, a mid-infrared sublibrary, an x-ray diffraction sublibrary, an energy dispersive sublibrary and a mass spectrum sublibrary. For this embodiment, the associated spectroscopic data generating instruments 140 include a Raman spectrometer, a mid-infrared spectrometer, an x-ray diffractometer, an energy dispersive x-ray analyzer and a mass spectrometer. In another embodiment, the sublibraries further include an image sublibrary associated with a microscope. In yet another embodiment, the sublibraries further include a textual description sublibrary. In still yet another embodiment, the sublibraries further include a physical property sublibrary.
Each sublibrary contains a plurality of reference data sets. The plurality of reference data sets include data representative of the chemical and physical properties of a plurality of known materials. The plurality of reference data sets include spectroscopic data, text descriptions, chemical and physical property data, and chromatographic data. In one embodiment, a reference data set includes a spectrum and a pattern that characterizes the chemical composition, the molecular composition and/or element composition of a known material. In another embodiment, the reference data set includes a Raman spectrum, a mid-infrared spectrum, an x-ray diffraction pattern, an energy dispersive x-ray spectrum, and a mass spectrum of known materials. In yet another embodiment, the reference data set further includes a physical property test data set of known materials selected from the group consisting of boiling point, melting point, density, freezing point, solubility, refractive index, specific gravity or molecular weight. In still another embodiment, the reference data set further includes an image displaying the shape, size and morphology of known materials. In another embodiment, the reference data set includes feature data having information such as particle size, color and morphology of the known material.
System 100 further includes at least one processor 130 in communication with the library 120 and sublibraries. The processor 130 executes a set of instructions to identify the composition of an unknown material.
In one embodiment, system 100 includes a library 120 having the following sublibraries: a Raman sublibrary associated with a Raman spectrometer; an infrared sublibrary associated with an infrared spectrometer; an x-ray diffraction sublibrary associated with an x-ray diffractometer; an energy dispersive x-ray sublibrary associated with an energy dispersive x-ray spectrometer; and a mass spectrum sublibrary associated with a mass spectrometer. The Raman sublibrary contains a plurality of Raman spectra characteristic of a plurality of known materials. The infrared sublibrary contains a plurality of infrared spectra characteristic of a plurality of known materials. The x-ray diffraction sublibrary contains a plurality of x-ray diffraction patterns characteristic of a plurality of known materials. The energy dispersive sublibrary contains a plurality of energy dispersive spectra characteristic of a plurality of known materials. The mass spectrum sublibrary contains a plurality of mass spectra characteristic of a plurality of known materials. The test data sets include two or more of the following: a Raman spectrum of the unknown material, an infrared spectrum of the unknown material, an x-ray diffraction pattern of the unknown material, an energy dispersive spectrum of the unknown material, and a mass spectrum of the unknown material.
With reference to
In step 210, the test data sets are corrected to remove signals and information that are not due to the chemical composition of the unknown material. Algorithms known to those skilled in the art may be applied to the data sets to remove electronic noise and to correct the baseline of the test data set. The data sets may also be corrected to reject outlier data sets. In one embodiment, the system detects test data sets, having signals and information that are not due to the chemical composition of the unknown material. These signals and information are then removed from the test data sets. In another embodiment, the user is issued a warning when the system detects test data set having signals and information that are not due to the chemical composition of the unknown material.
With further reference to
In step 225, the set of scores, produced in step 220, are converted to a set of relative probability values. The set of relative probability values contains a plurality of relative probability values, one relative probability value for each reference data set.
Referring still to
In step 240, the identity of the unknown material is reported. To determine the identity of the unknown, the highest final probability value from the set of final probability values is selected. This highest final probability value is then compared to a minimum confidence value. If the highest final probability value is greater than or equal to the minimum confidence value, the known material having the highest final probability value is reported. In one embodiment, the minimum confidence value may range from 0.70 to 0.95. In another embodiment, the minimum confidence value ranges from 0.8 to 0.95. In yet another embodiment, the minimum confidence value ranges from 0.90 to 0.95.
As described above, the library 120 contains several different types of sublibraries, each of which is associated with an analytical technique, i.e., the spectroscopic data generating instrument 140. Therefore, each analytical technique provides an independent contribution to identifying the unknown material. Additionally, each analytical technique has a different level of specificity for matching a test data set for an unknown material with a reference data set for a known material. For example, a Raman spectrum generally has higher discriminatory power than a fluorescence spectrum and is thus considered more specific for the identification of an unknown material. The greater discriminatory power of Raman spectroscopy manifests itself as a higher likelihood for matching any given spectrum using Raman spectroscopy than using fluorescence spectroscopy. The method illustrated in
In yet another embodiment, each spectroscopic data generating instrument has a different associated weighting factor. Estimates of these associated weighting factors are determined through automated simulations. In particular, with at least two data records for each spectroscopic data generating instrument (i.e. two Raman spectra per material), the library is split into training and validation sets. The training set is then used as the reference data set. The validation set is used as test data set and searched against the training set. Without the weighting factors ({W}={1, 1, . . . , 1}), a certain percentage of the validation set will be correctly identified, and some percentage will be incorrectly identified. By explicitly or randomly varying the weighting factors and recording each set of correct and incorrect identification rates, the optimal operating set of weighting factors, for each spectroscopic data generating instrument, is estimated by choosing those weighting factors that result in the best identification rates.
The method of the present disclosure also provides for using a text query to limit the number of reference data sets of known compounds in the sublibrary searched in step 220 of
The method of the present disclosure also provides for using images to identify the unknown material. In one embodiment, an image test data set characterizing an unknown material is obtained from an image generating instrument. The test image, of the unknown, is compared to the plurality of reference images for the known materials in an image sublibrary to assist in the identification of the unknown material. In another embodiment, a set of test feature data is extracted from the image test data set using a feature extraction algorithm to generate test feature data. The selection of an extraction algorithm is well known to one of skill in the art of digital imaging. The test feature data includes information concerning particle size, color or morphology of the unknown material. The test feature data is searched against the reference feature data in the image sublibrary, producing a set of scores. The reference feature data includes information such as particle size, color and morphology of the material. The set of scores, from the image sublibrary, are used to calculate a set of probability values. The relative probability values, for the image sublibrary, are fused with the relative probability values for the other plurality of sublibraries as illustrated in
The method of the present disclosure further provides for enabling a user to view one or more reference data set of the known material identified as representing the unknown material despite the absence of one or more test data sets. For example, the user inputs an infrared test data set and a Raman test data set to the system. The x-ray dispersive spectroscopy (“EDS”) sublibrary contains an EDS reference data set for the plurality of known compounds even though the user did not input an EDS test data set. Using the steps illustrated in
The method of the present disclosure also provides for identifying unknowns when one or more of the sublibraries are missing one or more reference data sets. When a sublibrary has fewer reference data sets than the number of known materials characterized within the main library, the system treats this sublibrary as an incomplete sublibrary. To obtain a score for the missing reference data set, the system calculates a mean score based on the set of scores, from step 225, for the incomplete library. The mean score is then used, in the set of scores, as the score for missing reference data set.
The method of the present disclosure also provides for identifying miscalibrated test data sets. When one or more of the test data sets fail to match any reference data set in the searched sublibrary, the system treats the test data set as miscalibrated. The assumed miscalibrated test data sets are processed via a grid optimization process where a range of zero and first order corrections are applied to the data to generate one or more corrected test data sets. The system then reanalyzes the corrected test data set using the steps illustrated in
The method of the present disclosure also provides for the identification of the components of an unknown mixture. With reference to
In step 307, the test data sets are corrected to remove signals and information that are not due to the chemical composition of the unknown material. In step 310, each sublibrary is searched for a match for each combined test data set. The searched sublibraries are associated with the spectroscopic data generating instrument used to generate the combined test data sets. The sublibrary search is performed using a spectral unmixing metric that compares the plurality of combined test data sets to each of the reference data sets in each of the searched sublibraries. A spectral unmixing metric is disclosed in U.S. patent application Ser. No. 10/812,233 entitled “Method for Identifying Components of a Mixture via Spectral Analysis,” filed Mar. 29, 2004 which is incorporated herein by reference in its entirety; however this application forms no part of the present invention. The sublibrary searching produces a corresponding second set of scores for each searched sublibrary. Each second score and the second set of scores is the score and set of scores produced in the second pass of the searching method. Each second score in said second set of scores indicates a second likelihood of a match between the combined test data sets and each of reference data sets in the searched sublibraries. The second set of scores contains a plurality of second scores, one second score for each reference data set in the searched sublibrary.
According to a spectral unmixing metric, the combined test data sets define an n-dimensional data space, where n is the number of points in the test data sets. Principal component analysis (PCA) techniques are applied to the n-dimensional data space to reduce the dimensionality of the data space. The dimensionality reduction step results in the selection of m eigenvectors as coordinate axes in the new data space. For each search sublibrary, the reference data sets are compared to the reduced dimensionality data space generated from the combined test data sets using target factor testing techniques. Each sublibrary reference data set is projected as a vector in the reduced m-dimensional data space. An angle between the sublibrary vector and the data space results from target factor testing. This is performed by calculating the angle between the sublibrary reference data set and the projected sublibrary data. These angles are used as the second scores which are converted to second probability values for each of the reference data sets and fed into the fusion algorithm in the second pass of the search method. This paragraph forms no part of the present invention.
Referring still to
From the set of second final probabilities values, a set of high second final probability values is selected. The set of high second final probability values is then compared to the minimum confidence value, step 325. If each high second final probability value is greater than or equal to the minimum confidence value, step 335, the set of known materials represented in the library having the high second final probability values is the reported. In one embodiment, the minimum confidence value may range from 0.70 to 0.95. In another embodiment, the minimum confidence value may range from 0.8 to 0.95. In yet another embodiment, the minimum confidence value may range from 0.9 to 0.95.
Referring to
COMBINED TEST DATA SET=CONCENTRATION×REFERENCE DATA SET+RESIDUAL
To calculate a residual data set, a linear spectral unmixing algorithm may be applied to the plurality of combined test data sets, to thereby produce a plurality of residual test data, step 410. Each searched sublibrary has an associated residual test data. When a plurality of residual data are not identified in step 410, a report is issued, step 420. In this step, the components of the unknown material are reported as those components determined in step 335 of
In this example, a network of n spectroscopic instruments each provide test data sets to a central processing unit. Each instrument makes an observation vector {Z} of parameter {X}. For instance, a dispersive Raman spectrum would be modeled with X=dispersive Raman and Z=the spectral data. Each instrument generates a test data set and calculates (using a similarity metric) the likelihoods {pi(Ha)} of the test data set being of type Ha. Bayes' theorem gives:
where:
To infer a presumed identity from the above equation, a value of identity is assigned to the test data having the most probable (maximum a posteriori) result:
To use the above formulation, the test data is converted to probabilities. In particular, the spectroscopic instrument must give p({Z}|Ha), the probability that observations {Z} were taken, given that the test data is type Ha. Each sublibrary is a set of reference data sets that match the test data set with certain probabilities. The probabilities of the unknown matching each of the reference data sets must sum to 1. The sublibrary is considered as a probability distribution.
The system applies a few commonly used similarity metrics consistent with the requirements of this algorithm: Euclidean Distance, the Spectral Angle Mapper (SAM), the Spectral Information Divergence (SID), Mahalanobis distance metric and spectral unmixing. The SID has roots in probability theory and is thus the best choice for the use in the data fusion algorithm, although either choice will be technically compatible. Euclidean Distance (“ED”) is used to give the distance between spectrum x and spectrum y:
Spectral Angle Mapper (“SAM”) finds the angle between spectrum x and spectrum y:
When SAM is small, it is nearly the same as ED. Spectral Information Divergence (“SID”) takes an information theory approach to similarity and transforms the x and y spectra into probability distributions p and q:
The discrepancy in the self-information of each band is defined as:
Di(xi∥yi)=log[pi/qi] (Equation 9)
So the average discrepancies of x compared to y and y compared to x (which are different) are:
The SID is thus defined as:
SID(x,y)=D(x∥y)+D(y∥x) (Equation 11)
A measure of the probabilities of matching a test data set with each entry in the sublibrary is needed. Generalizing a similarity metric as m(x, y), the relative spectral discrimination probabilities is determined by comparing a test data set x against k library entries.
Equation 12 is used as p({Z}|Ha) for each sensor in the fusion formula.
Assuming, a library consists of three reference data sets: {H}={A, B, C}. Three spectroscopic instruments (each a different modality) are applied to this sample and compare the outputs of each spectroscopic instrument to the appropriate sublibraries (i.e. dispersive Raman spectrum compared with library of dispersive Raman spectra). If the individual search results, using SID, are:
Raman and mid-infrared sublibraries each having reference data set for 61 substances were used. For each of the 61 substances, the Raman and mid-infrared sublibraries were searched using the Euclidean distance vector comparison. In other words, each substance is used sequentially as a target vector. The resulting set of scores for each sublibrary were converted to a set of probability values by first converting the score to a Z value and then looking up the probability from a Normal Distribution probability table. The process was repeated for each spectroscopic technique for each substance and the resulting probabilities were calculated. The set of final probability values was obtained by multiplying the two sets of probability values.
The results are displayed in Table 1. Based on the calculated probabilities, the top match (the score with the highest probability) was determined for each spectroscopic technique individually and for the combined probabilities. A value of “1” indicates that the target vector successfully found itself while a value of “0” indicates that the target vector found some match other than itself as the top match. The Raman probabilities resulted in four incorrect results, the mid-infrared probabilities resulted in two incorrect results, and the combined probabilities resulted in no incorrect results.
The more significant result is the fact that the distance between the top match and the second match is significantly large for the combined approach as opposed to Raman or mid-infrared for almost all of the 61 substances. In fact, 15 of the combined results have a difference that is a four times greater distance than the distance for either MIR or Raman, individually. Only five of the 61 substances do not benefit from the fusion algorithm.
The present disclosure may be embodied in other specific forms without departing from the spirit or essential attributes of the disclosure. Accordingly, reference should be made to the appanded claims, rather than the foregoing specification, as indicating the scope of the discloure. Although the foregoing description is directed to the embodiments of the disclosure, it is noted that other variations and modification will be apparent to those skilled in the art, and may be made without departing from the spirit or scope of the disclosure.
This application claims the benefit of U.S. Patent Application No. 60/688,812 filed Jun. 9, 2005 entitled Forensic Integrated Search Technology and U.S. Patent Application No. 60/711,593 filed Aug. 26, 2005 entitled Forensic Integrated Search Technology.
This work is supported by the Federal Bureau of Investigation under Contract Number J-FBI-05-175.
Number | Date | Country | |
---|---|---|---|
60688812 | Jun 2005 | US | |
60711593 | Aug 2005 | US |