Deep learning techniques for analyses of experimental data generated by two or more detectors
Deep learning techniques using variational autoencoders enhance electron microscopy and spectroscopy instruments by rapidly identifying chemical and structural features in samples, addressing the limitations of traditional signal processing methods.
Patent Information
- Application Number
- JP2024022860
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-20
- Filing Date
- 2024-02-19
- Publication Date
- 2024-08-30
AI Technical Summary
Existing signal processing methodologies for electron microscopy and spectroscopy instruments require extensive time due to low signal-to-noise ratios, limiting the ability to quickly identify chemical and structural features in samples, particularly in quality control procedures.
Employing deep learning techniques, specifically variational autoencoders, to process data from multiple spectroscopic and imaging modalities, allowing for rapid identification of chemical similarities and anomalies in electron microscopy samples by mapping data to a lower-dimensional latent space.
Enables real-time detection of chemically similar regions and anomalies within samples, significantly speeding up quality control processes and providing accurate, qualitative information without the need for time-intensive signal processing.
Smart Images

Figure 2024118455000001
Abstract
Description
[Technical field]
[0001] Various examples relate generally to microscopy components, instruments, systems, and methods. Some examples represent the combined use of electron microscopy with various types of spectroscopy. Summary of the Invention
[0002] Examples of microscopy techniques include optical microscopy, charged particle microscopy, and scanning probe microscopy. For example, scanning transmission electron microscopy (STEM), a type of charged particle microscopy, works by sending a focused electron beam to a relatively thin sample and capturing the electrons that pass through the sample to generate a detailed two-dimensional (2D) image. Exemplary types of scanning probe microscopy include atomic force microscopy (AFM), scanning tunnelling microscopy (STM), and near-field scanning optical microscopy (NSOM). Spectroscopy is used to measure and interpret electromagnetic or particle spectra, which typically represent the flux of a corresponding physical quantity as a function of time, mass, angle, wavelength, frequency, or energy.
[0003] Disclosed herein are various examples, aspects, features, and embodiments of a scientific instrument that includes, among other things, a detector supporting two or more spectroscopic modalities and an imaging modality, and further includes an electronic controller configured to process a stream of measurements received from the detector. In some examples, the electronic controller is operative to generate a base image of the sample based on measurements corresponding to the imaging modalities, and is further operative to generate a cluster mapping image of the sample based on the base image and further based on mapping of measured spectra corresponding to different pixels of the base image to different clusters in a latent space of a variational autoencoder. In at least some cases, the cluster mapping image can be advantageously used to identify chemically similar regions in the sample within seconds, even when the measured spectra have relatively low signal-to-noise ratio values.
[0004] One example provides an apparatus comprising: an electron beam column configured to scan an electron beam across a specimen; a plurality of detectors configured to measure signals caused by an interaction of the electron beam with the specimen, the plurality of detectors including a first detector for a first modality, a second detector for a second modality, and a third detector for an imaging modality; and an electronic controller, the electronic controller being connected to receive a stream of measurements from the plurality of detectors, and for each pixel of a base image of the specimen generated using the imaging modality, generating a respective first input vector and a respective second input vector using an autoencoder. to respective probability densities in a latent space, where each first input vector, each second input vector, and a base image are obtained based on a stream of measurements, where each first input vector corresponds to a first modality and each second input vector corresponds to a second modality; identifying with an autoencoder a respective latent space cluster to which the respective probability densities belong; and generating a cluster-mapped image of the sample based on the base image and further based on the identified latent space clusters for different pixels of the base image.
[0005] Another example provides a support apparatus for a scientific instrument, the support apparatus comprising: an interface device configured to receive a stream of measurements from a plurality of detectors of the scientific instrument, the plurality of detectors configured to measure a signal caused by an interaction of an electron beam with the sample, the interface device including a first detector for a first spectroscopic modality of the scientific instrument, a second detector for a second spectroscopic modality of the scientific instrument, and a third detector for an imaging modality of the scientific instrument; and a processing device, wherein for each pixel of a base image of the sample generated using the imaging modality, the processing device generates a respective first input vector and and mapping each second input vector to a respective probability density in a latent space, where each first input vector, each second input vector, and a base image are obtained based on a stream of measurements, where each first input vector corresponds to a first spectroscopic modality and each second input vector corresponds to a second spectroscopic modality; identifying, using an autoencoder, a respective latent space cluster to which the respective probability density belongs; and generating a cluster-mapped image of the sample based on the base image and further based on the identified latent space clusters for different pixels of the base image.
[0006] Yet another example provides an automated method implemented via a computing device for providing assistance to a scientific instrument, the method including receiving a stream of measurements from a plurality of detectors of the scientific instrument, the plurality of detectors configured to measure signals caused by an interaction of an electron beam with a sample, and including a first detector for a first spectroscopic modality of the scientific instrument, a second detector for a second spectroscopic modality of the scientific instrument, and a third detector for an imaging modality of the scientific instrument; and, for each pixel of a base image of the sample generated using the imaging modality, generating a respective first input vector and a respective mapping each second input vector to a respective probability density in a latent space, where each first input vector, each second input vector, and a base image are obtained based on a stream of measurements, where each first input vector corresponds to a first spectroscopic modality and each second input vector corresponds to a second spectroscopic modality; identifying, using an autoencoder, a respective latent space cluster to which the respective probability density belongs; and generating a cluster-mapped image of the sample based on the base image and further based on the identified latent space clusters for different pixels of the base image.
[0007] Yet another example provides a non-transitory computer-readable medium storing instructions that, when executed by a computing device, cause the computing device to perform operations including the automated methods described above. [Brief description of the drawings]
[0008] The patent or application file contains at least one drawing executed in color. Copies of this patent or patent application publication with color drawing(s) will be provided by the Office upon request and payment of the necessary fee.
[0009] The foregoing aspects and many of the attendant advantages of the present disclosure will become more readily appreciated as the same become better understood by reference to the following detailed description, when taken in conjunction with the accompanying drawings, in which: [Figure 1] 1 is a block diagram illustrating an exemplary scientific instrument, according to some embodiments. [Diagram 2] 2 is a block diagram illustrating a portion of the scientific instrument of FIG. 1 according to one embodiment. [Diagram 3] 2 diagrammatically illustrates data structures used in the scientific instrument of FIG. 1, according to an example. [Figure 4] FIG. 1 is a block diagram of an example computing device configured to perform at least some scientific instrument supporting operations, in accordance with various embodiments. [Diagram 5] 2 is a block diagram illustrating an autoencoder used in the scientific instrument of FIG. 1 in accordance with some embodiments. [Figure 6] 2 is a block diagram illustrating an autoencoder for use in the scientific instrument of FIG. 1 in accordance with some other embodiments. [Figure 7A] FIG. 2 graphically illustrates pre-processing of Electron Energy Loss Spectroscopy (EELS) data acquired using the scientific instrument of FIG. 1 according to one embodiment. [Figure 7B] FIG. 2 graphically illustrates pre-processing of Electron Energy Loss Spectroscopy (EELS) data acquired using the scientific instrument of FIG. 1 according to one embodiment. [Figure 8A] FIG. 2 graphically illustrates pre-processing of Energy-Dispersive X-ray Spectroscopy (EDS) data acquired with the scientific instrument of FIG. 1, according to another embodiment. [Figure 8B]FIG. 2 graphically illustrates pre-processing of Energy-Dispersive X-ray Spectroscopy (EDS) data acquired with the scientific instrument of FIG. 1, according to another embodiment. [Figure 8C] FIG. 2 graphically illustrates pre-processing of Energy-Dispersive X-ray Spectroscopy (EDS) data acquired with the scientific instrument of FIG. 1, according to another embodiment. [Figure 9A] FIG. 2 illustrates a first example of autoencoder-based processing of experimental data generated using the scientific instrument of FIG. 1 according to one embodiment. [Figure 9B] FIG. 2 illustrates a first example of autoencoder-based processing of experimental data generated using the scientific instrument of FIG. 1 according to one embodiment. [Figure 10A] FIG. 2 illustrates a second example of autoencoder-based processing of experimental data generated using the scientific instrument of FIG. 1, according to one embodiment. [Figure 10B] FIG. 2 illustrates a second example of autoencoder-based processing of experimental data generated using the scientific instrument of FIG. 1, according to one embodiment. [Figure 11A] FIG. 2 illustrates a third example of autoencoder-based processing of experimental data generated using the scientific instrument of FIG. 1 according to one embodiment. [Figure 11B] FIG. 2 illustrates a third example of autoencoder-based processing of experimental data generated using the scientific instrument of FIG. 1 according to one embodiment. [Figure 12] FIG. 7 graphically illustrates an eight-dimensional (8D) latent space of the autoencoder of FIG. 6, according to one embodiment. [Figure 13] FIG. 7 is a block diagram illustrating a neural network used in the autoencoder of FIG. 5 or 6 according to one embodiment. [Figure 14] 2 is a flow chart illustrating an analytical method implemented using the scientific instrument of FIG. 1 according to one embodiment. [Figure 15] 2 is a flow chart illustrating another analytical method performed using the scientific instrument of FIG. 1 in accordance with one embodiment. [Figure 16A] 16 is a graph illustrating an example pair of measured and reconstructed spectra used in the analysis method of FIG. 15, according to one embodiment. [Figure 16B] 16 is a graph illustrating an example pair of measured and reconstructed spectra used in the analysis method of FIG. 15, according to one embodiment. [Figure 17A] 16 illustrates an example anomaly map generated using the analysis method of FIG. 15 , according to one embodiment. [Figure 17B] 16 illustrates an example anomaly map generated using the analysis method of FIG. 15 , according to one embodiment. [Figure 17C] 16 illustrates an example anomaly map generated using the analysis method of FIG. 15 , according to one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Reference herein to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with that embodiment may be included in at least one embodiment of the present disclosure. The appearances of the phrases "in accordance with one embodiment" or "in accordance with an embodiment" in various places in this specification do not necessarily all refer to the same embodiment, nor are separate or alternative embodiments necessarily mutually exclusive of other embodiments. The same applies to the term "implementation."
[0011] FIG. 1 is a block diagram illustrating a scientific instrument 100, according to some embodiments. The scientific instrument 100 includes a scanning transmission electron microscope (STEM) column 102 coupled to a vacuum chamber 108. The vacuum chamber 108 houses a movable sample holder 110 therein and can be evacuated using one or more vacuum pumps (not explicitly shown in FIG. 1). In an exemplary embodiment, the sample holder 110 is independently movable parallel to an XY coordinate plane and parallel to a Z coordinate axis, with the corresponding coordinate system depicted by the XYZ coordinate triad shown in FIG. 1. A sample S to be investigated using the scientific instrument 100 is mounted in the sample holder 110 as shown in FIG. 1.
[0012] In the illustrated example, the STEM column 102 comprises an electron source 112 and two or more charged-particle-beam (CPB) lenses, of which only two are shown diagrammatically in FIG. 1 for illustrative purposes: objective lens 106 and condenser lens 116. In some examples, a different number of such lenses (other than two) may be used in the STEM column 102. In some embodiments, the objective lens 106 may be an ultra-high-resolution (UHR) lens.
[0013] In operation, the electron source 112 generates an electron beam 114 that propagates generally along a longitudinal axis 115 of the STEM column 102. The CPB lenses 106 and 116 operate to generate electric and magnetic fields that affect the electron trajectories in the electron beam 114. Control signals 152, 156 generated by an electronic controller 150 are used to modify the strength and / or spatial configuration of these fields to impart desired characteristics to the electron beam 114. In general, the CPB lenses 106 and 116, the control signals 152 and 156, and other associated components of the scientific instrument 100 can be used to perform various operations to support various functions such as beam focusing, aberration mitigation, aperture cropping, filtering, etc. The STEM column 102 further comprises a deflection unit 118 that can steer the electron beam 114 in response to control signals 154 applied by the electronic controller 150. Such beam steering can be used to move a focused portion of the electron beam 114 along a desired path across the sample S, for example to perform a raster or vector scan of the sample S.
[0014] The scientific instrument 100 also includes detectors 160, 170, 180 located within the vacuum chamber 108 in relative proximity to the sample S. During operation, the detectors 160, 170, and 180 generate streams of measurements 162, 172, and 182 that are received by the electronic controller 150. The specific types of detectors 160, 170, 180 depend on the embodiment of the scientific instrument 100 and can typically be selected from a variety of detector types suitable for detecting different types of emissions and / or radiation from the sample S produced in response to the electron beam 114. Exemplary types of emissions / radiation that may be produced in this manner include, but are not limited to, x-rays, infrared, visible light, ultraviolet light, backscattered electrons, secondary electrons, Auger electrons, elastically scattered electrons, non-scattered (e.g., zero energy loss) electrons, and non-elastically scattered electrons. In various embodiments, a different number (than three) of such detectors can be used (see also FIG. 2). In some embodiments, the detectors 160, 170, 180 are selected from the group consisting of a high angle annular dark field detector, a medium angle annular dark field detector, an annular bright field detector, a segmented annular detector, a differential phase contrast detector, an EELS detector, an EDS detector, and a two-dimensional pixelated diffraction pattern detector. In some examples, the EELS detector is configured to detect unscattered electrons. In such examples, the corresponding detection signal can be used to experimentally determine the thickness of the sample S. Other detectors capable of detecting various of the above types of emission / radiation can also be used in various additional embodiments.
[0015] In the illustrated example, the detectors 160, 170 are positioned above the sample S. The detector 180 is positioned below the sample S. As used herein, the terms "above" and "below" are used with respect to the direction of propagation of the electron beam 114, which propagates generally along the Z coordinate axis from the electron source 112 toward the sample S. In this sense, a location "above" the sample S has a non-zero offset from the sample S along the Z coordinate axis in the upstream direction of the electron beam 114. Similarly, a location "below" the sample S has a non-zero offset from the sample S along the Z coordinate axis in the downstream direction of the electron beam 114. In various additional embodiments, a different number of detectors can be positioned above and below the sample S. In some embodiments, all such detectors can be positioned below or above the sample S.
[0016] FIG. 2 is a block diagram illustrating a portion 200 of scientific instrument 100, according to one exemplary embodiment. Portion 200 is an exemplary example of a detector configuration suitable for combined spectroscopy and microscopy in scientific instrument 100. Although both spectroscopy and microscopy are useful tools for analyzing samples individually, spectroscopy and microscopy can provide even more powerful results when combined. In the example shown, portion 200 provides STEM imaging capabilities. Spectroscopic techniques implemented in portion 200 include, but are not limited to, electron energy loss spectroscopy (EELS) and energy dispersive x-ray spectroscopy (EDS). In various additional examples, other microscopy / spectroscopy combinations are implemented.
[0017] The portion 200 includes the objective lens 106, also shown in Fig. 1, the sample S, and the detectors 160, 180. The portion 200 further includes a projection lens 210, annular detectors 220, 230, and 240, an aperture 250, and a magnetic field sector 260. Fig. 2 also shows, in a schematic way, the electron beam 114 delivered to the sample S, as described above with reference to Fig. 1. The STEM imaging modality of the scientific instrument involves sequential scanning of a focused portion of the electron beam 114 over a selected portion of the sample S, using some or all of the annular detectors 220, 230, and 240, which select electrons having different scattering angles with respect to the propagation direction of the electron beam 114. The pixel-by-pixel data acquisition thus performed is used to construct, among other things, a STEM image of the scanned area of the sample S.
[0018] In some examples, the annular detector 220 is a high-angle annular dark field (HAADF) detector configured to detect incoherent quasi-elastic electron scattering by nuclei, typically the primary component for scattering angles higher than 80 mrad. Application of suitable models to the evaluation of incoherent electron scattering detected using the HAADF detector 220 allows, for example, the determination of chemical species in monolayer materials and thin films, the detection of heavy atom impurities in nanowires, and the evaluation of three-dimensional (3D) morphology of nanocrystals. Another important application of the HAADF modality is related to heterogeneous catalysis studies, since the size of metal particles and their distribution in the catalyst significantly affect the efficacy of the catalyst.
[0019] In some examples, the annular detector 230 is a medium-angle annular dark field (MAADF) detector configured to detect electrons with scattering angles of about 30-80 mrad. The combination of the HAADF and MAADF modalities is applied, for example, to the extraction of additional features from crystalline samples. One example of such an application is the designed use of specific angular ranges to select high-order Laue zones (HOLZ), which can provide information about the ordering of atomic species along the electron beam direction. The MAADF modality can also be applied to 3D defect analysis in STEM tomography.
[0020] In some examples, the annular detector 240 is an annular bright field (ABF) detector configured to detect electrons at low scattering angles. Information extracted from the analysis of the signal generated by the ABF detector 240 is typically related to lighter atomic species. For example, the combination of the HAADF and ABF modalities can be used for direct imaging of oxygen atomic columns in metal oxides such as Al2O3 and hydrogen atomic columns in metal hydrides such as VH2. In another example, the combination of the HAADF and ABF modalities can be used to clearly identify chemical species on single-layer nitrides such as BN, which are often used in electronics as substrates for semiconductors.
[0021] Various electron microscope-based spectroscopic techniques are typically directed to obtaining quantitative and / or qualitative information from various signals generated during the scanning of the electron beam 140 over the sample S. After appropriate collection, the spectroscopic signals can be used for the construction of a map of material properties that is presented together with or overlaid on a corresponding electron microscope image, for example, generated as indicated above using one or more of the annular detectors 220, 230, and 240 and / or other suitable detectors. An example of such a map in the form of a data hypercube representation is described in more detail below with reference to FIG. 3. As used herein, the term "hypercube" refers to a generalization of a three-dimensional cube to n dimensions, where n is a positive integer greater than 1. In various examples, the hypercube may or may not be normalized to have sides of unit length. In some literature, the hypercube is referred to as an n-cube or a regular cube. A hypercube is a regular polyhedron with mutually perpendicular sides, and thus a hypercube. A two-dimensional hypercube is a square. A three-dimensional hypercube is a cube. A four-dimensional hypercube is a tesseract, and so on. The exemplary data structure 300 illustrated in FIG. 3 represents a non-normalized octahedron, where each element (i,j) in a STEM image 302 is represented by a respective EDS spectrum 304 measured using the EDS detector 160. i,j and the respective EELS spectra 306 measured using the EELS detector 180. i,j is associated with.
[0022] In some examples illustrated in FIG. 2, the detector 160 operates as an EDS detector configured to detect characteristic X-ray emissions from the sample S stimulated by the electron beam 114. In the ground (unexcited) state, atoms in the sample S have electrons in discrete energy levels of the atom's inner electron shell. The interaction of the electron beam 114 with the atoms can cause an electron to jump out of the atom's inner shell, thereby creating an electron hole (vacancy) in the inner shell. Recombination of this electron hole with an electron from the atom's outer shell (high energy) then causes the emission of an X-ray photon. The flux of such X-ray photons and their energy are measured by the EDS detector 160, thereby measuring a corresponding X-ray emission spectrum. Since each chemical element has a unique set of peaks in the X-ray emission spectrum, analysis of the X-ray spectrum measured by the EDS detector 160 can be used to reveal the elemental composition of the sample S.
[0023] In some examples illustrated in FIG. 2, the detector 180 operates as an EELS detector, configured to detect inelastically scattered electrons of the electron beam 140 propagating within a narrow angular range selected by the aperture 250. The electrons passing through the aperture 250 further pass through a magnetic field sector 260, where the electrons are angularly dispersed by the magnetic field before impinging on the EELS detector 180. Thus, different pixels of the EELS detector 180 receive electrons of different respective energies, and the pixel readout provides a corresponding energy loss spectrum. The amount of energy loss measured in this way can elucidate what the source of the energy loss was. For example, inelastic interactions that can cause energy loss detectable by the EELS detector 180 include phonon excitation, inter- and intra-band transitions, plasmon excitation, inner shell ionization, and Cerenkov radiation. The inner shell ionization detected by the EELS detector 180 can be particularly useful for detecting the elemental composition of the sample S.
[0024] 3 diagrammatically illustrates a data structure 300 for use in scientific instrument 100, according to one example. Data structure 300 includes a STEM image 302 of a sample S generated using the STEM modality of scientific instrument 100, for example based on measurements performed with one or more of annular detectors 220, 230, and 240 or other suitable detectors. STEM image 302 is a pixelated image, with each pixel having a respective coordinate (x i ,y j ) and pixel value P i,j where (i,j) is the pixel index. Depending on the type of image 302, the pixel value P i,j can be a scalar (e.g., an intensity value) or a vector (e.g., an RGB color vector). For one channel measurement, the pixel value P i,j is typically mapped to grayscale. i ,y i ) generally represents the position of a pixel on the XY coordinate plane of the XYZ coordinate system shown in FIGS. 1 and 2. i ,y i ) for pixel value P i,j In addition, the data structure 300 includes each EDS spectrum 304 measured using the EDS detector 160. i,j and the respective EELS spectra 306 measured using the EELS detector 180. i,j Includes.
[0025] As an example, the (i,j)th and (k,l)th pixels of the STEM image 302 are marked on an image facet of the octahedral representation of the data structure 300. For the (i,j)th pixel of the STEM image 302, the data structure 300 stores a pixel value P i,j , EDS Spectrum 304 i,j , and EELS spectrum 306 i,j For illustration purposes, FIG. 3 shows an EDS spectrum 304 i,j Similarly, for the (k,l)th pixel of the STEM image 302, the data structure 300 stores the pixel value P k,l, EDS Spectrum 304 k,l , and EELS spectrum 306 k,l For illustration purposes, Figure 3 shows the EELS spectrum 306 k,l Only the following are explicitly stated:
[0026] Other data structures (generally similar to data structure 300) may be similarly generated depending on the particular set of detectors and / or spectroscopic modalities used in the corresponding embodiment of scientific instrument 100. In some examples, such other data structures may have more or fewer dimensions than data structure 300. In various embodiments, the different sets of detectors for scientific instrument 100 may be selected from a group of detectors including, but not limited to, annular darkfield detectors (e.g., 220, 230), annular brightfield detectors (e.g., 240), EDS detectors (e.g., 160), EELS detectors (e.g., 260, 180), differential phase contrast (DPC) detectors, and 2D diffraction pattern detectors. In some examples, the 2D diffraction pattern detector comprises a phosphor screen used to capture and record various electron diffraction patterns. In some examples, the 2D diffraction pattern detector is pixelated.
[0027] In one example, the DPC STEM detector includes a segmented annular detector, e.g., with two diametrically opposed quadrant segments. A typical angular range of the detector segments is from about 15 mrad to about 30 mrad. The DPC STEM signal is generated by taking the difference of the individual signals generated by the two diametrically opposed quadrant segments. For a weakly scattering sample S, which can be considered as a phase object, the DPC STEM image represents the gradient of the sample's electromagnetic field taken in the direction of the opposing detector segments. The implementation of DPC STEM imaging at partial angstrom resolution advantageously enables direct characterization of the local electromagnetic field at the level of substantially single atoms. For example, both the mesoscopic polarization fields within each domain and the atomic-scale electric fields induced by the individual electric dipoles within each unit cell of various technological ferroelectric oxides, such as BaTiO3, can be detected with high sensitivity by DPC STEM imaging.
[0028] In another example, a 2D pixelated diffraction pattern detector is used to implement four-dimensional (4D) STEM. 4D STEM is a technique that captures the complete 2D diffraction pattern for each pixel of the STEM image 302. This capability is a relatively recent advance made possible by the development of high speed direct electron detector technology. For comparison, prior to this development, the complete 2D diffraction pattern was typically sampled only in one or two portions of it, thereby leaving the majority of the diffraction signal information uncaptured. A typical 4D STEM output includes a 4D data set, where the diffraction signal is represented by coordinates (x i ,y i ,X j ,Y j ) as a function of the coordinates (x i ,y i ) is the i-th pixel coordinate in the STEM image 302, and the coordinate (X j ,Y j ) is the jth pixel coordinate in a 2D pixelated diffraction pattern detector. One important application of 4D STEM is for virtual imaging. Another important application of 4D STEM is for DPC STEM imaging.
[0029] 4 is a block diagram of an example computing device 400 configured to perform at least some scientific instrument support operations, according to various embodiments. For example, in some embodiments, computing device 400 performs at least some operations of electronic controller 150 (see also FIG. 1). In various embodiments, the support modules of scientific instrument 100 may be implemented by a single computing device 400 or by multiple computing devices 400.
[0030] Although computing device 400 of FIG. 4 is illustrated as having several components, any one or more of these components may be omitted or duplicated as appropriate for the application and configuration. In some embodiments, some or all of the components included in computing device 400 may be mounted on one or more motherboards and enclosed in a housing. In some embodiments, some of these components may be fabricated on a single system-on-a-chip (SoC) (e.g., an SoC may include one or more processing devices 402 and one or more storage devices 404). Additionally, in various embodiments, computing device 400 may not include one or more of the components illustrated in FIG. 4, but may include interface circuitry for coupling to one or more components using any suitable interface (e.g., a Universal Serial Bus (USB) interface, a High-Definition Multimedia Interface (HDMI) interface, a Controller Area Network (CAN) interface, a Serial Peripheral Interface (SPI) interface, an Ethernet interface, a wireless interface, or any other suitable interface). For example, the computing device 400 may not include a display device 410, but may include display device interface circuitry (eg, connector and driver circuitry) to which an external display device 410 may be coupled.
[0031] Computing device 400 may include processing device 402 (e.g., one or more processing devices). As used herein, the term "processing device" refers to any device or portion of a device that processes electronic data from registers and / or memory and converts the electronic data into other electronic data that may be stored in registers and / or memory. In various embodiments, processing device 402 may include one or more digital signal processors (DSPs), application-specific integrated circuits (ASICs), central processing units (CPUs), graphics processing units (GPUs), server processors, or any other suitable processing devices.
[0032] Computing device 400 may also include a storage device 404 (e.g., one or more storage devices). In various embodiments, storage device 404 may include one or more memory devices, such as random-access memory (RAM) devices (e.g., static RAM (SRAM) devices, magnetic RAM (MRAM) devices, dynamic RAM (DRAM) devices, resistive RAM (RRAM) devices, or conductive-bridging RAM (CBRAM) devices), hard-drive-based memory devices, solid-state memory devices, network drives, cloud drives, or any combination of memory devices. In some embodiments, storage device 404 may include memory that shares a die with processing device 402. In such embodiments, the memory may be used as a cache memory and may include, for example, embedded dynamic random-access memory (eDRAM) or spin transfer torque magnetic random-access memory (STT-MRAM). In some embodiments, storage device 404 may include a non-transitory computer-readable medium having instructions that, when executed by one or more processing devices (e.g., processing device 402), cause computing device 400 to perform any suitable of the methods disclosed herein below, or portions of such methods.
[0033] Computing device 400 further includes an interface device 406 (e.g., one or more interface devices 406). In various embodiments, interface device 406 may include one or more communication chips, connectors, and / or other hardware and software to manage communications between computing device 400 and other computing devices. For example, interface device 406 may include circuitry to manage wireless communications to transfer data to and from computing device 400. The term "wireless" and its derivatives may be used to describe circuits, devices, systems, methods, techniques, communication channels, etc. that may communicate data via modulated electromagnetic radiation over a non-solid medium. This term does not imply that the associated devices do not include any wires, although in some embodiments they may not. The circuitry included in interface device 406 for managing wireless communications may implement any of a number of wireless standards or protocols, including, but not limited to, Wi-Fi (IEEE 802.11 family), Institute for Electrical and Electronic Engineers (IEEE) standards including the IEEE 802.16 standard, the Long-Term Evolution (LTE) project (e.g., the Advanced LTE project, the ultra-mobile broadband (UMB) project (also referred to as “3GPP®2”), etc.) with any amendments, updates, and / or revisions.In some embodiments, the circuitry included in the interface device 406 for managing wireless communications may operate in accordance with a Global System for Mobile Communication (GSM), General Packet Radio Service (GPRS), Universal Mobile Telecommunications System (UMTS), High Speed Packet Access (HSPA), Evolved HSPA (E-HSPA), or LTE network. In some embodiments, the circuitry included in the interface device 406 for managing wireless communications may operate in accordance with an Enhanced Data for GSM Evolution (EDGE), GSM EDGE Radio Access Network (GERAN), Universal Terrestrial Radio Access Network (UTRAN), or Evolved UTRAN (E-UTRAN). In some embodiments, circuitry included in interface device 406 for managing wireless communications may operate according to Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Digital Enhanced Cordless Telecommunications (DECT), Evolution-Data Optimized (EV-DO), and derivatives thereof, and any other wireless protocols designated as 3G, 4G, 5G, and beyond. In some embodiments, interface device 406 may include one or more antennas (e.g., one or more antenna arrays) configured to receive and / or transmit wireless signals.
[0034] In some embodiments, the interface device 406 may include circuitry for managing wired communications, such as electrical, optical, or any other suitable communications protocol. For example, the interface device 406 may include circuitry to support communications according to Ethernet technology. In some embodiments, the interface device 406 may support both wireless and wired communications, and / or may support multiple wired and / or multiple wireless communications protocols. For example, a first set of circuits of the interface device 406 may be dedicated to short-range wireless communications, such as Wi-Fi or Bluetooth, and a second set of circuits of the interface device 406 may be dedicated to long-range wireless communications, such as global positioning system (GPS), EDGE, GPRS, CDMA, WiMAX, LTE, EV-DO, or others. In some other embodiments, the first set of circuits of the interface device 406 may be dedicated to wireless communications, and the second set of circuits of the interface device 406 may be dedicated to wired communications.
[0035] Computing device 400 also includes battery / power circuitry 408. In various embodiments, battery / power circuitry 408 may include one or more energy storage devices (e.g., batteries or capacitors) and / or circuitry for coupling components of computing device 400 to an energy source separate from computing device 400 (e.g., to an AC line power source).
[0036] Computing device 400 may also include a display device 410 (e.g., one or more separate display devices). In various embodiments, display device 410 may include any visual indicator, such as a head-up display, a computer monitor, a projector, a touch screen display, a liquid crystal display (LCD), a light emitting diode display, or a flat panel display.
[0037] Computing device 400 may also include additional input / output (I / O) devices 412. In various embodiments, I / O devices 412 may include one or more data / signal transfer interfaces, audio I / O devices (e.g., a microphone or microphone array, a speaker, a headset, an earphone, an alarm, etc.), an audio codec, a video codec, a printer, sensors (e.g., a thermocouple or other temperature sensor, a humidity sensor, a pressure sensor, a vibration sensor, etc.), image capture devices (e.g., one or more cameras), human interface devices (e.g., a cursor control device such as a keyboard, a mouse, a stylus, a trackball, or a touchpad), etc.
[0038] Depending on the particular embodiment of the scientific instrument 100 and / or instrument portion 200, various components of the interface device 406 and / or I / O device 412 can be configured to output suitable control signals (e.g., 152, 154, 156) for the various components of the scientific instrument 100, receive suitable control signals / telemetry signals from the various components of the scientific instrument 100, and receive streams of measurements (e.g., 162, 172, 182) from the various detectors of the scientific instrument 100. In some examples, the interface device 406 and / or the I / O device 412 include one or more analog-to-digital converters (ADCs) for converting received analog signals into a digital form suitable for operations performed by the processing device 402 and / or the storage device 404. In some additional examples, the interface device 406 and / or the I / O device 412 include one or more digital-to-analog converters (DACs) for converting digital signals provided by the processing device 402 and / or the storage device 404 into an analog format suitable for communication to corresponding components of the scientific instrument 100.
[0039] In some industrial applications of the scientific instrument 100, various spectroscopic modalities integrated into the scientific instrument 100 are utilized for quality control, e.g., to determine whether synthesized materials and / or fabricated (micro / nano)structures meet applicable specifications. In some of such spectroscopic techniques (e.g., EDS, EELS), fast measurements (e.g., including spectroscopic data collection) produce signals with relatively low signal-to-noise-ratio (SNR) values. Due to this low SNR value, certain types of signal processing, including, e.g., repeated acquisition runs, binning, averaging, principal component analysis (PCA), etc., are typically applied to arrive at a conclusive quality control decision. An example of some limitations of these signal processing methods is that these signal processing methodologies can be time intensive, especially when applied to data sets corresponding to a relatively wide field of view and / or a relatively high spatial resolution. As another example, it is noted that PCA is typically a linear technique that is not intended to deal with nonlinear effects, such as those observed for low-loss EELS or those due to channeling. Such limitations typically result in a disadvantageously long period of time (e.g., several hours) before an instrument user / operator can obtain a sufficiently clear substantive, qualitative, and / or quantitative indication of the quality control standards being applied to sample S.
[0040] The above-mentioned problems in the prior art, and possibly some other related problems, are beneficially addressed using at least some embodiments disclosed herein. One exemplary embodiment uses deep learning techniques to speed up quality control procedures. More specifically, a variational autoencoder implemented using a neural network is trained to learn the underlying statistics of a dataset and visualize the learned statistics in a lower dimensional latent space by defining different clusters representing different respective chemical or structural features of the sample S. For example, if two spectra are similar, the trained variational autoencoder "encodes" such spectra into nearby "points" in the latent space that typically lie in the same cluster. Based on such "encoding" of various acquired spectra to specific clusters in the latent space, the corresponding scientific instrument support system can identify and highlight chemically similar regions in the sample S, even when the detected signals have relatively low SNR values. As a result, the corresponding scientific instrument support system is able to beneficially provide relevant chemical and / or structural information about the sample S to a user / operator of the scientific instrument 100 in substantially real-time (e.g., within seconds instead of hours) without relying on the time-intensive signal processing methodologies described above. Another embodiment relies on a trained variational autoencoder to identify, in substantially real-time, anomalous regions in the sample S where the acquired low SNR spectrum shows significant and meaningful deviations from expected sample properties. In quality control procedures, such anomalous regions are of particular interest as potential problem spots. Based on the identification of such anomalous regions, the user / operator of the scientific instrument 100 can beneficially modify (e.g., optimize) the experimental settings of the instrument to investigate the particular problem spot in more detail, for example, by applying a higher magnification and / or a suitable adaptive scanning pattern.
[0041] 5 is a block diagram illustrating an autoencoder 500 for use in the scientific instrument 100, according to some embodiments. In some examples, the autoencoder 500 is implemented using a computing device 400 suitably coupled to relevant components of the scientific instrument 100, for example as described above. The autoencoder 500 includes an encoder 510 and a decoder 520. Each of the encoder 510 and the decoder 520 comprises a respective neural network.
[0042] As used herein, a neural network (NN) is a typically nonlinear, trainable circuit that comprises multiple processing elements (PEs), also referred to as "neurons," "artificial neurons," or "NN nodes." In some implementations, a neural network is an application-specific circuit, with different PEs implemented as respective configurable subcircuits connected by physical links that form a corresponding physical network. In some other implementations, a neural network may be computer-emulated or processor-emulated, in which case one or more electronic processors (e.g., 402 in FIG. 4) are programmed to perform signal processing similar to that of the corresponding application-specific circuit.
[0043] Each PE of a neural network typically has connections to one or more other PEs. Multiple connections between PEs (physical or computer-emulated) define the topology of the neural network. In some topologies, the PEs are grouped into layers. Different layers may have different types of PEs configured to perform different respective types of transformations on their inputs. Signals proceed from a first PE layer (typically referred to as the input layer) to a last PE layer (typically referred to as the output layer). In some topologies, the neural network has one or more intermediate PE layers (typically referred to as hidden layers) located between the input PE layer and the output PE layer. An exemplary PE operates to scale, sum, bias an incoming signal, and using an activation function, produce an output signal that is a static non-linear function of the biased sum. The resulting PE output can become any one of the outputs of the neural network or can be sent to one or more other PEs through corresponding connections. The respective weights and / or biases applied by an individual PE can be changed (e.g., optimized) during a training (learning) operation mode and are typically fixed (i.e., constant) during a test (working) operation mode.
[0044] The input to the NN encoder 510 is a K-dimensional (KD) vector 502. The configuration of the NN encoder 510 includes a set of weights and biases, represented by θ. In some examples, the output of the NN encoder 510 is a k-dimensional (kD) vector 512, where k < K. The kD vector 512 is also referred to as a hidden representation. The kD space corresponding to the vector 512 is referred to as the latent space. Below, the transformation performed by the NN encoder 510 is represented by q θ (z|x), where z and x represent the corresponding kD and KD vectors, respectively. In the case of the variational autoencoder 500, the latent space is probabilistic, i.e., the NN encoder 510 parameterizes q θ(z|x) as a probability density. In some examples, the probability density is a Gaussian probability density. In such examples, the NN encoder 510 maps the input vector 502 to a mean and variance in the latent space. The NN decoder 520 then operates to sample the latent distribution to perform a decoding operation. The input to the NN decoder 520 is a kD vector 512. The configuration of the NN decoder 510 includes a set of weights and biases, denoted by φ. The output of the NN decoder 520 is a KD vector 522. In the following, the transformation performed by the NN decoder 520 is referred to as p φ (x|z). In various additional embodiments, other encoder / decoder architectures of the autoencoder 500 are used as well. Some of such additional embodiments have the following features: (i) k>K associated with a relatively large memory tier, and (ii) the use of PCA to transition from such larger k dimensions to smaller dimensions.
[0045] Since k is smaller than K, the NN encoder 510 performs dimensionality reduction. In machine learning, "dimensionality reduction" is the process of reducing the number of features that describe the data. The number of features is typically reduced by either selection (only some of the existing features are preserved) or extraction (a reduced number of new features are created based on the old features). Dimensionality reduction can be useful in many applications that rely on low-dimensional data. Dimensionality reduction can also be interpreted as data compression, where the encoder 510 compresses the data from an initial space to a latent space, and the decoder 520 decompresses the data. Depending on the initial data distribution, the latent space dimensionality, and the encoder definition, the data compression may be lossy, meaning that some of the information is lost during the encoding process and cannot be fully recovered by decoding. For example, due to information loss, the output vector 522 typically differs from the input vector 502. A measure of information loss is the reconstruction log-likelihood logp φ (x|z). This measure is a measure of how effectively the NN decoder 520 has learned to reconstruct the input vector 502 given each latent representation 512.
[0046] The set of weights and biases, θ and φ, for the autoencoder 500 are determined during a training mode of operation based on a loss function. The loss function for the variational autoencoder 500 is constructed using the negative log-likelihood with a regularization term. In some examples, the total loss function L(θ,φ,x,z) is calculated by multiplying the loss function l i (θ,φ) and each input vector x i Corresponds to.
[0047]
number
[0048]
number
[0049] In some examples, during a training mode of operation, the autoencoder 500 trains a training set {x i For example, for stochastic gradient descent with step size ρ, the encoder parameters θ are recursively and iteratively updated based on the gradient of the loos function as follows:
[0050]
number
[0051] In some examples, vectors 502, 512, and 522 represent a single modality of scientific instrument 100. In such examples, input vector 502 is a single spectrum generated using the corresponding spectroscopic modality of scientific instrument 100. In one particular example, input vector 502 is EDS spectrum 304. n In another particular example, the input vector 502 is the EELS spectrum 306 m In further particular examples, the output of another single detector used in a corresponding spectroscopic modality of scientific instrument 100 is similarly used to obtain input vector 502. In some examples, the dimensionality of the latent space is k=2, which helps make the latent space relatively easy to visualize for a user / operator to visually inspect. In other examples, other dimensionality values k are similarly used.
[0052] In various examples, a Gaussian Mixture model (GMM) is used to classify the latent space, for example, by clustering the latent space representation of the training data set. The GMM fits d Gaussian distributions (the number d is a parameter) to the latent space data such that the likelihood of the data generated by these Gaussian distributions is maximized (e.g., based on an expectation-maximization algorithm). The use of a GMM is suitable for variational autoencoders, for example, because the encoded data is expected to approximately follow a Gaussian distribution due to the prior nature of the variational autoencoder. In some examples, the number d is determined based on an elbow method heuristic using BIC (Bayesian Information Criterion) and / or AIC (Akaike Information Criterion). For each GMM, clustering is performed several times (e.g., 10 times), and the best cluster classification among several classifications is selected based on the feature (e.g., chemical element) variance as it relates to the training data set. In some examples, a Density-Based Spatial Clustering of Applications with Noise (DBSCAN) algorithm is used for density-based clustering.
[0053] In some other examples, vectors 502, 512, and 522 represent two spectroscopic modalities of scientific instrument 100. In such examples, input vector 502 is a combination of two spectra generated using a corresponding selected pair of detectors of scientific instrument 100. In one particular example, input vector 502 represents a combination (e.g., concatenation) (304, 306) of an EDS spectrum and an EELS spectrum. i,j(see also FIG. 3 ). In other particular examples, the outputs of other pairs of detectors used in corresponding embodiments of the scientific instrument 100 are similarly used to obtain the input vector 502. Some embodiments may benefit from certain features described in the paper by Svetlana Kutuzova, Oswin Krause, Douglas McCloskey, et al., entitled “Multimodal Variational Autoencoders for Semi-Supervised Learning: In Defense of Product-of-Experts,” a preprint submitted to Artificial Intelligence on August 2, 2021, which is incorporated herein by reference in its entirety.
[0054] In some cases, the representations of the two modalities of the scientific instrument 100 are combined in the autoencoder 500 by stacking latent representations obtained from corresponding separate single-modality models. Each single-modality model has learned a two-dimensional (k=2) latent representation of the corresponding single-modality data, as shown above, for example. The stacking of these latent representations results in a four-dimensional (k=4) latent representation for each pixel that contains spectra from both the two modalities. GMM clustering is then applied to this 4D latent space, and BIC and AIC are used to find the appropriate number (d) of clusters. As with the unimodal configuration of the autoencoder 500, clustering is performed several times (e.g., 10 times) for each GMM, and the best cluster classification among several classifications is selected based on the feature (e.g., chemical element) variance as it relates to the training dataset.
[0055] In some cases, the autoencoder 500 representing the two selected modalities of the scientific instrument 100 is trained using a training data set structurally similar to the data structure 300 (FIG. 3). In other words, the training data set used in this approach has a respective spectral pair for each pixel of the corresponding image, both of which are fed to the encoder 510 in the form of an input vector 502 during the training operation mode of the autoencoder 500. Compared to the stacking approach described above, the joint bimodal training allows the correlation between the two modalities to be better reflected in the latent space and then exploited during the working operation mode of the autoencoder 500.
[0056] 6 is a block diagram illustrating an autoencoder 500 for use in a scientific instrument 100, according to an additional embodiment. In the example shown, the autoencoder 500 implements a disentangled bimodal variational autoencoder (DBVAE) configured to handle experimental data corresponding to two modalities of the scientific instrument 100 (e.g., generated using two selected detectors). In other examples (not shown explicitly), a similar autoencoder architecture is used to implement a disentangled multimodal variational autoencoder (DMVAE) 500 configured to handle experimental data corresponding to three or more modalities of the scientific instrument 100. From the description provided below, one of ordinary skill in the art will readily understand how to make and use such a DMVAE 500 without any undue experimentation.
[0057] Encoder 510 of DBVAE 500 includes two encoder portions, labeled 5101 and 5102, respectively. Each of encoder portions 5101 and 5102 is implemented using a respective neural network and is therefore referred to as an "NN encoder portion." Input vector 502 includes two sub-vectors, labeled 5021 and 5022, respectively. Sub-vector 5021 corresponds to a first modality of scientific instrument 100 and is applied to NN encoder portion 5101. Sub-vector 5022 corresponds to a second modality of scientific instrument 100 and is applied to NN encoder portion 5102. In some examples, sub-vectors 5021 and 5022 are EDS and EELS spectra corresponding to the same pixel of STEM image 302.
[0058] The latent space of the DBVAE 500 has (1) two private subspaces 6301 and 6302 for the NN encoder portions 5101 and 5102, respectively, and (ii) a shared subspace 6300 shared by the NN encoder portions 5101 and 5102. Given a pair of partial vectors 5021 and 5022, {(x1, x2)}, the NN encoder portions 5101 and 5102 derive latent representations z1 to q θ1 (z|x1) and z2~q θ2 (z|x2), where θ1 and θ2 are the NN parameters of the NN encoder portions 5101 and 5102, respectively. The latent representations z1 and z2 are given by z1=[z p1, z s1 ] and z2 = [z p2 ,z s2 ], where z p1 , z p2 denote latent representations in the private subspaces 6301 and 6302 of modalities x1 and x2, respectively, and z s1 , z s2represent the latent representations in the shared subspace 6300 of modalities x1 and x2, respectively. Since the latent space is probabilistic, the various latent representations in the latent subspaces 6300, 6301, and 6302 are obtained by appropriately sampling corresponding ones of Gaussian probability densities 6320, 6321, and 6322, each of which is characterized by a respective pair of mean and variance (μ, σ) as shown in FIG. 6. The latent representations z s1 , z s2 Regarding DBVAE500 training, s1 =z s2 =z s , which results in a single pair of mean and variance values (μ s ,σ s ) 6320. In some examples, this result can be achieved using a Product-of-Experts (PoE) based consistency model or a Mixture-of-Experts (MoE) based consistency model.
[0059] The decoder 520 of the DBVAE 500 includes two decoder portions, labeled 5201 and 5202, respectively. Each of the decoder portions 5201 and 5202 is implemented using a respective neural network and is therefore referred to as a "NN decoder portion." The configuration of the NN decoder portions 5201 and 5202 is defined by a corresponding set of weights and biases, denoted as φ1 and φ2, respectively. The NN decoder portion 5201 outputs a latent representation z p1 and z s The NN decoder portion 5202 operates on the latent representation z p2 and z s The output of the NN decoder portion 5201 is a partial vector 5221 corresponding to a first modality of the scientific instrument 100. The output of the NN decoder portion 5202 is a partial vector 5222 corresponding to a second modality of the scientific instrument 100.
[0060] In some cases, the latent representation z p1 , z p2 , and z s is learned by training DBVAE500 on three different reconstruction tasks: (1) encoding and decoding a single modality, e.g.
[0061]
number
[0062]
number
[0063]
number
[0064]
number
[0065]
number
[0066]
number
[0067] In some examples, the DBVAE 500 is configured to use an eight-dimensional (8D) latent space. A Gaussian mixture model (GMM) is used to classify this 8D latent space by clustering the latent space representation of the training dataset in a manner similar to that of the 2D example used in the above-described embodiment of the autoencoder 500 corresponding to a single modality of the scientific instrument 100. In particular, the BIC and AIC criteria described above are used to determine the number d of Gaussians in the GMM.
[0068] For illustrative purposes, and without any implied limitation, additional embodiments are described herein below with reference to the EDS and EELS modalities of the scientific instrument 100. In some examples of such embodiments, the autoencoder 500 shown in FIG. 5 or FIG. 6 is configured to process experimental data corresponding to the data structure 300 (FIG. 3). From the description provided below, those skilled in the art will readily understand how to make and use other embodiments corresponding to other single modalities, other dual modalities, and / or various sets of multiple individual modalities of the scientific instrument 100 without any undue experimentation.
[0069] Exemplary experimental data presented in Figures 7-12 and 16-17 and described in more detail below correspond to microchip transistors made of various technological materials containing the elements C, N, O, Al, Si, Ti, Cu, Hf, Ta, and W. Exemplary size of a corresponding STEM image, such as STEM image 302, is 270 x 208 pixels. Exemplary scale bars illustrating the pixel size and associated spatial resolution of such a STEM image are presented in Figures 9B and 17A. In various examples, for each pixel of the STEM image, the corresponding data structure includes (i) a respective EELS spectrum representing the EELS modality of the scientific instrument 100, (ii) a respective EDS spectrum representing the EDS modality of the scientific instrument 100, or (iii) both a respective EELS spectrum and a respective EDS spectrum representing the dual EDS+EELS modality of the scientific instrument 100. When the dual EDS+EELS modality is enabled, EELS and EDS spectra corresponding to pixels of the STEM image are recorded in parallel (e.g., substantially simultaneously) via respective detectors, e.g., EELS detectors 260, 180 and EDS detector 160 (see also FIG. 2). Due to the different respective sensitivities of the EELS detectors 260, 180 and EDS detector 160, the acquired EELS and EDS spectra typically have different respective SNRs. Each of the acquired EELS spectra covers an energy range of about 200 eV to about 3300 eV with an energy resolution of 1.5 eV. Each of the acquired EDS spectra covers an energy range of about 0 eV to about 20 keV with an energy resolution of 5 eV. In at least some examples, the raw experimental data is pre-processed before being assembled into a corresponding data structure, such as data structure 300 of FIG. 3, and then presented for processing implemented using autoencoder 500.
[0070] 7A-7B graphically illustrate pre-processing of an EELS spectrum acquired using EELS detector 260, 180, in accordance with an example embodiment. More specifically, EELS spectrum 702 shown in FIG. 7A is an example of an unprocessed (raw) EELS spectrum. EELS spectrum 704 shown in FIG. 7B is an example of a pre-processed EELS spectrum generated by processing EELS spectrum 702. In some examples, data structure 300 of FIG. 3 includes a pre-processed EELS spectrum similar to EELS spectrum 704.
[0071] Unprocessed EELS spectra, such as the EELS spectrum 702 shown in FIG. 7A, typically have one or both of two prominent features that do not contribute to the chemical information typically extracted from EELS spectra. The first of the two prominent features is a strong energy-dependent background, the intensity of which decreases as the energy loss increases. The second of the two prominent features is the occasional presence of one or more outlier peaks caused by stray X-rays hitting the detector 180. Thus, exemplary pre-processing is directed to removing these features from the EELS spectrum. In some examples of pre-processing, the outlier peaks are first removed. Such peaks are essentially noise features that do not carry any useful physical or chemical information about the sample S, but often obscure some significant spectral features. During pre-processing, each outlier peak is replaced by the average value of several (e.g., four) surrounding detector pixels. This outlier peak removal is followed by subtraction of the estimated energy-dependent background.
[0072] The energy-dependent background is typically caused by a long tail of the low-energy transition edge. The magnitude of the energy-dependent background may depend on the thickness and composition of the sample. In some examples, the energy-dependent background is approximated by fitting a power law (or a sum of power laws) to the pre-edge region of the EELS spectrum (i.e., the part of the spectrum before the observed edge) and extrapolating this fit to other parts of the EELS spectrum. In some other examples, different approaches to background removal are implemented. First, the EELS spectra are all scaled so that their energy-dependent backgrounds fall in the range between 0 and 1. This scaling is done by normalizing each EELS spectrum using the difference between the intensities corresponding to the first and last energy loss values, which approximately represents the full range of the energy-dependent background. The average spectrum of the data set is then calculated. A linear combination of the five power laws, represented by Equation (5), is then fitted to this average spectrum.
[0073]
number
[0074] 8A-8C graphically illustrate pre-processing of EDS spectra acquired using EDS detector 160, according to an example embodiment. More specifically, EDS spectrum 802 shown in FIG. 8A is an example of an unprocessed EDS spectrum. EDS spectra 804 and 806 shown in FIG. 8B and FIG. 8C, respectively, graphically illustrate different acts of pre-processing applied to EDS spectrum 802.
[0075] In various examples, the pre-processing operation includes applying PCA to the acquired EDS spectrum. The noise in a raw EDS spectrum, such as EDS spectrum 802, is typically dominated by Poisson noise, the intensity of which varies with the number of counts in the EDS spectrum. This noise characteristic may make PCA by itself insufficient, at least in some examples. Therefore, in some examples, binning and filtering operations are applied before PCA. Because a typical EDS spectrum contains a relatively small number of counts, a raw EDS spectrum, such as EDS spectrum 802, is first re-binned, for example, 8-fold along the energy axis to improve the SNR. The 8-fold re-binning reduces the energy resolution to 5 eV-40 eV. In some examples, the re-binning is followed by Gaussian kernel filtering in the energy direction with a standard deviation σ=1. In some examples, a background subtraction operation is performed after the Gaussian kernel filtering. In some other examples, if the background level is sufficiently close to zero, the background subtraction operation is omitted. Finally, the EDS spectrum is normalized. The EDS spectrum 804 shown in Fig. 8B is obtained by 8-fold rebinning of the EDS spectrum 802 of Fig. 8A. The EDS spectrum 806 shown in Fig. 8C is obtained from the EDS spectrum 802 of Fig. 8A after all the pre-processing described above has been completed.
[0076] 9-12 provide illustrative examples of autoencoder-based processing of various data sets generated using the scientific instrument 100, according to some embodiments. The data structure 300 described with reference to FIG. 3 is a representative, non-limiting example of such a data set. Representative advantages of such autoencoder-based processing include, but are not limited to, enabling a corresponding scientific instrument support system to (i) identify and highlight chemically similar regions in the sample S in substantially real-time, even when the corresponding detection signal exhibits a relatively low SNR, (ii) avoid some conventional time-intensive signal processing methodologies to identify anomalous regions in the sample S in substantially real-time, and (iii) provide improved signal denoising capabilities to generate more accurate signal estimates in a shorter time.
[0077] 9A-9B illustrate a first example of autoencoder-based processing of a data structure generated using scientific instrument 100, according to one embodiment. This particular example corresponds to a single spectroscopic modality of scientific instrument 100, which is the EELS modality. The corresponding data structure has (i) a STEM image of the transistor (e.g., similar to STEM image 302 of FIG. 3 ) and (ii) for each pixel of the STEM image, a respective EELS spectrum (e.g., similar to spectrum 704 of FIG. 7B ).
[0078] FIG. 9A shows the 2D latent space 900 of the autoencoder 500 (FIG. 5) trained as described above on the EELS spectrum of a reference structure containing similar technological materials. The latent space 900 of the autoencoder 500 is classified into eight clusters 910-917 using GMM as described above. The number of clusters (d=8) is such that each of the clusters 910-917 has a relatively low elemental variance. The low elemental variance indicates that the chemical compositions corresponding to the clusters are substantially homogeneous, e.g., representing approximately the same chemical elements in approximately the same amounts across the latent space clusters.
[0079] 9B shows a pixelated STEM image belonging to a corresponding data structure, where each pixel is mapped to a corresponding one of the clusters 910-917 by the NN encoder 510 of the autoencoder 500. The mapping is performed by (i) feeding the EELS spectrum associated with the pixels of the STEM image to the encoder 510 to determine the corresponding potential representation, and (ii) identifying the corresponding one of the clusters 910-917 into which the determined potential representation falls. This mapping is illustrated in FIG. 9B according to the legend shown.
[0080] 10A-10B illustrate a second example of autoencoder-based processing of a data structure generated using scientific instrument 100, according to one embodiment. This particular example corresponds to a single spectroscopic modality of scientific instrument 100, which is an EDS modality. The corresponding data structure has (i) a STEM image of the transistor (e.g., similar to STEM image 302 of FIG. 3 ) and (ii) for each pixel of the STEM image, a respective EDS spectrum (e.g., similar to spectrum 806 of FIG. 8C ).
[0081] FIG. 10A illustrates the 2D latent space 1000 of the autoencoder 500 (FIG. 5) trained as described above on the EDS spectrum of a reference structure containing similar technological materials. The latent space 1000 of the autoencoder 500 is classified into 8 clusters 1010-1017 using GMM as described above. The number of clusters (d=8) is such that each of the clusters 1010-1017 has a relatively low elemental variance. As already described above, a low elemental variance indicates that the chemical composition corresponding to the clusters is substantially homogeneous, e.g., represents approximately the same chemical elements in approximately the same amounts throughout the cluster.
[0082] Figure 10B shows a pixelated STEM image belonging to a corresponding data structure, where each pixel is mapped to a corresponding one of the clusters 1010-1017 by the NN encoder 510 of the autoencoder 500 based on its respective EDS spectrum. This mapping is illustrated in Figure 10B according to the legend shown.
[0083] 11A-11B illustrate a third example of autoencoder-based processing of a data structure generated using scientific instrument 100, according to one embodiment. This particular example corresponds to a dual EELS+EDS modality of scientific instrument 100. The corresponding data structure has (i) a STEM image of the transistor described above (e.g., similar to STEM image 302 of FIG. 3), (ii) for each pixel of the STEM image, a respective EELS spectrum (e.g., similar to spectrum 704 of FIG. 7B), and (iii) for each pixel of the STEM image, a respective EDS spectrum (e.g., similar to spectrum 806 of FIG. 8C).
[0084] FIG. 11A illustrates the 4D latent space of the autoencoder 500 (FIG. 5) created by stacking a 2D latent space corresponding to the EELS modality with a 2D latent space corresponding to the EELS modality of the scientific instrument 100, as described above. The corresponding 2D projections of this 4D latent space are labeled as 1101 and 1103 in FIG. 11A, respectively. The 2D projection 1101 represents the EELS modality. The 2D projection 1103 represents the EDS modality. The 4D latent space corresponding to the 2D projections 1101 and 1103 is classified into eight clusters 1110-1117 using GMM, as described above.
[0085] 11B shows a pixelated STEM image of the corresponding data structure, where each pixel is mapped to a corresponding one of the clusters 1110-1117 by the NN encoder 510 of the autoencoder 500 based on the respective EELS and EDS spectra. This mapping is illustrated in FIG. 11B according to the legend shown.
[0086] Figure 12 illustrates an 8D latent space of the autoencoder 500 of Figure 6, according to one embodiment. This 8D latent space corresponds to the same dual EELS+EDS modality as that of Figures 11A-11B. As already mentioned above, the corresponding data structure comprises: (i) a STEM image of the nanotransistor (e.g., similar to STEM image 302 of Figure 3); (ii) for each pixel of the STEM image, a respective EELS spectrum (e.g., similar to spectrum 704 of Figure 7B); and (iii) for each pixel of the STEM image, a respective EDS spectrum (e.g., similar to spectrum 806 of Figure 8C).
[0087] The 8D latent space of the autoencoder 500 is illustrated in FIG. 12 by its four orthogonal 2D projections, which are labeled 1201, 1203, 1205, and 1207, respectively. The 2D projection 1201 represents the private subspace 6301 of the EELS modality. The 2D projection 1203 represents the private subspace 6302 of the EDS modality. The 2D projections 1205 and 1207 represent the 4D shared subspace 6300 of the EELS and EDS modalities. This 8D latent space is classified into eight clusters 1210-1217 using GMM as described above. The pixelated STEM images of the corresponding data structures are mapped to the clusters 1210-1217 based on their respective EELS and EDS spectra. This cluster-mapped image is qualitatively similar to the image in FIG. 11B and is therefore not explicitly shown.
[0088] 13 is a block diagram illustrating a neural network 1300 used in the NN encoder 510 according to one embodiment. The neural network 1300 includes (N+2) layers 13100 to 1310. N+1 where N is a positive integer. Layer 13100 is the input layer. The following N layers 13101 to 1310 N is a hidden layer. Layer 1310 N+1is the output layer. In some particular examples, the number N ranges from 1 to 4. In various examples, the neural network 1300 implements the NN encoder 510 (FIG. 5), the NN encoder portion 5101 (FIG. 6), or the NN encoder portion 5102 (FIG. 6).
[0089] The i-th layer 1310 of the neural network 1300 i is M i PEs 1302, where i=0, 1, ..., N+1. In various examples, the number M0 of PEs 1302 in the input layer 13100 corresponds to the size of the input vector 502 (FIG. 5), the size of the input vector 5021 (FIG. 6), or the size of the input vector 5022 (FIG. 6). For some of the specific examples given above corresponding to the EELS and EDS modalities of the scientific instrument 100, the number M0 is in the range of 500 to 5000. N+1 Number of PE1302 in M N+1 corresponds to the number of dimensions of the latent space. The above examples of the autoencoder 500 have 2D, 4D, and 8D latent spaces. In other examples, latent spaces of other dimensions are also used. N For each of the numbers M i Typically, it is several M0 to several M N+1 In some examples, two adjacent hidden layers 1310 i and 1310 i+1 For each number of PE1302, the following inequality, M i ≧M i+1 In one example, the neural network 1300 has the following parameters: N=3, M0=512, M1=M2=M3=125, and M4=4.
[0090] In various examples, the Pe 1302 of the input layer 13100 is configured to receive a corresponding component of the input vector 502, 5021, or 5022 (see also FIGS. 5-6). Each of the Pe 1302 of the subsequent layer 1310 is directly connected to receive a respective input from each of the Pe 1302 of the preceding layer 1310. In some examples, the various Pe 1302 operate using a Rectified Linear Unit (ReLU) activation function. In other examples, other suitable activation functions may also be used.
[0091] In some examples, the neural network used in the NN decoder 520 has an inverted topology, but is otherwise similar to the neural network 1300. The inverted topology can be visualized by taking a mirror image of the neural network 1300 shown in FIG. 13. In such an inverted topology, the layer 1310 N+1 13 operates as an input layer configured to receive a corresponding input vector 512 from the latent space. Layer 13100 operates as an output layer configured to output an output vector 522, 5221, or 5222. Another way to visualize the neural network used in the NN decoder 520 is to visualize the signal flow in the opposite direction, i.e., from layer 1310 to layer 1310 as shown in FIG. N+1 The first step is to view the neural network 1300 flowing from layer 13100 to layer 13100.
[0092] FIG. 14 is a flow chart 1400 illustrating an analytical method implemented using the scientific instrument 100, according to one embodiment. The analytical method 1400 relies on a pre-trained autoencoder 500 to provide a user of the scientific instrument 100 with chemical and structural information about the sample S, in substantially real time, based on a measured spectrum of the sample S. In various examples, the autoencoder 500 is trained against corresponding spectra of reference structures and / or samples containing materials similar to those of the sample S, and / or using numerically simulated data, for example as described above. For illustrative purposes, the analytical method 1400 is described with reference to a STEM imaging modality, without any implied limitation. Based on the provided description, a person skilled in the art will easily understand how to adapt and apply the analytical method 1400 to other imaging modalities of corresponding scientific instruments.
[0093] The analysis method 1400 includes selecting (at block 1402) a pixel within a field of view (FOV) of the STEM column 102 of the scientific instrument 100. The pixel is selected at block 1402 based on an applicable FOV scan pattern. In various examples, the FOV scan pattern is a raster scan pattern, a vector scan pattern, or any other suitable scan pattern based on which the electron beam 114 is steered by the deflection unit 118 to move along a desired path across the sample S. As already indicated above, the beam steering is performed by the deflection unit 118 in response to a control signal 154 applied to the deflection unit 118 by the electronic controller 150.
[0094] The analysis method 1400 also includes measuring (at block 1404) various signals from the sample S using two or more detectors of the scientific instrument 100. In various examples, such various signals are produced from a spot on the sample S corresponding to the pixel selected in block 1402 and in response to probing, stimulating, and / or exciting that spot with the electron beam 114. In some examples, the two or more detectors of the scientific instrument 100 used in block 1404 include at least one detector corresponding to an imaging modality of the scientific instrument 100 and at least one detector corresponding to a spectroscopic modality of the scientific instrument 100. In some other examples, the detectors used in block 1404 include at least one detector corresponding to an imaging modality of the scientific instrument 100 and at least two detectors corresponding to two different spectroscopic modalities of the scientific instrument 100. In various examples, the detectors of the scientific instrument 100 used in block 1404 are selected from the group consisting of a high angle annular darkfield detector (e.g., 220), a medium angle annular darkfield detector (e.g., 230), an annular brightfield detector (e.g., 240), a segmented annular detector, a differential phase contrast detector, an EELS detector (e.g., 260 / 180), an EDS detector (e.g., 160), and a 2D pixelated diffraction pattern detector. The stream of measurements produced by the two or more detectors of the scientific instrument 100 in block 1404 are directed to the electronic controller 150 where they are processed.
[0095] The analysis method 1400 also includes the electronic controller 150 applying one or more optional pre-processing operations to the stream of received measurements (at block 1406). In various examples, the type of such pre-processing operations depends on the type of detector used at block 1404. For example, in the case of an EELS spectrum measured with an EELS detector (e.g., 260, 180), the pre-processing operations at block 1406 may include, but are not limited to, a processing operation selected from the group consisting of: (i) removal of outlier peaks, (ii) subtraction of an estimated energy-dependent background, (iii) scaling, (iv) normalization, (v) averaging, and (vi) fitting with a selected function. In the case of an EDS spectrum measured with an EDS detector (e.g., 160), the pre-processing operations at block 1406 may include, but are not limited to, a processing operation selected from the group consisting of: (i) binning or re-binning, (ii) Gaussian kernel filtering, (iii) subtraction of an estimated background, and (iv) normalization. Other types of measured spectra and / or signals will typically cause electronic controller 150 to invoke other suitable sets of pre-processing operations in block 1406. In some instances, some or all of the pre-processing operations in block 1406 are bypassed or omitted.
[0096] The analysis method 1400 also includes the electronic controller 150 applying one or more measured spectra and / or signals as input vectors, e.g., 502 or 5021, 5022, to the autoencoder 500 (at block 1408). In some examples, such applied spectra and / or signals are spectra and / or signals resulting from a pre-processing operation of block 1406. In some other examples (e.g., when the corresponding pre-processing operation of block 1406 is bypassed or omitted), such applied spectra and / or signals are raw spectra and / or signals received from a detector. In response to receiving such input vectors, the encoder 510 of the autoencoder 500 operates in block 1408 to map the received input vectors to corresponding (e.g., Gaussian) probability densities in a latent space. In various examples, the latent space of the autoencoder 500 is a 2D space (e.g., see Figures 9A, 10A), a 4D space (e.g., see Figure 11A), an 8D space (e.g., see Figure 12), or other multidimensional space of suitable number of dimensions k.
[0097] The analysis method 1400 also includes the electronic controller 150 identifying (at block 1410) corresponding latent space clusters. The cluster identification is performed at block 1410 based on (i) the latent space probability densities to which the corresponding input vectors are mapped by the encoder 510 of the autoencoder 500 at block 1408, and (ii) the GMM-based classification of the latent space described above. In some examples, the cluster identification performed at block 1410 uses an algorithm selected from the group consisting of a k-means algorithm, a GMM algorithm, and a DBSCAN algorithm.
[0098] The analytical method 1400 also includes the electronic controller 150 determining (at decision block 1412) whether the intended scan of the sample S has finished. If the electronic controller 150 determines that the scan has finished ("YES" at decision block 1412), the operations of block 1414 are performed. If the electronic controller 150 determines that the scan has not finished ("NO" at decision block 1412), the processing operations of the analytical method 1400 loop back to the operations of block 1402.
[0099] The operations of block 1414 of the analysis method 1400 include the electronic controller 150 generating a cluster-mapped image of the sample S, where each pixel is mapped to a respective cluster of the latent space identified in the corresponding instance of block 1410. In some examples, the operations directed to generating a cluster-mapped image of the sample S in block 1414 include generating a base image of the sample S using detector signals corresponding to an active imaging modality of the scientific instrument 100, e.g., in a conventional manner. One example of a base image generated in block 1414 in this manner is the STEM image 302 (FIG. 3). The operations directed to generating a cluster-mapped image of the sample S in block 1414 also include modifying the base image of the sample S by overlaying a visual representation of the pixel-to-cluster mapping determined in the different instances of blocks 1410 of the processing loop 1402-1412 on the base image of the sample S.
[0100] In some examples, the visual representation of the pixel-to-cluster mapping used in block 1414 is based on color-coding different clusters in the latent space of the autoencoder 500 with different respective colors. Some examples of such color-coding are provided by the legends shown in Figures 9-12. In such examples, the act of modifying the base image in block 1414 includes coloring each pixel of the base image according to the color code of the cluster to which the pixel is mapped in the corresponding instance of block 1410. Some examples of cluster-mapped images of the sample S obtained in this way are shown in Figures 9B, 10B, and 11B.
[0101] In some other examples, the visual representation of the pixel-to-cluster mapping used in block 1414 is based on color blending and / or assigning each latent space coordinate to a corresponding layer of the color image. Once the operations of block 1414 are completed, analysis method 1400 ends.
[0102] FIG. 15 is a flow chart 1500 illustrating an analysis method implemented using the scientific instrument 100 according to another embodiment. The analysis method 1500 relies on a pre-trained autoencoder 500 to enable a user of the scientific instrument 100 to identify, in substantially real-time, anomalous regions in the sample S, where the acquired spectrum shows significant and meaningful deviations from expected sample properties. For example, the latent space mapping and signal reconstruction performed using the autoencoder 500 provides an easily quantifiable metric to assess the magnitude of deviations and distinguish between anomalous and non-anomalous regions, even when the detected signal has a relatively low SNR. In quality control procedures, anomalous regions are of particular interest as potential technical problem spots. Based on the identification of such anomalous regions using the autoencoder 500, the user of the scientific instrument 100 can, for example, zoom in on the particular anomalous region in the next scan of the sample S for a more detailed chemical and structural characterization of the sample S, and / or take other suitable corrective measures. A key advantage of the analysis method 1500 is that the trained autoencoder 500 can flag anomalous regions within the sample S within very short signal acquisition times (e.g., within a few seconds), thereby significantly speeding up at least some quality control procedures.
[0103] In various examples, the analysis method 1500 includes the operations of blocks 1402-1408 described above with reference to Figure 14. For the sake of brevity, the description of these operations will not be repeated here. The reader is referred to the relevant portions of the description of the analysis method 1400 provided above for details of the operations performed in blocks 1402-1408.
[0104] The analysis method 1500 further includes (at block 1512) the autoencoder 500 generating a corresponding output vector, e.g., 522 or 5221, 5222. In some examples, the operation of block 1512 includes (i) generating the latent space vector 512 or 5121, 5122, 5123 by appropriately sampling the latent space probability density to which the input vector 502 or 5021, 5022 is mapped in block 1408 of the analysis method 1500. s and (ii) applying the calculated latent space vectors to the NN decoder 520 of the autoencoder 500 to generate corresponding output vectors 522 or 5221, 5222 (see also Figures 5-6). As already indicated above, the output vectors 522 or 5221, 5222 comprise the reconstructed spectrum calculated by the autoencoder 500 based on the measured spectrum applied as input vectors 502 or 5021, 5022.
[0105] Upon completion of the operations of block 1512, the electronic controller 150 has, for each measured spectrum of the selected pixel, a corresponding reconstructed spectrum that is applied to the autoencoder 500. Thus, in various examples, upon completion of the operations of block 1512, the electronic controller 150 has one or more pairs of measured / reconstructed spectra for the selected pixel. More specifically, in the case of a single spectroscopic modality, the electronic controller 150 has a single pair of measured / reconstructed spectra for the selected pixel. In the case of a dual spectroscopic modality, the electronic controller 150 has two pairs of measured / reconstructed spectra for the selected pixel, each pair corresponding to a different respective single modality of the dual modality. In the case of multiple spectroscopic modalities (including three or more different spectroscopic modalities), the electronic controller 150 similarly has three or more pairs of measured / reconstructed spectra for the selected pixel.
[0106] 16A-16B are graphs illustrating an example pair of measured and reconstructed spectra for the EELS modality of the scientific instrument 100, according to one embodiment. More specifically, FIG. 16A graphically illustrates an EELS spectrum 1612 measured for one selected pixel of the sample S and a corresponding reconstructed EELS spectrum 1614. FIG. 16B graphically illustrates an EELS spectrum 1622 measured for another selected pixel of the sample S and a corresponding reconstructed EELS spectrum 1624.
[0107] An EELS spectrum 1612 is measured by the EELS detectors 260, 180 at one instance of block 1404 of the analysis method 1500. An EELS spectrum 1614 is calculated by the autoencoder 500 at a corresponding instance of block 1512 of the analysis method 1500 in response to receiving the EELS spectrum 1612 in the input vector 502. An EELS spectrum 1622 is similarly measured by the EELS detectors 260, 180 at another instance of block 1404 of the analysis method 1500. An EELS spectrum 1624 is calculated by the autoencoder 500 at a corresponding instance of block 1512 of the analysis method 1500 in response to receiving the EELS spectrum 1622 in the input vector 502.
[0108] Referring back to FIG. 15, the analysis method 1500 also includes (at block 1514) the electronic controller 150 evaluating the difference between the measured spectrum and the reconstructed spectrum of the pixel. In some examples, the difference evaluation metric used for this purpose in block 1514 is based on the mean squared error (MSE). For example, for the measured / reconstructed EELS spectrum 1612 / 1614 (FIG. 16A), the corresponding MSE value is about 0.02. For the measured / reconstructed EELS spectrum 1622 / 1624 (FIG. 16B), the corresponding MSE value is about 0.05. In other examples, the difference evaluation metric used in block 1514 is based on other suitable loss functions. Examples of such other loss functions include root-mean-square error (RMSE), mean absolute error (MAE), and Huber loss. In some examples, the electronic controller 150 may also use a loss function that detects outliers in the latent representation, where the term “outlier” refers to points that are located far away from their corresponding cluster in the latent space.
[0109] In various examples, a difference evaluation metric is calculated in block 1514 for a single spectroscopic modality, a dual spectroscopic modality, or a multiple spectroscopic modality. In the case of a single spectroscopic modality, the difference evaluation metric calculated in block 1514 is the same as a selected one of the loss functions, namely, MSE, RMSE, MAE, or Huber loss. In the case of dual or multiple spectroscopic modalities, the difference evaluation metric used in block 1514 is calculated as a weighted sum of the loss functions corresponding to the individual spectroscopic modalities that make up the dual or multiple spectroscopic modality. For example, if the loss function is MSE, the difference evaluation metric (DEM) value is calculated in block 1514 as follows:
[0110]
number
[0111] The analysis method 1500 also includes the electronic controller 150 marking (at block 1516) selected pixels of the sample S as anomalous or non-anomalous. The marking is performed at block 1516 based on the pixel's DEM value calculated at block 1514. More specifically, if the pixel's DEM value is less than a DEM threshold (DEM0), the pixel is marked as non-anomalous at block 1516. If the pixel's DEM value is equal to or greater than the DEM threshold, the pixel is marked as anomalous at block 1516. In various examples, the DEM threshold is an adjustable algorithm parameter, the value of which is selected based on the particular quality control operation and the micro / nano structure being inspected.
[0112] The analytical method 1500 also includes the electronic controller 150 determining (at decision block 1518) whether the intended scan of the sample S has finished. If the electronic controller 150 determines that the scan has finished ("YES" at decision block 1518), then the operations of block 1520 are performed. If the electronic controller 150 determines that the scan has not finished ("NO" at decision block 1518), the processing operations of the analytical method 1500 loop back to the operations of block 1402.
[0113] The operation of block 1520 of the analysis method 1500 includes the electronic controller 150 generating an anomaly map of the sample S. In one example, the anomaly map is a black and white binary image of the sample S, where each non-anomalous pixel is black and each anomalous pixel is white. In another example, the anomaly map is a grayscale image of the sample S, where each non-anomalous pixel is black and each anomalous pixel is grayscale coded based on the difference between the pixel's DEM value calculated in block 1514 and the DEM threshold. In yet another example, the anomaly map is a color image of the sample S, where each non-anomalous pixel is black and each anomalous pixel is color coded based on the difference between the pixel's DEM value calculated in block 1514 and the DEM threshold. Once the operation of block 1520 is completed, the analysis method 1500 ends.
[0114] 17A-17C illustrate exemplary anomaly maps generated using the analysis method 1500, according to one embodiment. In the example shown, the sample S comprises a vertical cross-section of a field-effect transistor (FET). FIG. 17A shows a STEM image 1702 of the sample S. FIG. 17B shows an anomaly map 1704 of the sample S generated by an embodiment of the analysis method 1500 corresponding to a single EELS modality, with the DEM threshold set to DEM0=0.02. FIG. 17C shows an anomaly map 1706 of the sample S generated by the same embodiment of the analysis method 1500, but with the DEM threshold set to DEM0=0.05. The pixel frames of the anomaly maps 1704, 1706 are the same as the pixel frames of the STEM image 1702.
[0115] Comparison of anomaly maps 1704, 1706 with STEM image 1702 reveals that anomalous pixels are concentrated along various material interfaces of the FET structure. The DEM threshold used for anomaly map 1706 is larger than the DEM threshold used for anomaly map 1704, so the latter map has more pixels marked as anomalous. Although small (e.g., thin) regions of change in chemical composition or valence state along material interfaces are a normal and expected technological occurrence, a correct (e.g., empirical) selection of the DEM threshold allows a quality inspection performed using analysis method 1500 to quickly flag defective batches by indicating a relatively large number of anomalous pixels in the interface layers and elsewhere. Often, quality inspection focuses specifically on the interface layers of the nanostructure at hand, such as the FET of FIG. 17A, because these layers typically have a disproportionate impact on the properties of the nanostructure.
[0116] According to one example disclosed above, e.g., in the Summary section and / or with reference to any one or any combination of some or all of Figures 1-17, there is provided an apparatus comprising: an electron beam column configured to scan an electron beam across a specimen; a plurality of detectors configured to measure signals caused by an interaction of the electron beam with the specimen, the plurality of detectors including a first detector for a first modality, a second detector for a second modality, and a third detector for an imaging modality; and an electronic controller, the electronic controller being connected to receive a stream of measurements from the plurality of detectors, and for each pixel of a base image of the specimen generated using the imaging modality, the respective first input vectors and the respective second input vectors to respective probability densities in a latent space using an autoencoder, where the respective first input vectors, the respective second input vectors, and a base image are obtained based on a stream of measurements, where the respective first input vectors correspond to a first modality and the respective second input vectors correspond to a second modality; identifying, using the autoencoder, respective latent space clusters to which the respective probability densities belong; and generating a cluster-mapped image of the sample based on the base image and further based on the identified latent space clusters for different pixels of the base image.
[0117] In some examples of the above apparatus, the multiple detectors are selected from the group consisting of a high angle annular dark field detector, a medium angle annular dark field detector, annular bright field detector, a segmented annular detector, a differential phase contrast detector, an electron energy loss spectroscopy (EELS) detector, an energy dispersive X-ray spectroscopy (EDS) detector, and a two-dimensional diffraction pattern detector.
[0118] In some examples of any of the above apparatus, the first detector is an EELS detector and the second detector is an EDS detector.
[0119] In some examples of any of the above apparatus, the autoencoder comprises: a neural network encoder configured to jointly map each first input vector and each second input vector to a respective probability density in a latent space; and a neural network decoder configured to generate a reconstructed spectrum based on the mapping of the training spectrum to the latent space with the neural network encoder, wherein the neural network encoder and the neural network decoder are trained using a loss function, the training spectrum, and the reconstructed spectrum, and the loss function includes a sum of a term representing the reconstruction loss and a regularization term.
[0120] In some examples of any of the above devices, the autoencoder comprises a first neural network encoder configured to map each first input vector to a first probability density in a first private subspace of the latent space, and a second neural network encoder configured to map each second input vector to a second probability density in a second private subspace of the latent space, wherein the first neural network encoder and the second neural network encoder are further configured to jointly map each first input vector and each second input vector to respective probability densities in a shared subspace of the latent space.
[0121] In some examples of any of the above devices, each of the respective first input vectors and each of the respective second input vectors has a respective dimensionality in the range of 100 to 10,000, and the latent space is a two-dimensional space, a four-dimensional space, or an eight-dimensional space.
[0122] In some examples of any of the above devices, the latent space is classified into multiple clusters using a Gaussian mixture model.
[0123] In some examples of any of the above devices, the latent space is classified into a plurality of clusters, and the number of distinct clusters in the plurality of clusters is in the range of 4 to 20.
[0124] In some examples of any of the above devices, the electronic controller is configured to generate a cluster mapped image of the sample by coloring each pixel of the base image according to a color code of the multiple clusters.
[0125] In some examples of any of the above devices, the electronic controller is configured to apply processing to the stream of measurements to obtain a respective first input vector and a respective second input vector, the processing including one or more operations selected from the group consisting of removal of outlier peaks, subtraction of an estimated background, scaling, normalization, averaging, fitting with a selected function, binning or rebinning, and Gaussian kernel filtering.
[0126] In some examples of any of the above apparatus, the first detector is positioned downstream from the sample relative to the direction of propagation of the electron beam, and the second detector is positioned upstream from the sample relative to the direction of propagation of the electron beam.
[0127] In some examples of any of the above devices, the plurality of detectors includes a fourth detector for a third modality, and the electronic controller is configured to map, for each pixel of the base image, a respective first input vector, a respective second input vector, and a respective third input vector to a respective probability density in a latent space using an autoencoder, where each third input vector corresponds to a third modality.
[0128] According to another example disclosed above, for example in the Summary section and / or with reference to any one or any combination of some or all of Figures 1-17, there is provided a support apparatus for a scientific instrument, the support apparatus comprising: an interface device configured to receive a stream of measurements from a plurality of detectors of the scientific instrument, the plurality of detectors being configured to measure a signal caused by an interaction of an electron beam with the sample, the interface device including a first detector for a first spectroscopic modality of the scientific instrument, a second detector for a second spectroscopic modality of the scientific instrument, and a third detector for an imaging modality of the scientific instrument; and a processing device, the processing device configured to receive a stream of measurements from a plurality of detectors of the scientific instrument, the plurality of detectors being configured to measure a signal caused by an interaction of an electron beam with the sample, the interface device including a first detector for a first spectroscopic modality of the scientific instrument, a second detector for a second spectroscopic modality of the scientific instrument, and a third detector for an imaging modality of the scientific instrument ... for the cell, using an autoencoder, map each first input vector and each second input vector to a respective probability density in a latent space, where each first input vector, each second input vector, and a base image are obtained based on a stream of measurements, where each first input vector corresponds to a first spectroscopic modality and each second input vector corresponds to a second spectroscopic modality; identify, using the autoencoder, a respective latent space cluster to which the respective probability density belongs; and generate a cluster-mapped image of the sample based on the base image and further based on the identified latent space clusters for different pixels of the base image.
[0129] In some examples of the above assistance device, the autoencoder includes a neural network encoder configured to jointly map each first input vector and each second input vector to a respective probability density in a latent space, and a neural network decoder configured to generate a reconstructed spectrum based on the mapping of the training spectrum to the latent space using the neural network encoder, where the neural network encoder and the neural network decoder are trained using a loss function, the training spectrum, and the reconstructed spectrum, and the loss function includes a sum of a term representing the reconstruction loss and a regularization term.
[0130] In some examples of any of the above assistance devices, the autoencoder comprises a first neural network encoder configured to map each first input vector to a first probability density in a first private subspace of the latent space, and a second neural network encoder configured to map each second input vector to a second probability density in a second private subspace of the latent space, wherein the first neural network encoder and the second neural network encoder are further configured to jointly map each first input vector and each second input vector to respective probability densities in a shared subspace of the latent space.
[0131] In some examples of any of the above assistance devices, each of the respective first input vectors and each of the respective second input vectors has a respective dimensionality in the range of 100 to 10,000, and the latent space is a two-dimensional space, a four-dimensional space, or an eight-dimensional space.
[0132] In some examples of any of the above support systems, the latent space is classified into multiple clusters using a Gaussian mixture model.
[0133] In some examples of any of the above assistance devices, the latent space is classified into a plurality of clusters, and the number of different clusters in the plurality of clusters is in the range of 4-20.
[0134] In some examples of any of the above support devices, the support device further comprises a display device, and the processing device is configured to generate a cluster mapped image of the sample by coloring each pixel of the base image according to a color code of the plurality of clusters, and to cause the cluster mapped image of the sample to be displayed by the display device.
[0135] According to yet another example disclosed above, e.g., in the Summary section and / or with reference to any one or any combination of some or all of Figures 1-17, there is provided an automated method implemented via a computing device for providing assistance to a scientific instrument, the method comprising: receiving a stream of measurements from a plurality of detectors of the scientific instrument, the plurality of detectors being configured to measure signals caused by an interaction of an electron beam with a sample, and including a first detector for a first spectroscopic modality of the scientific instrument, a second detector for a second spectroscopic modality of the scientific instrument, and a third detector for an imaging modality of the scientific instrument; and receiving, for each pixel of a base image of the sample generated using the imaging modality, a stream of measurements from a plurality of detectors of the scientific instrument, the plurality of detectors being configured to measure signals caused by an interaction of an electron beam with a sample, the first detector for a first spectroscopic modality of the scientific instrument, a second detector for a second spectroscopic modality of the scientific instrument, and a third detector for an imaging modality of the scientific instrument. wherein each first input vector, each second input vector, and a base image are obtained based on a stream of measurements, each first input vector corresponding to a first spectroscopic modality and each second input vector corresponding to a second spectroscopic modality; identifying, using the autoencoder, each latent space cluster to which the respective probability density belongs; and generating a cluster-mapped image of the sample based on the base image and further based on the identified latent space clusters for different pixels of the base image.
[0136] It should be understood that the above description is illustrative and not restrictive. Many implementations and applications other than the examples provided will become apparent upon reading the above description. The scope should not be determined with reference to the above description, but instead with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled. It is anticipated and intended that future developments will occur in the art discussed herein, and that the disclosed systems and methods will be incorporated into such future examples. In short, it should be understood that this application is capable of modification and variation.
[0137] All terms used in the claims are intended to be given their broadest reasonable interpretation and their ordinary meaning as understood by one skilled in the art described herein, unless expressly indicated to the contrary herein. In particular, the use of singular articles such as "a," "the," "said," etc., should be read to recite one or more of the indicated elements, unless the claims set forth an express limitation to the contrary.
[0138] The Abstract is provided to allow the reader to quickly ascertain the nature of the technical disclosure. The Abstract is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims. In addition, in the above Detailed Description, it may be seen that various features have been grouped together in various examples for the purpose of streamlining the disclosure. This method of disclosure should not be interpreted as reflecting an intention that the claimed subject matter incorporates more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive subject matter lies in less than all features of a single disclosed example. Accordingly, the following claims are hereby incorporated into the Detailed Description with each claim standing on its own as independently claimed subject matter.
[0139] Unless otherwise stated, each numerical value and range should be construed as being approximate, as if the word "about" or "approximately" were preceding that value or range.
[0140] In the method claims that follow, elements, if any, are recited in a particular order with corresponding labeling, but the elements are not necessarily intended to be limited to being implemented in that particular order, unless the claim recitation otherwise implies a particular order for implementing some or all of the elements.
[0141] Unless otherwise specified herein, the use of the ordinal adjectives "first," "second," "third," etc. to refer to one object of a plurality of similar objects is intended only to indicate that different instances of such similar objects are being referred to, and is not intended to imply that the similar objects so referred to must be in a corresponding order or sequence, either temporally, spatially, in ranking, or in any other manner.
[0142] Unless otherwise specified herein, the conjunction "if" may additionally or alternatively be interpreted to mean "when" or "upon" or "in response to determining" or "in response to detecting," in addition to its plain meaning, and this interpretation may depend on the corresponding particular context. For example, the phrase "when determined" or "if [the stated condition] is detected" may be interpreted to mean "upon determining" or "in response to determining" or "upon detecting [the stated condition or event]" or "in response to detecting [the stated condition or event]."
[0143] Also, for purposes of this description, the terms "couple," "coupling," "coupled," "connected," "connecting," or "connected" refer to any manner known in the art or later developed that allows energy or force to be transferred between two or more elements, where the intervening presence of one or more additional elements is contemplated but not required. Conversely, terms such as "directly coupled," "directly connected," and the like imply the absence of such additional elements.
[0144] The functionality of the various elements shown in the figures, including any functional blocks labeled "processor" and / or "controller," may be provided through the use of dedicated hardware as well as hardware capable of executing software in association with appropriate software. When provided by a processor, the functionality may be provided by a single dedicated processor, by a single shared processor, or by multiple individual processors, some of which may be shared. Furthermore, explicit use of the terms "processor" or "controller" should not be construed as referring exclusively to hardware capable of executing software, and may implicitly include, without limitation, digital signal processor (DSP) hardware, network processors, application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), read only memory (ROM) for storing software, random access memory (RAM), and non-volatile storage. Other hardware, conventional and / or custom, may also be included. Similarly, any switches shown in the figures are conceptual only. Those functions may be performed through operation of programmatic logic, through dedicated logic, through the interaction of programmatic control and dedicated logic, or even manually, with the particular technique being selectable by the implementer, as more particularly understood from the context.
[0145] As used in this application, the term "circuit" or "circuitry" may refer to one or more or all of the following: (a) a hardware-only circuit implementation (such as an implementation with only analog and / or digital circuitry); (b) (where applicable), (i) a combination of analog and / or digital hardware circuitry with software / firmware; and (ii) a combination of hardware circuitry and software, such as any portion of a hardware processor with software (including digital signal processors), software, and memory that work together to cause a device such as a mobile phone or server to perform various functions; and (c) a hardware circuit and / or processor, such as a microprocessor or a portion of a microprocessor, that requires software (e.g., firmware) to operate, but the software may not be present when not required for operation. This definition of circuitry applies to all uses of the term in this application, including any claims. As a further example, as used in this application, the term circuitry also covers merely a hardware circuit or processor (or processors), or a portion of a hardware circuit or processor, and its (or their) accompanying software and / or firmware implementation. The term circuitry also covers, for example, baseband or processor integrated circuits for mobile devices, or similar integrated circuits in servers, cellular network devices, or other computing or network devices, where applicable to particular claim elements.
[0146] Those skilled in the art will appreciate that any block diagrams herein represent conceptual views of illustrative circuitry embodying the principles of the present disclosure. Similarly, any flow charts, flow diagrams, state transition diagrams, pseudocode, or the like, may be substantially represented in a computer-readable medium and may represent various processes that may be performed by a computer or processor, whether or not a computer or processor is explicitly shown.
Claims
1. An apparatus comprising: an electron beam column configured to scan an electron beam across the specimen; a plurality of detectors configured to measure signals caused by an interaction of the electron beam with the sample, the plurality of detectors including a first detector for a first modality, a second detector for a second modality, and a third detector for an imaging modality; an electronic controller connected to receive the stream of measurements from the plurality of detectors; and for each pixel of a base image of the sample generated using the imaging modality, mapping a respective first input vector and a respective second input vector to a respective probability density in a latent space using an autoencoder, the respective first input vector, the respective second input vector, and the base image being obtained based on the stream of measurements, the respective first input vector corresponding to the first modality and the respective second input vector corresponding to the second modality; using the autoencoder to identify each latent space cluster to which each of the probability densities belongs; generating a cluster mapped image of the sample based on the base image and further based on the identified latent spatial clusters for distinct pixels of the base image.
2. 2. The apparatus of claim 1, wherein the plurality of detectors are selected from the group consisting of a high angle annular dark field detector, a medium angle annular dark field detector, annular bright field detector, a segmented annular detector, a differential phase contrast detector, an electron energy loss spectroscopy (EELS) detector, an energy dispersive x-ray spectroscopy (EDS) detector, and a two-dimensional diffraction pattern detector.
3. the first detector is an EELS detector; The apparatus of claim 1 , wherein the second detector is an EDS detector.
4. The autoencoder, a neural network encoder configured to jointly map the respective first input vectors and the respective second input vectors to the respective probability densities in the latent space; a neural network decoder configured to generate a reconstructed spectrum based on a mapping of a training spectrum to the latent space using the neural network encoder; 2. The apparatus of claim 1 , wherein the neural network encoder and the neural network decoder are trained using a loss function, the training spectrum, and the reconstructed spectrum, the loss function comprising a sum of a term representing a reconstruction loss and a regularization term.
5. The autoencoder, a first neural network encoder configured to map each of the first input vectors to a first probability density in a first private subspace of the latent space; a second neural network encoder configured to map each second input vector to a second probability density in a second private subspace of the latent space; 2. The apparatus of claim 1 , wherein the first neural network encoder and the second neural network encoder are further configured to jointly map the respective first input vectors and the respective second input vectors to the respective probability densities in a shared subspace of the latent space.
6. each of the respective first input vectors and the respective second input vectors having a respective dimensionality in the range of 100 to 10,000; The apparatus of claim 1 , wherein the latent space is a two-dimensional space, a four-dimensional space, or an eight-dimensional space.
7. The apparatus of claim 1 , wherein the latent space is classified into multiple clusters using a Gaussian mixture model.
8. The apparatus of claim 1 , wherein the latent space is classified into a plurality of clusters, and a number of different clusters in the plurality of clusters is in the range of 4 to 20.
9. 9. The apparatus of claim 8, wherein the electronic controller is configured to generate the cluster mapped image of the sample by coloring each pixel of the base image according to a color code of the plurality of clusters.
10. 2. The apparatus of claim 1, wherein the electronic controller is configured to apply processing to the stream of measurements to obtain the respective first input vectors and the respective second input vectors, the processing including one or more operations selected from the group consisting of removal of outlier peaks, subtraction of an estimated background, scaling, normalization, averaging, fitting with a selected function, binning or rebinning, and Gaussian kernel filtering.
11. the first detector is positioned downstream from the sample with respect to a direction of propagation of the electron beam; The apparatus of claim 1 , wherein the second detector is positioned upstream from the sample with respect to the direction of propagation of the electron beam.
12. the plurality of detectors includes a fourth detector for a third modality; 2. The apparatus of claim 1, wherein the electronic controller is configured to, for each pixel of the base image, map, using the autoencoder, the respective first input vector, the respective second input vector, and the respective third input vector to the respective probability densities in the latent space, the respective third input vector corresponding to the third modality.
13. 1. A support device for a scientific instrument, the support device comprising: an interface device configured to receive a stream of measurements from a plurality of detectors of the scientific instrument, the plurality of detectors configured to measure signals caused by an interaction of an electron beam with a sample, the interface device including: a first detector for a first spectroscopic modality of the scientific instrument, a second detector for a second spectroscopic modality of the scientific instrument, and a third detector for an imaging modality of the scientific instrument; a processing device, the processing device comprising: for each pixel of a base image of the sample generated using the imaging modality, mapping a respective first input vector and a respective second input vector to a respective probability density in a latent space using an autoencoder, wherein the respective first input vector, the respective second input vector, and the base image are obtained based on the stream of measurements, and the respective first input vector corresponds to the first spectroscopic modality and the respective second input vector corresponds to the second spectroscopic modality; using the autoencoder to identify each latent space cluster to which each of the probability densities belongs; generating a cluster mapped image of the sample based on the base image and further based on the identified latent spatial clusters for distinct pixels of the base image.
14. The autoencoder, a neural network encoder configured to jointly map the respective first input vectors and the respective second input vectors to the respective probability densities in the latent space; a neural network decoder configured to generate a reconstructed spectrum based on a mapping of a training spectrum to the latent space using the neural network encoder; 14. The assistance device of claim 13, wherein the neural network encoder and the neural network decoder are trained using a loss function, the training spectrum, and the reconstructed spectrum, the loss function including a sum of a term representing a reconstruction loss and a regularization term.
15. The autoencoder, a first neural network encoder configured to map each of the first input vectors to a first probability density in a first private subspace of the latent space; a second neural network encoder configured to map each second input vector to a second probability density in a second private subspace of the latent space; 14. The apparatus of claim 13, wherein the first neural network encoder and the second neural network encoder are further configured to jointly map the respective first input vectors and the respective second input vectors to the respective probability densities in a shared subspace of the latent space.
16. each of the respective first input vectors and the respective second input vectors having a respective dimensionality in the range of 100 to 10,000; The assistance device of claim 13 , wherein the latent space is a two-dimensional space, a four-dimensional space, or an eight-dimensional space.
17. The assistance device according to claim 13, wherein the latent space is classified into a plurality of clusters, and a number of different clusters in the plurality of clusters is in a range of 4 to 20.
18. Further comprising a display device, the processing device comprising: generating the cluster-mapped image of the sample by coloring each pixel of the base image according to a color code of the plurality of clusters; and 20. The apparatus of claim 17, configured to cause the cluster mapped image of the sample to be displayed by the display device.
19. 1. An automated method implemented via a computing device for providing assistance to a scientific instrument, the method comprising: receiving a stream of measurements from a plurality of detectors of the scientific instrument, the plurality of detectors configured to measure signals caused by an interaction of an electron beam with a sample and including a first detector for a first spectroscopic modality of the scientific instrument, a second detector for a second spectroscopic modality of the scientific instrument, and a third detector for an imaging modality of the scientific instrument; for each pixel of a base image of the sample generated using the imaging modality, mapping a respective first input vector and a respective second input vector to a respective probability density in a latent space using an autoencoder, wherein the respective first input vector, the respective second input vector, and the base image are obtained based on the stream of measurements, and the respective first input vector corresponds to the first spectroscopic modality and the respective second input vector corresponds to the second spectroscopic modality; using the autoencoder to identify each latent space cluster to which each of the probability densities belongs; generating a cluster mapped image of the sample based on the base image and further based on the identified latent space clusters for distinct pixels of the base image.
20. 20. A non-transitory computer-readable medium storing instructions that, when executed by a computing device, cause the computing device to perform operations including the method of claim 19.
