Benchmarking Machine Learning Approaches for Polarization Mapping in Ferroelectrics Using 4D-STEM
Organizations: Jožef Stefan Institute, Jamova 39, Ljubljana, Slovenia
Abstract
Four-dimensional scanning transmission electron microscopy (4D-STEM) provides rich, atomic-scale insights into materials structures. However, extracting specific physical properties - such as polarization directions essential for understanding functional properties of ferroelectrics - remains a significant challenge. In this study, we systematically benchmark multiple machine learning models, namely ResNet, VGG, a custom convolutional neural network, and PCA-informed k-Nearest Neighbors, to automate the detection of polarization directions from 4D-STEM diffraction patterns in ferroelectric potassium sodium niobate. While models trained on synthetic data achieve high accuracy on idealized synthetic diffraction patterns of equivalent thickness, the domain gap between simulation and experiment remains a critical barrier to real-world deployment. In this context, a custom made prototype representation training regime and PCA-based methods, combined with data augmentation and filtering, can better bridge this gap. Error analysis reveals periodic missclassification patterns, indicating that not all diffraction patterns carry enough information for a successful classification. Additionally, our qualitative analysis demonstrates that irregularities in the model's prediction patterns correlate with defects in the crystal structure, suggesting that supervised models could be used for detecting structural defects. These findings guide the development of robust, transferable machine learning tools for electron microscopy analysis.
Figures & tables
| Dataset | Conv (Reg) | Conv (Cls) | Conv (Proto) | VGG (Reg) | VGG (Cls) | VGG (Proto) | ResNet (Reg) | ResNet (Cls) | ResNet (Proto) | PCA |
|---|---|---|---|---|---|---|---|---|---|---|
| Synthetic test | ||||||||||
| 1S-LU-6x6-20nm | ||||||||||
| Maj. Class | RU | LU | LU | RU | LU | LU | RU | LU | LU | LU |
| 3S-RM-2x2-20nm | ||||||||||
| Maj. Class | RM | RM | RM | RM | RM | RM | RM | RM | RM | RM |
| 5S-RU-6x6-20nm |
| Dataset | Conv (Reg) | Conv (Cls) | Conv (Proto) | VGG (Reg) | VGG (Cls) | VGG (Proto) | ResNet (Reg) | ResNet (Cls) | ResNet (Proto) | PCA |
|---|---|---|---|---|---|---|---|---|---|---|
| Synthetic test | ||||||||||
| 1S-LU-6x6-20nm | ||||||||||
| Maj. Class | RU | LU | MD | RU | MU | LU | RU | LU | RD | LU |
| 3S-RM-2x2-20nm | ||||||||||
| Maj. Class | RM | RM | MD | RU | MU | RM | RM | RM | RD | RM |
| 5S-RU-6x6-20nm |
| Dataset | Conv (Reg) | Conv (Cls) | Conv (Proto) | VGG (Reg) | VGG (Cls) | VGG (Proto) | ResNet (Reg) | ResNet (Cls) | ResNet (Proto) | PCA |
|---|---|---|---|---|---|---|---|---|---|---|
| Synthetic test | ||||||||||
| 1S-LU-6x6-20nm | ||||||||||
| Maj. Class | RU | LU | LU | RU | MD | LU | RU | LU | LU | LU |
| 3S-RM-2x2-20nm | ||||||||||
| Maj. Class | RM | RM | RM | RM | MD | RM | RM | RM | RM | RM |
| 5S-RU-6x6-20nm |
Sim-to-Real Transfer
Simulation-to-reality transfer adapts models and policies trained in simulation for reliable performance in physical or otherwise real-world settings.
See all 316 papers