journal article·2025-10-29Open access

Generative learning of morphological and contrast heterogeneities for self-supervised electron micrograph segmentation

Wenhao Yuan, Bingqing Yao, Shengdong Tan, Fengqi You, Qian He

npj Computational Materials· Volume 11· Issue 1

Abstract

Deep learning in electron microscopy (EM) data analysis is predominantly supervised, relying on manually labeled data. This dependence limits scalability and slows the development of high-throughput EM characterization of materials. While simulation-based approaches provide an alternative, they often struggle with morphological heterogeneity, contrast complexity, and experimental artifacts, reducing their real-world effectiveness. We introduce EMcopilot, a closed-loop generative learning framework that enables label-free EM segmentation. EMcopilot leverages the general vision model to extract morphological priors and employs a conditional generative adversarial network to generate contrast-aware images. An EM-specific domain adapter further enhances realism by modeling key microscope-specific perturbations. Benchmark results show that EMcopilot-trained models not only achieve segmentation accuracy comparable to human-annotated models but also outperform them in detecting nanoparticles in poor-contrast regions and spatially clustered configurations, overcoming inherent human biases in annotation. By illustrating how generative models distill and transform complex EM features into a robust training resource in a self-supervised manner, EMcopilot provides a scalable solution for automated microscopy analysis.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Advanced Electron Microscopy Techniques and Applications · Machine Learning in Materials Science · Electron and X-Ray Spectroscopy Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (61)

Show source-provided references
1. Zeni, C. et al. A generative model for inorganic materials design. Nature 639, 624–632 (2025).10.1038/s41586-025-08628-5 ↗
2. Merchant, A. et al. Scaling deep learning for materials discovery. Nature 624, 80–85 (2023).10.1038/s41586-023-06735-9 ↗
3. Wang, Z., Chen, A., Tao, K., Han, Y. & Li, J. MatGPT: a vane of materials informatics from past, present, to future. Adv. Mater. 36, 2306733 (2024).10.1002/adma.202306733 ↗
4. Wang, Z. L. et al. AlphaMat: a material informatics hub connecting data, features, models and applications. NPJ Comput. Mater. 9, 130 (2023).10.1038/s41524-023-01086-5 ↗
5. Wang, Z. et al. Interpretable surrogate learning for electronic material generation. ACS Nano 18, 33587–33601 (2024).10.1021/acsnano.4c12166 ↗
6. Ren, Z. C., Ren, Z. K., Zhang, Z., Buonassisi, T. & Li, J. Autonomous experiments using active learning and AI. Nat. Rev. Mater. 8, 563–564 (2023).10.1038/s41578-023-00588-4 ↗
7. Abolhasani, M. & Kumacheva, E. The rise of self-driving labs in chemical and materials sciences. Nat. Synth. 2, 483–492 (2023).10.1038/s44160-022-00231-0 ↗
8. Szymanski, N. J. et al. An autonomous laboratory for the accelerated synthesis of novel materials. Nature 624, 86–91 (2023).10.1038/s41586-023-06734-w ↗
9. Rossi, K. et al. Quantitative description of metal center organization and interactions in single-atom catalysts. Adv. Mater. 36, e2307991 (2024).10.1002/adma.202307991 ↗
10. Lee, C. H. et al. Deep learning enabled strain mapping of single-atom defects in two-dimensional transition metal dichalcogenides with sub-picometer precision. Nano Lett. 20, 3369–3377 (2020).10.1021/acs.nanolett.0c00269 ↗
11. Lin, R., Zhang, R., Wang, C., Yang, X. Q. & Xin, H. L. TEMImageNet training library and AtomSegNet deep-learning models for high-precision atom segmentation, localization, denoising, and deblurring of atomic-resolution images. Sci. Rep. 11, 5386 (2021).10.1038/s41598-021-84499-w ↗
12. Ziatdinov, M., Ghosh, A., Wong, C. Y. & Kalinin, S. V. AtomAI framework for deep learning analysis of image and spectroscopy data in electron and scanning probe microscopy. Nat. Mach. Intell. 4, 1101–1112 (2022).10.1038/s42256-022-00555-8 ↗
13. Ni, H. et al. Quantifying atomically dispersed catalysts using deep learning assisted microscopy. Nano Lett. 23, 7442–7448 (2023).10.1021/acs.nanolett.3c01892 ↗
14. Mill, L. et al. Synthetic image rendering solves annotation problem in deep learning nanoparticle segmentation. Small Methods 5, 2100223 (2021).10.1002/smtd.202100223 ↗
15. Borshon, I. Z. et al. Predicting column heights and elemental composition in experimental transmission electron microscopy images of high-entropy oxides using deep learning. NPJ Comput. Mater. 10, 275 (2024).10.1038/s41524-024-01461-w ↗
16. Ma, B. et al. Data augmentation in microscopic images for material data mining. NPJ Comput. Mater. 6, 125 (2020).10.1038/s41524-020-00392-6 ↗
17. Mitchell, S. et al. Automated image analysis for single-atom detection in catalytic materials by transmission electron microscopy. J. Am. Chem. Soc. 144, 8018–8029 (2022).10.1021/jacs.1c12466 ↗
18. Liu, L. & Corma, A. Confining isolated atoms and clusters in crystalline porous materials for catalysis. Nat. Rev. Mater. 6, 244–263 (2021).10.1038/s41578-020-00250-3 ↗
19. Chao, H. Y. et al. In situ and emerging transmission electron microscopy for catalysis research. Chem. Rev. 123, 8347–8394 (2023).10.1021/acs.chemrev.2c00880 ↗
20. Ramesh, R. & Schlom, D. G. Creating emergent phenomena in oxide superlattices. Nat. Rev. Mater. 4, 257–268 (2019).10.1038/s41578-019-0095-2 ↗
21. Li, T., Deng, S., Liu, H. & Chen, J. Insights into strain engineering: from ferroelectrics to related functional materials and beyond. Chem. Rev. 124, 7045–7105 (2024).10.1021/acs.chemrev.3c00767 ↗
22. Pennycook, S. J. & Jesson, D. E. High-resolution Z-contrast imaging of crystals. Ultramicroscopy 37, 14–38 (1991).10.1016/0304-3991(91)90004-P ↗
23. Treder, K. P. et al. nNPipe: a neural network pipeline for automated analysis of morphologically diverse catalyst systems. NPJ Comput. Mater. 9, 18 (2023).10.1038/s41524-022-00949-7 ↗
24. Khan, A., Lee, C. H., Huang, P. Y. & Clark, B. K. Leveraging generative adversarial networks to create realistic scanning transmission electron microscopy images. NPJ Comput. Mater. 9, 85 (2023).10.1038/s41524-023-01042-3 ↗
25. Kalinin, S. V. et al. Machine learning in scanning transmission electron microscopy. Nat. Rev. Methods Prim. 2, 11 (2022).10.1038/s43586-022-00095-w ↗
26. Kalinin, S. V. et al. Machine learning for automated experimentation in scanning transmission electron microscopy. NPJ Comput. Mater. 9, 227 (2023).10.1038/s41524-023-01142-0 ↗
27. Lobato, I. & Van Dyck, D. MULTEM: a new multislice program to perform accurate and fast electron diffraction and imaging simulations using Graphics Processing Units with CUDA. Ultramicroscopy 156, 9–17 (2015).10.1016/j.ultramic.2015.04.016 ↗
28. Goodfellow, I. J. et al. Generative adversarial nets. NeurIPS 27, 2672–2680 (2014).
29. Zhang, D. D. et al. Micro-object pose estimation with sim-to-real transfer learning using small dataset. Commun. Phys. 5, 80 (2022).10.1038/s42005-022-00844-z ↗
30. Gao, C. et al. Synthetic data accelerates the development of generalizable learning-based algorithms for X-ray image analysis. Nat. Mach. Intell. 5, 294–308 (2023).10.1038/s42256-023-00629-1 ↗
31. Bals, J. & Epple, M. Artificial scanning electron microscopy images created by generative adversarial networks from simulated particle assemblies. Adv. Intell. Syst. 5, 2300004 (2023).10.1002/aisy.202300004 ↗
32. Tasnadi, E., Sliz-Nagy, A. & Horvath, P. Structure preserving adversarial generation of labeled training samples for single-cell segmentation. Cell Rep. Methods 3, 100592 (2023).10.1016/j.crmeth.2023.100592 ↗
33. Yuan, W., Yao, B., Tan, S. & He, Q. Generative AI enables label-free segmentation for live analysis of supported nanoparticle catalysts. Microsc. Microanal. 30, ozae044.211 (2024).10.1093/mam/ozae044.211 ↗
34. Zhu, J.-Y., Park, T., Isola, P. & Efros, A. A. Unpaired image-to-image translation using cycle-consistent adversarial networks. ICCV 2242–2251 (2017).10.1109/ICCV.2017.244 ↗
35. Eliasson, H. et al. Precise size determination of supported catalyst nanoparticles via generative ai and scanning transmission electron microscopy. Small Methods 9, 2401108 (2025).10.1002/smtd.202401108 ↗
36. Eliasson, H. & Erni, R. Improving nanoparticle size estimation from scanning transmission electron micrographs with a multislice surrogate model. Nano Lett. 25, 2474–2479 (2025).10.1021/acs.nanolett.4c06025 ↗
37. Isola, P., Zhu, J.-Y., Zhou, T. & Efros, A. A. Image-to-image translation with conditional adversarial networks. CVPR 5967–5976 (2017).10.1109/CVPR.2017.632 ↗
38. Kirillov, A. et al. Segment anything. ICCV 3992–4003 (2023).10.1109/ICCV51070.2023.00371 ↗
39. Mitchell, S. & Pérez-Ramírez, J. Atomically precise control in the design of low-nuclearity supported metal catalysts. Nat. Rev. Mater. 6, 969–985 (2021).10.1038/s41578-021-00360-6 ↗
40. Woo, S., Park, J., Lee, J.-Y. & Kweon, I. S. CBAM: convolutional block attention module. ECCV 3–19 (2018).10.1007/978-3-030-01234-2_1 ↗
41. Zhou, Z., Rahman Siddiquee, M. M., Tajbakhsh, N. & Liang, J. UNet++: a nested U-Net architecture for medical image segmentation. International workshop on deep learning in medical image analysis. 3–11 (2018).10.1007/978-3-030-00889-5_1 ↗
42. McInnes, L., Healy, J. & Melville, J. Umap: uniform manifold approximation and projection for dimension reduction. Preprint at https://arxiv.org/abs/1802.03426 (2018).10.21105/joss.00861 ↗
43. Salimans, T. et al. Improved techniques for training GANs. NeurIPS 2234–2242 (2016).
44. Arjovsky, M., Chintala, S. & Bottou, L. Wasserstein generative adversarial networks. ICML 214–223 (2017).
45. Buslaev, A. et al. Albumentations: fast and flexible image augmentations. Information 11, 125 (2020).10.3390/info11020125 ↗
46. Borji, A. Pros and cons of GAN evaluation measures. Comput. Vis. Image Underst. 179, 41–65 (2019).10.1016/j.cviu.2018.10.009 ↗
47. Wang, Z., Bovik, A. C., Sheikh, H. R. & Simoncelli, E. P. Image quality assessment: from error visibility to structural similarity. IEEE Trans. Image Process. 13, 600–612 (2004).10.1109/TIP.2003.819861 ↗
48. Zhang, R., Isola, P., Efros, A. A., Shechtman, E. & Wang, O. The unreasonable effectiveness of deep features as a perceptual metric. CVPR 586–595 (2018).10.1109/CVPR.2018.00068 ↗
49. Ding, K., Ma, K., Wang, S. & Simoncelli, E. P. Image quality assessment: unifying structure and texture similarity. TPAMI 44, 2567–2581 (2020).
50. Sheikh, H. R. & Bovik, A. C. Image information and visual quality. IEEE Trans. Image Process. 15, 430–444 (2006).10.1109/TIP.2005.859378 ↗
51. Van der Maaten, L. & Hinton, G. Visualizing data using t-SNE. J. Mach. Learn. Res. 9, 2579–2605 (2008).
52. Deng, J. et al. ImageNet: a large-scale hierarchical image database. CVPR 248–255 (2009).10.1109/CVPR.2009.5206848 ↗
53. Heusel, M., Ramsauer, H., Unterthiner, T., Nessler, B. & Hochreiter, S. GANs trained by a two time-scale update rule converge to a local Nash equilibrium. NeurIPS 30, 6629–6640 (2017).
54. Li, K. et al. Single-image-based deep learning for precise atomic defect identification. Nano Lett. 24, 10275–10283 (2024).10.1021/acs.nanolett.4c02654 ↗
55. Bińkowski, M., Sutherland, D. J., Arbel, M. & Gretton, A. Demystifying MMD GANs. Preprint at https://arxiv.org/abs/1801.01401 (2018).
56. Selvaraju, R. R. et al. Grad-CAM: visual explanations from deep networks via gradient-based localization. Int. J. Comput. Vis. 128, 618–626 (2017).
57. Wallach, H. Brightness constancy and the nature of achromatic colors. J. Exp. Psychol. 38, 310–324 (1948).10.1037/h0053804 ↗
58. Ravi, N. et al. SAM 2: segment anything in images and videos. Preprint at https://arxiv.org/abs/2408.00714 (2024).
59. Wang, T.-C. et al. High-resolution image synthesis and semantic manipulation with conditional GANs. CVPR 8798–8807 (2018).10.1109/CVPR.2018.00917 ↗
60. Parmar, G. et al. Zero-shot image-to-image translation. ACM SIGGRAPH 2023 conference proceedings. 1–11 (2023).10.1145/3588432.3591513 ↗
61. Archit, A. et al. Segment anything for microscopy. Nat. Methods 22, 579–591 (2025).10.1038/s41592-024-02580-4 ↗