A robust synthetic data generation framework for machine learning in high-resolution transmission electron microscopy (HRTEM)
간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (10) 아라미드(21) 에폭시수지
기본 정보
- 저자
- DOI
- 10.1038/s41524-024-01336-0
- 저널
- npj Computational Materials
- 발행년도
- 2024
- 발행기관
- Nature Portfolio
- 피인용수
- 11
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1038/s41524-024-01336-0
- 토픽
- Electron and X-Ray Spectroscopy Techniques
- OpenAlex ID
- W4401100781
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 엔지니어링 플라스틱 · (23) 컴파운드
- 부 분야
- (10) 아라미드, (21) 에폭시수지
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- machine learning, nanomaterials characterization, HRTEM, synthetic data generation, atomic-scale
- 판단 근거
- 이 논문은 나노물질의 원자 단위 구조 분석을 위한 머신러닝 기반의 합성 데이터 생성 및 이미지 세그멘테이션 프레임워크를 다룹니다. 코오롱인더스트리의 직접적인 제품은 아니나, 아라미드(10)나 고기능성 수지/컴파운드(21, 23) 개발 시 필수적인 나노 구조 분석 및 물성 제어를 위한 고도화된 분석 기법(TEM 이미지 자동 분석)으로 응용 가능합니다.
- R&D 활용 포인트
- 아라미드 나노섬유나 고분자 컴파운드 내의 나노 입자/결함 구조를 TEM으로 분석할 때, 머신러닝을 활용하여 분석 속도와 정확도를 높이는 데 활용할 수 있습니다.
- 평가 입력
- 본문 67,041자 중 30,032자 발췌
초록
본문 67,041자
본문 펼치기
섹션 본문 42문단 · 38,794자
(제목 없음)
1Machine learning techniques are attractive options for developing highly-accurate automated analysis tools for nanomaterials characterization, including high-resolution transmission electron microscopy (HRTEM). However, successfully implementing such machine learning tools can be difficult due to the challenges in procuring sufficiently large, high-quality training datasets from experiments. In this work, we introduce Construction Zone, a Python package for rapidly generating complex nanoscale atomic structures, and develop an end-to-end workflow for creating large simulated databases for training neural networks. Construction Zone enables fast, systematic sampling of realistic nanomaterial structures, and can be used as a random structure generator for simulated databases, which is important for generating large, diverse synthetic datasets. Using HRTEM imaging as an example, we train a series of neural networks on various subsets of our simulated databases to segment nanoparticles and holistically study the data curation process to understand how various aspects of the curated simulated data-including simulation fidelity, the distribution of atomic structures, and the distribution of imaging conditions-affect model performance across several experimental benchmarks. Using our results, we are able to achieve state-of-the-art segmentation performance on experimental HRTEM images of nanoparticles from several experimental benchmarks and, further, we discuss robust strategies for consistently achieving high performance with machine learning in experimental settings using purely synthetic data.
Introduction
2Machine learning (ML) methods promise to accurately and automatically analyze large datasets at high-speeds, revolutionizing our materials characterization workflows. Many state-of-the-art ML tools rely on supervised learning techniques, where models utilize large amounts of data annotated with features of interest for training. The performance of supervised ML models, like neural networks, directly depends on the contents and generating distribution of the dataset used for model training, and, importantly, such models have been shown to extrapolate poorly beyond their training datasets (1) and have limited out-of-distribution generalization behavior (2,3). Developing robust ML models for automated analysis of transmission electron microscopy (TEM), a versatile technique for structural and functional materials characterization at the atomic-scale, thus requires large image datasets which fully cover experimental imaging conditions and the variety of samples one has imaged. However, manually producing sufficiently large and diverse sets of well-annotated experimental data in order to train robust, generalizable ML models can be extremely labor intensive and creates the possibility for both human and experimental biases to negatively impact model performance during deployment.
3With limited experimental data, it is also difficult to investigate any failures or biases of a ML workflow arising from the choice of data used.
4The prohibitive cost of producing high-quality, well-annotated experimental data for supervised learning tasks makes data simulation an attractive alternative for developing effective machine learning models. Synthetic datasets produced through materials simulations offer several distinct advantages over their experimental counterparts. In particular, high-throughput simulation can create arbitrarily large datasets covering the full range of experimental conditions with ground-truth, physics-based data annotation, avoiding human bias and error in selecting and annotating relevant data and at a lower cost. Synthetic data generation also enables consistently reproducible end-to-end model development workflows and the ability to precisely isolate data stream effects-both positive and negative-on trained models. The final challenge then becomes choosing suitable and sufficient datasets for developing ML models to achieve a scientific task of interest, making it important to understand how the data we use influences the accuracy and quality of the scientific inferences we make and how such data curation decisions induce practical compromises between ML model performance and model development costs.
5Recent advances in electron microscopy simulation methods have enabled large-scale, high-throughout TEM simulations for a wide range of experimental modalities (4)(5)(6)(7)(8).
6These simulation tools fully describe imaging with electron microscopy with detailed descriptions of the electron scattering process and have been used to train ML models to analyze crystalline scanning TEM (STEM) and STEM diffraction data (9,10), high-resolution TEM (HRTEM) analysis of 2D material structures and nanoparticles (11), and image denoising models (12). However, these prior achievements either have limited types of atomic structures (10)(11)(12) or work only with crystalline diffraction data (9). In contrast, developing ML models general enough to analyze arbitrary real-space HRTEM data requires including all possible atomic structures that span the experimental range in the training datasets. Sampling many thousands of unique atomic structures and configurations with, for example, high-throughput molecular dynamics quickly becomes computationally expensive. At the expense of precise structural accuracy, we can instead cheaply generate thousands of atomic structures manually by specifying broad structural details of a nanoscale object and using idealized lattices and defect structures to place atoms. Generating such a set of structures for a bespoke problem or singular experiment is feasible, but, while several tools exist to design and analyze atomic structures in materials science (13)(14)(15), no such tools are designed to facilitate the precise description and generation of arbitrary distributions of complex, nanoscale atomic objects. Curating a sufficient dataset for training ML models to automatically and precisely analyze HRTEM characterization data, where one expects to encounter a vast diversity of highly numerous and variable atomic structures, becomes substantially more difficult in the general case without more flexible software tools.
7In this work, we develop an end-to-end workflow for training ML models to automatically analyze experimental HRTEM data of nanomaterials at the atomic-scale using only large, automatically generated, high-quality synthetic datasets. To achieve this, we develop Construction Zone (CZ) (Fig. 1), an open-source software package which enables algorithmic and high-throughput sampling of arbitrary atomic structures, which is then combined with HRTEM simulation to generate metadata rich databases with physics-based supervision labels. Given a general, all-purpose framework for producing high-quality synthetic data from a variety of prior distributions, we evaluate differing data curation strategies to reveal data-efficient training methods for achieving state-of-the-art neural network performance in analyzing experimental HRTEM data. Further, utilizing our data curation framework, which gives us complete control of the data generation process, we study statistically precise relationships between aspects of the training data-including simulation fidelity, structural composition, and diversity of imaging conditions-and ML model performance, aggregating the performance results of several hundreds of neural networks in order to provide statistical robustness. We provide analysis for image segmentation tasks, a benchmark characterization test which is crucial for identifying regions of interest in HRTEM data and guiding downstream automated analysis tasks, and present results on experimental HRTEM micrographs of clusters of Au and CdSe nanoparticles imaged at ultra-high magnification.
Atomic Structure and HRTEM Image Database Generation
8Models developed with ML methods for TEM analysis need to be adapted to the specific atomic structures one plans or expects to analyze in experiments; therefore, the training dataset should include examples of a wide number of likely atomic structures, so that any experimentally observed atomic structures lie close to the distribution of structures used for training. When curating a dataset to train robust HRTEM analysis models, one needs to be able to effectively and simultaneously capture both broad, high level aspects of atomic structures alongside the fine details that can be used to fully describe an individual structure.
9For example, an atomic structure may belong to a broader family of related structures, such as core-shell nanoparticles with similar sizes and chemistries. The same structure can also be described with unique and specific details, such as the placement of a defect plane or the orientation of its lattice with respect to the electron beam. To fully capture and utilize these complementary structural details, we have developed Construction Zone (CZ), an opensource Python package for building arbitrary atomic scenes at the nanoscale. CZ is designed to be robust to general use-cases, such that any complex nanostructure can be made, whilst also facilitating a flexible, programmatic workflow, such that large distributions of similar objects can be generated quickly and easily, and structure generating code is both easy to interpret and easy to reuse and repurpose.
10CZ relies on a simple module structure (c.f. Fig. 1a) that combines atomic placement (Generators), nano-object creation (Volumes), and nano-object interaction (Scenes).
11Structures can be further manipulated or generated with the Transformation class, which contains methods like standard symmetry operations, or by using convenience routines and analytical tools from the auxiliary modules, including functionality for atomic surface analysis and modification. The package derives some of its core functionality from other open-source materials science software packages, namely, PyMatgen (13), the Atomic Simulation Environment (14), and WulffPack (15), and interfaces seamlessly into common simulation workflows. By allowing users to specify atomic features like defects and zone-axis orientations with a high-level, materials-focused interface, CZ enables easier generation of both specific and random nanoscale atomic structures. We showcase some example complex atomic structures ranging from nanoparticles to 2D heterostructures, generated entirely with CZ, in Fig. 1b. In our study, CZ allows us to sample and quickly generate a large number of random, similar nanoparticle structures with complex defects and varying zone-axis orientations, mimicking the collection of nanoparticles that might be imaged in a typical HRTEM experiment, whilst also tracking such metadata about each structure, enabling us to draw fully specified training data distributions for machine learning model development.
12Here, we use CZ as a random structure generator alongside high-throughput TEM To generate our synthetic dataset for training neural networks, we built a data generation pipeline, diagrammed in Fig. 1 and detailed more thoroughly in Fig. ? In order to facilitate targeted data curation when training neural networks, we extensively track and aggregate metadata at each phase, so that specific distributions of simulated data can be easily drawn from the full database. Across the board, neural networks seem to segment nanoparticles more consistently when the particle (or particle grain) has visible lattice fringes, indicating that trained models can distinguish ordered lattice textures from other regions.
13The overall cost of the model development process depends both on the cost of procuring effective training datasets and the cost of training the models themselves, and often, compromises must be made between acceptable costs and the end quality of obtained models. As is well known, neural networks trained with supervised learning methods can be greatly improved by using larger training datasets, which can cost much more to obtain and can cause model training time to increase substantially. In Our results appear to be consistent as to prior work for a similar nanoparticle segmentation task (26) with a different experimental geometry in which nanoparticles are mounted on a crystalline substrate and are imaged over vacuum. Given that, in our task, the imaging beam passes through both the nanoparticle and the (amorphous) substrate and has higher effective electron dose (200-600e-/Å 2 across all datasets), it is likely that the relationship to noise could be more complex and that the minimal experimental dose that could be consistently segmented is larger, i.e., more signal-to-noise is required for our task. The relationship between dataset composition-such as diversity of atomic structures or imaging conditions-to model performance is more nuanced, and in particular, aspects of dataset composition seem to be more important for controlling the variance of model performance than for boosting performance ceilings. That is, by including images of nanoparticles from a wide variety of structures or imaging conditions, we can much more likely guarantee that a randomly initialized model will optimize well and learn to segment experimental data effectively. In Fig. 6, we measure the performance of models trained on simulated datasets of fixed size (N=1024) with varying atomic structural content and imaging conditions. Networks trained on datasets comprising images of samples with varying substrate thicknesses performed better and with lower variance than networks trained on a single, fixed substrate thickness (Fig. 6a, b), indicating diversity in the atomic structures seen during training is important for image segmentation. Regarding imaging conditions, relative defocus is known to have a strong nonlinear effect on contrast features in HRTEM, which is reflected in a highly variable nonlinear relationship of model performance to the focal point of simulated data (c.f. Fig. ??). To address this, we can sample images from a larger variety of focal points (Fig 6 c,d), increasing the number of unique focal points (and by construction, focal range) seen during training while maintaining the total size of the dataset, which has a small positive effect on segmentation performance and a strong effect on reducing model variance. The number of unique atomic structures, however, does not significantly impact model performance (Fig. 6e,f), as long as a wide variety of imaging conditions are indeed being sampled in the training dataset.
14In general, these data compositional effects are more significant when models are optimized more aggressively (Fig. 6a, Fig. ??), but does not appear to be completely related to the size of the nanoparticles in experimental images.
15Incorporating these lessons on data effects altogether, we can design an optimized simulated dataset to target maximal absolute performance on our experimental benchmarks-ultimately, the balance of dataset size, fidelity, and composition will be dictated by the needs of a particular experiment or analytical task, which can include constraints on model size, data curation time, and model time-to-train. Here, we focused on improving performance on both the large Au dataset and the CdSe dataset by increasing the variety of atomic structures seen, including all simulation effects mentioned previously, sampling a wider range of imaging and noise conditions, and using a modestly large training dataset (8000 total images). On these benchmarks, with slight re-tuning of the training hyperparameters, we achieve a maximum F1 score of 0.9189 and 0.7516, for
16Au and CdSe, respectively, whilst also achieving relatively strong generalization performance (c.f. Fig. ??). When using a random 50/50 mixture of the optimized datasets, networks have strong generalization performance across the three datasets, but better peak performance is achieved only on the small Au dataset (c.f. CZ also features a small set of auxiliary modules for more complex functionality and convenience. The Surface module provides fast routines for analyzing, querying, and modifying the surface of a generated object using derivatives of alpha-shape algorithms (34,35). The Utilities module provides several analysis routines, such as radial distribution function (RDF) analysis and orientation sampling. Lastly, the Prefab module contains routines that generate "pre-packaged" objects like Wulff constructions of nanoparticles (as implemented in (15)) or grain structures with planar defects. For a full discussion of underlying routines, available features, and package usage, we refer the reader to the CZ documentation 1 .
TEM simulation
17High-resolution TEM image simulations in this study were performed using the multislice algorithm (20), as implemented in the Prismatic software package (4). In the multislice algorithm, we model the image created in an electron microscope through the interaction of an electron beam and a material sample as the evolution of a 2D complex wavefunction, ψ(r).
The evolution of the wavefunction is given by the Schrödinger equation for fast electrons
18where V (r) is the electrostatic potential of the sample and σ is an interaction constant. V (r)
19is typically calculated with an isolated atom approach, where the total potential is the sum of independent atomic potentials
20where the individual atomic potentials themselves calculated with a parameterized look-up table of electron scattering factors (37,38). Alternatively, the scattering potential can be determined for a sample through ab-initio techniques (7). Once V (r) is determined, it is split into a series of binned slices along the beam direction and then the wavefunction ψ(r)
21is evolved through a split-step method, where the electron beam alternately interacts with the sample ψ(r) = T (r)ψ 0 (r) = e iσVn(r) ψ 0 (r),
22and then propagates in free space
23After the wavefunction has propagated through the entire sample, we obtain the exit wavefunction, which can be further modified to apply defocus and other residual optical aberrations typically seen in HRTEM imaging by applying another transmission operation
24where Ψ 0 ((k) is the unaberrated wavefunction in Fourier space and χ is the aberration function.
Database Generation with CZ and HRTEM simulation
25We simulate a HRTEM data stream by first generating a large database of semi-realistic structures and then simulating micrographs for those structures under suitable imaging conditions. We greatly approximate the variety of nanoparticles imaged in (18)
Neural Network Training
26For our neural network development, we used a standard UNet architecture (18,21,39) with a ResNet 18 (40)
Data Availability
27Code used to generate atomic structures, HRTEM simulations, and fully processed images, as well as code used to train neural networks models, will be made fully available upon publication. Given the large amount of training data generated for this study, a small selection will be made fully available upon publication; other selections of training data will be available upon request.
Author Contributions
28LRD performed the simulated data generation, machine learning, and data analysis and prepared the manuscript. KS and CKG acquired and labeled the experimental data, provided assistance with the machine learning, and helped prepare the manuscript; CKG also developed initial workflows for the machine learning. MCS led and supervised the study and helped prepare the manuscript. This report was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor any agency thereof, nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or any agency thereof. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or any agency thereof.
Baseline
29Our initial baseline reference dataset contains 512 unique structures of FCC gold nanoparticles on amorphous carbon substrates, with 2048 simulations and 10240 training images. The nanoparticles are perfectly spherical and have a normally distributed radius between 3nm and 5nm (clipped range) with a mean of 4nm and a standard deviation of 1nm and have a lattice parameter of 4.08265Å. Each nanoparticle contains between 0 and 3 planar defects, chosen uniformly at random, which are equally likely to be either twin defects or stacking faults, and are at least three (111) planes from each other and the edge of the particle. The nanoparticles are placed onto an 12.8 nm x 12.8 nm x 5nm amorphous carbon substrates with a uniformly random distribution of atoms and a minimum bond length of 1.4Å (1); each substrate is uniquely generated and obeys periodic boundary conditions in the lateral dimensions with respect to the carbon distribution. When the nanoparticle is placed onto the substrate, it is placed at a random orientation (uniformly distributed on the unit sphere) and at a distance of at least 1nm from the substrate edges. The nanoparticles are embedded slightly into the substrate, at a fraction of 0.2 of their radii. For each structure, we simulate 4 different HRTEM output waves at 300kV without applied thermal effects using the Prismatic software package (2) at different defoci, sampled from a normal distribution with a mean of 3nm and standard deviation of 2nm (in C1 convention, measured from the center of the simulation cell); the simulations were run with infinitely projected atomic potentials sampled at 0.1Å. For each simulation, we then apply Poisson noise at dose rates of 100, 300, 600, 900, and 1200 electrons/Å 2 and then filter the image with a median filter with 3x3 pixel window. Finally, each training image is randomly cropped from its 640x640 pixel resolution to a 512x512 resolution. We run an equivalent simulation for each structure without the substrate in order to generate an automated segmentation label. For these label simulations, we threshold the intensity image of the nanoparticle in vacuum and then apply a Gaussian blur with a standard deviation of 5 pixels, to smooth the mask.
Thermal
30Our high quality reference dataset, having the same dataset composition of structures, simulations, and images, is largely similar to the previous baseline dataset barring two major differences; it reuses the same underlying dataset of structures. First, each simulation is instead performed with 3D potentials and a slice subsampling of 32 and with 8 frozen phonon configurations. Second, to each simulation, we apply a defocus spread of 15Å by incoherently averaging the output wavefunction about its desired focal point with a series of 25 defocused wavefunctions up to ±45Å with normally distributed weights. Each simulation was saved with the complex outputwave of all frozen phonon configurations. Two versions of this database were generated, one with thermally averaged output images and one with post-processed images utilizing only a single frozen phonon configuration. For generation of the relevant segmentation labels, we used instead a phase threshold on the output wavefunction, averaged over the frozen phonons. At these focal points, differences in the intensity and phase thresholding techniques are minimal; for the rest of the simulated data, which vary much greater in optical imaging conditions, we used the phase thresholding method, as it is more stable over imaging conditions as compared to the intensity threshold.
Dose variation
31Our dose variation dataset is an addendum to the thermal dataset, containing further samplings of applied Poisson noise for the same structures and simulations. An additional 14,336 images are contained in this dataset, corresponding to seven sets of 2048 images each with dose rates of 200, 400, 500, 700, 800, 1000, and 1100 electrons/Å 2 .
Simulation effects
32The plasmonic effect dataset is equivalent in composition to the Thermal dataset and uses the same structures and corresponding simulations. In addition to the thermal averaging across phonon effects, we apply the effects of plasmonic losses and residual effects in HRTEM imaging, combining each effect with each other in pairwise combinations, as well as altogether. Plasmonic losses are modeled by applying a contrast reduction to the wavefunction intensities before averaging over frozen phonons. The contrast reduction is applied by taking a weighted pixelwise mean of the original intensity and an intensity with a constant added background (renormalized to have its original mean value); for this dataset, we used a weight of 0.5 and an additive background of 1.0. For the residual aberrations, we apply a set of experimentally measured residual aberrations, as measured during an experimental session on the spherical-aberration corrected TEAM 0.5 microscope; these are included in the aberration function used to apply the baseline image defocus. We list the set of residual aberrations used in Table S1, using the coefficient notation convention in (2, 3). Table S1. Values of aberration coefficients used to sample residual aberrations in simulated datasets, as measured after standard microscope calibration procedures on the TEAM 0.5 microscope operating at 300kV. Notation follows (2, 3).
Varying Substrate
33The Varying Substrate dataset is a dataset containing 1024 structures, their corresponding simulations, and 11264 final processed training images. The simulations for this dataset contained 8 frozen phonon configurations and no 3D potential subsampling, and otherwise follow the same simulation settings as the Thermal dataset; all remaining datasets utilize this simulation technique. The nanoparticles are sampled in a structurally equivalent method to those in the baseline datasets. The substrates, instead of having a uniform thickness of 5nm, have uniformly distributed thicknesses between 2nm and 8nm. For each structure (and simulation), we generate images at 11 different focal points, between -50nm and +50nm in steps of 10nm, about which individual focal points are normally distributed with a standard deviation of 2nm. Each image has an applied dose rate of 400 electrons/Å 2 , an applied focal spread of 15Å, and has the same set of residual aberrations in Table S1. Otherwise, the post-processing is performed equivalently to those images in the Thermal dataset.
Smaller NPs
34The Smaller NPs dataset is a dataset containing 512 structures, their corresponding simulations, and 11264 final processed training images. The nanoparticles in this dataset are sized in two distributions-the first 256 nanoparticles have a normally distributed mean radius of 1nm, with a standard deviation of 0.25nm, and are bounded by radii of 0.75nm and 1.25nm; and the final 256 nanoparticles have a mean radius of 2.5nm with a standard deviation of 0.75 nm, and are bounded by radii of 1.5nm and 3.5nm. The smaller group of particles has only up to 1 planar defect per particle, while the larger group can have up to 3 planar defects per particle. The carbon substrate is sampled equivalently to those in the baseline datasets. The simulation and post-processing of data is equivalent to those images in the Substrate Varying dataset, except that each structure is sampled twice per focal point. These doubled samples are used only when sampling data from a single focal point, i.e., the first point in Figure ??c and d, or for the data presented in Figure S4.
Optimal Au
35Our optimal Au dataset is a dataset designed to target high segmentation performance on the large Au experimental dataset from (4) with reasonable data preparation, data storage, and training costs. The dataset consists of 2000 nanoparticle on carbon substrate structures, and 8000 final processed images, with four images per structure. The nanoparticles are generated with a broader size distribution, using a radius bounded betweeen 1.5nm and 5.0nm, with a mean of 3.5nm and a standard deviation of 3nm. Three-fourths of the nanoparticles follow the same defect distribution as before, with up to 3 planar defects per particle, while the remaining particles instead have random grain boundaries, The grain boundaries are generated by splitting the particle at a (111) plane, and taking the grain after the split and either randomly rotating it along the corresponding [111] axis or by randomly rotating it to an arbitrary rotation on the unit sphere; these particles were equally likely to have either type of grain boundary. The carbon substrates for this dataset have a thickness which is uniformly distributed between 3nm and 7nm. For this dataset, we combine the effects of all post-processing techniques used previously, and further diversify the dataset by sampling from broader distributions of imaging conditions. The final post-processed images have uniformly random focal points between -40nm and 40nm, a focal spreads between 10 and 25Å, and electron doses between 200 and 700 electrons/Å 2 . For the plasmonic effects, we use a uniformly random weight between 0.3 and 0.85 with a constant additive background of 1.0. In order to sample a random set of aberrations with physical consistency, we sample aberrations about the aberration distribution centered on the values in Table S1 by randomly scaling the magnitudes of each aberration by a multiplicative factor normally distributed about 1.0 with a standard deviation of 0.25 and apply an additive rotation normally distributed about 0 radians with a standard deviation of π/4. Median filtering and phase thresholding is performed in the same manner as in all previous datasets.
Optimal CdSe
36Our optimal CdSe dataset is a dataset designed to target high segmentation performance on the CdSe experimental dataset from (4) with reasonable data preparation, data storage, and training costs. Similarly to the optimal Au dataset, this dataset contains 2000 nanoparticle on carbon substrate structures, and 8000 final processed images, with four images per structure. The CdSe nanoparticles have a Wurtzite structure, with lattice parameters a = 4.39Å and c = 7.17Å (c.f. (5), mp-1070) and are perfectly spherical with normally distributed radii with a mean of 1.75nm, standard deviation of 3nm, and which are bounded between 1nm and 2.5nm. These nanoparticles contain Type I instrinsic stacking faults (6), separated from each other and the bounds of the particle by at least four basal planes. Particles with a radius greater than 2.2nm can have up to 2 stacking faults, with a radius greater than 1.5nm can have up to 1 stacking fault, and with a radius less than or equal to 1.5nm can have no stacking faults. The CdSe nanoparticles, otherwise, are generated similarly to the Au nanoparticles, with uniformly random orientations over the unit sphere and with slight embedding into the substrate surface. Each full structure contains up to 5 CdSe nanoparticles, and separated from each other and the boundaries of the substrate by 1nm. The number of nanoparticles per scene is chosen uniformly at random, and the locations of the nanoparticles are chosen uniformly at random via rejection sampling with a limited number of attempts, and thus, the final distribution of nanoparticles per scene is not entirely uniform. Substrates for this dataset have a thickness uniformly distributed 3nm and 7nm. Post-processing for the optimal CdSe dataset is done completely equivalently to the optimal Au dataset with only one major difference: the dose range used here is instead uniformly distributed between 150 and 450 electrons/Å 2 . We note that for the CdSe nanoparticle mask generation, we used a lower heuristic value for the phase thresholding technique, since Cd and Se are weaker electron scatterers than Au.
379. Optimal Mixed Au/CdSe
Data selection during training
38For the vast majority of our training experiments, we trained five networks per data condition in order to reduce the effect of network training variance in our analysis. Each network received a uniformly random draw of samples from the underlying dataset. Three-fourths of the images were used to train the network, while the remaining fourth was used as a validation split. Images were further augmented during training with random orthogonal rotations and horizontal/vertical flips, though each epoch during training contained no more images than the number of unique, original examples in the training subset. For networks whose performance are tabulated in Fig. Fig. ?? and ??b, the dataset was subset by target dose and unique structures for a final sample of 512 images for each network. For networks whose performance was tabulated in the dataset size test (Fig. ??a) we drew a uniformly random sample of data from all available dataset sources, excluding the "Optimal" datasets used to target absolute performance. For networks whose performance was tabulated in Fig. ??a, we split the processed images into four thickness subsets (2-3.5nm, 3.5-5nm, 5-6.5nm, 6.5-8nm), and drew samples 1024 images from each possible combination of 1, 2, 3, and 4 subsets.
39For the focal condition and focal vs. structure augmentation results (c.f. Fig. ??b and c), which were derived from networks trained on the small NP simulated database, we utilized a cross-validation sampling technique to improve the statistical power of our results. These networks were trained over dataset splits of 128, 192, 256, 384, and 512 unique structures and 3, 5, 7, 9, and 11 unique focal conditions. In order to remove the effect of number of images, we only used combinations of these subsets in which at least 1024 processed images were available. When the subset of images available was larger than 1024, we selected a sample of 1024 images uniformly at random from the available images.
40Ideally, when measuring the effect of number of unique focal conditions on segmentation performance, we would oversample networks trained on datasets consisting of fewer focal conditions, in order for the performance measurements to have more comparable statistical power. For example, the 5 networks trained on data drawn from all 11 focal conditions would have an effective data distribution approximately matching that of the underlying Figure S1. Full end-to-end workflow schematic for database generation and neural network training as performed in this study. Information aggregated into metadata or operations performed to create data are indicated by the arrows linking steps in the workflow. processed dataset; here, we could make a relatively accurate statement about the network segmentation performance due to the data. Networks trained on data drawn from only 3 focal conditions, however, would have a much more variable underlying data distribution-it would take several hundred unique draws to have a similarly accurate approximation of the underlying data distribution, and the networks themselves would have an inherently high performance variability. Further, since HRTREM contrast is highly sensitive to focal conditions and since contrast mechanisms fundamentally differ in underfocused, overfocused, and in-focus conditions, we cannot guarantee through uniformly random draws that measured effect is derived from number of focal conditions and not just absolute focal condition range/coverage.
41To combat these statistical challenges whilst limiting training expenses, we implemented two techniques to reduce the variance of the measured performance for datasets drawn from only 3 or 5 unique focal conditions: partitioning the focal conditions and performing slight oversampling the data subsets. For subsets of 3 unique focal conditions, we split the available focal conditions into partitions of underfocused focal points (-50nm through -20nm), "in-focus" focal points (-10nm through 10nm), and overfocused focal points (20nm through 50nm), such that a focal condition from each group was represented in the final draw of processed images. For subsets of 5 focal conditions, we further partitioned the underfocused and overfocused subsets into groups of two focal conditions each. Finally, for a given number of unique structures, we sampled more draws of 3 and 5 focal conditions than for 7, 9, and 11 focal conditions. Since this test was slightly more variable than other training series we ran, we ran at least 20 data draws for each pair of structure/focal conditions, and 35 data draws for data draws using only 3 or 5 unique focal conditions. We note that, due to the partitioning, the data distributions are not equivalent due to the sampling process. A larger, more fair statistical test-perhaps using cross-validation techniques in the sample drawing and in the performance analysis-is recommended to more clearly delineate the effect of focal conditions (in number and diversity) on the effect of segmentation of HRTEM data. Our results are likely to be loosely general, and it is well within the realm of possibility that different trends arise in different imaging conditions with different structures being imaged.
Noise sampling
42For the datasets described previously, applied dosage effects were sampled as pure Poissonian noise using the MT19937 random number generator, where the random state was set by default according to the NumPy legacy generation scheme. As a test to ensure the nonlinear relationship between model performance and dose in the simulated data did not arise from quirks or correlations in the random number generation process, since large amounts of random numbers are drawn per image, we regenerated the doseage series datasets with two other high-quality psuedo-random number generators. Results, included in Figure S2, indicate that the non-linearity is not a result of the generation scheme. These results also may imply that the variance of performance measures may be affected by the quality of random number generation when sufficiently large amounts of random numbers are sampled during data generation processes. Table S2. Detailed performance of summary of neural networks after training on simulated data, as measured on five experimental datasets. For each set of networks, the minimum, median, and maximum performances, as measured by F1score, are recorded. * Taken the Themis microscope. † Taken on the TEAM 0.5 microscope Figure S5. Summary of data effects for neural networks trained to segment nanoparticles in HRTEM micrographs. Performance is measured with respect to aspects of the dataset used to train networks, including dataset size, applied electron dose,variety of substrate thicknesses, number of focal conditions seen, and the relative proportion of focal conditions versus unique structures in the dataset. Performance is measured on micrographs of 5nm Au nanoparticles from a Themis microscope.
참고문헌 39건
- Image Calculations in High-Resolution Electron Microscopy: Problems, Progress, and Prospects Advances in electronics and electron physics · Elsevier BV · 1985 10.1016/s0065-2539(08)60880-x
- U-Net: Convolutional Networks for Biomedical Image Segmentation Lecture notes in computer science · Springer Science+Business Media · 2015 10.1007/978-3-319-24574-4_28
- Computational Analysis Methods in Atomistic Modeling of Crystals JOM · Springer Science+Business Media · 2013 10.1007/s11837-013-0827-5
- Python Materials Genomics (pymatgen): A robust, open-source python library for materials analysis Computational Materials Science · Elsevier BV · 2012 10.1016/j.commatsci.2012.10.028
- The scattering of electrons by atoms and crystals. I. A new theoretical approach Acta Crystallographica · Wiley · 1957 10.1107/s0365110x57002194
- Three-dimensional alpha shapes ACM Transactions on Graphics · Association for Computing Machinery · 1994 10.1145/174462.156635
- 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
- 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
- Deep Residual Learning for Image Recognition 2016 10.1109/cvpr.2016.90
- A fast image simulation algorithm for scanning transmission electron microscopy Advanced Structural and Chemical Imaging · Springer Science+Business Media · 2017 10.1186/s40679-017-0046-1
- The atomic simulation environment—a Python library for working with atoms Journal of Physics Condensed Matter · IOP Publishing · 2017 10.1088/1361-648x/aa680e
- A streaming multi-GPU implementation of image simulation algorithms for scanning transmission electron microscopy Advanced Structural and Chemical Imaging · Springer Science+Business Media · 2017 10.1186/s40679-017-0048-z
- Crystal Graph Convolutional Neural Networks for an Accurate and Interpretable Prediction of Material Properties Physical Review Letters · American Physical Society · 2018 10.1103/physrevlett.120.145301
- A Deep Learning Approach to Identify Local Structures in Atomic‐Resolution Transmission Electron Microscopy Images Advanced Theory and Simulations · Wiley · 2018 10.1002/adts.201800037
- Boundary loss for highly unbalanced segmentation Medical Image Analysis · Elsevier BV · 2020 10.1016/j.media.2020.101851
- UNet++: Redesigning Skip Connections to Exploit Multiscale Features in Image Segmentation IEEE Transactions on Medical Imaging · Institute of Electrical and Electronics Engineers · 2019 10.1109/tmi.2019.2959609
- Atomic resolution convergent beam electron diffraction analysis using convolutional neural networks Ultramicroscopy · Elsevier BV · 2019 10.1016/j.ultramic.2019.112921
- Design and synthesis of multigrain nanocrystals via geometric misfit strain Nature · Nature Portfolio · 2020 10.1038/s41586-019-1899-3
- WulffPack: A Python package for Wulff constructions The Journal of Open Source Software · Open Journals · 2020 10.21105/joss.01944
- Out-of-Distribution Generalization via Risk Extrapolation (REx) arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2003.00688
- On-the-fly active learning of interpretable Bayesian force fields for atomistic rare events npj Computational Materials · Nature Portfolio · 2020 10.1038/s41524-020-0283-z
- Direct imaging and electronic structure modulation of moiré superlattices at the 2D/3D interface Nature Communications · Nature Portfolio · 2021 101038s41467021213635
- How Neural Networks Extrapolate: From Feedforward to Graph Neural Networks arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2009.11848
- Active learning accelerates ab initio molecular dynamics on reactive energy surfaces Chem · Elsevier BV · 2021 10.1016/j.chempr.2020.12.009
- AutoDetect-mNP: An Unsupervised Machine Learning Algorithm for Automated Analysis of Transmission Electron Microscope Images of Metal Nanoparticles JACS Au · American Chemical Society · 2021 10.1021/jacsau.0c00030
- Direct imaging and electronic structure modulation of moiré superlattices at the 2D/3D interface Nature Communications · Nature Portfolio · 2021 10.1038/s41467-021-21363-5
- Machine Learning Pipeline for Segmentation and Defect Identification from High-Resolution Transmission Electron Microscopy Data Microscopy and Microanalysis · Oxford University Press · 2021 101017s1431927621000386
- Machine Learning Pipeline for Segmentation and Defect Identification from High-Resolution Transmission Electron Microscopy Data Microscopy and Microanalysis · Oxford University Press · 2021 10.1017/s1431927621000386
- Prismatic 2.0 – Simulation software for scanning and high resolution transmission electron microscopy (STEM and HRTEM) Micron · Elsevier BV · 2021 10.1016/j.micron.2021.103141
- Developing and Evaluating Deep Neural Network-Based Denoising for Nanoparticle TEM Images with Ultra-Low Signal-to-Noise Microscopy and Microanalysis · Oxford University Press · 2021 10.1017/s1431927621012678
- Pushing the frontiers of density functionals by solving the fractional electron problem Science · American Association for the Advancement of Science · 2021 10.1126/science.abj6511
- Understanding the Influence of Receptive Field and Network Complexity in Neural Network-Guided TEM Image Analysis Microscopy and Microanalysis · Oxford University Press · 2022 10.1017/s1431927622012466
- Advanced Computing in Electron Microscopy 2010 10.1007/978-1-4419-6533-2
- Disentangling multiple scattering with deep learning: application to strain mapping from electron diffraction patterns npj Computational Materials · Nature Portfolio · 2022 10.1038/s41524-022-00939-9
- Learning local equivariant representations for large-scale atomistic dynamics Nature Communications · Nature Portfolio · 2023 10.1038/s41467-023-36329-y
- Leveraging generative adversarial networks to create realistic scanning transmission electron microscopy images npj Computational Materials · Nature Portfolio · 2023 10.1038/s41524-023-01042-3
- Quantifying noise limitations of neural network segmentations in high-resolution transmission electron microscopy Ultramicroscopy · Elsevier BV · 2023 10.1016/j.ultramic.2023.113803
- High Throughput Pipeline for Segmentation and Defect Identification Zenodo (CERN European Organization for Nuclear Research) · CERN European Organization for Nuclear Research · 2020 10.5281/zenodo.3755011
- Understanding the Influence of Receptive Field and Network Complexity in Neural-Network-Guided TEM Image Analysis Zenodo (CERN European Organization for Nuclear Research) · European Organization for Nuclear Research · 2022 10.5281/zenodo.6419024