원시데이터 수집 시스템
선정목록으로

Phase Object Reconstruction for 4D-STEM using Deep Learning

관련 화학·수지 · (21) 에폭시수지 (15) 디스플레이 패널재료(16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Thomas Friedrich — Electron Microscopy for Materials Science (EMAT), University of Antwerp , Groenenborgerlaan 171, 2020 Antwerp , Belgium|||NANOlab Center of Excellence, University of Antwerp , Groenenborgerlaan 171, 2020 Antwerp , Belgium
  2. Chu-Ping Yu — Electron Microscopy for Materials Science (EMAT), University of Antwerp , Groenenborgerlaan 171, 2020 Antwerp , Belgium|||NANOlab Center of Excellence, University of Antwerp , Groenenborgerlaan 171, 2020 Antwerp , Belgium
  3. Johan Verbeeck — Electron Microscopy for Materials Science (EMAT), University of Antwerp , Groenenborgerlaan 171, 2020 Antwerp , Belgium|||NANOlab Center of Excellence, University of Antwerp , Groenenborgerlaan 171, 2020 Antwerp , Belgium
  4. Sandra Van Aert — Electron Microscopy for Materials Science (EMAT), University of Antwerp , Groenenborgerlaan 171, 2020 Antwerp , Belgium|||NANOlab Center of Excellence, University of Antwerp , Groenenborgerlaan 171, 2020 Antwerp , Belgium
DOI
10.1093/micmic/ozac002
저널
Microscopy and Microanalysis
발행년도
2023
발행기관
Oxford University Press
피인용수
21
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1093/micmic/ozac002
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W4315782334

평가 내용

관련도
관련
사업분야
화학·수지 · (21) 에폭시수지
부 분야
(15) 디스플레이 패널재료, (16) CPI(투명 폴리이미드)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
4D-STEM, Deep Learning, Phase Object Reconstruction, Super-resolution, Electron Microscopy
판단 근거
본 논문은 딥러닝을 이용한 전자현미경(STEM) 영상 재구성 기술을 다루며, 이는 코오롱인더스트리의 고분자 소재(에폭시, CPI 등) 및 디스플레이 재료의 나노 구조 분석 및 물성 평가를 위한 고도화된 분석 방법론으로서 가치가 있습니다.
R&D 활용 포인트
에폭시 수지, CPI 필름 등 고기능성 고분자 소재의 원자 단위 구조 분석 및 나노 스케일의 결함/계면 분석 시, 딥러닝 기반의 초고해상도 이미징 기술을 도입하여 분석 정밀도를 높이는 데 참고할 수 있습니다.
평가 입력
섹션 본문 46,746자 중 30,032자 발췌

초록

Abstract In this study, we explore the possibility to use deep learning for the reconstruction of phase images from 4D scanning transmission electron microscopy (4D-STEM) data. The process can be divided into two main steps. First, the complex electron wave function is recovered for a convergent beam electron diffraction pattern (CBED) using a convolutional neural network (CNN). Subsequently, a corresponding patch of the phase object is recovered using the phase object approximation. Repeating this for each scan position in a 4D-STEM dataset and combining the patches by complex summation yields the full-phase object. Each patch is recovered from a kernel of 3×3 adjacent CBEDs only, which eliminates common, large memory requirements and enables live processing during an experiment. The machine learning pipeline, data generation, and the reconstruction algorithm are presented. We demonstrate that the CNN can retrieve phase information beyond the aperture angle, enabling super-resolution imaging. The image contrast formation is evaluated showing a dependence on the thickness and atomic column type. Columns containing light and heavy elements can be imaged simultaneously and are distinguishable. The combination of super-resolution, good noise robustness, and intuitive image contrast characteristics makes the approach unique among live imaging methods in 4D-STEM.

본문 47,212자

본문 펼치기
In this study we explore the possibility to use deep learning for the reconstruction of phase images from 4D scanning transmission electron microscopy (4D-STEM) data. The process can be divided into two main steps. First, the complex electron wave function is recovered for a convergent beam electron diffraction pa ern (CBED) using a convolutional neural network (CNN). Subsequently a corresponding patch of the phase object is recovered using the phase object approximation (POA). Repeating this for each scan position in a 4D-STEM dataset and combining the patches by complex summation yields the full phase object. Each patch is recovered from a kernel of 3x3 adjacent CBEDs only, which eliminates common, large memory requirements and enables live processing during an experiment. The machine learning pipeline, data generation and the reconstruction algorithm are presented. We demonstrate that the CNN can retrieve phase information beyond the aperture angle, enabling super-resolution imaging. The image contrast formation is evaluated showing a dependence on thickness and atomic column type. Columns containing light and heavy elements can be imaged simultaneously and are distinguishable. The combination of super-resolution, good noise robustness and intuitive image contrast characteristics makes the approach unique among live imaging methods in 4D-STEM. Introduction Scanning transmission electron microscopy (STEM) is among the most widely used techniques for the visualization, characterization and quantification of atomic structures in material-and nanoscience. Images are acquired by scanning a sample with an electron probe over a two dimensional (2D) grid. Traditionally, STEM data is collected using annular detectors which measure an integrated intensity over the detector area. This results directly in 2D images where the pixel intensities are proportional to the angular integrated sca ered intensity of the electron beam at the corresponding probe position. These images are intuitively interpretable and can further be used for the quantification of atomic structures (Van Aert et al., 2013). However, conventional STEM imaging has its limitations, particularly in terms of dose efficiency, resolution and the ability to image light and heavy elements simultaneously. Indeed, in the case of annular dark field (ADF) imaging, the sca ering cross section of an atom scales with the atomic number Z roughly Z 1.7 (Krivanek et al., 2010;Yamashita et al., 2018), which o en leads to heavy atoms obscuring nearby light elements. On the other hand, imaging very thin or radiation sensitive samples may even be impossible due to the high dose requirements of ADF. This is highly relevant especially for investigations of 2D nano structures and organic compounds. To overcome these limitations much effort has been devoted towards the development of fast pixelated electron detectors which can record an entire convergent beam electron diffraction pa ern (CBED) in a reasonable amount of time (Tate et al., 2016;Ballabriga et al., 2011;Ciston et al., 2019;MacLaren et al., 2020;Haas et al., 2021;Jannis et al., 2021a). This enables a set of new imaging modalities, such as ptychography, the calculation of phase contrast (Lazić et al., 2016) and true center of mass (COM) imaging (Müller et al., 2014). These imaging modalities can all be considered phase retrieval algorithms in a wider sense (Close et al., 2015), as they all aim to retrieve the projected electrostatic potential of a sample, which directly affects the phase of the transmitted electron wave. Ptychographic methods have been of particular interest for their super-resolution capabilities and the possibility to determine/correct for microscope aberrations as well (Rodenburg & Bates, 1992;Jiang et al., 2018;Rodenburg et al., 1993). However, the computational cost and memory requirements for these algorithms are considerable. Iterative algorithms like ePIE (Maiden & Rodenburg, 2009;Chen et al., 2020) use opti-mization algorithms to fit an object to a given dataset such that the estimated phase corresponds to the intensity observations across the entire dataset. This is a computationally intensive task and the result is influenced by optimization parameters and convergence criteria. Other non-iterative methods typically use only the bright-field disc for phase reconstructions which imposes limitations on the maximum achievable resolution (Rodenburg et al., 1993). They rely on taking Fourier transforms with respect to the probe positions in real space, which means that for conventional Fast Fourier Transform algorithms (FFT), entire datasets (or at least substantial parts of them) have to fit into computer memory, which is becoming increasingly restrictive considering the growing size of 4D-datasets. For these reasons, ptychography has found many useful applications, mainly as a post-experiment data processing analysis step in specialized studies, but has not become a mainstream imaging modality so far. However, there is an increasing interest in using these algorithms interactively during experiments. To that end, live imaging using SSB was recently implemented and demonstrated by Strauch et al. (2021) and Pelz et al. (2022), as well as live center of mass imaging by Yu et al. (2021a). In the present work we explore the possibility to use machine learning (ML) for dose-efficient phase object (PO) reconstructions with super-resolution in (near) realtime. We show that using a convolutional neural network (CNN) enables fast exit wave retrieval for a given CBED, by using only a 3x3 kernel of adjacent diffraction pa erns at a time. The method allows the retrieval of exit waves, with a resolution theoretically only limited by the Nyquist frequency of the detector and thus enables super-resolution imaging at sufficiently high doses. Using only nine CBEDs per probe position in a 4D-STEM dataset implies that the dataset can practically be of arbitrary size and the reconstruction can be performed live during the experiment with appropriate accelerator hardware, such as a modern, single GPU. In this paper, the character and capability of the proposed method is discussed in detail and demonstrated on both simulated and experimental data. Comparisons are also made with other possible live processing methods. Introduction To the best of our knowledge the only reconstruction methods that go beyond utilizing the traditional annular detector and enable live imaging are single sideband ptychography (SSB) (Strauch et al., 2021;Pelz et al., 2022), integrated differential phase contrast (iDPC) and integrated center of mass (iCOM) (Yu et al., 2021a). This is why we focus our analysis on comparing the results of our proposed method to those methods. Theoretical Framework The interaction of fast electrons with thin specimens can be conveniently described with the phase object approximation (POA). As an electron passes through a positive electrostatic potential its wavelength λ is temporarily altered which is equivalent to shi ing the phase of the electron (Kirkland, 2010). For cases where the specimen is extremely thin, the propagation of the wave as it goes through the material can be neglected as a reasonable approximation and the real space 3D electrostatic potential of the atomic structure V s ( ì r , z ) can be expressed as its integral along the optical axis z , resulting in the projected Theoretical Framework which is a function of the vector ì r that spans the remaining two dimensions. With this approximation the exit wave ψ ou t ( ì r ) is simply the product of the incident wave ψ i n ( ì r ) and the object, which can be described by the transmission function T ( ì r ): Theoretical Framework where T ( ì r ) = exp i σv z ( ì r ) and σ is an interaction parameter (See (Kirkland, 2010) for a more detailed derivation). However, a direct solution of the transmission function according to equation 1 is only possible if both incident and exit wave are known, while in practice neither of them are known a priori. The incident wave ψ i n ( ì r ), can be fairly well approximated as the Fourier transform (F ) of the product of the aperture function A( ì k ) and an aberration-function(χ ( ì k ))-dependent phase shi (Zuo & Spence, 2016). Theoretical Framework Here, ì r describes a 2D space at the object plane and ì k describes the reciprocal space. The function χ ( ì k ), considering only the spherical aberration C s and defocus ∆f , is given by: Theoretical Framework Assuming that at least the low order aberration parameters of χ ( ì k ) are known, equations 2 and 3 can be used to estimate ψ i n ( ì k ). The other piece of missing information is then the exit wave ψ ou t ( ì r ). From a 4D STEM experiment, only the intensity |ψ ou t ( ì k )| 2 can be measured (figure 1-2 ), and thus a method to retrieve the exit waveform on the sample plane based on the information accessible from the experiment is required to solve equation 1 to get the transmission function T ( ì r ). Retrieving the phase of ψ ou t ( ì k ) is a common inverse problem, but is severely complicated in 4D-STEM by the presence of noise to a level that makes even the estimation of |ψ ou t ( ì k )| a challenging task in its own. Theoretical Framework The idea in this study is to leverage the multislice formalism, incorporating the calculation of electrostatic atomic potentials and the frozen phonon approximation (Van Dyck, 2009), as a forward model to generate a large synthetic dataset. This dataset can then be used to train a convolutional neural network (CNN) to retrieve an estimate of ψ ou t for any given experiment within the boundaries of the validity of the used forward model and within the parameter space of the training data, which will be discussed in section "Training data generation" and is given concisely in table 1. General Workflow The general concept of the proposed reconstruction method is schematically illustrated in figure 1. The workflow to retrieve the object T ( ì r ) (figure 1-1 ) of a 4d-STEM dataset (figure 1-2 ) can be divided into two main steps: firstly, a neural network, trained to solve the inverse problem as outlined in section "Neural Network implementation", reconstructs the phase φ ou t and amplitude |ψ ou t | of the exit wave, based on the intensity measurements of a 3x3 kernel of adjacent diffraction pa erns, as depicted in figure 1-( 3 -5 ). Secondly, a patch of the object is retrieved from the previously reconstructed exit wave according to equation 1, as shown in figure 1-( 6 ). Fig. 1. General workflow: A patch of the phase object 1 of a 4D-STEM dataset 2 is reconstructed by extracting a 3x3 kernel of adjacent CBEDs 3 , using a CNN 4 to reconstruct the amplitude (|ψ ou t ( ì r )|) and phase (φ ou t ( ì r )) of the exit wave of the central CBED 5 and using the phase object approximation to reconstruct the object patch 6 from the reconstructed exit wave and an estimated probe function ψ i n ( ì r ). Patches are then stitched together by complex addition to yield a reconstruction of the full phase object. General Workflow In order to take the relative position of each individual object patch into account, a phase factor is included to the approximated ψ i n ( ì k ) and the predicted ψ ou t ( ì k ) so that their real space counterpart ψ i n ( ì r ) and ψ ou t ( ì r ) are found at the right position. This phase factor φ shi f t is a function of the displacement of the probe position in the x and y directions (∆x and ∆y ) with regard to the center of an array of size N x × N y . General Workflow The real space wave functions considering the phase factor are: General Workflow In equation 5, F is Fourier transformation, and the amount of displacement ∆x and ∆y is absorbed into n, which specifies the n t h probe position. The phase object approximation assumes that the retrieved object patch should have a homogeneous amplitude of 1 with a phase distribution reflecting the projected potential of the imaged material. However, since the transmi ing electron probe carries information mostly from a specific region of the examined sample at the probe position, the retrieved object patches are given a weighting function ω n according to the n t h incident probe intensity distribution, and the accordingly weighted object patch ψ pat ch,n is expressed as: General Workflow T pat ch,n ( ì r ) = ψ ou t ,n ( ì r )/ψ i n,n ( ì r ) |ψ ou t ,n ( ì r )/ψ i n,n ( ì r )| × ω n ( ì r ) General Workflow with the weighting function ω n as: General Workflow This procedure is repeated for all real space coordinates in the 4D-STEM dataset and the object patches are combined into the final phase object T by complex addition over n probe positions. General Workflow The object patch estimations coming from the CNN are not perfect but carry some errors. However, the full object is the combined result of the predictions made at multiple probe positions (equation 8). Even if one particular prediction is very inaccurate, its impact on the final result is limited as long as it is outweighed by the contributions from neighboring probe positions, which is the case when a significant probe overlap is established by a dense scanning raster. Training data generation We created a large synthetic dataset, using atomic structures extracted from the materials project (Jain et al., 2013) database. Based on the unit cell definitions we created bulk specimens in one of the low-index zone axis orientations given in table 1. Each sample consists of a 3x3 kernel of simulated CBED pa erns as features and the corresponding exit wave in real-space as label. The simulations were performed using the multislice formalism and the frozen phonon approximation. In the implementation given by (Lobato & Van Dyck, 2015;Lobato et al., 2016), following the derivation of (Van Dyck, 2009) the CBED intensity can be expressed as the sum of coherent and incoherent intensities. Training data generation where ψ ou t ( ì k ) is the exit wave, δ is a phonon configuration(t )-dependent difference and denotes the average over t . This formalism gives us access to the average, coherent, complex wave function. We use this wave function of the central CBED of the 3x3 kernel as labels (i.e. the ground truth training target) and the CBED intensities of all pa erns in the kernel, as given in equation 9 as features (i.e. the CNN input). Only low order aberration parameters ∆f and C s of χ ( ì k ) (equation 3) are considered as they are unavoidable and typically have the strongest influence. We assume that including these effects phenomenologically with a constant, small C s and corresponding Scherzer defocus is sufficient. Temporal and spatial incoherence are also not taken into account. This reduces the parameter space considerably but also implies that the method is (for now) limited to aberration corrected, well adjusted microscopes. Further, the dataset includes the CBED-size in Å −1 , the aperture size and the acceleration voltage, which allows the computation of the probe function ψ i n ( ì k ) within the data pre-processing pipeline during the training using equations 2 and 3. Also the effect of finite electron dose is applied as a data augmentation step during the training, assuming only Poisson noise. To accommodate the possibility that there may be no specimen interacting with the beam, another augmentation step replaces the CBEDs with the probe function intensity with a 3% chance. An example of the resulting training sample inputs and labels is illustrated in figure 2 in the "input" and "ground truth" panels respectively. All parameters describing the dataset are summarized in table 1. Visualizations of the parameter distributions are shown in supplementary information (figure S.1). The data generation code was published open source under https://github.com/ThFriedrich/ap_data_generation, as well as the training dataset used (Friedrich et al., 2022b). Description Value , 40, 50, 60, 80, 100, 120, 140, 160, 180, 200, 300}kV Step size ( CNN architecture The complexity of the inverse problem practically dictates the use of deep neural networks in this study. The U-Net architecture (Ronneberger et al., 2015) is one of the most popular choices for deep learning applications, since it allows to expand the number of parameters considerably, while maintaining strong backpropagation. Each depth level in the "U-shape" reduces the filter map size which accommodates the retrieval of features of different sizes. This makes the U-NET an extremely versatile and easy to train CNN and hence suitable as a starting point for this project as well (Friedrich et al., 2021). However, since the training target is naturally complex valued, a generic pixel-to-pixel mapping, as commonly employed for CNNs in image processing, cannot be used. Two popular ways of dealing with this exist. Firstly, both, phase and amplitude retrieval problems can essentially be treated separately by defining two outputs and optimizing for dedicated loss functions on the phase and amplitude components of the wave function. This treats the complex wave as two real valued images, which in practice has the advantage that common, highly optimized AI tools can be readily employed. Another approach that natu- rally lends itself to this kind of problem is using complex valued neural networks (Trabelsi et al., 2018); an approach that has found relatively few applications so far. However, the theoretical framework for complex CNNs is established (Trabelsi et al., 2018) and implementations have been showing promising results (Virtue et al., 2018;Munshi et al., 2022). We implemented the U-NET architecture for both CNN types to test the main ideas. The complex networks delivered reconstruction results and accuracies of predicted phases, which are, for all intents and purposes, equivalent to the real-valued CNN, while decreasing the speed performance considerably. Since live imaging is an envisioned application, inference speed is a critical concern and the faster real-valued CNN was chosen in the study accordingly. CNN architecture The structure of the U-NET is modified to account for physical considerations. The aim of the neural network is to model the electron-specimen interaction. Adding skip connections from the input probe function to the output exit waves (essentially enabling global residual learning) isolates the specimen interaction contributions from the probe function contributions to the exit wave. The CNN therefore does not need to learn to actually model the electron probe. The skip connections have the additional benefit of providing a common template during inference. The training is done on isolated scan points of only 9 CBEDs per specimen, while during inference the probe function should be consistent for the entire dataset, which is a requirement that cannot be captured by any metric during the training. Providing an estimated probe function greatly promotes this consistency during inference. Global residual learning also enhances noise robustness because the probe function serves as template, which is hardly altered if the input is merely noise. CNN architecture On the input the dynamic range of the CBEDs are being scaled by taking them to the power of 0.1 in a pre-processing step, which puts more relative weight on the dark field sca ered electrons to support exit wave reconstructions beyond the convergence angle. Subsequently each pa ern is scaled, according to equation 10 depending on its distance from the central beam position, where ζ x y and ζ d correspond to the CBED weights adjacent to the central CBED along x and y and on the diagonal, respectively. This is a straightforward way to include the step size ∆s into the workflow. CNN architecture The constant factor of 50 accounts for the range of step sizes in the training datasets such that all ζ are between 0 and 1. The effect of this weighting can be seen in the "Input" panel of figure 2, evident by the higher mean intensity of the central CBED. CNN architecture Other notable differences as compared to the original U-NET implementation (Ronneberger et al., 2015) are different map sizes, the use of Swish-Activation functions (Ramachandran et al., 2017) and the use of strided convolutional layers instead of max-pooling layers to avoid any loss of information when feature map sizes are reduced. Trainable scaling factors on the two output layers for the phase and amplitude were added to scale between the batch-normalized feature maps (with standard deviations of 1 and means of zero) in the CNN and the relatively small target value distributions, which correspond to the difference between exit waves and probe functions. The variables were initialized accordingly with small values of 1e-4 and optimized during training. The amplitude output layer includes a regularization which penalizes integrated exit wave intensities > 1. The phase output layer penalizes values larger than π and smaller than −π. These penalties are added to the loss during training. The resulting overall architecture is depicted in figure 3. The tensorflow implementations of the models and individual layers are available open source on Github at https://github.com/ThFriedrich/airpi. During the training the CNN can process >750,000 sample points in about 6 minutes on a single Nvidia RTX 3080 GPU, indicating that the model itself may be well suited for live processing at rates >2kHz, if the pre-and post-processing pipelines are well optimized. The model leverages global residual learning through added skip connections of the probe function to the output. Each "convolution layer" is composed of a 2D convolution layer, batch normalization and a swish activation function. Each "convolution block" consists of 3 consecutive convolution layers. Loss function To facilitate the learning of a general representation for both the phase and amplitude we designed a multiobjective loss function as a linear combination of L 2losses on the phase and the amplitude in fourier space and in real space. Enforcing the correspondence between ì r and ì k -space during the training encourages the CNN to abide to physical constraints. It was also observed that the decomposition of the phase into its si n and cos components facilitates be er convergence, compared to just optimizing for the phase directly. This is presumably related to the decompositions being smooth so the CNN does not have to account for phase wrapping effects. Since the probe function is an input to the CNN the object can be solved directly and used in the loss function too. The optimization of the L 2 error of the phase of the object T ( ì r ) directly promotes an agreement of the object with the transmission function, which is practically the most meaningful metric. However, a good quantitative match may be impossible to achieve in certain scenarios (e.g. very low dose). To promote at least a visual match, the object phase is also optimized for its cross correlation x c as given in equation 14. Further it was empirically determined that a higher weight on the phase in ( ì k )-space leads to faster convergence and overall be er results. Pu ing all terms into a sum, for an exit wave ψ with phase φ and an object phase φ obj the loss function is given by: Loss function where: Loss function where x and y correspond to pixel values at the locations (i , j ) and x and y are the mean values respectively. Training The training was performed using the Adam optimizer with a learning rate of 5e-4, a batch size of 256 and a momentum se ing of 0.9. The learning rate was decreased by a factor of 0.5 when the validation loss did not decrease for 3 epochs. Convergence was reached a er ≈50 epochs. A er convergence the training was resumed for another 10 epochs with a weighting factor of 10 applied to the L 2 (φ obj ( ì r )) term of equation 11, which leads to a further small decrease on the object error. This step does not alter the reconstruction results considerably but improves the quantitative match between reconstructed objects and transmission functions somewhat. Experiments & Simulations The demonstrations of the reconstruction methods are performed on both experimental and simulated datasets. For the experiments, probe corrected Thermo Fisher Titan (X-Ant-TEM) and Themis (Advan-TEM) were used. The former is equipped with a MerlinEM direct electron detector (Ballabriga et al., 2011) and the la er with a custom-made Timepix3 detector (Poikela et al., 2014). For the experimental datasets of an Au crystal and a SrTiO 3 focused ion beam lamella, which can be found in the the online repository (Yu et al., 2021b), the acceleration voltage is set at 300 kV, the semi convergence angle of the electron beam is 20 mrad, and the scanning step size 0.2 Å and 0.185 Å, respectively. The USY zeolite dataset, which can be found in , is collected at 200 keV, with 12 mrad convergence angle and 0.15 Å step size. The simulated twisted bilayer graphene dataset is generated with an acceleration voltage 200 kV, a convergence angle of 25 mrad, and a scan step size 0.2 Å. The twisted bilayer MoS 2 dataset was simulated with the se ings: acceleration voltage 300 kV, convergence angle 20 mrad, and scan step size 0.1 Å. The MgO dataset was created with an acceleration voltage of 300 kV, a convergence angle of 20 mrad, and a scan step size 0.05 Å. All of the simulated datasets are generated with the MULTEM so ware (Lobato & Van Dyck, 2015). Super-Resolution The reconstruction of the proposed method is based on solving equation 1 for the object using the incident and the exit wave functions, and therefore the resolution of the method is not explicitly limited by neither the optical conditions of the imaging system nor the sampling density of the electron probe. By reciprocity, the object plane is sampled with a maximum resolution determined by the maximum sca ering angle the detector can reach, or the highest angle at which the exit wave can be accurately retrieved, which can potentially result in a higher resolution than permi ed by the former two limitations. Super-Resolution This super-resolution granted by the knowledge of the exit wave at higher sca ering angles is demonstrated by the reconstruction of a simulated dataset of a twisted bilayer graphene sample at infinite dose (Friedrich et al., 2022a). The result from the CNN reconstruction is shown in figure 4-a, and compared with a SSB reconstruction in figure 4-b. Super-Resolution To analyze the spatial frequency achieved by each method, the Fourier transformed (FT) images are presented as well (figure 4-d, e). The circle in the FT SSB image indicates twice the range of the convergence angle (α ), which is the upper limit of the spatial frequency of this reconstruction method (Rodenburg et al., 1993), and therefore all the frequency components beyond are eliminated. The reconstruction of the CNN successfully retrieves components beyond this limitation, also reflected in the ability to distinguish atoms with very short spacing in between, as can be seen in the atom pairs profile (figure 4-c) Super-Resolution The improved resolution capabilities of the method are also demonstrated on an experimental USY-zeolite dataset . To increase the accuracy of the neural network prediction, the CBED at each probe position is replaced by a summation of CBEDs within a 5 × 5 box, while the reconstruction is done with a step size twice as large as the original data. This repetition in data usage increases the effective dose in the dataset, as individual CBED now contains 25 4 -times more electrons and greatly increase the accuracy of the neural network prediction. The actual dose that inflicts damage while interacting with the material, on the other hand, remains the same. For comparison, SSB is performed on the original dataset and a dataset with the same data repetition strategy applied. In figure 5, it is shown that the last three reconstructions successfully build a clear image of the zeolite crystal structure with atomic level resolution. The CNN reconstruction based on the original dataset does not showcase similar quality, since the dose for individual CBED is too low to make a meaningful prediction of the exit wave, but a er data repetition is applied, the neural network gives results that capture details of the material. SSB, on the other hand, does neither benefit nor suffer from the repetition, at least not at a noticeable level. From the Fourier transform of the three images one can estimate the resolution limits of the methods by comparing the most distant frequency component. The neural network reconstruction shows a maximal frequency component at 0.78 Å −1 , which according to the Raleigh criterion: Super-Resolution is equivalent to the resolving power of an un-aberrated perfect optical system of convergence angle 12 mrad, which is the same as the aperture size used in the exper-iment, at the electron wavelength (λ) of 0.02 Å. As most of the microscopes, even ones equipped with probe corrector, cannot achieve the resolving power given by the Raleigh criterion, the presented method shows the ability to overcome the effect of remaining aberrations, shot noise, and other imperfection in the system to reach a higher resolution. Super-Resolution Step Size Super-Resolution Since the proposed reconstruction method is based on retrieving individual object patches, which are commonly sampled finer than the step the electron beam takes to scan the sample, a rather coarse scanning grid can produce high quality images, as long as a good prediction of the exit wave, and hence the object patch, can be made. This character of the proposed reconstruction method is demonstrated on a simulated MgO particle with different step sizes of 0.1, 0.4, 0.8 and 1.6 Å. The "ratio" values shown in figure 6 refer to the ratio of the diameter of the incident probe function (1.2 Å) and the step size, where the probe size for a given convergence angle α in reciprocal Ångstrom is defined by the first root of the Bessel function of the first kind and first order: Super-Resolution Figures in the le column are generated with infinite dose and therefore the neural network has very detailed knowledge of the amplitude of the exit wave to make accurate predictions. In this case the difference between results of overlap ratio of 12 and overlap ratio of 3 is barely noticeable. By further reducing the scan density, probe positions reach a distance where the weighting function forbids any overlap, as shown in equation 7. Despite the weighting function cutoff, which creates blank spaces between the object patches, the actual probe positions used to generate the data overlap with each other just enough, making exit wave predictions possible to maintain the crystal structure to a certain level in the reconstructed image. As the step size reaches 1.6 Å and the ratio drops below 1, the retrieved object patches deteriorate severely and no longer reflect any crystal periodicity. This failure shows that the neural network follows certain physical and mathematical constraints, such as necessary probe overlap for accurate exit wave retrieval, and that it would fail rather then making false predictions that continue to resemble atoms or the crystal. This failure can be identified by the user not only based on the deviation of the resulting image from the expected appearance of the object, but also by the wide blanks le between the object patches, indicating insufficient probe overlap. The images in the right column of figure 6 were generated with the same dose per area. As mentioned in the previous section, the accuracy of the retrieved object patch is not directly related to the total dose in the dataset, but rather to the dose per CBED. By this consideration it follows that larger step sizes work be er for the neural network, since this would mean fewer probe positions in the same area and a higher dose at every individual CBED. On the other hand, a certain level of probe overlap is also required for accurate predictions. Therefore, not only the total dose per area, but also the scanning strategy is an important consideration for the proposed method. A balanced scan density will generate better results as compared to a very fine scan grid, even if the total dose per area would be the same. This behavior is illustrated in the images in the right column of figure 6. The noise level is lowered significantly as the step/probewidth ratio drops from 12 to 3 in figures 6-h and 6-f. Ptychographic methods in comparison offer more flexibility in this regard as shown in figures 5-c and 5-d. Super-Resolution The noise created by inaccurate predictions also creates different features as the step size changes. As the training is exclusively done on crystalline materials in zone axis orientations, the predicted object patches may show atomic scale features, even if it the input is merely noise. In other words, the frequency transfer function of each object patch is highest at the spatial frequency that would compose an image of an atom. This somewhat dangerous behavior of the neural network is compensated by the stitching of the patches, since atomicscale features of the noise would not remain sharp as multiple object patches contribute to the same area, and would thus contribute to a cloudy, low intensity background, as seen in figure 6-h. However, when the degree of overlap is reduced, such that the phase value is completely determined by 1 or few object patches, the risk to observe a false, atom-like feature, such as the ones seen in figures 6-f and 6-d, greatly increases. Awareness of this effect is therefore important when using the method and large step-size scanning pa erns should be treated with extra caution. The other effect of noise is that the phase value drops in cases of very few electrons per CBED. This is essentially related to the failure of the CNN at making accurate phase object predictions, but it also shows that as long as sufficient dose is present in the 3 × 3 CBED input set, the phase value retrieved is not strongly related to step size. Contrast Analysis As outlined in section "Theoretical Framework", the phase of the object is proportional to the electrostatic potential. By this relation atomic species should, at least within the boundaries of the phase object approximation, be distinguishable. To verify whether this requirement holds true for the CNN reconstructions, 4D STEM Notice that in (a) vertical streaks of very strong intensity can be found, which originate from an unknown defect of the detector, also reported by datasets of isolated, single atoms for each species in the periodic table up to Z=103 are simulated individually with a step size of 0.2 Å and a simulation box size of 3×3 Å. The retrieved phase objects of these datasets are compared to the ground truth transmission function, which is based on the parameterization by . The comparison is carried out by taking averaged phase values from pixels within various ranges. In figure 7, from top to bo om, the curves show phase values at the peak only (figure 7-a), averaged phase over 3 × 3 pixels around the atomic position (figure 7-b), and the average over 5 × 5 pixels (7-c). Both, the curves of the ground truth transmission function and the CNN predictions, generally increase against atomic number, with the exception of certain dips at larger averaging ranges. This effect stems from different electron orbital distributions in the radial direction, and thus only the phase value averages at larger ranges are sensitive to this difference. The CNN predictions obviously also preserve these sub-atomic level details to some extent, as the shape of the curves bear strong resemblance to the ground truth curves. Although the reconstructed phase values and the transmission functions do not match exactly, the predictions are accurate enough, such that the phase values of the reconstructed objects are indeed useful as an indicator for different atomic species, potentially even allowing semi-quantitatively predicting the exact atomic species. Contrast Analysis For thick samples the method is not expected to yield results in quantitative agreement with projected potentials, because even if the neural network would retrieve the correct exit wave, the reconstruction algorithm is still based on the POA and inherits its limitations. The analysis of thicker samples presented here is therefore done in a more qualitative/empirical manner and comparisons are made against ADF imaging and SSB. ADF images are well known for their strong contrast related to the sca ering power of the imaged object, and thus are suitable for examining the thickness variation of the sample (De Backer et al., 2016) and local elemental compositions (Pennycook & Boatner, 1988). The contrast of SSB reconstructions is not as strong as ADF (Yang et al., 2016), yet the method is o en used to study crystals containing elements of a wide range of atomic numbers due to its ability to image heavy and light atomic columns at the same time with distinguishable contrast (Lozano et al., 2018). Albeit a quantitative match can hardly be expected, it is important to verify whether reconstructed phase images still reflect the relative projected potentials of thicker samples to avoid misinterpretations. To that end an experimental dataset of a SrTiO 3 FIB-lamella was analyzed. The reconstruction results are presented and compared to ADF and SSB images in figure 8. Contrast Analysis For ADF imaging the contrast difference between the Sr and O columns is too large, making it difficult to locate the O columns without the help of the profiling. On the other hand, the SSB reconstruction does successfully im- Fig. 6. Reconstruction results of simulated MgO particle. In the le column (a, c, e, g) the images are generated with infinite dose, and in the right (b, d, f, h) the dose is set to be 500 electron per Å 2 . Each row of images is constructed with the same step size, as well as the same step/probe-width ratio. The colorbar in the bo om le panel applies to all images in the figure. nm age both atomic column types. While the peak intensities of the columns are ambiguous, they can still be distinguished by their corresponding size. The O columns are sharper than the Sr ones, indicating that an integrated signal from the area of each column could still be used as a reference of the local projected potential. The CNN reconstruction exhibits the advantage of both: while the light atom columns are observable, both the intensity and size differences are large enough to distinguish their types. This confirms, that the Z-contrast sensitivity is preserved for thicker specimen. nm To further investigate the thickness dependence of the retrieved phase signal, an experimental dataset of the tip of an Au nanorod was used. As shown in figure 9, the intensity recorded by the virtual low angle ADF (LAADF) detector (20 mrad to 30 mrad) and HAADF detector (45 mrad and beyond) increases from the top to the bo om of the image. Based on statistical analysis of the HAADF signal to retrieve atom counts in each column (De Backer et al., 2016), the thickest part in the image is about 9 nm. A line profile is then drawn for each imaging method presented in the figure. For the two ADF imaging methods at different collection angle, the profiles show monotonic increase at different pace against thickness, while the SSB profile only shows locations but the intensity is not correlated to the thickness of the atomic column. Compared to these profiles, the CNN reconstruction appears to be qualitatively most similar to the one of HAADF, and correlates with the estimated thickness accordingly. It should be noted that the maximum thick- ness of ≈9 nm is well outside the parameter range of the training data (<3 nm). Also the SrTiO 3 -sample, being a FIB-lamella, should be well beyond 3 nm thickness. This means that these examples also demonstrate extrapolation capabilities of the CNN, which albeit being quantitatively arguably inaccurate, may still provide very useful reconstructions for imaging purposes. The strong resemblance with HAADF images at larger thicknesses may in fact be a very desirable characteristic, as it aligns well with many microscopists' experience and intuition. nm By comparing the reconstructed images from the Au crystal and SrTiO 3 , one would notice that SSB recovers contrast of higher spatial frequencies, such as the intensity and shape of atomic columns, but it does not recover long range features induced by e.g. thickness variation. This is due to the band-pass nature of the method (Yang et al., 2015;O'Leary et al., 2021). Long range features are build with low frequency components, and thus for reconstruction methods that filter out, or cannot utilize signals that fall in the low frequency end, these features are lost. For the CNN reconstruction, the object patches are also localized and no information beyond one probe position away are shared among the prediction of the exit wave. Therefore, the existence of long range con-trast variation can only be a ributed to a good prediction accuracy of the CNN. Noise robustness The performance of the method under different dose conditions is demonstrated and analyzed on a simulated dataset of a twisted MoS 2 bilayer. The dose used for the reconstruction ranges from 500 to 10 5 e/Å 2 , and the dataset is processed by the proposed method, SSB, and iDPC. The methods reconstructions are illustrated in figure 10 and compared against the ground truth transmission function in terms of their normalized cross correlations (equation 14). Noise robustness It is evident that the method is strong in all three dose conditions, as can be seen visually in figure 10, and is confirmed by a cross correlations higher than those of the corresponding SSB and iDPC reconstructions. The higher cross correlation is not only due to a lower noise level, but also the generally be er matched atom shape and phase value with respect to the ground truth, as indicated in the line profiles drawn under each dose condition (figures 10j-l). The sharper atom shape is due to the superior resolution, which is confirmed by the be er distinction of close atom pairs, as well as by the higher frequency component found in the Fourier transform of the image (figure S2). In figure 10-l, the atom profile of the CNN reconstruction at high dose almost strikes a perfect match with the transmission function. Note that the CNN-and SSB-lines are not normalized or shi ed, indicating that a very accurate wave retrieval is achieved by the CNN. Additionally, the contrast of the CNN results allows to distinguish Mo and S 2 , which is more difficult with other methods, as their difference is much smaller. At low dose, the line profiles suggest a stronger low-dose robustness may be found in iDPC, as the two peaks are preserved in the reconstructed image. However, the signal almost completely falls into the noise level, as confirmed by the Fourier transform, and thus this seemingly be er low-dose performance could very likely be a coincidental noise distribution. The given example highlights the potential of the proposed method for low dose imaging. As pointed out in sections "Super-Resolution" and Step Size" and illustrated in figures 5 and 6 respectively, the noise robustness may depend substantially on the step size and the effective dose per CBED. To gain an advantage over other methods in this regard this context needs to be taken into account and scanning strategies adapted accordingly. Conclusion This paper presents a new computational imaging method, leveraging a CNN to retrieve complex exit wave functions from CBEDs and an algorithm to reconstruct the phase object from the predictions of the neural network. Since the exit waves are retrieved for each realspace coordinate in a 4D-STEM dataset, based only on a small kernel of adjacent diffraction pa erns, the method can be employed in a sequential manner, thus enabling live imaging during an experiment. The machine learning system is based on a well established model but streamlined to the task at hand and adapted to account for physical constraints and considerations. The model was trained on a large synthetic dataset of multislice simulations. Large and higher order aberrations, as well as CBED distortions, like non-centricity, geometric distortions and hot/dead pixels are not considered in the train-ing data. Therefore, experimental data may require a preprocessing step. The range of practical conditions for which the method works reliably is therefore arguably limited accordingly to aberration corrected, well adjusted instruments at this stage. The trained model, code and training data are publicly available as summarized in the supplementary information. In the discussion multiple unique characteristics and advantages of the method are demonstrated. The CNN-based reconstruction is shown to enable higher resolutions than any other live-imagingcapable method considered, on simulated, as well as on experimental data, provided that a sufficiently high doseper-CBED is maintained. In correspondence to this consideration the effect of the step size is analyzed. While a be er estimation of the exit wave is obtained with the electron dose-per-area distributed across fewer probe positions, some probe overlap is necessary to insure the accuracy of the exit wave retrieval. Hence, the method is most suitably applied at a balanced scan density. If these considerations are taken into account the reconstruction method can be very dose efficient. The Z-contrast was analyzed on single atomsimulations across the periodic table. The phase signal of the reconstructions could indeed be linked qualitatively to atomic properties and a semi-quantitative analysis of thin specimen within the limits of the POA, was shown to be possible. We confirmed the contrast sensitivity to atomic species and sample thickness on ex-perimental datasets of a SrTiO 3 FIB-lamella and an Au nanorod respectively. The observed monotonic increase of the phase signal with thickness and nearly monotonic increase with atomic number indicates that quantitative analyses based on the reconstruction results may be feasible. Conclusion Generally, we believe the proposed method presents an a ractive imaging modality for its super-resolution capability, high noise robustness, and the feasibility of qualitative or even quantitative contrast analysis. While further studies would be necessary to obtain a more detailed view on the model performance over the entire parameter space (and beyond), we could already show that the method is robust for a wide range of practically meaningful applications, even exhibiting reasonably good extrapolation behavior well beyond the maximum sample thickness of the training data. The fact that none of the examples shown in this study exist in those exact configurations in the training data, further indicates that the system generalizes well within the parameter interpolation range as well.

섹션 본문 49문단 · 46,373자

(제목 없음)

1In this study we explore the possibility to use deep learning for the reconstruction of phase images from 4D scanning transmission electron microscopy (4D-STEM) data. The process can be divided into two main steps. First, the complex electron wave function is recovered for a convergent beam electron diffraction pa ern (CBED) using a convolutional neural network (CNN). Subsequently a corresponding patch of the phase object is recovered using the phase object approximation (POA). Repeating this for each scan position in a 4D-STEM dataset and combining the patches by complex summation yields the full phase object. Each patch is recovered from a kernel of 3x3 adjacent CBEDs only, which eliminates common, large memory requirements and enables live processing during an experiment. The machine learning pipeline, data generation and the reconstruction algorithm are presented. We demonstrate that the CNN can retrieve phase information beyond the aperture angle, enabling super-resolution imaging. The image contrast formation is evaluated showing a dependence on thickness and atomic column type. Columns containing light and heavy elements can be imaged simultaneously and are distinguishable. The combination of super-resolution, good noise robustness and intuitive image contrast characteristics makes the approach unique among live imaging methods in 4D-STEM.

Introduction

2Scanning transmission electron microscopy (STEM) is among the most widely used techniques for the visualization, characterization and quantification of atomic structures in material-and nanoscience. Images are acquired by scanning a sample with an electron probe over a two dimensional (2D) grid. Traditionally, STEM data is collected using annular detectors which measure an integrated intensity over the detector area. This results directly in 2D images where the pixel intensities are proportional to the angular integrated sca ered intensity of the electron beam at the corresponding probe position. These images are intuitively interpretable and can further be used for the quantification of atomic structures (Van Aert et al., 2013). However, conventional STEM imaging has its limitations, particularly in terms of dose efficiency, resolution and the ability to image light and heavy elements simultaneously. Indeed, in the case of annular dark field (ADF) imaging, the sca ering cross section of an atom scales with the atomic number Z roughly Z 1.7 (Krivanek et al., 2010;Yamashita et al., 2018), which o en leads to heavy atoms obscuring nearby light elements. On the other hand, imaging very thin or radiation sensitive samples may even be impossible due to the high dose requirements of ADF. This is highly relevant especially for investigations of 2D nano structures and organic compounds. To overcome these limitations much effort has been devoted towards the development of fast pixelated electron detectors which can record an entire convergent beam electron diffraction pa ern (CBED) in a reasonable amount of time (Tate et al., 2016;Ballabriga et al., 2011;Ciston et al., 2019;MacLaren et al., 2020;Haas et al., 2021;Jannis et al., 2021a). This enables a set of new imaging modalities, such as ptychography, the calculation of phase contrast (Lazić et al., 2016) and true center of mass (COM) imaging (Müller et al., 2014). These imaging modalities can all be considered phase retrieval algorithms in a wider sense (Close et al., 2015), as they all aim to retrieve the projected electrostatic potential of a sample, which directly affects the phase of the transmitted electron wave. Ptychographic methods have been of particular interest for their super-resolution capabilities and the possibility to determine/correct for microscope aberrations as well (Rodenburg & Bates, 1992;Jiang et al., 2018;Rodenburg et al., 1993). However, the computational cost and memory requirements for these algorithms are considerable. Iterative algorithms like ePIE (Maiden & Rodenburg, 2009;Chen et al., 2020) use opti-mization algorithms to fit an object to a given dataset such that the estimated phase corresponds to the intensity observations across the entire dataset. This is a computationally intensive task and the result is influenced by optimization parameters and convergence criteria. Other non-iterative methods typically use only the bright-field disc for phase reconstructions which imposes limitations on the maximum achievable resolution (Rodenburg et al., 1993). They rely on taking Fourier transforms with respect to the probe positions in real space, which means that for conventional Fast Fourier Transform algorithms (FFT), entire datasets (or at least substantial parts of them) have to fit into computer memory, which is becoming increasingly restrictive considering the growing size of 4D-datasets. For these reasons, ptychography has found many useful applications, mainly as a post-experiment data processing analysis step in specialized studies, but has not become a mainstream imaging modality so far. However, there is an increasing interest in using these algorithms interactively during experiments. To that end, live imaging using SSB was recently implemented and demonstrated by Strauch et al. (2021) and Pelz et al. (2022), as well as live center of mass imaging by Yu et al. (2021a). In the present work we explore the possibility to use machine learning (ML) for dose-efficient phase object (PO) reconstructions with super-resolution in (near) realtime. We show that using a convolutional neural network (CNN) enables fast exit wave retrieval for a given CBED, by using only a 3x3 kernel of adjacent diffraction pa erns at a time. The method allows the retrieval of exit waves, with a resolution theoretically only limited by the Nyquist frequency of the detector and thus enables super-resolution imaging at sufficiently high doses. Using only nine CBEDs per probe position in a 4D-STEM dataset implies that the dataset can practically be of arbitrary size and the reconstruction can be performed live during the experiment with appropriate accelerator hardware, such as a modern, single GPU. In this paper, the character and capability of the proposed method is discussed in detail and demonstrated on both simulated and experimental data. Comparisons are also made with other possible live processing methods.

3To the best of our knowledge the only reconstruction methods that go beyond utilizing the traditional annular detector and enable live imaging are single sideband ptychography (SSB) (Strauch et al., 2021;Pelz et al., 2022), integrated differential phase contrast (iDPC) and integrated center of mass (iCOM) (Yu et al., 2021a). This is why we focus our analysis on comparing the results of our proposed method to those methods.

Theoretical Framework

4The interaction of fast electrons with thin specimens can be conveniently described with the phase object approximation (POA). As an electron passes through a positive electrostatic potential its wavelength λ is temporarily altered which is equivalent to shi ing the phase of the electron (Kirkland, 2010). For cases where the specimen is extremely thin, the propagation of the wave as it goes through the material can be neglected as a reasonable approximation and the real space 3D electrostatic potential of the atomic structure V s ( ì r , z ) can be expressed as its integral along the optical axis z , resulting in the projected

5which is a function of the vector ì r that spans the remaining two dimensions. With this approximation the exit wave ψ ou t ( ì r ) is simply the product of the incident wave ψ i n ( ì r ) and the object, which can be described by the transmission function T ( ì r ):

6where T ( ì r ) = exp i σv z ( ì r ) and σ is an interaction parameter (See (Kirkland, 2010) for a more detailed derivation). However, a direct solution of the transmission function according to equation 1 is only possible if both incident and exit wave are known, while in practice neither of them are known a priori. The incident wave ψ i n ( ì r ), can be fairly well approximated as the Fourier transform (F ) of the product of the aperture function A( ì k ) and an aberration-function(χ ( ì k ))-dependent phase shi (Zuo & Spence, 2016).

7Here, ì r describes a 2D space at the object plane and ì k describes the reciprocal space. The function χ ( ì k ), considering only the spherical aberration C s and defocus ∆f , is given by:

8Assuming that at least the low order aberration parameters of χ ( ì k ) are known, equations 2 and 3 can be used to estimate ψ i n ( ì k ). The other piece of missing information is then the exit wave ψ ou t ( ì r ). From a 4D STEM experiment, only the intensity |ψ ou t ( ì k )| 2 can be measured (figure 1-2 ), and thus a method to retrieve the exit waveform on the sample plane based on the information accessible from the experiment is required to solve equation 1 to get the transmission function T ( ì r ). Retrieving the phase of ψ ou t ( ì k ) is a common inverse problem, but is severely complicated in 4D-STEM by the presence of noise to a level that makes even the estimation of |ψ ou t ( ì k )| a challenging task in its own.

9The idea in this study is to leverage the multislice formalism, incorporating the calculation of electrostatic atomic potentials and the frozen phonon approximation (Van Dyck, 2009), as a forward model to generate a large synthetic dataset. This dataset can then be used to train a convolutional neural network (CNN) to retrieve an estimate of ψ ou t for any given experiment within the boundaries of the validity of the used forward model and within the parameter space of the training data, which will be discussed in section "Training data generation" and is given concisely in table 1.

General Workflow

10The general concept of the proposed reconstruction method is schematically illustrated in figure 1. The workflow to retrieve the object T ( ì r ) (figure 1-1 ) of a 4d-STEM dataset (figure 1-2 ) can be divided into two main steps: firstly, a neural network, trained to solve the inverse problem as outlined in section "Neural Network implementation", reconstructs the phase φ ou t and amplitude |ψ ou t | of the exit wave, based on the intensity measurements of a 3x3 kernel of adjacent diffraction pa erns, as depicted in figure 1-( 3 -5 ). Secondly, a patch of the object is retrieved from the previously reconstructed exit wave according to equation 1, as shown in figure 1-( 6 ). Fig. 1. General workflow: A patch of the phase object 1 of a 4D-STEM dataset 2 is reconstructed by extracting a 3x3 kernel of adjacent CBEDs 3 , using a CNN 4 to reconstruct the amplitude (|ψ ou t ( ì r )|) and phase (φ ou t ( ì r )) of the exit wave of the central CBED 5 and using the phase object approximation to reconstruct the object patch 6 from the reconstructed exit wave and an estimated probe function ψ i n ( ì r ). Patches are then stitched together by complex addition to yield a reconstruction of the full phase object.

11In order to take the relative position of each individual object patch into account, a phase factor is included to the approximated ψ i n ( ì k ) and the predicted ψ ou t ( ì k ) so that their real space counterpart ψ i n ( ì r ) and ψ ou t ( ì r ) are found at the right position. This phase factor φ shi f t is a function of the displacement of the probe position in the x and y directions (∆x and ∆y ) with regard to the center of an array of size N x × N y .

12The real space wave functions considering the phase factor are:

13In equation 5, F is Fourier transformation, and the amount of displacement ∆x and ∆y is absorbed into n, which specifies the n t h probe position. The phase object approximation assumes that the retrieved object patch should have a homogeneous amplitude of 1 with a phase distribution reflecting the projected potential of the imaged material. However, since the transmi ing electron probe carries information mostly from a specific region of the examined sample at the probe position, the retrieved object patches are given a weighting function ω n according to the n t h incident probe intensity distribution, and the accordingly weighted object patch ψ pat ch,n is expressed as:

14T pat ch,n ( ì r ) = ψ ou t ,n ( ì r )/ψ i n,n ( ì r ) |ψ ou t ,n ( ì r )/ψ i n,n ( ì r )| × ω n ( ì r )

15with the weighting function ω n as:

16This procedure is repeated for all real space coordinates in the 4D-STEM dataset and the object patches are combined into the final phase object T by complex addition over n probe positions.

17The object patch estimations coming from the CNN are not perfect but carry some errors. However, the full object is the combined result of the predictions made at multiple probe positions (equation 8). Even if one particular prediction is very inaccurate, its impact on the final result is limited as long as it is outweighed by the contributions from neighboring probe positions, which is the case when a significant probe overlap is established by a dense scanning raster.

Training data generation

18We created a large synthetic dataset, using atomic structures extracted from the materials project (Jain et al., 2013) database. Based on the unit cell definitions we created bulk specimens in one of the low-index zone axis orientations given in table 1. Each sample consists of a 3x3 kernel of simulated CBED pa erns as features and the corresponding exit wave in real-space as label. The simulations were performed using the multislice formalism and the frozen phonon approximation. In the implementation given by (Lobato & Van Dyck, 2015;Lobato et al., 2016), following the derivation of (Van Dyck, 2009) the CBED intensity can be expressed as the sum of coherent and incoherent intensities.

19where ψ ou t ( ì k ) is the exit wave, δ is a phonon configuration(t )-dependent difference and denotes the average over t . This formalism gives us access to the average, coherent, complex wave function. We use this wave function of the central CBED of the 3x3 kernel as labels (i.e. the ground truth training target) and the CBED intensities of all pa erns in the kernel, as given in equation 9 as features (i.e. the CNN input). Only low order aberration parameters ∆f and C s of χ ( ì k ) (equation 3) are considered as they are unavoidable and typically have the strongest influence. We assume that including these effects phenomenologically with a constant, small C s and corresponding Scherzer defocus is sufficient. Temporal and spatial incoherence are also not taken into account. This reduces the parameter space considerably but also implies that the method is (for now) limited to aberration corrected, well adjusted microscopes. Further, the dataset includes the CBED-size in Å −1 , the aperture size and the acceleration voltage, which allows the computation of the probe function ψ i n ( ì k ) within the data pre-processing pipeline during the training using equations 2 and 3. Also the effect of finite electron dose is applied as a data augmentation step during the training, assuming only Poisson noise. To accommodate the possibility that there may be no specimen interacting with the beam, another augmentation step replaces the CBEDs with the probe function intensity with a 3% chance. An example of the resulting training sample inputs and labels is illustrated in figure 2 in the "input" and "ground truth" panels respectively. All parameters describing the dataset are summarized in table 1. Visualizations of the parameter distributions are shown in supplementary information (figure S.1). The data generation code was published open source under https://github.com/ThFriedrich/ap_data_generation, as well as the training dataset used (Friedrich et al., 2022b).

Description

20Value , 40, 50, 60, 80, 100, 120, 140, 160, 180, 200, 300}kV Step size (

CNN architecture

21The complexity of the inverse problem practically dictates the use of deep neural networks in this study. The U-Net architecture (Ronneberger et al., 2015) is one of the most popular choices for deep learning applications, since it allows to expand the number of parameters considerably, while maintaining strong backpropagation. Each depth level in the "U-shape" reduces the filter map size which accommodates the retrieval of features of different sizes. This makes the U-NET an extremely versatile and easy to train CNN and hence suitable as a starting point for this project as well (Friedrich et al., 2021). However, since the training target is naturally complex valued, a generic pixel-to-pixel mapping, as commonly employed for CNNs in image processing, cannot be used. Two popular ways of dealing with this exist. Firstly, both, phase and amplitude retrieval problems can essentially be treated separately by defining two outputs and optimizing for dedicated loss functions on the phase and amplitude components of the wave function. This treats the complex wave as two real valued images, which in practice has the advantage that common, highly optimized AI tools can be readily employed. Another approach that natu- rally lends itself to this kind of problem is using complex valued neural networks (Trabelsi et al., 2018); an approach that has found relatively few applications so far. However, the theoretical framework for complex CNNs is established (Trabelsi et al., 2018) and implementations have been showing promising results (Virtue et al., 2018;Munshi et al., 2022). We implemented the U-NET architecture for both CNN types to test the main ideas. The complex networks delivered reconstruction results and accuracies of predicted phases, which are, for all intents and purposes, equivalent to the real-valued CNN, while decreasing the speed performance considerably. Since live imaging is an envisioned application, inference speed is a critical concern and the faster real-valued CNN was chosen in the study accordingly.

22The structure of the U-NET is modified to account for physical considerations. The aim of the neural network is to model the electron-specimen interaction. Adding skip connections from the input probe function to the output exit waves (essentially enabling global residual learning) isolates the specimen interaction contributions from the probe function contributions to the exit wave. The CNN therefore does not need to learn to actually model the electron probe. The skip connections have the additional benefit of providing a common template during inference. The training is done on isolated scan points of only 9 CBEDs per specimen, while during inference the probe function should be consistent for the entire dataset, which is a requirement that cannot be captured by any metric during the training. Providing an estimated probe function greatly promotes this consistency during inference. Global residual learning also enhances noise robustness because the probe function serves as template, which is hardly altered if the input is merely noise.

23On the input the dynamic range of the CBEDs are being scaled by taking them to the power of 0.1 in a pre-processing step, which puts more relative weight on the dark field sca ered electrons to support exit wave reconstructions beyond the convergence angle. Subsequently each pa ern is scaled, according to equation 10 depending on its distance from the central beam position, where ζ x y and ζ d correspond to the CBED weights adjacent to the central CBED along x and y and on the diagonal, respectively. This is a straightforward way to include the step size ∆s into the workflow.

24The constant factor of 50 accounts for the range of step sizes in the training datasets such that all ζ are between 0 and 1. The effect of this weighting can be seen in the "Input" panel of figure 2, evident by the higher mean intensity of the central CBED.

25Other notable differences as compared to the original U-NET implementation (Ronneberger et al., 2015) are different map sizes, the use of Swish-Activation functions (Ramachandran et al., 2017) and the use of strided convolutional layers instead of max-pooling layers to avoid any loss of information when feature map sizes are reduced. Trainable scaling factors on the two output layers for the phase and amplitude were added to scale between the batch-normalized feature maps (with standard deviations of 1 and means of zero) in the CNN and the relatively small target value distributions, which correspond to the difference between exit waves and probe functions. The variables were initialized accordingly with small values of 1e-4 and optimized during training. The amplitude output layer includes a regularization which penalizes integrated exit wave intensities > 1. The phase output layer penalizes values larger than π and smaller than −π. These penalties are added to the loss during training. The resulting overall architecture is depicted in figure 3. The tensorflow implementations of the models and individual layers are available open source on Github at https://github.com/ThFriedrich/airpi. During the training the CNN can process >750,000 sample points in about 6 minutes on a single Nvidia RTX 3080 GPU, indicating that the model itself may be well suited for live processing at rates >2kHz, if the pre-and post-processing pipelines are well optimized. The model leverages global residual learning through added skip connections of the probe function to the output. Each "convolution layer" is composed of a 2D convolution layer, batch normalization and a swish activation function. Each "convolution block" consists of 3 consecutive convolution layers.

Loss function

26To facilitate the learning of a general representation for both the phase and amplitude we designed a multiobjective loss function as a linear combination of L 2losses on the phase and the amplitude in fourier space and in real space. Enforcing the correspondence between ì r and ì k -space during the training encourages the CNN to abide to physical constraints. It was also observed that the decomposition of the phase into its si n and cos components facilitates be er convergence, compared to just optimizing for the phase directly. This is presumably related to the decompositions being smooth so the CNN does not have to account for phase wrapping effects. Since the probe function is an input to the CNN the object can be solved directly and used in the loss function too. The optimization of the L 2 error of the phase of the object T ( ì r ) directly promotes an agreement of the object with the transmission function, which is practically the most meaningful metric. However, a good quantitative match may be impossible to achieve in certain scenarios (e.g. very low dose). To promote at least a visual match, the object phase is also optimized for its cross correlation x c as given in equation 14. Further it was empirically determined that a higher weight on the phase in ( ì k )-space leads to faster convergence and overall be er results. Pu ing all terms into a sum, for an exit wave ψ with phase φ and an object phase φ obj the loss function is given by:

27where:

28where x and y correspond to pixel values at the locations (i , j ) and x and y are the mean values respectively.

Training

29The training was performed using the Adam optimizer with a learning rate of 5e-4, a batch size of 256 and a momentum se ing of 0.9. The learning rate was decreased by a factor of 0.5 when the validation loss did not decrease for 3 epochs. Convergence was reached a er ≈50 epochs. A er convergence the training was resumed for another 10 epochs with a weighting factor of 10 applied to the L 2 (φ obj ( ì r )) term of equation 11, which leads to a further small decrease on the object error. This step does not alter the reconstruction results considerably but improves the quantitative match between reconstructed objects and transmission functions somewhat.

Experiments & Simulations

30The demonstrations of the reconstruction methods are performed on both experimental and simulated datasets. For the experiments, probe corrected Thermo Fisher Titan (X-Ant-TEM) and Themis (Advan-TEM) were used. The former is equipped with a MerlinEM direct electron detector (Ballabriga et al., 2011) and the la er with a custom-made Timepix3 detector (Poikela et al., 2014). For the experimental datasets of an Au crystal and a SrTiO 3 focused ion beam lamella, which can be found in the the online repository (Yu et al., 2021b), the acceleration voltage is set at 300 kV, the semi convergence angle of the electron beam is 20 mrad, and the scanning step size 0.2 Å and 0.185 Å, respectively. The USY zeolite dataset, which can be found in , is collected at 200 keV, with 12 mrad convergence angle and 0.15 Å step size. The simulated twisted bilayer graphene dataset is generated with an acceleration voltage 200 kV, a convergence angle of 25 mrad, and a scan step size 0.2 Å. The twisted bilayer MoS 2 dataset was simulated with the se ings: acceleration voltage 300 kV, convergence angle 20 mrad, and scan step size 0.1 Å. The MgO dataset was created with an acceleration voltage of 300 kV, a convergence angle of 20 mrad, and a scan step size 0.05 Å. All of the simulated datasets are generated with the MULTEM so ware (Lobato & Van Dyck, 2015).

Super-Resolution

31The reconstruction of the proposed method is based on solving equation 1 for the object using the incident and the exit wave functions, and therefore the resolution of the method is not explicitly limited by neither the optical conditions of the imaging system nor the sampling density of the electron probe. By reciprocity, the object plane is sampled with a maximum resolution determined by the maximum sca ering angle the detector can reach, or the highest angle at which the exit wave can be accurately retrieved, which can potentially result in a higher resolution than permi ed by the former two limitations.

32This super-resolution granted by the knowledge of the exit wave at higher sca ering angles is demonstrated by the reconstruction of a simulated dataset of a twisted bilayer graphene sample at infinite dose (Friedrich et al., 2022a). The result from the CNN reconstruction is shown in figure 4-a, and compared with a SSB reconstruction in figure 4-b.

33To analyze the spatial frequency achieved by each method, the Fourier transformed (FT) images are presented as well (figure 4-d, e). The circle in the FT SSB image indicates twice the range of the convergence angle (α ), which is the upper limit of the spatial frequency of this reconstruction method (Rodenburg et al., 1993), and therefore all the frequency components beyond are eliminated. The reconstruction of the CNN successfully retrieves components beyond this limitation, also reflected in the ability to distinguish atoms with very short spacing in between, as can be seen in the atom pairs profile (figure 4-c)

34The improved resolution capabilities of the method are also demonstrated on an experimental USY-zeolite dataset . To increase the accuracy of the neural network prediction, the CBED at each probe position is replaced by a summation of CBEDs within a 5 × 5 box, while the reconstruction is done with a step size twice as large as the original data. This repetition in data usage increases the effective dose in the dataset, as individual CBED now contains 25 4 -times more electrons and greatly increase the accuracy of the neural network prediction. The actual dose that inflicts damage while interacting with the material, on the other hand, remains the same. For comparison, SSB is performed on the original dataset and a dataset with the same data repetition strategy applied. In figure 5, it is shown that the last three reconstructions successfully build a clear image of the zeolite crystal structure with atomic level resolution. The CNN reconstruction based on the original dataset does not showcase similar quality, since the dose for individual CBED is too low to make a meaningful prediction of the exit wave, but a er data repetition is applied, the neural network gives results that capture details of the material. SSB, on the other hand, does neither benefit nor suffer from the repetition, at least not at a noticeable level. From the Fourier transform of the three images one can estimate the resolution limits of the methods by comparing the most distant frequency component. The neural network reconstruction shows a maximal frequency component at 0.78 Å −1 , which according to the Raleigh criterion:

35is equivalent to the resolving power of an un-aberrated perfect optical system of convergence angle 12 mrad, which is the same as the aperture size used in the exper-iment, at the electron wavelength (λ) of 0.02 Å. As most of the microscopes, even ones equipped with probe corrector, cannot achieve the resolving power given by the Raleigh criterion, the presented method shows the ability to overcome the effect of remaining aberrations, shot noise, and other imperfection in the system to reach a higher resolution.

36Step Size

37Since the proposed reconstruction method is based on retrieving individual object patches, which are commonly sampled finer than the step the electron beam takes to scan the sample, a rather coarse scanning grid can produce high quality images, as long as a good prediction of the exit wave, and hence the object patch, can be made. This character of the proposed reconstruction method is demonstrated on a simulated MgO particle with different step sizes of 0.1, 0.4, 0.8 and 1.6 Å. The "ratio" values shown in figure 6 refer to the ratio of the diameter of the incident probe function (1.2 Å) and the step size, where the probe size for a given convergence angle α in reciprocal Ångstrom is defined by the first root of the Bessel function of the first kind and first order:

38Figures in the le column are generated with infinite dose and therefore the neural network has very detailed knowledge of the amplitude of the exit wave to make accurate predictions. In this case the difference between results of overlap ratio of 12 and overlap ratio of 3 is barely noticeable. By further reducing the scan density, probe positions reach a distance where the weighting function forbids any overlap, as shown in equation 7. Despite the weighting function cutoff, which creates blank spaces between the object patches, the actual probe positions used to generate the data overlap with each other just enough, making exit wave predictions possible to maintain the crystal structure to a certain level in the reconstructed image. As the step size reaches 1.6 Å and the ratio drops below 1, the retrieved object patches deteriorate severely and no longer reflect any crystal periodicity. This failure shows that the neural network follows certain physical and mathematical constraints, such as necessary probe overlap for accurate exit wave retrieval, and that it would fail rather then making false predictions that continue to resemble atoms or the crystal. This failure can be identified by the user not only based on the deviation of the resulting image from the expected appearance of the object, but also by the wide blanks le between the object patches, indicating insufficient probe overlap. The images in the right column of figure 6 were generated with the same dose per area. As mentioned in the previous section, the accuracy of the retrieved object patch is not directly related to the total dose in the dataset, but rather to the dose per CBED. By this consideration it follows that larger step sizes work be er for the neural network, since this would mean fewer probe positions in the same area and a higher dose at every individual CBED. On the other hand, a certain level of probe overlap is also required for accurate predictions. Therefore, not only the total dose per area, but also the scanning strategy is an important consideration for the proposed method. A balanced scan density will generate better results as compared to a very fine scan grid, even if the total dose per area would be the same. This behavior is illustrated in the images in the right column of figure 6. The noise level is lowered significantly as the step/probewidth ratio drops from 12 to 3 in figures 6-h and 6-f. Ptychographic methods in comparison offer more flexibility in this regard as shown in figures 5-c and 5-d.

39The noise created by inaccurate predictions also creates different features as the step size changes. As the training is exclusively done on crystalline materials in zone axis orientations, the predicted object patches may show atomic scale features, even if it the input is merely noise. In other words, the frequency transfer function of each object patch is highest at the spatial frequency that would compose an image of an atom. This somewhat dangerous behavior of the neural network is compensated by the stitching of the patches, since atomicscale features of the noise would not remain sharp as multiple object patches contribute to the same area, and would thus contribute to a cloudy, low intensity background, as seen in figure 6-h. However, when the degree of overlap is reduced, such that the phase value is completely determined by 1 or few object patches, the risk to observe a false, atom-like feature, such as the ones seen in figures 6-f and 6-d, greatly increases. Awareness of this effect is therefore important when using the method and large step-size scanning pa erns should be treated with extra caution. The other effect of noise is that the phase value drops in cases of very few electrons per CBED. This is essentially related to the failure of the CNN at making accurate phase object predictions, but it also shows that as long as sufficient dose is present in the 3 × 3 CBED input set, the phase value retrieved is not strongly related to step size.

Contrast Analysis

40As outlined in section "Theoretical Framework", the phase of the object is proportional to the electrostatic potential. By this relation atomic species should, at least within the boundaries of the phase object approximation, be distinguishable. To verify whether this requirement holds true for the CNN reconstructions, 4D STEM Notice that in (a) vertical streaks of very strong intensity can be found, which originate from an unknown defect of the detector, also reported by datasets of isolated, single atoms for each species in the periodic table up to Z=103 are simulated individually with a step size of 0.2 Å and a simulation box size of 3×3 Å. The retrieved phase objects of these datasets are compared to the ground truth transmission function, which is based on the parameterization by . The comparison is carried out by taking averaged phase values from pixels within various ranges. In figure 7, from top to bo om, the curves show phase values at the peak only (figure 7-a), averaged phase over 3 × 3 pixels around the atomic position (figure 7-b), and the average over 5 × 5 pixels (7-c). Both, the curves of the ground truth transmission function and the CNN predictions, generally increase against atomic number, with the exception of certain dips at larger averaging ranges. This effect stems from different electron orbital distributions in the radial direction, and thus only the phase value averages at larger ranges are sensitive to this difference. The CNN predictions obviously also preserve these sub-atomic level details to some extent, as the shape of the curves bear strong resemblance to the ground truth curves. Although the reconstructed phase values and the transmission functions do not match exactly, the predictions are accurate enough, such that the phase values of the reconstructed objects are indeed useful as an indicator for different atomic species, potentially even allowing semi-quantitatively predicting the exact atomic species.

41For thick samples the method is not expected to yield results in quantitative agreement with projected potentials, because even if the neural network would retrieve the correct exit wave, the reconstruction algorithm is still based on the POA and inherits its limitations. The analysis of thicker samples presented here is therefore done in a more qualitative/empirical manner and comparisons are made against ADF imaging and SSB. ADF images are well known for their strong contrast related to the sca ering power of the imaged object, and thus are suitable for examining the thickness variation of the sample (De Backer et al., 2016) and local elemental compositions (Pennycook & Boatner, 1988). The contrast of SSB reconstructions is not as strong as ADF (Yang et al., 2016), yet the method is o en used to study crystals containing elements of a wide range of atomic numbers due to its ability to image heavy and light atomic columns at the same time with distinguishable contrast (Lozano et al., 2018). Albeit a quantitative match can hardly be expected, it is important to verify whether reconstructed phase images still reflect the relative projected potentials of thicker samples to avoid misinterpretations. To that end an experimental dataset of a SrTiO 3 FIB-lamella was analyzed. The reconstruction results are presented and compared to ADF and SSB images in figure 8.

42For ADF imaging the contrast difference between the Sr and O columns is too large, making it difficult to locate the O columns without the help of the profiling. On the other hand, the SSB reconstruction does successfully im- Fig. 6. Reconstruction results of simulated MgO particle. In the le column (a, c, e, g) the images are generated with infinite dose, and in the right (b, d, f, h) the dose is set to be 500 electron per Å 2 . Each row of images is constructed with the same step size, as well as the same step/probe-width ratio. The colorbar in the bo om le panel applies to all images in the figure.

nm

43age both atomic column types. While the peak intensities of the columns are ambiguous, they can still be distinguished by their corresponding size. The O columns are sharper than the Sr ones, indicating that an integrated signal from the area of each column could still be used as a reference of the local projected potential. The CNN reconstruction exhibits the advantage of both: while the light atom columns are observable, both the intensity and size differences are large enough to distinguish their types. This confirms, that the Z-contrast sensitivity is preserved for thicker specimen.

44To further investigate the thickness dependence of the retrieved phase signal, an experimental dataset of the tip of an Au nanorod was used. As shown in figure 9, the intensity recorded by the virtual low angle ADF (LAADF) detector (20 mrad to 30 mrad) and HAADF detector (45 mrad and beyond) increases from the top to the bo om of the image. Based on statistical analysis of the HAADF signal to retrieve atom counts in each column (De Backer et al., 2016), the thickest part in the image is about 9 nm. A line profile is then drawn for each imaging method presented in the figure. For the two ADF imaging methods at different collection angle, the profiles show monotonic increase at different pace against thickness, while the SSB profile only shows locations but the intensity is not correlated to the thickness of the atomic column. Compared to these profiles, the CNN reconstruction appears to be qualitatively most similar to the one of HAADF, and correlates with the estimated thickness accordingly. It should be noted that the maximum thick- ness of ≈9 nm is well outside the parameter range of the training data (<3 nm). Also the SrTiO 3 -sample, being a FIB-lamella, should be well beyond 3 nm thickness. This means that these examples also demonstrate extrapolation capabilities of the CNN, which albeit being quantitatively arguably inaccurate, may still provide very useful reconstructions for imaging purposes. The strong resemblance with HAADF images at larger thicknesses may in fact be a very desirable characteristic, as it aligns well with many microscopists' experience and intuition.

45By comparing the reconstructed images from the Au crystal and SrTiO 3 , one would notice that SSB recovers contrast of higher spatial frequencies, such as the intensity and shape of atomic columns, but it does not recover long range features induced by e.g. thickness variation. This is due to the band-pass nature of the method (Yang et al., 2015;O'Leary et al., 2021). Long range features are build with low frequency components, and thus for reconstruction methods that filter out, or cannot utilize signals that fall in the low frequency end, these features are lost. For the CNN reconstruction, the object patches are also localized and no information beyond one probe position away are shared among the prediction of the exit wave. Therefore, the existence of long range con-trast variation can only be a ributed to a good prediction accuracy of the CNN.

Noise robustness

46The performance of the method under different dose conditions is demonstrated and analyzed on a simulated dataset of a twisted MoS 2 bilayer. The dose used for the reconstruction ranges from 500 to 10 5 e/Å 2 , and the dataset is processed by the proposed method, SSB, and iDPC. The methods reconstructions are illustrated in figure 10 and compared against the ground truth transmission function in terms of their normalized cross correlations (equation 14).

47It is evident that the method is strong in all three dose conditions, as can be seen visually in figure 10, and is confirmed by a cross correlations higher than those of the corresponding SSB and iDPC reconstructions. The higher cross correlation is not only due to a lower noise level, but also the generally be er matched atom shape and phase value with respect to the ground truth, as indicated in the line profiles drawn under each dose condition (figures 10j-l). The sharper atom shape is due to the superior resolution, which is confirmed by the be er distinction of close atom pairs, as well as by the higher frequency component found in the Fourier transform of the image (figure S2). In figure 10-l, the atom profile of the CNN reconstruction at high dose almost strikes a perfect match with the transmission function. Note that the CNN-and SSB-lines are not normalized or shi ed, indicating that a very accurate wave retrieval is achieved by the CNN. Additionally, the contrast of the CNN results allows to distinguish Mo and S 2 , which is more difficult with other methods, as their difference is much smaller. At low dose, the line profiles suggest a stronger low-dose robustness may be found in iDPC, as the two peaks are preserved in the reconstructed image. However, the signal almost completely falls into the noise level, as confirmed by the Fourier transform, and thus this seemingly be er low-dose performance could very likely be a coincidental noise distribution. The given example highlights the potential of the proposed method for low dose imaging. As pointed out in sections "Super-Resolution" and Step Size" and illustrated in figures 5 and 6 respectively, the noise robustness may depend substantially on the step size and the effective dose per CBED. To gain an advantage over other methods in this regard this context needs to be taken into account and scanning strategies adapted accordingly.

Conclusion

48This paper presents a new computational imaging method, leveraging a CNN to retrieve complex exit wave functions from CBEDs and an algorithm to reconstruct the phase object from the predictions of the neural network. Since the exit waves are retrieved for each realspace coordinate in a 4D-STEM dataset, based only on a small kernel of adjacent diffraction pa erns, the method can be employed in a sequential manner, thus enabling live imaging during an experiment. The machine learning system is based on a well established model but streamlined to the task at hand and adapted to account for physical constraints and considerations. The model was trained on a large synthetic dataset of multislice simulations. Large and higher order aberrations, as well as CBED distortions, like non-centricity, geometric distortions and hot/dead pixels are not considered in the train-ing data. Therefore, experimental data may require a preprocessing step. The range of practical conditions for which the method works reliably is therefore arguably limited accordingly to aberration corrected, well adjusted instruments at this stage. The trained model, code and training data are publicly available as summarized in the supplementary information. In the discussion multiple unique characteristics and advantages of the method are demonstrated. The CNN-based reconstruction is shown to enable higher resolutions than any other live-imagingcapable method considered, on simulated, as well as on experimental data, provided that a sufficiently high doseper-CBED is maintained. In correspondence to this consideration the effect of the step size is analyzed. While a be er estimation of the exit wave is obtained with the electron dose-per-area distributed across fewer probe positions, some probe overlap is necessary to insure the accuracy of the exit wave retrieval. Hence, the method is most suitably applied at a balanced scan density. If these considerations are taken into account the reconstruction method can be very dose efficient. The Z-contrast was analyzed on single atomsimulations across the periodic table. The phase signal of the reconstructions could indeed be linked qualitatively to atomic properties and a semi-quantitative analysis of thin specimen within the limits of the POA, was shown to be possible. We confirmed the contrast sensitivity to atomic species and sample thickness on ex-perimental datasets of a SrTiO 3 FIB-lamella and an Au nanorod respectively. The observed monotonic increase of the phase signal with thickness and nearly monotonic increase with atomic number indicates that quantitative analyses based on the reconstruction results may be feasible.

49Generally, we believe the proposed method presents an a ractive imaging modality for its super-resolution capability, high noise robustness, and the feasibility of qualitative or even quantitative contrast analysis. While further studies would be necessary to obtain a more detailed view on the model performance over the entire parameter space (and beyond), we could already show that the method is robust for a wide range of practically meaningful applications, even exhibiting reasonably good extrapolation behavior well beyond the maximum sample thickness of the training data. The fact that none of the examples shown in this study exist in those exact configurations in the training data, further indicates that the system generalizes well within the parameter interpolation range as well.

참고문헌 35건

  1. Towards quantitative, atomic-resolution reconstruction of the electrostatic potential via differential phase contrast using electrons Ultramicroscopy · Elsevier BV · 2015 10.1016/j.ultramic.2015.09.002
  2. Phase contrast STEM for thin samples: Integrated differential phase contrast Ultramicroscopy · Elsevier BV · 2015 10.1016/j.ultramic.2015.10.011
  3. Experimental tests on double-resolution coherent imaging via STEM Ultramicroscopy · Elsevier BV · 1993 10.1016/0304-3991(93)90105-7
  4. Medipix3: A 64k pixel detector readout chip working in single photon counting mode with improved spectrometric performance Nuclear Instruments and Methods in Physics Research Section A Accelerators Spectrometers Detectors and Associated Equipment · Elsevier BV · 2010 10.1016/j.nima.2010.06.108
  5. Chemically sensitive structure-imaging with a scanning transmission electron microscope Nature · Nature Portfolio · 1988 10.1038/336565a0
  6. Atomic electric fields revealed by a quantum mechanical approach to electron picodiffraction Nature Communications · Nature Portfolio · 2014 10.1038/ncomms6653
  7. Timepix3: a 65K channel hybrid pixel readout chip with simultaneous ToA/ToT and sparse readout Journal of Instrumentation · Institute of Physics · 2014 10.1088/1748-0221/9/05/c05013
  8. Efficient phase contrast imaging in STEM using a pixelated detector. Part II: Optimisation of imaging conditions Ultramicroscopy · Elsevier BV · 2014 10.1016/j.ultramic.2014.10.013
  9. MULTEM: A new multislice program to perform accurate and fast electron diffraction and imaging simulations using Graphics Processing Units with CUDA Ultramicroscopy · Elsevier BV · 2015 10.1016/j.ultramic.2015.04.016
  10. An accurate parameterization for scattering factors, electron densities and electrostatic potentials for neutral atoms that obey all physical constraints Acta Crystallographica Section A Foundations and Advances · 2014 10.1107/s205327331401643x
  11. The theory of super-resolution electron microscopy via Wigner-distribution deconvolution Philosophical Transactions of the Royal Society of London Series A Physical and Engineering Sciences · Royal Society · 1992 10.1098/rsta.1992.0050
  12. Is the frozen phonon model adequate to describe inelastic phonon scattering? Ultramicroscopy · Elsevier BV · 2009 10.1016/j.ultramic.2009.01.001
  13. Atom-by-atom structural and chemical analysis by annular dark-field electron microscopy Nature · Nature Portfolio · 2010 10.1038/nature08879
  14. An improved ptychographical phase retrieval algorithm for diffractive imaging Ultramicroscopy · Elsevier BV · 2009 10.1016/j.ultramic.2009.05.012
  15. High Dynamic Range Pixel Array Detector for Scanning Transmission Electron Microscopy Microscopy and Microanalysis · Oxford University Press · 2016 10.1017/s1431927615015664
  16. Procedure to count atoms with trustworthy single-atom sensitivity Physical Review B · American Physical Society · 2013 10.1103/physrevb.87.064107
  17. Progress and new advances in simulating electron microscopy datasets using MULTEM Ultramicroscopy · Elsevier BV · 2016 10.1016/j.ultramic.2016.06.003
  18. Simultaneous atomic-resolution electron ptychography and Z-contrast imaging of light and heavy elements in complex nanostructures Nature Communications · Nature Portfolio · 2016 10.1038/ncomms12532
  19. StatSTEM: An efficient approach for accurate and precise model-based quantification of atomic resolution electron microscopy images Ultramicroscopy · Elsevier BV · 2016 10.1016/j.ultramic.2016.08.018
  20. Advanced Transmission Electron Microscopy: Imaging and Diffraction in Nanoscience 2016
  21. Electron ptychography of 2D materials to deep sub-ångström resolution Nature · Nature Portfolio · 2018 10.1038/s41586-018-0298-5
  22. Atomic number dependence of Z contrast in scanning transmission electron microscopy Scientific Reports · Nature Portfolio · 2018 10.1038/s41598-018-30941-5
  23. Low-Dose Aberration-Free Imaging of Li-Rich Cathode Materials at Various States of Charge Using Electron Ptychography Nano Letters · American Chemical Society · 2018 10.1021/acs.nanolett.8b02718
  24. The 4D Camera: Very High Speed Electron Counting for 4D-STEM Microscopy and Microanalysis · Oxford University Press · 2019 10.1017/s1431927619010389
  25. Mixed-state electron ptychography enables sub-angstrom resolution imaging with picometer precision at low dose Nature Communications · Nature Portfolio · 2020 10.1038/s41467-020-16688-6
  26. Detectors—The ongoing revolution in scanning transmission electron microscopy and why this important to material characterization APL Materials · American Institute of Physics · 2020 10.1063/5.0026992
  27. Complex imaging of phase domains by deep neural networks IUCrJ · International Union of Crystallography · 2020 10.1107/s2052252520013780
  28. Contrast transfer and noise considerations in focused-probe electron ptychography Ultramicroscopy · Elsevier BV · 2020 10.1016/j.ultramic.2020.113189
  29. Live Processing of Momentum-Resolved STEM Data for First Moment Imaging and Ptychography Microscopy and Microanalysis · Oxford University Press · 2021 10.1017/s1431927621012423
  30. High-Fidelity 4D-STEM Enabled by Live Processing at 15’000 Detector Frames Per Second Microscopy and Microanalysis · Oxford University Press · 2021 10.1017/s1431927621003779
  31. Live Processing of Momentum-Resolved STEM Data for First Moment Imaging and Ptychography Microscopy and Microanalysis · Oxford University Press · 2021 10.1017/s1431927621012423
  32. Event driven 4D STEM acquisition with a Timepix3 detector: Microsecond dwell time and faster scans for high precision and low dose applications Ultramicroscopy · Elsevier BV · 2021 10.1016/j.ultramic.2021.113423
  33. Real-Time Interactive 4D-STEM Phase-Contrast Imaging From Electron Event Representation Data: Less computation with the right representation IEEE Signal Processing Magazine · Institute of Electrical and Electronics Engineers · 2021 10.1109/msp.2021.3120981
  34. Real-Time Integration Center of Mass (riCOM) Reconstruction for 4D STEM Microscopy and Microanalysis · Oxford University Press · 2022 10.1017/s1431927622000617
  35. Advanced Computing in Electron Microscopy 2010 10.1007/978-1-4419-6533-2