Abstract
Structural domains and domain walls, inherent in single crystalline perovskite oxides, can significantly influence the properties of the material and therefore must be considered as a vital part of the design of the epitaxial oxide thin films. We employ 4D-STEM combined with machine learning (ML) to comprehensively characterize domain structures at both high spatial resolution and over a significant spatial extent. Using orthorhombic LaFeO3 as a model system, we explore the application of unsupervised and supervised ML in domain mapping, which demonstrates robustness against experiment uncertainties. The results reveal the consequential formation of multiple domains due to the structural degeneracy when LaFeO3 film is grown on cubic SrTiO3. In situ annealing of the film shows the mechanism of domain coarsening that potentially links to phase transition of LaFeO3 at high temperatures. Moreover, synthesis of LaFeO3 on DyScO3 illustrates that a less symmetric orthorhombic substrate inhibits the formation of domain walls, thereby contributing to the mitigation of structural degeneracy. High fidelity of our approach also highlights the potential for the domain mapping of other complicated materials and thin films.
Similar content being viewed by others
Introduction
Advancements in epitaxial growth techniques have ushered in a new era for producing single crystalline oxide films with atomically sharp interfaces, opening up possibilities for achieving properties previously unattainable in bulk materials1,2,3,4. These systems have benefited from the structural homogeneity and crystallographic integrity. However, achieving such homogeneity can still be challenging in oxides with intricate structural complexities5,6,7.
One possible consequence of the interplay between lattice, charge, and other constraints is the emergence of crystallographic domains with specific symmetry relationships, such as mirror, inversion, or rotational symmetry operations, setting them apart from grain boundaries where two grains can meet at any angle5,6,7,8,9. Furthermore, the potential coupling between ferroelectric or magnetic axes with crystalline axes highlights the critical role that structural domains can play in altering the functional properties of epitaxial thin films6,10,11,12. As a result, the concept of domain engineering must be considered in the design of epitaxial thin films, which requires understanding of how structural domains form and behave with different external parameters, such as strain and temperature.
In perovskite oxides (ABO3), twin domains can readily form during growth or emerge via phase transformations afterward. The inherent propensity for domain formation paves the way for tailoring the materials’ properties. For example, precise control over domain formation allows for a broad spectrum of adjustments in the magnetic and transport properties of SrRuO3, owing to the interplay between the magnetic easy axis and the crystallographic axis6. In ferroelectric perovskites, spontaneous polarization may lead to the evolution of domains from simple shapes to more intricate structures, such as nanodomains and vortices3,13,14,15, offering new opportunities for device design. In addition, domain walls naturally exhibit reduced dimensionality and different symmetry from the host material, resulting in unique physical properties5,16,17,18,19.
Unlocking the functionalities of domains and domain walls presents a pivotal challenge that necessitates high spatial resolution characterization of domain structures across large scales. This enables the understanding of individual domain behaviors and their influence on global material properties. Scanning/transmission electron microscopy (S/TEM) offers unique advantages for this purpose, including high-resolution direct imaging of domain structures and other complementing techniques such as chemical composition analysis. Techniques like TEM dark field or STEM differential phase contrast (DPC) imaging have found extensive applications in revealing ferroelastic(electric) domains, for example, in BaTiO3 and LaCoO3 at nano scale20,21,22,23,24. However, prior knowledge of the materials' structure is often essential to set up the appropriate experimental condition, and interpretation of image contrast can be ambiguous. This ambiguity can be particularly challenging in cases with a high degree of freedom in domain orientation, where structural details may be lost during the imaging process. The advent of high-speed pixelated detectors enables the capture of diffraction patterns (DPs) at each scanning position, namely 4D-STEM25,26. These DPs collectively contain the abundant structural details of local regions, thus facilitating comprehensive analysis of domains. However, the sheer amount of data generated by 4D-STEM, akin to other hyperspectral data types like electron energy loss spectroscopy (EELS), poses a significant challenge for data analysis.
One of the promising approaches is to apply machine learning (ML) algorithms to identify patterns and correlations that may not be immediately apparent27,28. This approach can be categorized into two main paradigms: supervised and unsupervised learning. In supervised learning, algorithms are trained on labeled datasets, where the model learns from input–output pairs to make predictions on new, unseen data. Conversely, unsupervised learning operates without explicit output labels, allowing algorithms to explore patterns and structures within the input data independently. Both paradigms have demonstrated notable success in data-driven microscopy analyses, with supervised learning excelling in mimicking the intricate neural structure of the human brain and identifying features of interest from microscopy data29,30. While unsupervised learning ML has proven valuable in exploratory tasks, such as unveiling internal structure and denoising hyperspectral data31,32,33,34,35,36.
In this study, we explore the potential of ML-assisted analysis of 4D-STEM data to map crystallographic domains in epitaxial oxide films. Experimentally, the 4D-STEM DPs are acquired using a fast pixelated detector. The subsequent implementation of ML to the 4D data involves several key steps. First, we extract feature vectors (FVs) from each DP using an unsupervised approach (SimSiam-based contrastive learning)37. By clustering these FVs, we can distinguish domains related by a 90-degree rotation, effectively uncovering their distinct structural characteristics. Afterwards, we employ a supervised learning approach to further differentiate domains related by mirror symmetry, akin to ferroelectric domains with opposing polarization directions. This multifaceted approach showcases resilience against diverse experimental conditions and facilitates efficient mapping across a broader field of view, thereby enhancing the statistical significance of our results. Using LaFeO3 (LFO) as a model system, we show that (1) crystallographic domains in LFO films can originate from the structural degeneracy of the substrate/film, (2) certain orientations are favored to minimize elastic energy caused by lattice mismatches, (3) domains undergo a coarsening process at elevated temperatures during in-situ annealing, and (4) the degeneracy of structural domains can be mitigated by employing a substrate with in-plane anisotropy.
Methods and results
Formation of crystallographic domains in LFO
Bulk LFO possesses an orthorhombic structure (space group: Pbnm) with lattice parameters a = 5.552 Å, b = 5.563 Å, and c = 7.843 Å, or equivalently, aPC = bPC = 3.930 Å, cPC = 3.922 Å (where PC stands for pseudo cubic and aPC = bPC = \(\sqrt {a^{2} + b^{2} } /2\), cPC = \(c/2\)), as shown in Fig. 1a. The FeO6 octahedra tilt following the a−a−c+ pattern as described by Glazer notation38, and the La atoms are displaced from the face center.
When LFO is grown as a thin film on other perovskites, its cPC axis can align with any of the substrate’s PC axes, giving rise to six potential domain configurations denoted as a ± , b ± , c ± . The alignment of crystallographic axes between each type of film domain and the substrate is illustrated Fig. 1b. Specifically a+, b+ and c+ domains are related by 90-degree rotational operations, while + and − types (e.g., c+ vs. c−) are related by mirror symmetry.
When observing along the aPC axis of the substrate, distinct domains showcase unique projected atomic structures, as illustrated in Fig. 1c–e. These differences also manifest in DPs, allowing for their differentiation through STEM. For instance, in the case of b± domains, antiparallel displacements of La in a ↑↓ pattern with a periodicity of two (Fig. 1e) result in the doubling of unit cell along <010>pc, leading to the appearance of ½ 010PC superlattice reflections in their DP (Fig. 2e). On the contrary, DPs of c± domains (Fig. 2f) do not display the same reflections but rather exhibit ½ 011 reflections, reflecting the doubling of unit cell along <011>pc (Fig. 1c).
Furthermore, the + and − variants of each domain types display similar DPs but with opposite intensity asymmetries. Similar to the breakdown of Friedel’s law in ferroelectric perovskites13, antiparallel displacements of La also leads to intensity differences of Friedel’s pairs, \(I_{{\vec{G}}}\) and \(I_{{\mathop{G}\limits^{\leftarrow} }}\). For instance, in the case of c-type domains in Fig. 2f, such intensity asymmetry can be quantified from 011 and 01-1 reflections. This characteristic allows for the differentiation between mirrored domains based on the intensity of their respective DPs.
Nevertheless, it is crucial to account for potential experimental uncertainties. Factors like sample thickness and mistilt can introduce variations in intensity asymmetry, raising the possibility of inaccurate domain determinations. For instance, simulation results for c+ domains in Fig. 2i demonstrate a reversal in intensity asymmetry between 011 and 01-1 reflections when the sample thickness changes from approximately 10 nm to about 22 nm. Furthermore, a similar reversal can occur at a constant thickness of 20 nm when the sample mistilt exceeds roughly 5 mrad. Given the inherent uncertainties in experimental scenarios, relying solely on intensity asymmetry of specific Friedel’s pairs for domain determination becomes less reliable.
Advancing beyond intensity comparison from individual Friedel’s pairs, ML emerges as a promising approach for DP analysis, revealing hidden information, such as sample thickness and strain states29,30,32, which conventional methods may overlook. By harnessing advanced pattern recognition and feature extraction techniques, ML approach provides a comprehensive evaluation of the entire 128 × 128-pixel DP. This ensures improved data efficiency and reliability in mapping domains. In our study, we investigate the potential of employing both unsupervised and supervised ML techniques to map crystallographic domains in LFO. This approach enhances robustness against experimental uncertainties, allowing for efficient mapping over a wider field of view and achieving greater statistical significance.
Implementation of unsupervised ML
In the first part of our study, we investigated the application of unsupervised ML for domain mapping in LFO epitaxial film sputtered on SrTiO3 (STO) substrate. Conventional methods, such as virtual dark field imaging, often necessitate prior knowledge of the sample to select specific reflections unique to each domain (e.g., ½ 010 for b± domains). However, this can vary from sample to sample, posing challenges in generalizing 4D-STEM analysis, especially for materials with unexpected phases. In contrast, unsupervised ML offers a more versatile and unbiased approach, as it requires no training data or prior knowledge of the sample. Instead, it autonomously identifies patterns from the raw DPs, allowing for a more flexible and data-driven analysis. This capability becomes particularly valuable when dealing with complex and unexplored materials.
The process of domain mapping using unsupervised ML is presented in Fig. 2a–g. DPs were acquired with Themis Z microscope (details in Method) at each scanning positions in the region shown in Fig. 2a, forming a 4D dataset. Subsequently, three main steps were employed to map domain: extracting one feature vector (FV) from each DP (Fig. 2b), clustering of FVs (Fig. 2c), and visualizing domain structure (Fig. 2d–g).
The extraction of FVs is pivotal in condensing the intricate information within 128 × 128-pixel DPs. This minimizes biases arising from factors beyond the material's intrinsic structures during subsequent clustering. As seen in Fig. 2e–g, high-intensity diffraction spots, containing vital structural data, represent only a small portion of the DP. In contrast, background pixels are susceptible to external noise, potentially introducing biases during clustering. Moreover, microscope misalignments like beam tilt and astigmatism can introduce artifacts, including DP shifts or distortion, further complicating reliable clustering. Hence, the imperative for enhancing the reliability and accuracy of domain mapping lies in robust feature extraction, involving dimension reduction of raw data through preprocessing. Here, we investigate the potential of an unsupervised ML approach to address this need.
A SimSiam-based contrastive learning approach was applied to extract higher-level features of each DP37 (details in Method). During each training epoch, two augmented versions of each individual pattern were generated using random affine transformations and were masked off in zero beams and other random regions, as shown in Fig. 2b. Subsequently, a ResNet-18 network39 was trained to maximize the similarity between the two augmentations in feature space. This procedure effectively eliminated irrelevant information, such as random background intensity and diffraction shifts or distortions between patterns, while preserved essential features associated with crystal structure. Ultimately, this approach yielded a compact 1 × 512 FV for each DP, enhancing the reliability and accuracy of domain mapping.
Following the extraction of FVs, they were partitioned into five clusters using KMeans algorithm, with the number of clusters determined by the elbow method40,41. The distribution of clustering results is depicted in a low-dimensional manifold structure in Fig. 2c, where the manifold structure is the projection of FVs to 3D space for visualization. Each color in Fig. 2c represents a unique group of FVs that exhibit higher similarity to one another. Finally, as each FV (or equivalently, each DP) corresponds to one pixel (scanning position), the labels obtained from the clustering results can be mapped back to real space for a better understanding of the domain structures, as depicted in Fig. 2d.
Real-space visualization in Fig. 2d unveils five distinct regions identified by unsupervised ML. The top and bottom (light and dark) gray layers correspond to amorphous Pt and STO substrate, respectively. Within the film region, three phases emerge, each displaying its averaged DPs as illustrated in Fig. 2e–g. In addition to DPs corresponding to b± (Fig. 2e) and c± (Fig. 2f) domains, a third type of DP is observed, exhibiting unique reflections originating from both phases (within the box in Fig. 2g). This distinct phase appears at the boundary between b± and c± domains in the real-space map, suggesting that it is likely attributed to the overlapping of b and c domains. The inclination of the domain walls with respect to the electron beam path leads to electron scattering from both phases, contributing to the appearance of the third DP. The discovery of this unexpected phase underscores the advantages of ML over conventional methods in uncovering complex and unforeseen material features.
The initial round of clustering effectively distinguished DPs with distinct features, such as those from different materials and LFO b and c type domains. However, mirrored domains (+ vs − types) revealed their distinctions through a subtler feature, namely intensity asymmetry. A second round of clustering was attempted on the FVs corresponding to c domains, aiming to distinguish c+ and c− domains. However, the results (not shown here) were found to be more sensitive to sample tilt and/or thickness rather than the specific phase of interest. This can be attributed to the unsupervised nature of the contrastive learning approach, which inherently emphasizes the most prominent features in the data. Consequently, the clustering process may be influenced by factors not directly related to the crystallographic domains of interest, leading to inaccuracies in domain mapping. To overcome these challenges, we turn our attention to supervised learning approaches.
Implementation of supervised ML
By leveraging labeled training data, supervised learning can guide the model to focus on specific features related to mirrored domains, allowing for a more targeted and precise identification. Specially, we employed muSTEM42 to simulate labelled DPs for the c+ and c− domains, incorporating different experimental conditions such as sample thickness, mistilt, and defocus (details in Method). The labelled dataset was then used to train a ResNet-18 network, enabling the model to learn more discriminative features specific to the phase of interest. As a result, the model successfully differentiate of c± domains from c type domains, as illustrated in Fig. 2h comparing to Fig. 2d. For validation and sanity checks, atomic resolution images are obtained from the determined domain boundaries (boxed region in Fig. 2h), as shown in Fig. 2j. The atomic arrangements clearly exhibited changes across the boundaries, in agreement with the predicted phase, further confirming the reliability and accuracy of domain mapping using ML-assisted analysis of 4D-STEM dataset.
Biased formation of LFO domains on STO substrate
The closely matched crystal structure between LFO and STO facilitates the formation of domains. However, the specific types primarily result from the need to minimize elastic energy due to lattice mismatch. In the case of LFO/STO heterostructures, LFO has an orthorhombic cell with aPC = bPC = 3.930 Å, cPC = 3.922 Å, while STO has a cubic unit cell with aPC = bPC = cPC = 3.905 Å. Given that all three principal axes of LFO are longer than their counterparts in STO, the arrangement least favorable to minimizing compressive strain involves aligning the shortest axis cPC perpendicular to the substrate, thereby precluding the observation of a ± domains. Conversely, when considering the equivalent in-plane principal axes of STO, the LFO cPC axis have an equal chance to align with any of the four in-plane axes of STO (Fig. 1b). Consequently, both c and b domains may form in equal proportion, alongside mirrored domains represented by c+ and c− types, with equal proportions observed within the c domain groups (25% c+, 25% c−, 50% b).
As expected, domain mapping in Fig. 2h reveals both c and b-type domains but not a-type. To further validate this hypothesis, accounting for domain size and local inhomogeneity, a larger field of view was necessary. Thus, three TEM lamellas were extracted from various locations of the thin film sample, each yielding a 4D-STEM dataset comprising 80 × 1024 DPs. These datasets covered a total length of 1.5 µm. The datasets were acquired using uncorrected Titan STEM at a voltage of 300 kV and a semi-convergence angle of 1.25 mrad. Despite the presence of thickness gradient and substantial mistilt (> 5 mrad in Fig. 3h) due to the extended field of view, the ML method effectively clustered the DPs into different phases, as shown in Fig. 3a–c. The volume fraction of each phase is summarized in the pie chart in Fig. 3d. The results affirm the previously discussed hypothesis that particular domain types are preferred due to their ability to minimize elastic energy from lattice mismatch.
Coarsening of domains at elevated temperature
Understanding the evolution of domain structures at elevated temperatures holds importance in deciphering the mechanisms governing domain formation and stability. Among the suggested mechanisms for domain formation is the phase transition that takes place during the cooling from the growth temperature to room temperature. In the case of LFO, it undergoes phase transformations upon heating from Pbnm to \({{R\overline{3}c}}\) and \({{Pm\overline{3}m}}\) at 1200 K and 1600 K, respectively43. As a result, annealing the film has the potential to reset the domain structure. To explore this hypothesis, in-situ experiments are performed using a DENs Solutions Wildfire heating holder to track the evolution of domain structures during heating.
The domain maps obtained at 300 K after heat treatment at 600 K, 900 K, and 1200 K for ~ 5 min are depicted in Fig. 4b–d, revealing a coarsening of domains compared to the as-prepared sample in Fig. 4a. Notably, the regions identified as domain walls gradually disappear after heat treatment at 600 K and 900 K, with the most significant change occurring at 1200 K, which coincides with the Pbnm to \({{R\overline{3}c}}\) phase transition temperature. This observation suggests that the domains develop boundaries parallel to the electron beam direction rather than being inclined, likely due to the coarsening of domains along the TEM lamella thickness direction.
Furthermore, the original evenly distributed b/c domains (Fig. 4a) undergo a shift towards a b-type-favorable distribution (Fig. 4d) upon heat treatment. This shift is attributed to the broken in-plane lattice isotropy of STO due to the finite size of the TEM lamella. The lamella's dimensions, which are significantly smaller along the thickness direction (< 100 nm) compared to its length (> 10 µm), likely induce anisotropic expansion of the STO substrate during heating as comparing to isotropic expansion in bulk form. This anisotropic expansion leads to a more significant increase in the lattice parameter along the lamella's thickness direction, breaking the energy degeneracy between b/c domains. Consequently, the LFO cPC axis favors alignment along the lamella length direction, resulting in a higher prevalence of b domains.
Control domain formation with substrate
The crystal symmetry of the substrate is another significant factor influencing domain structure. In the case of cubic-symmetric substrates like STO, the equivalent in-plane axes result in an equal distribution of b/c domains. However, for an orthorhombic perovskite such as DyScO3 (DSO, aPC = bPC = 3.951 Å, cPC = 3.957 Å, a−a−c+ tilting pattern), it is expected that the degeneracy is lifted, leading to an imbalanced domain distribution or even a monodomain. To investigate the impact of substrate crystal symmetry, LFO thin film was sputtered under the same conditions but on DSO (001) substrate, as shown in Fig. 4e. Despite the substantial in-plane rotation between the film and substrate, LFO exhibited a monodomain.
The averaged diffraction pattern over the entire film region in Fig. 4f corresponds to an a-type domain. Upon closer examination at the interface, as seen in Fig. 4g, atomic-resolution imaging revealed lateral displacements of the La columns, following the Dy displacement pattern of the substrate and aligning with the expected atomic arrangements of a-type domain (Fig. 1d). This configuration minimizes elastic energy caused by tensile strain by aligning the shortest axis of LFO (cPC) along out-of-plane direction. These findings underscore the critical role of crystal symmetry in determining domain structure.
Summary and discussion
In this study, we explore the application of unsupervised and supervised ML to analyze 4D-STEM dataset for domain mapping, which demonstrates robustness against experimental uncertainties beyond conventional methods. In the first part, by extracting FVs and clustering them with unsupervised ML schemes, DPs with distinct features, such as those from different materials or 90-degree domains are effectively distinguished (cf. Fig. 2d).
While dark field imaging can potentially achieve similar results, the ML method possesses key advantages, notably its independence from prior knowledge to set up specific experimental conditions and its capacity to simultaneously handle multiple phases without the need for additional experimental setups. This versatility allows the ML approach to uncover unexpected phases, exemplified by the detection of overlapped domains in the film region of Fig. 2d (gray phase). Moreover, the application of unsupervised ML offers a more robust and unambiguous approach to phase partitioning.
However, the intensity asymmetry for mirrored (+/− type) domains is not picked up by the unsupervised ML algorithm, because sample thickness and tilt could change the intensity in a similar fashion but in a more dominant way. Therefore, a second supervised ML network is trained on labelled simulation DPs covering different experimental conditions, which successfully differentiates c+/− phase. For the training of supervised ML, it is necessary to generate synthetic data via simulation due to the difficulty in obtaining labelled experimental data. Ensuring that the simulated data is a good representation of experimental data is therefore crucial. In Fig. 2, collection was conducted using a probe-corrected system, resulting in data that closely resembles the simulated ones. Conversely, in Figs. 3 and 4, an uncorrected microscope was employed for data collection. This choice of instrumentation may lead to DPs that differed more from the simulations, contributing to higher levels of noise in the phase maps. Factors such as the larger scanning step size and convergence angle used in these experiments further contributed to the deviation from the ideal conditions used in simulation.
Overall, in this work, we employed ML algorithms to map the crystallographic domain structures in LFO films and apply this method to study the impact of temperature and substrate symmetry on domain formation. The result reveals the mechanism for domain formation and evolution. The methodology use in this work could also be readily generalized to other systems with complicated domain structure. For instance, ferroelectric materials have gained much attention, especially ones with complex phases such as polar vortices. Mapping these structures over a larger scale in STEM for statistical analysis can be challenging due to unknown experimental conditions. Since the polar displacement alters the intensity asymmetry of DPs in a similar fashion to the mirrored crystallographic domains, it is possible to train regression ML network to map out the polarization direction and magnitude.
Materials and methods
Epitaxial thin-film growth
LaFeO3 films of high crystalline quality were grown on both TiO2 terminated SrTiO3(100) substrates and solvent washed DyScO3(001) substrates by way of off-axis magnetron sputtering44. SrTiO3(100) substrates were prepared by soaking in DI H2O at 80 °C for 5 min, then soaked in buffer Hydrofluoric acid for 28 s, and rinsed in DI H2O. SrTiO3 substrates were then annealed at 1050 °C for 2 h for better terrace formation. DyScO3(001) substrates were soaked in Acetone for 5 min and Isopropanol for 3 min with light sonication, and then rinsed in DI H2O. No annealing was done to DyScO3 substrates. Films were grown in a temperature range between 400 and 500 °C, with a 5% O2 and Ar gas mixture, and at a rate of 1nim/min.
Scanning transmission electron microscopy
TEM samples were produced following standard lifting-out procedure using the FEI Helios NanoLab 600 FIB/SEM system. Thinning to electron transparency was achieved by progressively reducing the energy of the Ga beam, starting from 30 kV down to 5 kV.
Four-dimensional scanning transmission electron microscopy (4D-STEM) datasets were acquired using Electron Microscopy Pixel Array Detector (EMPAD). Data presented in Fig. 2 was collected with a probe-aberration corrected Thermo Fisher Scientific Themis Z G2 microscope, operating at an acceleration voltage of 300 kV and a semi-convergence angle of 0.5 mrad. Data presented in Figs. 3 and 4 was collected with an uncorrected Thermo Fisher Scientific Titan microscope at an acceleration voltage of 300 kV and a semi-convergence angle of 1.25 mrad.
In operando heating
Sample for in operando heating (Fig. 4a–c) was prepared by lifting-out and transferring a cross-sectional lamella onto dedicated microelectromechanical systems (MEMS) chip using FEI Helios NanoLab 600 FIB/SEM system. The heating experiment was carried out with DENs solutions wildfire heating holder.
Throughout the experiment, the sample underwent heating cycle following the sequence: 300 K → 600 K (~ 5 min) → 300 K → 900 K (~ 5 min) → 300 K → 1200 K (~ 5 min) → 300 K. Data presented in Fig. 4a–c was acquired from the identical region of the sample at 300 K after the heating cycle at the corresponding temperature.
Machine learning
Extraction of FVs for unsupervised ML was conducted following a SimSiam contrastive learning scheme. The code base is publicly available at https://github.com/PatrickHua/SimSiam. The task-specific augmentations used, as well as the FVs extracted for data presented in Fig. 2 can be accessed at https://doi.org/10.5281/zenodo.8349542. The SimSiam (Similarity-based Self-Supervised Learning) approach employs a dual neural network architecture, where the task of predicting a target representation from another representation (i.e., two different augmentations) of the same image fosters feature learning. In our study, diverse augmentations of the same DPs are generated through steps, such as random affine transformations simulating scan distortions and random masking of the zero beam, which carries minimal information about domain types. By prioritizing similarity maximization between the two augmented versions of each DP, the model effectively reduces the dimensionality of the DPs, emphasizing features most relevant to domain types. This approach proves instrumental in enhancing the efficiency of feature extraction while mitigating the impact of noise and irrelevant information.
Supervised ML involved training a neural network with a ResNET-18 structure45. The code base is publicly available at https://github.com/tding1/Neural-Collapse. To generate the training data, muSTEM was utilized to simulated DPs from c+ and c− domians, covering a range of simulation parameters. This parameter matrix included sample mistilt values ranging from 0 to 15 mrad in 1 mrad increments, sample thickness values from 10 to 75 nm in approximately 1.5 nm increments, and defocus values from −100 to 100 Å in 100 Å increments. Each simulated DP is paired with a categorical label denoting its corresponding domain type (i.e., 0 for c+ and 1 for c−). The neural network is structured to take an DP as input and make predictions on the domain type as output (0 vs. 1). Throughout each training epoch, the neural network iteratively conducts predictions on the domain types of all simulated DPs. Subsequently, its parameters are adjusted to minimize the dissonance between predictions and labels, iterated until the desired level of accuracy is attained.
Data availability
Experimental and simulation data are provided in the figures. Raw 4D-STEM data used for analysis in Fig. 2 are publicly available at https://doi.org/10.5281/zenodo.8349542. Additional data are available from the corresponding authors upon request.
Change history
17 April 2024
A Correction to this paper has been published: https://doi.org/10.1038/s41598-024-59454-0
References
Thiel, S., Hammerl, G., Schmehl, A., Schneider, C. W. & Mannhart, J. Tunable quasi-two-dimensional electron gases in oxide heterostructures. Science 313, 1942–1945. https://doi.org/10.1126/SCIENCE.1131091 (2006).
Reyren, N. et al. Superconducting interfaces between insulating oxides. Science 317, 1196–1199. https://doi.org/10.1126/SCIENCE.1146006/SUPPL_FILE/REYREN_SOM_REV.PDF (2007).
Ramesh, R. & Schlom, D. G. Creating emergent phenomena in oxide superlattices. Nat. Rev. Mater. 4, 257–268. https://doi.org/10.1038/s41578-019-0095-2 (2019).
Hwang, H. Y. et al. Emergent phenomena at oxide interfaces. Nat. Mater. 11, 103–113. https://doi.org/10.1038/nmat3223 (2012).
Rojac, T. et al. Domain-wall conduction in ferroelectric BiFeO3 controlled by accumulation of charged defects. Nat. Mater. 16, 322–327. https://doi.org/10.1038/nmat4799 (2017).
Wang, W. et al. Magnetic domain engineering in SrRuO3 thin films. Npj Quant. Mater. 2020(51), 1–7. https://doi.org/10.1038/s41535-020-00275-5 (2020).
Seo, J. W., Dieker, C., Fompeyrine, J., Siegwart, H. & Locquet, J.-P. Structural domains in antiferromagnetic LaFeO 3 thin films. Int. J. Mater. Res. 97, 943–947. https://doi.org/10.3139/146.101323 (2006).
Zhang, Q. H. et al. Direct observation of interlocked domain walls in hexagonal RMnO 3 (R=Tm, Lu). Phys. Rev. B Condens. Matter Mater. Phys. 85, 020102. https://doi.org/10.1103/PHYSREVB.85.020102/FIGURES/4/MEDIUM (2012).
Nakajima, H. et al. Charged domain boundaries stabilized by translational symmetry breaking in the hybrid improper ferroelectric Ca3–xSrxTi2O7. Commun. Mater. 2, 109. https://doi.org/10.1038/s43246-021-00215-1 (2021).
Newnham, R. E. Domains in ferroic crystals and thin films. Integr. Ferroelectr. https://doi.org/10.1093/oso/9780198520757.003.0018 (2004).
Zhang, H.-Y. et al. Observation of vortex domains in a two-dimensional lead iodide perovskite ferroelectric. J. Am. Chem. Soc. 142, 4925–4931. https://doi.org/10.1021/jacs.0c00371 (2020).
Lipatov, A., Li, T., Vorobeva, N. S., Sinitskii, A. & Gruverman, A. Nanodomain engineering for programmable ferroelectric devices. Nano Lett. 19, 3194–3198. https://doi.org/10.1021/acs.nanolett.9b00673 (2019).
Shao, Y.-T. et al. Emergent Chirality in a Polar Meron to Skyrmion Phase Transition https://doi.org/10.1038/s41467-023-36950-x (2023).
Yadav, A. K. et al. Observation of polar vortices in oxide superlattices. Nature 530, 198–201. https://doi.org/10.1038/nature16463 (2016).
Susarla, S. et al. Atomic scale crystal field mapping of polar vortices in oxide superlattices. Nat. Commun. 12, 6273. https://doi.org/10.1038/s41467-021-26476-5 (2021).
Meier, D. & Selbach, S. M. Ferroelectric domain walls for nanotechnology. Nat. Rev. Mater. 7, 157–173. https://doi.org/10.1038/s41578-021-00375-z (2021).
Wu, H. et al. Recent progress on the structural characterizations of domain structures in ferroic and multiferroic perovskite oxides: A review. J. Eur. Ceram. Soc. 35, 411–441. https://doi.org/10.1016/j.jeurceramsoc.2014.09.037 (2015).
Li, L., Xie, L. & Pan, X. Real-time studies of ferroelectric domain switching: A review. Rep. Prog. Phys. 82, 126502. https://doi.org/10.1088/1361-6633/ab28de (2019).
Becher, C. et al. Strain-induced coupling of electrical polarization and structural defects in SrMnO3 films. Nat. Nanotechnol. 10, 661–665. https://doi.org/10.1038/nnano.2015.108 (2015).
Denneulin, T. & Everhardt, A. S. A transmission electron microscopy study of low-strain epitaxial BaTiO 3 grown onto NdScO 3. J. Phys. Condens. Matter. 34, 235701. https://doi.org/10.1088/1361-648X/ac5db3 (2022).
Nelson, C. T. et al. Spontaneous vortex nanodomain arrays at ferroelectric heterointerfaces. Nano Lett. 11, 828–834. https://doi.org/10.1021/NL1041808/SUPPL_FILE/NL1041808_SI_001.PDF (2011).
Theissmann, R. et al. Nanodomains in morphotropic lead zirconate titanate ceramics: On the origin of the strong piezoelectric effect. J. Appl. Phys. 102, 4589. https://doi.org/10.1063/1.2753569/379952 (2007).
Vullum, P. E. et al. Monoclinic ferroelastic domains in LaCoO3-based perovskites. Adv. Mater. 19, 4399–4403. https://doi.org/10.1002/adma.200700021 (2007).
Kim, C.-H., Cho, S.-Y., Kim, I.-T., Cho, W.-J. & Hong, K.-S. Twin structures in lanthanum, praseodymium, and neodymium aluminate ceramics. Mater. Res. Bull. 36, 1561–1571. https://doi.org/10.1016/S0025-5408(01)00495-0 (2001).
Ophus, C. Four-dimensional scanning transmission electron microscopy (4D-STEM): From scanning nanodiffraction to ptychography and beyond. Microsc. Microanal. 2019, 563–582. https://doi.org/10.1017/S1431927619000497 (2019).
Tate, M. W. et al. High dynamic range pixel array detector for scanning transmission electron microscopy. Microsc. Microanal. 22, 237–249. https://doi.org/10.1017/S1431927615015664 (2016).
Botifoll, M., Pinto-Huguet, I. & Arbiol, J. Machine learning in electron microscopy for advanced nanocharacterization: Current developments, available tools and future outlook. Nanoscale Horizons. 7, 1427–1477. https://doi.org/10.1039/D2NH00377E (2022).
Kalinin, S. V. et al. Machine learning in scanning transmission electron microscopy. Nat. Rev. Methods Prim. 2, 11. https://doi.org/10.1038/s43586-022-00095-w (2022).
Xu, W. & LeBeau, J. M. M. A deep convolutional neural network to analyze position averaged convergent beam electron diffraction patterns. Ultramicroscopy 188, 59–69. https://doi.org/10.1016/j.ultramic.2018.03.004 (2018).
Zhang, C., Feng, J., DaCosta, L. R. & Voyles, P. M. M. Atomic resolution convergent beam electron diffraction analysis using convolutional neural networks. Ultramicroscopy 210, 112921. https://doi.org/10.1016/j.ultramic.2019.112921 (2020).
Li, X. et al. Manifold learning of four-dimensional scanning transmission electron microscopy. Npj Comput. Mater. 5, 5. https://doi.org/10.1038/s41524-018-0139-y (2019).
Shi, C. et al. Uncovering material deformations via machine learning combined with four-dimensional scanning transmission electron microscopy. Npj Comput. Mater. 8, 114. https://doi.org/10.1038/s41524-022-00793-9 (2022).
Dan, J., Zhao, X. & Pennycook, S. J. A machine perspective of atomic defects in scanning transmission electron microscopy. InfoMat 1, 359–375. https://doi.org/10.1002/inf2.12026 (2019).
Hsiao, H.-W. et al. Data-driven electron-diffraction approach reveals local short-range ordering in CrCoNi with ordering effects. Nat. Commun. 13, 6651. https://doi.org/10.1038/s41467-022-34335-0 (2022).
Pate, C. M., Hart, J. L. & Taheri, M. L. RapidEELS: Machine learning for denoising and classification in rapid acquisition electron energy loss spectroscopy. Sci. Rep. 11, 19515. https://doi.org/10.1038/s41598-021-97668-8 (2021).
Lewis, N. R. et al. Forecasting of in situ electron energy loss spectroscopy. Npj Comput. Mater. 8, 1–9. https://doi.org/10.1038/s41524-022-00940-2 (2022).
Chen, X. & He, K. Exploring simple siamese representation learning. In Proc. IEEE Comput. Soc. Conf. Comput. Vis. Pattern Recognit. 15745–15753 (2020).
Structure, C. et al. The classification of tilted octahedra in perovskites. Acta Crystallogr. Sect. B. 28, 3384–3392. https://doi.org/10.1107/S0567740872007976 (1972).
He, K., Zhang, X., Ren, S. & Sun, J. Deep residual learning for image recognition. In Proc. IEEE Comput. Soc. Conf. Comput. Vis. Pattern Recognit. 2016-Decem 770–778 (2015). https://arxiv.org/abs/1512.03385v1 (accessed 15 Nov 2022).
Hartigan, J. A. & Wong, M. A. Algorithm AS 136: A K-means clustering algorithm. Appl. Stat. 28, 100. https://doi.org/10.2307/2346830 (1979).
Syakur, M. A., Khotimah, B. K., Rochman, E. M. S. & Satoto, B. D. Integration K-means clustering method and elbow method for identification of the best customer profile cluster. IOP Conf. Ser. Mater. Sci. Eng. 336, 012017. https://doi.org/10.1088/1757-899X/336/1/012017 (2018).
Allen, L. J., D’Alfonso, A. J. & Findlay, S. D. Modelling the inelastic scattering of fast electrons. Ultramicroscopy. 151, 11–22. https://doi.org/10.1016/j.ultramic.2014.10.011 (2015).
Selbach, S. M., Tolchard, J. R., Fossdal, A. & Grande, T. Non-linear thermal evolution of the crystal structure and phase transitions of LaFeO3 investigated by high temperature X-ray diffraction. J. Solid State Chem. 196, 249–254. https://doi.org/10.1016/j.jssc.2012.06.023 (2012).
Yang, F. & Hammel, P. C. FMR-driven spin pumping in Y3Fe5O12-based structures. J. Phys. D. Appl. Phys. 51, 253001. https://doi.org/10.1088/1361-6463/AAC249 (2018).
Zhu, Z. et al. A geometric analysis of neural collapse with unconstrained features. Adv. Neural Inf. Process. Syst. 36, 29820–29834. https://doi.org/10.48550/arxiv.2105.02375 (2021).
Acknowledgements
Authors acknowledge the support by Center for Emergent Materials (CEM), a National Science Foundation MRSEC under NSF Award Number DMR-2011876. Electron microscopy was performed at the Center for Electron Microscopy and Analysis (CEMAS) at The Ohio State University. X-ray diffraction and Atomic Force Micrscopy were performed at the Nanotech West Laboratory at The Ohio State University.
Author information
Authors and Affiliations
Contributions
M.Z. conducted the electron microscopy experiments and data analysis. B.H., D.R, and V.B prepared targets for the growth of LFO samples. J.L. and J.F. grew the LFO thin films. J.H., F.Y. and P.W. guided the research. All authors co-wrote and edited the manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
The original online version of this Article was revised: The original version of this Article contained errors in Figure 2, where the text between panels (a) – (d) – (h), as well as the text between panels (b) and (c) did not display correctly. Full information regarding the corrections made can be found in the correction for this Article.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Zhu, M., Lanier, J., Flores, J. et al. Structural degeneracy and formation of crystallographic domains in epitaxial LaFeO3 films revealed by machine-learning assisted 4D-STEM. Sci Rep 14, 4198 (2024). https://doi.org/10.1038/s41598-024-54661-1
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-024-54661-1
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.