Integrating Microscopy, Large Language Models, and High Performance Computing
Microscopy and Microanalysis · 27.07.2026 · 32 (Supplement_1)
DOI: 10.1093/mam/ozag053.937 ↗Kurz gefasst
Fachartikel in der Zeitschrift Microscopy and Microanalysis, online erschienen am 27.07.2026. Verfasst von Peter Ercius und 6 weiteren Autor:innen. Die Arbeit nennt 7 Literaturangaben.
Abstract (Originalsprache)
Advanced computation is becoming an increasingly important part of microscopy [1]. It allows for automation, high throughput operation, and the implementation of new types of imaging modalities. One downside of this new direction is the large increase in data volumes being acquired and an even larger amount of post-processing compute time and human time required to extract information from large datasets. This leads to the need to put more computing power in the hands of the experimentalist. In this talk, we will discuss how several advanced modern computing techniques were integrated into experimental workflows enabling automation and higher throughput of STEM data. The 4D Camera generates a large amount of data which required implementation of new workflows to provide useful results. The camera produces data at a rate of 480 Gbits per second with datasets commonly reaching over 700 Gigabytes in size. We initially implemented a buffer acquisition system comprised of five edge computers with approximately 8 Terabytes of disk storage [2]. In order to deal with this amount of data, we also developed a platform called Distiller for data processing and metadata capture deployed on the National Energy Research Scientific Computing (NERSC) Center high performance computer. Originally, the buffer system could only hold approximately 10 full sized datasets before needing to be offloaded and processed leading to a bottleneck in capabilities. To overcome this, we developed a streaming implementation for data transfer directly to NERSC compute nodes achieving a 4-5x improvement in processing time [3,4]. We also take advantage of the NERSC compute ecosystem to archive data and provide templated Jupyter notebooks for efficient post-processing. The streaming implementation of our workflow not only significantly reduced the time to results but it also eliminated limits on the number of datasets that could be acquired and the need for user interactions. We next targeted post-processing to improve feedback to the experimenter at the microscope. We utilized containers connected by memory-to-memory data streaming to build containers that could implement reusable pipelines in a platform called interactEM [5]. Workflows are developed by connecting operator inputs and outputs in a web-based graphical interface without the need to modify any code. Operators have input parameters that can be changed dynamically at run time for hyperparameter tuning. This allowed us to develop complex workflows for beam motion compensation, differential phase contrast (DPC) imaging, bright/darkfield imaging, and parallax readily available to any user of the microscope. The direct feedback allows the experimentalist at the microscope to see final results during their microscope session allowing them to optimize data quality. Finally, the implementation of our own automation routines and streaming on high performance computing provided an ideal platform for the use of artificial intelligence (AI) to drive our microscope. Commercial large language models provide the ability to interpret, understand, and generate text-based prompts. However, they generally require large amounts of data, expertise, and money to train making it unlikely even a large scientific user facility could develop an AI specialized for microscopy. Instead, we utilized the model context protocol (MCP) to expose microscope operations, data, and metadata as “MCP tools” and “MCP resources” together creating the TEM Agent platform. With simple tools such as get/set defocus, acquire image, and move stage, the LLM was able to implement complex workflows such as tomography, defocus, and rotation series acquisition based only on text input [6,7].
Zitieren
APA
Ercius, P., Welborn, S., Wall, M. K., Pattison, A. J., Harris, C., Ribet, S. M., & Enders, B. (2026). Integrating Microscopy, Large Language Models, and High Performance Computing. Microscopy and Microanalysis, 32(Supplement_1). https://doi.org/10.1093/mam/ozag053.937
Vancouver
Ercius P, Welborn S, Wall MK, Pattison AJ, Harris C, Ribet SM, et al. Integrating Microscopy, Large Language Models, and High Performance Computing. Microscopy and Microanalysis. 2026;32(Supplement_1). doi:10.1093/mam/ozag053.937
BibTeX
@article{Ercius2026,
author = {Ercius, Peter and Welborn, Sam and Wall, Morgan K and Pattison, Alexander J and Harris, Chris and Ribet, Stephanie M and Enders, Bjoern},
title = {Integrating Microscopy, Large Language Models, and High Performance Computing},
journal = {Microscopy and Microanalysis},
year = {2026},
volume = {32},
number = {Supplement_1},
doi = {10.1093/mam/ozag053.937}
}
EUVIMED