Skip to main content
QUICK REVIEW

[Paper Review] Deep Reinforcement Learning for Data-Driven Adaptive Scanning in Ptychography

Marcel Schloz, Johannes Müller|arXiv (Cornell University)|Mar 29, 2022
Advanced X-ray Imaging TechniquesPhysics and Astronomy5 citations
TL;DR

This paper proposes a deep reinforcement learning (DRL)-based adaptive scanning method for ptychography that dynamically targets high-information regions of a specimen to reduce electron dose while improving reconstruction resolution. By learning from simulated and experimental data, the agent optimizes scan positions in real time using only prior diffraction patterns, achieving up to 31.59% higher resolution and 25.75% better reconstruction quality than non-adaptive methods at low dose.

ABSTRACT

We present a method that lowers the dose required for a ptychographic reconstruction by adaptively scanning the specimen, thereby providing the required spatial information redundancy in the regions of highest importance. The proposed method is built upon a deep learning model that is trained by reinforcement learning (RL), using prior knowledge of the specimen structure from training data sets. We show that equivalent low-dose experiments using adaptive scanning outperform conventional ptychography experiments in terms of reconstruction resolution.

Motivation & Objective

  • Reduce electron dose in ptychographic imaging without sacrificing reconstruction quality.
  • Address the limitation of fixed raster scan patterns that uniformly sample all regions, including low-information areas.
  • Leverage prior knowledge of specimen structure to guide intelligent, data-driven scan path optimization.
  • Enable real-time, sequential decision-making during experiments using only acquired diffraction data.
  • Demonstrate the feasibility of autonomous, adaptive microscopy using deep reinforcement learning.

Proposed method

  • The method employs a deep reinforcement learning (DRL) agent trained on simulated and experimental ptychographic datasets to predict optimal scan positions.
  • The DRL agent uses a combination of convolutional neural networks (CNNs) and recurrent neural networks (RNNs) to process sequential diffraction data and infer spatial structure.
  • The agent is trained via a hybrid approach: supervised pre-training on labeled scan paths followed by reinforcement learning to maximize dynamic range in reconstructions.
  • The policy network outputs the next scan position based on the history of acquired diffraction patterns, enabling online adaptation during real experiments.
  • The algorithm operates under the constraint of preserving information redundancy only in structurally relevant regions, minimizing total scan positions and dose.
  • The trained DRL model is transferred to real experimental conditions with minimal fine-tuning, relying solely on real-time diffraction feedback.

Experimental results

Research questions

  • RQ1Can a DRL-based agent learn to identify and prioritize high-information regions in ptychographic specimens from sequential diffraction data?
  • RQ2To what extent can adaptive scanning reduce electron dose while maintaining or improving reconstruction resolution compared to conventional raster scanning?
  • RQ3How does the performance of the DRL-based adaptive scanning method compare to random or fixed-pattern scanning under low-dose conditions?
  • RQ4Can prior knowledge from training data improve the generalization and robustness of the DRL agent in real experimental environments?
  • RQ5Does the synergy of supervised pre-training and reinforcement learning lead to better convergence and performance than pure RL or supervised baselines?

Key findings

  • The DRL-based adaptive scanning method improved reconstruction resolution by up to 31.59% compared to non-adaptive (random) scanning under low-dose conditions.
  • The method achieved a 25.75% improvement in reconstruction quality metrics (e.g., dynamic range) relative to non-adaptive scanning at equivalent low doses.
  • Adaptive scanning outperformed conventional high-dose raster grid scans in reconstruction quality, even when the latter used higher total dose.
  • The DRL agent successfully learned to localize and prioritize atomic-scale features from diffraction data alone, without direct access to real-space images.
  • The hybrid training strategy—supervised pre-training followed by reinforcement learning—enabled faster convergence and better generalization in real experiments.
  • The method demonstrated robustness to experimental uncertainties such as scan positioning errors and specimen contamination, thanks to the pre-processing and domain-aware design of the DRL model.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.