This application is the U.S. National Stage entry of International Application No. PCT/EP2021/084839, filed on Dec. 8, 2021, which, in turn, claims priority to European Patent Application No. 20383072.4, filed on Dec. 9, 2020, both of which are hereby incorporated herein by reference in their entireties for all purposes.
The specification relates to a method and apparatus for identification of 3D objects based on spectroscopy and machine learning. It also relates to a computer-implemented method of training a machine learning model to identify 3D objects using spectral data. The 3D object may be a gemstone such as a diamond.
Identification of physical objects is important in various industries. For example, in the gemstone industry, the market has in recent years been flooded with gemstones of unclear history and of questionable origin. Moreover illegal appropriation of gemstones (and diamonds in particular) at various points of their production from source mine to final product is a significant problem. All of this makes the problem of gemstone identification at “point of birth” with subsequent traceability throughout the entire production process of gemstone evolution from a rough gemstone to a finished article a highly important one.
The present specification describes a method for identification of 3D objects. The method comprises illuminating at least part of a 3D object with electromagnetic radiation, and spectroscopically obtaining spectral data for one or more regions of the 3D object. The method further comprises generating, at a data processing apparatus, an identification result for the 3D object using a trained machine learning model, comprising processing the obtained spectral data for the one or more regions using the trained machine learning model to generate one or more model outputs from which the identification result is derived.
The method may be advantageously applied to gemstone (e.g. diamond) identification. It allows identification of diamonds (or other gemstones) irrespective of their surface quality, e.g. whether they are rough or polished. Due to its non-invasive nature the method thus provides a way to unambiguously establish links between a gemstone at different processing stages during a production cycle where a rough sample is converted into a polished one. Furthermore, identification result(s) obtained by the method may establish the relationship between gemstones and may allow a “family tree” to be constructed based on an original raw gemstone which was subsequently cut into a number of smaller units. In this way, techniques described in this specification allow traceability of diamonds or other gemstones throughout the entire gemstone production and distribution process.
Spectroscopically obtaining spectral data for a region of the 3D object may comprise obtaining spectral data for electromagnetic radiation transmitted by, scattered by, or reflected from the region. Alternatively, spectroscopically obtaining spectral data for a region may comprise obtaining spectral data for luminescence (for example fluorescence) from the region due to its illumination by electromagnetic radiation. Further alternatively, spectroscopically obtaining spectral data may comprise obtaining spectral data for inelastically scattered electromagnetic radiation generated by a nonlinear process (e.g. a Raman process or harmonic generation) which occurs in the region due to its illumination by electromagnetic radiation.
A plurality of spectral data sets may be obtained for a plurality of respective regions of the 3D object. The identification result may be generated by comparing each of the plurality of obtained spectral data sets with a plurality of stored data sets for a plurality of respective regions of a reference 3D object. In particular, the identification result may be obtained by combining these comparisons, e.g. by averaging the comparisons.
More generally, the identification result may provide a measure of the extent to which the 3D object is related to (e.g. similar to or the same as) the reference 3D object, based on the spectral comparison(s). For example, the identification result may comprise an identification score based on the spectral comparison(s). The identification score may quantify a degree of similarity between the 3D object and the reference 3D object based on the spectral comparison(s).
The machine learning model may comprise a neural network model such as a Siamese neural network model.
The Siamese neural network may comprise a first set of one or more neural network layers for processing the spectral data to determine a latent space representation of the spectral data, and a second set of one or more neural network layers for processing further spectral data to determine a latent space representation for the further spectral data, wherein generating the identification result comprises determining a measure of distance between the latent space representation of the spectral data and the latent space representation of the further spectral data. The first and/or second sets of neural network layers may comprise feed-forward and/or convolutional layers.
The method may comprise generating a plurality of identification results for the 3D object relative to a respective plurality of reference 3D objects using the trained machine learning model, wherein generating each identification result comprises comparing the obtained spectral data with respective stored spectral data for the respective reference 3D object using the trained machine learning model, thereby identifying the extent to which the 3D object is related to the plurality of reference 3D objects.
The 3D object may comprise a material which is transparent to the electromagnetic radiation. The 3D object may comprise a gemstone such as a diamond.
This specification also describes an apparatus for identifying 3D objects, comprising: a spectroscopy arrangement to obtain spectral data for one or more regions of a 3D object, the spectroscopy arrangement including a source of electromagnetic radiation configured for illuminating at least part of a 3D object. The apparatus further comprises one or more computer-readable media storing a trained machine learning model configured to process the generated spectral data for the one or more regions and to thereby generate one or more model outputs from which an identification result is derived, and computer readable instructions, which when executed by one or more processors, generate the identification result using the trained machine learning model.
The source may comprise a broadband source. The spectroscopy arrangement may include a spectrum analyser to obtain the spectral data for the one or more regions of the 3D object.
The spectroscopy arrangement may be configured to obtain the spectral data using Fourier Transform spectrometry.
The electromagnetic radiation may comprise mid-infrared light which may for example comprise one or more wavelengths in the range 2 μm to 12 μm.
In some cases, the electromagnetic radiation may comprise visible light, for example in embodiments in which luminescence spectra are acquired. In some cases, the electromagnetic radiation may comprise near-infrared light, for example in cases in which spectra from second (or higher) harmonic generation processes are acquired.
As used herein, the term “spectroscopy” refers to techniques which analyse the interaction between electromagnetic radiation and a 3D object as a function of wavelength or frequency. Such interaction may include for example, reflection, absorption, luminescence, elastic or inelastic scattering etc. In some examples, a spectroscopy arrangement may analyse the spectrum of electromagnetic radiation after interaction with the 3D object in order to determine spectral data, for example by using a spectrometer. However, in other examples, a spectrometer is not used; instead spectral data is obtained by varying the wavelength of the source of electromagnetic radiation (e.g. a tunable laser), and a detector is used to detect the intensity of the electromagnetic radiation at each wavelength, after it has interacted with the 3D object. It will be understood that the term “spectroscopically” refers to use of a spectroscopy technique.
The specification also describes a method of training a machine learning model for use in 3D object identification, comprising: providing training data comprising a plurality of training data items, each training data item including: a pair of measurements selected from a set of a measurements, each measurement in the set of measurements comprising spectral data obtained for one of a plurality of 3D objects, and a label indicating a relationship between the pair of 3D objects corresponding to the pair of measurements. The method further comprises processing, at one or more processors, the pairs of measurements included in the training data items using the machine learning model to generate a predicted output for each training data item, and adjusting, at the one or more processors, parameters of the machine learning model based on a loss function, wherein the loss function comprises a comparison between the predicted output for each training data item and the label for that training data item.
So that the subject matter of this specification may be more easily understood, examples embodiments thereof will now be described with reference to the accompanying drawings in which:
Various example implementations described in this specification relate to a method for identifying 3D-objects using computer-aided spatially distributed spectral analysis. The method may involve multiple spectral measurements at various points of a given 3D object so that a 3D map of the distributed spectral data can be constructed. The constructed 3D map acts as a “fingerprint” which can be distinguished from a “fingerprint” of another object using a neural network trained for this purpose. In various example implementations, identifying a given object may involve performing only a limited number of spectral measurements and then using the trained neural network to identify the object with an identification accuracy which may in some cases be greater than 99.9%.
In one implementation, the method includes (i) acquisition of multiple spectra (e.g. absorption, reflection or luminescence spectra or frequency converted spectra due to nonlinear interaction) from different probe volumes and (ii) analysis of the recorded data using an algorithm based on neural networks trained such that the “distance” between measurements for the same 3D object are minimised while the “distance” between measurements for different 3D objects are maximised. In this way, techniques described in this specification provide for enhanced identification through detection of small spectral differences which may be indiscernible by other methods.
The method may be advantageously applied to gemstone (e.g. diamond) identification as it allows the initial creation of a 3D spectral map of rough gemstone extracted from the mine pit and then to trace not only the entire gemstone through the production process but also to identify and trace its cut-outs.
Reference herein to identifying (or identification of) a 3D object herein should not understood as being limited to identifying that the 3D object is the same as a known object, and may include identifying that the object is associated with another object (for example identifying that a cut diamond is related to a particular original rough gemstone), or identifying that the object belongs to a particular class of objects (e.g. to a family of cuts from raw gemstone). Such a class of objects may be related in that, for example, they share a common origin and consequentially have one or more similar physical properties which can be detected by techniques described herein. As described in more detail below, in various embodiments the method may produce an identification result which identifies a degree of similarity between the 3D object and a reference object, thereby quantifying the extent to which they are related.
Since the described techniques find particular utility and advantage in the context of gemstone (e.g. diamond) identification, a particular example implementation will now be described in that context. However it will be understood that this specification is not limited to identification of gemstones and various other types of 3D object may be identified using the techniques described herein.
It is now widely accepted that all natural diamonds contain sub-microscopic inclusions with a common composition chemistry reflecting that of the magma from which diamonds are believed to have crystallised. The ubiquitous sub-μm inclusions could well be quenched or re-equilibrated magma droplets which were trapped during diamond growth. For this reason, natural diamond may contain defects formed by atoms of nitrogen or hydrogen substituting atoms of carbon and impurities of sub-micrometre scale containing chemical elements such as boron, phosphorous, chromium and many others.
Each of the above chemical elements has its own, very often unique light absorption spectrum and therefore optical spectra of gemstones in general and diamonds in particular strongly depend on the chemical composition of impurities and defects in the crystal lattice. Since the detailed chemical composition of magma droplets is largely random, it would be reasonable to assume that every raw gemstone has its own and unique optical spectrum associated with slightly different content of the magma droplets. It would be also reasonable to assume that the chemical composition of the droplets marginally varies across individual gemstones and the bigger the gemstone the bigger the variation of the chemical content.
In fact it was noted in Erasmus C. S., et all “Natural diamonds—major, minor and trace impurities in relation to source and physical properties” (J. of Radioanalytical Chemistry, 38 (1977) 133) that there is certain correlation between impurity chemistry and source or origin of diamonds.
However not only the visible optical response (colour) is modified by impurities. The infrared absorption spectra is also affected by impurities and can thus contain information of not only the origin of a particular gemstone but could also be considered as a unique signature of this gemstone. Identification is thus possible, provided that the accuracy of spectral measurements is high enough and the data acquisition and analysis method is capable of both handling big volumes of raw data and detection of small differences in what may otherwise appear to be identical spectra.
Recently, a number of commercial Fourier transform infrared spectroscopy (FTIR) systems have been customised specifically for gemstone inspection such as described in U.S. Pat. No. 4,125,770 and international patent publication WO 03/099054. In general, the spectra is taken for essentially the whole volume of the gemstone or a limited region probe volume, the latter typically with the use of a microscope accessory. Although those instruments and methods are capable of characterising gemstones to some extent, accuracy is not high enough for identification of individual gemstones. Since the signal comes from the whole volume of the gemstone, such signal is an average of contributions from different regions of the whole volume. Therefore, although gemstones are different with different contributions from different regions they may still generate a practically indistinguishable average signal.
Another way of understanding this is to consider that fingerprint signals from specific regions of a gemstone may be “washed out” and become less detectable because of signal contributions from other regions of the gemstones not containing such fingerprints. On the other hand, if only a limited volume is probed, this may not include the defects fingerprints that distinguish the gemstone. In other words, in both cases (the entire and limited probe volume) two gemstones may not be distinguishable using spectroscopic means such as FTIR, at least partially because defects and inclusions generating signals with characteristic fingerprints (identification signatures), are not uniformly distributed.
A similar issue occurs when trying to identify the provenance of a gemstone. For example, imagine an initial gemstone divided into pieces. On the one hand, each piece may generate an average signal for the whole volume with different fingerprints from that of the original parent gemstone. On the other hand, if only a limited volume is probed, only the pieces containing a portion of the limited volume may generate a similar signal.
To address the aforesaid problems, some implementations described in this specification describe the use of multiple spectral measurements at different locations (different probe volumes distributed over the entire volume) of the same gemstone so as to construct a spatial spectral 3D map, and then using machine learning to identify gemstones from a given database by its spectral characteristics. By providing a 3D map of multiple probe volumes as described herein, it is possible to overcome the identification issues of “whole volume” and “limited volume” probing described above. In particular, this maintains the high signal quality of the case of limited probe volume including the defect or inclusion generating fingerprint while also taking advantage of information from a large volume of the gems, reducing in this way the probability of missing fingerprint signals. It is thus more suitable for identification of a gemstone including determining its provenance. With respect to determining provenance, consider a gemstone divided into pieces. If the parent gemstone has been probed in a sufficiently large number of specific limited volumes, the likelihood that each piece contains at least a fingerprinting signature that was detected in the parent gemstone is high
In various implementations described in this specification, acquisition on multiple (e.g. absorption) spectra from different probe volumes is combined with detection of small spectral differences through the use of a neural network, to provide accurate and non-invasive gemstone identification.
It should be noted that absorption can affect both reflected light scattered from the gemstone and transmission light through the gemstone. Therefore reflected scattered light, transmitted light or both can be used to record the spatial absorption map of the gemstone. In a more specific case, it is known to a skilled person in the art that reflecting the light at the back surface of an object is equivalent to measure in double pass transmission, apart from scattered reflected light collected at the same time. For creating the map, different techniques can be used, from translating the relative position of the gemstone with respect to a limited spot size beam, to rotating the gemstones with respect to a beam that is mainly scattered by a layer under the surface, or a beam interacting with the entire gemstone thickness and using apertures for achieving a spatially selected mapping.
Unlike many other methods the approach described in this specification does not change the internal structure or shape of a gemstone and does not create new defects. It is very fast and suitable for both mine pit environment and high street outlets. Using this method it is possible to trace gemstone evolution from raw gemstone extracted from a mine pit to a finished polished article embedded into a suitable frame. Further, it allows a family tree to be developed based on an original large raw gemstone which was subsequently cut into a number of smaller units as described in more detail below.
Data Acquisition
As shown, the incident light 30 partially reflects and scatters from the surface and a thin layer close to the surface to produce scattered light 40, and partially passes through the gemstone 10 to produce transmitted light 50. The scattered and/or transmitted light which carries information about the unique properties of the gemstone under investigation may be spectrally analysed through Fourier Transformation (FT) spectroscopy. A suitable spectrometer 60 may be positioned to detect and analyse either the scattered light 40 or the transmitted light 50, or both, so as to provide spectral data.
In the case of gemstones, it is particularly advantageous that Fourier-transform infrared spectroscopy (FTIR) is used in either transmission or reflection mode as illustrated in
Acquired spectral data is then stored in computer memory. Then the gemstone is moved (shifted or rotated) so that the same measurement can be performed for an adjacent probe volume. This writing data process continues until preferably the spectral mapping covers the entire gemstone.
In some examples, the light from the broadband source may also be moved across the sample in addition to or as an alternative to moving the gemstone. Moreover, rather than shifting or rotating the gemstone, in some embodiments a beam may be used which interacts with the entire gemstone thickness and apertures may be used to achieve a spatially selected mapping. This is illustrated in
In an alternative spectroscopy arrangement, a tunable source (e.g. a quantum cascade laser or a optical parametric oscillator) may be used instead of a broadband source, together with a detector (rather than a spectrometer). This is illustrated in
Irrespective of the spectroscopy arrangement that is used to obtain it, the resulting spectral data for each region comprises a spectrum (e.g. FTIR spectrum) taken within a finite bandwidth F=(fmax−fmin) with given resolution δf, so that the number of spectral data points is Q=F/δf. The spectral data points represent relative intensity values at different wavelengths within the bandwidth F.
The number of such measurements M (i.e. the number of regions for which spectra are recorded) depends on gemstone dimensions and spotsize of the illumination beam at the gemstone surface For example, for a gemstone diameter of 5 mm and a writing beam size of 200 um, about 200 spectral measurements may be taken.
Data Processing—General
Various techniques for processing acquired data will be described below, e.g. in the context of training a machine learning model, testing a machine learning model, and using a trained machine learning model to make predictions.
The apparatus (or system) 1000 comprises one or more processors 1020. The one or more processors control operation of other components of the system/apparatus 1000. The one or more processors 1020 may, for example, comprise a general purpose processor. The one or more processors 1020 may be a single core device or a multiple core device. The one or more processors 1020 may comprise a central processing unit (CPU) or a graphical processing unit (GPU). Alternatively, the one or more processors 1020 may comprise specialised processing hardware, for instance a RISC processor or programmable hardware with embedded firmware. Multiple processors may be included.
The system/apparatus comprises a working or volatile memory 1040. The one or more processors may access the volatile memory 1040 in order to process data and may control the storage of data in memory. The volatile memory 1040 may comprise RAM of any type, for example Static RAM (SRAM), Dynamic RAM (DRAM), or it may comprise Flash memory, such as an SD-Card.
The system/apparatus comprises a non-volatile memory 1060. The non-volatile memory 906 stores a set of operation instructions 1080 for controlling the operation of the processors 902 in the form of computer readable instructions. The non-volatile memory 906 may be a memory of any kind such as a Read Only Memory (ROM), a Flash memory or a magnetic drive memory. The non-volatile memory 1060 may also be used to store the data acquired using the data acquisition process summarised in
The one or more processors 1020 are configured to execute operating instructions 1080 to cause the system/apparatus to perform any of the methods described herein. The operating instructions 1080 may comprise code (i.e. drivers) relating to the hardware components of the system/apparatus woo, as well as code relating to the basic operation of the system/apparatus woo. Generally speaking, the one or more processors 1002 execute one or more instructions of the operating instructions 1008, which are stored permanently or semi-permanently in the non-volatile memory 1006, using the volatile memory 1004 to temporarily store data generated during execution of said operating instructions 1008.
Implementations of the methods described herein may be realised as in digital electronic circuitry, integrated circuitry, specially designed ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These may include computer program products (such as software stored on e.g. magnetic discs, optical disks, memory, Programmable Logic Devices) comprising computer readable instructions that, when executed by a computer, such as that described in relation to
Training a Machine Learning Model
As discussed in more detail below, spectral data obtained for a set of gemstones may be used to train a machine learning model. For a set of N gemstones, the data acquisition process summarised in
For this purpose, it is advantageous to employ a Siamese neural network (also referred to as a “twin neural network”). Siamese neural networks are known per se and will not be described in detail here. An overview of the architecture of an exemplary Siamese neural network is illustrated in
In one example, the input layer may comprise 912 nodes, and the first and second hidden layers may each comprise 128 nodes (i.e. neurons). The output layer may also comprise 128 nodes (i.e. neurons). However those skilled in the art will appreciate that different number of nodes could be used in each layer, and that any suitable number of hidden layers could be used.
The network 40 also includes a second subnetwork 42o which is identical to the first subnetwork 410. Thus, the second subnetwork comprises a second set of fully connected neural network layers which has the same structure as the first subnetwork 410. Furthermore, the second subnetwork includes an input layer 426 configured to receive a set of spectral data points representing a spectrum (e.g. FTIR spectrum), and an output layer 428. As well as being identical in structure, the parameters associated with the corresponding neurons in each subnetwork 410, 420 are also the same because they are constrained to be the same during training (see below).
As discussed above, the first subnetwork 410 receives, at its input layer, spectral data in the form of a respective set of spectral data points for a particular spectrum, e.g. an FTIR spectrum captured for a particular probe volume of a particular gemstone. The number of spectral data points may be denoted by Q, and thus the spectral data may be represented by a vector having Q dimensions, wherein each component of the vector corresponds to a different spectral data point. Similarly, the second subnetwork 420 receives, at its input layer, spectral data in the form of a set of spectral data point for another spectrum, which again may comprise an FTIR spectrum have Q data points and may thus also be represented by a vector having Q dimensions.
The first subnetwork 410 (and therefore also the second subnetwork 420) is configured during training of the neural network 400 to learn a transformation from Q dimensional space (i.e. the space of FTIR spectra represented by Q-dimensional vectors which may be input into the first subnetwork 410) to a lower R-dimensional space(latent space) in such a way that Euclidian distances in R-dimensional space represent a measure of similarity between spectra. It will be understood that R is the size (i.e. number of neurons) in each output layer 418, 428. Specifically, the transformation is such that different measurements for the same gemstone form a close cluster of points with small Euclidian intra-cluster distance di and which is much smaller than that between clusters for different gemstones (inter-cluster distance De). In other words during training, the neural network 400 finds the optimum latent space that maximise De and minimises di. This is schematically illustrated in
In this way the neural network 400 is configured by its training such that the Euclidean distance between the outputs of the first and second subnetworks represents a measure of similarity between the two received FTIR spectra. This Euclidean distance may be denoted by “d” and may comprise a number between 0 and infinity. The network 400 may be trained so that values of d closer to zero (i.e. short distances) are generated when the received spectra are similar, while values of d closer to 1 (i.e. longer distances) are generated when the received spectra are different.
The parameters of the neurons (weights and biases) of the network 400 form the trainable parameters of the network which are adjusted during training based on an objective function as described in more detail below.
In particular, the neural network may be trained using pairs of spectral measurements, where each spectral measurement comprises spectra data including a plurality of spectral data points, the spectral data points representing relative intensity values at different wavelengths as discussed above.
It is advantageous for training purpose to use both similar pairs, i.e. spectral measurements derived from the same gemstone, and also dissimilar pairs, i.e. spectral measurements derived from different gemstones. Any number of stones and measurements may be used, however as an illustrative example suppose there are two gemstones (S1, S2) and M=3 spectral measurements are performed on each stone (M1, M2, M3) using the data acquisition summarised in
Sets of similar and dissimilar pairs can thus be constructed as follows:
Similar pairs (i.e. spectral measurements from the same gemstone)
Dissimilar pairs (spectral measurements from different gemstones)
Each similar pair (same gemstone) is given the label “1”, and each dissimilar pair (different gemstones) is given the label “0”. Thus, each training data item comprises a labelled measurement pair.
Although the example above made use of 2 gemstones and 3 measurements per stone, it will be understood that training data may be developed using the above-described technique using any number of gemstones and measurements per stone. Moreover, it will be understood that while binary labels (1 or 0) may be used in some examples, in other examples labels may reflect more nuanced knowledge of the relationship between measurement pairs. For example, a measurement pair representing a “sibling” relationship (see below with reference to
The Siamese neural network may be trained using the labelled training items using a supervised learning approach. The use of supervised learning to train a Siamese neural network is known per se to those skilled in the art and will not be described in detail here. Briefly, to train the neural network with the training data items, the trainable parameters of the neural network are first initialised, e.g. randomly or in accordance with a particular initialisation scheme. The neural network 400 then processes the training data items by processing the first measurements of each pair using the first subnetwork 410 and the second measurement in each pair using the second subnetwork 420. The Euclidean distance d is then calculated between the output of the first subnetwork 410 and the second subnetwork 420. If d is less than 0.5 then an identification result of “1” (similar) is output, and if d is greater than or equal to 0.5 then an identification result of “0” (dissimilar) is output.
The identification result outputs are compared with the respective labels using a suitable loss function and the parameters of the subnetworks 410 and 420 are updated based on the loss function. As will be understand by those skilled in the art the two subnetworks 410 are identical and remain identical during training. In practice only one subnetwork is trained but its parameters are used for both the first and second subnetworks.
Various loss functions suitable for training Siamese neural network will be apparent to those skilled in the art—suitable examples include contrastive loss, triplet loss and quadruplet loss. A suitable training algorithm such as stochastic gradient descent or other gradient-based method may be used to adjust the trainable parameters of the neural network to minimise the loss function, thereby training the neural network based on the training data items. It will be understood that gradient-based techniques involve calculation of the gradient of the loss function, which may be calculated using the backpropagation technique which is known to those skilled in the art and will not be described here.
In one specific example, the Adam optimizer may be used with a learning rate of 1e-4 and contrastive loss may be used. A batch size of 32 may be used and the neural network may be trained for 250 epochs. Regarding contrastive loss, reference is directed to R. Hadsell, S. Chopra and Y. LeCun, “Dimensionality Reduction by Learning an Invariant Mapping,” 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR′06), New York, NY, USA, 2006, pp. 1735-1742, doi: 10.1109/CVPR.2006.100.
Testing the Trained Model
Returning to the example of our two gemstones (S1, S2), the trained neural network may be tested using additional spectral measurements which may be obtained using the data acquisition summarised
Thus the test items are:
The following table can then be constructed:
Each cell is the result of 6 comparisons. Taking the top left corner as an example these are:
Ideally, the neural network should output “1” for each comparison since they are all coming from the same stone. However, in practice the result may be different, e.g. 5 “1”s and 1 “0”. The outputs are summed and normalized to 1 (i.e. averaged), so for 5 “1”s and 1 “0” the result is 5/6=83%. Repeating this process for the other cells, the result may for example be:
This simplifies to:
Ideally the diagonal should be 100% and the rest 0%, but in practice there may be some deviation from that ideal case e.g. as shown.
Gemstone Identification
The process of identifying an unknown gemstone using the trained neural network is in essence the same as the testing process described above. It begins with a reading process in which data is acquired for the gemstone under test using the data acquisition process summarised in
The unknown gemstone may then be compared with a reference gemstone for which FTIR spectra were previously obtained for various probe regions of the reference stone. The number of spectra recorded for the reference gemstone is denoted here by M.
As shown in
To obtain an overall identification result, all possible pairs of spectra (M*r pairs) are compared in this way using the trained neural network 600 and the results of the spectral comparison (either 1 or 0 for each comparison) are stored. These results are then summed together and normalized to 1. In other words, the results of the spectral comparison for the M*r spectral pairs are averaged to obtain the identification result. The identification result thus obtained represents a degree of similarity between the unknown stone and the reference stone.
Thus, it will be understood that the identification result is derived from the model outputs generated by comparing each of the r spectral data sets for the unknown stone with the M previously stored spectral data sets for the reference gemstone.
It will be understood also that an average is just one way that the results of the individual spectral comparison may be combined and in some cases a different function could be used to provide the identification result.
Example Use Case
In this example, the gemstones S0, S1, S2, S11, S12, S21, S22 have undergone FTIR measurement as summarised in
Suppose a particular one of the gemstones S11, S12, S21, S22 and S3 is picked up without knowing which gemstone it is. The selected gemstone may be compared to the gemstones for which spectral fingerprints are available in the database using the process summarised in
In particular, a small number FTIR measurements may be performed on the selected gemstone (“reading” process) using the process summarised in
Another of the gemstones S11, S12, S21, S22 and S3 may then be picked up and the process repeated for each stone.
Thus, it can be seen that the techniques described in this specification allow identification scores to be determined for a selected gemstone relative a plurality of gemstones for which spectral fingerprints are available, thereby not only determining whether the selected gemstone is a match for a gemstone in the database (if present), but also determining the relationship between the selected gemstone and other gemstones in the database, thereby placing the selected gemstone within its “family tree”. Advantageously, the method allows identification of diamonds irrespective of their surface quality, e.g. whether they are rough or polished. In this way, the described techniques allow traceability of diamonds or other gemstones throughout the entire gemstone production and distribution process.
The training data used to train the machine learning model for determining the identification results for the stones shown in
However in another example, a model trained using only data derived from the stones S0, S1, S11 and S12, may be used to predict the relationship between stone S2 and S1, for example. In other words, in determining an identification result for a stone (e.g. S2), it is not essential that the model has “seen” that stone before during training.
Variations
Although a Siamese neural network may be advantageously used to identify 3D objects as described above, other neural network architectures or other types of machine learning model (e.g. random forest) may alternatively be used in some embodiments. For example, in some embodiments, a neural network may be used for identification of 3D objects which is configured to accept only a single spectrum for the object at a time and which is trained as classifier to determine whether a particular gemstone belongs to a set. Such a neural network may comprises e.g. feed-forward or convolutional layers and may be trained using a supervised learning approach. Alternatively, other types of machine learning model having a twin nature (e.g. Siamese random forest) could be used.
Moreover, although the described techniques find particular utility and advantage in the context of gemstone (e.g. diamond) identification, this specification is not limited to identification of gemstones and various other types of 3D object may be identified using the techniques described here. The 3D object may in some instances comprise a transparent object but this is not essential; the 3D object may be any suitable physical entity.
This specification also provides the subject matter of the following clauses:
Many further modifications and variations to the techniques described in this specification will be evident to those skilled in the art, which fall within the scope of the following claims.
Number | Date | Country | Kind |
---|---|---|---|
20383072 | Dec 2020 | EP | regional |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2021/084839 | 12/8/2021 | WO |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2022/122847 | 6/16/2022 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4125770 | Lang | Nov 1978 | A |
7557917 | Beesley | Jul 2009 | B1 |
8834177 | Lapa et al. | Sep 2014 | B2 |
9063085 | McManus et al. | Jun 2015 | B2 |
20030223054 | Warwick | Dec 2003 | A1 |
20090182520 | Luxembourg et al. | Jul 2009 | A1 |
20140268133 | McManus et al. | Sep 2014 | A1 |
20180342053 | Balagurusamy | Nov 2018 | A1 |
20200202045 | Mehr | Jun 2020 | A1 |
20210027447 | Parikh et al. | Jan 2021 | A1 |
20210302322 | Tsai | Sep 2021 | A1 |
Number | Date | Country |
---|---|---|
1630549 | Mar 2006 | EP |
WO 03099054 | Dec 2003 | WO |
WO 2020074864 | Apr 2020 | WO |
Entry |
---|
“2 Siamese Neural Network: The Architecture”, Marine Genomics: Methods and Protocols, vol. 2190. |
Abduriyim et al, “Applications of Laser Ablation—Inductively Coupled Plasma—Mass Spectrometry”, Gems & Gemology, vol. 42, No. 2, 2006, pp. 98-118. |
Diehl et al, “X-Ray Fingerprinting Routine for Cut Diamonds”, Gem & Gemology, vol. 40, No. 1, 2004, pp. 40-57. |
Díez-Pastor, et al, “Machine learning algorithms applied to Raman spectra for the identification of variscite originating from the mining complex of Gavà”, Journal of Raman Spectroscopy, vol. 51, 2020, p. 1563-1574. |
Downs, “The RRUFF Project: An Integrated Study of theChemistry, Crystallography, Raman and Infrared Spectroscopy of Minerals”, Program and Abstracts of the 19th General Meeting of the International Mineralogical Association, Kobe, Japan, Jul. 23-28, Abstract 90261. |
Ellis et al, “A New Method for Determining the Concentration of Electrolyte Components in Lithium-Ion Cells, Using Fourier Transform Infrared Spectroscopy and Machine Learning”, Journal of the Electrochemical Society, 2018, vol. 165, No. 2, 8 pages. |
Emmett et al, “Beryllium Diffusion of Ruby and Sapphire”, Gems & Gemology, vol. 39, No. 2, 2003, p. 84-135. |
Erasmus et al, “Natural Diamonds—Major, Minor and Trace Impurities in Relation to Source and Physical Properties”, Journal of Radioanalytical Chemistry, vol. 38, 1977, pp. 133-146. |
Graser et al, “Machine Learning and Energy Minimization Approaches for Crystal Structure Predictions: A Review and New Horizons”, Chemistry of Materials, 2018, 23 pages. |
Hadsell et al, “Dimensionality Reduction by Learning an Invariant Mapping”, Conference on Computer Vision and Pattern Recognition, Jun. 17-22, 2006, New York, New York, United States, 8 pages. |
International Search Report and Written Opinion for PCT/EP2021/084839, dated Mar. 18, 2022, 16 pages. |
Kaiser et al, “Nitrogen, A Major Impurity in Common Type I Diamond”, Physical Review, vol. 115, No. 4, Aug. 15, 1959, 7 pages. |
Karampelas et al, X-Ray Computed Microtomography Applied to Pearls: Methodology, Advantages, and Limitations. Gems & Gemology, vol. 46, No. 2, 2010, pp. 122-127. |
Kedzierski et al, “A Machine Learning Algorithm for High Throughput Identification of FTIR Spectra: Application on Microplastics Collected in the Mediterranean Sea”, Chemosphere, Nov. 2019, vol. 234, 29 pages. |
Krzemnicki et al, “A New Method for Detecting Be Diffusion-Treated Sapphires: Laser-Induced Breakdown Spectroscopy (LIBS)”, Gems & Gemology, vol. 40, No. 4, pp. 314-322. |
Krzemnicki M.S., Steinacher M., Herzog F. (2009b) Portable UV-Vis spectrometer. SSEF Instruments, www.ssef.ch/en/news/archive/ EGS2009_Portable_Uvvis.pdf [date accessed: Jun. 5, 2010]. |
Ren et al, “Diamond Color Grading Based on Machine Vision”, International Conference on Computer Vision Workshop, Sep. 27-Oct. 4, 2009, Kyoto, Japan, pp. 1970-1976. |
Sarine Diamond Technologies—A World Leader in the Diamond Industry, www.sarine.com, retrieved on Jun. 1, 2023, 7 pages. |
Number | Date | Country | |
---|---|---|---|
20230393078 A1 | Dec 2023 | US |