Contrast Transfer Functions Help Quantify Neural Network Out-Of-Distribution Generalization in HRTEM.
Open Access
- 1 July 2026
- journal article
- Published by Oxford University Press (OUP) in Microscopy and Microanalysis
- Vol. 32 (4)
Abstract
Neural networks, while effective for tackling many challenging scientific tasks, are not known to perform well out-of-distribution (OOD), i. within domains which differ from their training data. Understanding neural network OOD generalization is paramount to their successful deployment in experimental workflows, especially when ground-truth knowledge about the experiment is hard to establish or experimental conditions significantly vary. With inherent access to ground-truth information and fine-grained control of underlying distributions, simulation-based data curation facilitates precise investigation of OOD generalization behavior. Here, we probe generalization with respect to imaging conditions of neural network segmentation models for high-resolution transmission electron microscopy (HRTEM) imaging of nanoparticles, training and measuring the OOD generalization of over 12,000 neural networks using synthetic data generated via random structure sampling and multislice simulation. Using the HRTEM contrast transfer function, we further develop a framework to compare information content of HRTEM datasets and quantify OOD domain shifts. We demonstrate that neural network segmentation models enjoy significant performance stability, but will smoothly and predictably worsen as imaging conditions shift from the training distribution. Lastly, we consider limitations of our approach in explaining other OOD shifts, such as of the atomic structures, and discuss complementary techniques for understanding generalization in such settings.Keywords
All Related Versions
Funding Information
- Office of Science
- Basic Energy Sciences
- U.S. Department of Energy
- Advanced Scientific Computing Research
- Department of Energy Computational Science Graduate Fellowship
This publication has 48 references indexed in Scilit:
- Deep Learning Analysis of Solid‐Electrolyte Interphase Microstructures in Lithium‐Ion BatteriesAdvanced Materials Interfaces, 2025
- SAM-I-Am: Semantic boosting for zero-shot atomic-scale electron micrograph segmentationComputational Materials Science, 2024
- Prismatic 2.0 – Simulation software for scanning and high resolution transmission electron microscopy (STEM and HRTEM)Micron, 2021
- Advanced Computing in Electron Microscopy2020
- A Deep Learning Approach to Identify Local Structures in Atomic‐Resolution Transmission Electron Microscopy ImagesAdvanced Theory and Simulations, 2018
- U-Net: Convolutional Networks for Biomedical Image Segmentation2015
- A theory of learning from different domainsMachine Learning, 2009
- Ultimate resolution and information in electron microscopy II. The information limit of transmission electron microscopesUltramicroscopy, 1993
- Ultimate resolution and information in electron microscopy: general principlesUltramicroscopy, 1992
- Information transfer in transmission electron microscopyUltramicroscopy, 1984