# Adaptive Partial Scanning Transmission Electron Microscopy with Reinforcement Learning

강화학습을 이용한 적응형 부분 주사 투과전자현미경

Jeffrey M. Ede · arXiv · 2020년 4월 6일

- **연구 문제** STEM 스캔은 방사선 손상과 스캔 시간 때문에 샘플링을 줄여야 하지만, 고정된 탐침 위치 집합은 시료에 맞춰 바뀌지 않습니다.
- **연구 방법** 순환 신경망 액터가 직선 경로 구간을 순차적으로 고르고, 합성곱 신경망 생성기가 부분 스캔을 완성하며, 두 네트워크를 CRDPG로 함께 학습합니다.
- **주요 결과** LSTM과 GRU 액터는 학습 곡선에서 비슷한 성능을 보였고, DNC는 LSTM과 비슷한 성능에서 더 높은 추론 비용을 보였습니다. 적응형 경로로 학습한 생성기는 고정 경로 생성기보다 낮은 성능을 보였습니다.

## 연구 문제: 정적 스캔의 한계

STEM(주사 투과 전자 현미경)은 높은 전류 밀도의 전자 탐침이 시료에 방사선 손상을 일으키기 때문에 측정 범위와 종류가 제한됩니다. 이를 줄이기 위해 압축 센싱(compressed sensing)은 모든 픽셀이 아니라 일부 탐침 위치만 샘플링하고 나머지를 복원합니다. 기존의 많은 희소 스캔은 미리 정한 고정된 탐침 위치 집합을 사용합니다. 이 논문은 스캔 경로를 시료를 관측하면서 조금씩 바꾸는 동적 스캔이 고정 스캔을 특수한 경우로 포함하므로 성능을 맞추거나 넘을 수 있다는 기대에서 출발합니다. 다만 저자들은 이 기대를 전체 설계 공간에서 증명한 것이 아니라 제안 시스템을 구현해 확인하는 방향으로 다룹니다.

## CRDPG로 협력 학습하는 적응형 스캔 시스템

제안 시스템은 전체 스캔을 한 번에 정하지 않고 직선 경로 구간을 순서대로 선택합니다. 실험에서 부분 스캔은 96×96 STEM 이미지에서 T = 20개의 직선 경로 구간으로 구성되며, 각 구간에는 d = 2^{1/2} px 간격의 탐침 위치 20개가 있습니다. 액터(actor)는 이전 행동과 관측된 경로 구간으로 이루어진 이력을 받아 다음 행동 벡터를 출력하는 순환 신경망입니다. 생성기(generator)는 합성곱 신경망으로, 액터가 만든 부분 스캔을 입력받아 완성된 이미지 G(s)를 출력합니다. 학습에는 제안 방법인 협력 순환 결정적 정책 경사법(CRDPG)이 쓰입니다. 이는 RDPG를 확장해 액터가 생성기와 협력하여 생성기 손실을 줄이도록 한 방식입니다.

생성기 손실은 액터 행동에 대해 직접 미분할 수 없으므로, 저자들은 이 손실을 예측하는 순환 비평자(critic)를 두고 그 예측 손실을 BPTT로 액터에 전파합니다. 실행 시점에는 학습된 액터와 생성기만 필요합니다.

![Figure 1: Simpliﬁed scan system. a) An example 8×8 partial scan with T = 5 straight path segments. Each segment in this example has 3 probing positions separat…](https://refivu.com/papers/1712224e-8bb4-4264-82df-2d4c4c85bf05/figures/figure-ff21635bbf9cba4c6d31d7a445020e80.png?thumb=512)

**Figure 1** . Simpliﬁed scan system. a) An example 8×8 partial scan with T = 5 straight path segments. Each segment in this example has 3 probing positions separated by d = 21/2 px, and their starts are labelled by step numbers, t. Partial scans are selected from STEM images by sampling image pixels nearest probing positions, even if a nominal probing position is outside an imaging region. b) An actor RNN uses its previous state, action, and an observed path segment to choose the next action at each step. c) A partial scan constructed from actions and observed path segments is completed by a generator CNN.

[원문](https://arxiv.org/abs/2004.02786v8) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jeffrey M. Ede · Adaptive Partial Scanning Transmission Electron Microscopy with Reinforcement Learning · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

## 손실 정규화와 클리핑

생성기 손실 L\_G는 완성된 스캔 G(s')와 정규화된 목표 이미지 I\_N 사이의 평균제곱오차(MSE)로 정의됩니다. 강화학습 단계에서는 이 손실을 실행 평균 L\_avg로 나눈 뒤 3 표준편차 위로 클리핑하여 사용합니다. 여기서 나누는 대상은 생성기 손실이고 분모는 손실의 이동 평균입니다. 각 단계의 전체 손실은 가장 가까운 탐침이 이미지 가장자리를 벗어날 때 주는 작은 벌점 E\_t = 0.1과, 마지막 단계에서만 더해지는 정규화 생성기 손실의 합으로 구성됩니다. 저자들은 이 벌점과 클리핑이 학습의 불안정을 줄이기 위한 설계라고 설명하며, 이를 실험에서 확인했습니다.

## 액터 구조 비교: LSTM, GRU, DNC

액터 구조에 대한 검증은 학습 곡선으로 이루어졌습니다. LSTM 액터와 GRU 액터의 학습 곡선은 비슷하게 나타납니다. GRU는 계산량이 적지만 GRU 학습은 손실 급등에 더 민감한 것으로 보고되며, 추론 시간은 두 구조가 비슷합니다. 이에 따라 저자들은 LSTM이 더 적합할 수 있다고 해석합니다. DNC는 깊은 LSTM에 동적 외부 메모리를 결합한 구조입니다. LSTM과 DNC의 성능은 비슷하지만, DNC는 추론 시간과 계산량이 훨씬 높습니다. 이 비교는 학습 곡선에 기반하며 모든 구조의 최종 성능을 대표하는 결과가 아닙니다.

![Figure 3: Learning curves for a)-b) adaptive scan paths chosen by an LSTM or GRU, and ﬁxed spiral and other ﬁxed paths, c) adaptive paths chosen by an LSTM or…](https://refivu.com/papers/1712224e-8bb4-4264-82df-2d4c4c85bf05/figures/figure-98fe55f06682619d5907204334068469.png?thumb=512)

**Figure 3** . Learning curves for a)-b) adaptive scan paths chosen by an LSTM or GRU, and ﬁxed spiral and other ﬁxed paths, c) adaptive paths chosen by an LSTM or DNC, d) a range of replay buffer sizes, e) a range of penalties for trying to sample at probing positions over image edges, and f) with and without normalizing or clipping generator losses used for critic training. All learning curves are 2500 iteration boxcar averaged and results in different plots are not directly comparable due to varying experiment settings. Means and standard deviations of test set errors, “Test: Mean, Std Dev”, are at the ends of labels in graph legends.

[원문](https://arxiv.org/abs/2004.02786v8) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jeffrey M. Ede · Adaptive Partial Scanning Transmission Electron Microscopy with Reinforcement Learning · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 고정 경로 생성기와의 비교와 한계

본 연구의 주요 한계는 액터가 생성한 여러 부분 스캔 경로에 맞춰 학습한 생성기가 고정 경로로 학습한 생성기보다 낮은 성능을 보인다는 점입니다. 학습 곡선에서 LSTM 또는 GRU 액터로 학습한 생성기는 고정 스파이럴 및 기타 고정 경로로 학습한 생성기에 뒤집니다. 스파이럴 경로는 고정 경로보다 성능이 높았지만, 액터가 만든 경로는 개별 학습 데이터에 맞춰 설계되므로 모든 학습 데이터에 대한 고정 경로와 같은 조건으로 비교된 것이 아닙니다. 액터 학습을 동결해도 생성기 성능이 뚜렷하게 나아지지 않았다는 결과도 보고됩니다. 저자들은 이 간격을 생성기 구조나 학습 정책의 개선 대상으로 봅니다.

![Figure 2: Examples of test set 1/23.04 px coverage partial scans, target outputs and generated partial scan completions for 96×96 crops from STEM images. The t…](https://refivu.com/papers/1712224e-8bb4-4264-82df-2d4c4c85bf05/figures/figure-fbccb78cc569f2fa18278cf54d5cac95.png?thumb=512)

**Figure 2** . Examples of test set 1/23.04 px coverage partial scans, target outputs and generated partial scan completions for 96×96 crops from STEM images. The top four rows show adaptive scans, and the bottom row shows spiral scans. Input partial scans are noisy, whereas target outputs are blurred.

[원문](https://arxiv.org/abs/2004.02786v8) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jeffrey M. Ede · Adaptive Partial Scanning Transmission Electron Microscopy with Reinforcement Learning · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 남은 한계

제안 시스템은 STEM 잡음을 교정하도록 학습되지 않는다고 명시됩니다. 저자들은 생성기가 잡음을 제거하도록 학습될 수 있다고 전망하지만, 이는 이 논문에서 검증된 결과가 아닙니다. 또한 실험은 직선 경로 구간을 쓰며 이미지 영역 밖으로 나가지 않는 설정입니다. 탐침 위치 오차를 보정하는 방법은 보충 정보에서 제안되었지만 본 실험의 결과로 제시되지 않습니다. 이 결과들은 제한된 데이터셋과 설정에서 얻어진 것으로 읽어야 합니다.

## 논문 정보

- **저자**: Jeffrey M. Ede
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2020년 4월 6일
- **등록일**: 2026년 11월 6일
- **수정일**: 2021년 3월 11일
- **버전**: v8
- **arXiv**: 2004.02786
- **분류**: cs.LG · cs.CV · eess.IV · stat.ML
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2004.02786v8) · [원문 PDF ↗](https://arxiv.org/pdf/2004.02786v8)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Compressed sensing can decrease scanning transmission electron microscopy electron dose and scan time with minimal information loss. Traditionally, sparse scans used in compressed sensing sample a static set of probing locations. However, dynamic scans that adapt to specimens are expected to be able to match or surpass the performance of static scans as static scans are a subset of possible dynamic scans. Thus, we present a prototype for a contiguous sparse scan system that piecewise adapts scan paths to specimens as they are scanned. Sampling directions for scan segments are chosen by a recurrent neural network based on previously observed scan segments. The recurrent neural network is trained by reinforcement learning to cooperate with a feedforward convolutional neural network that completes the sparse scans. This paper presents our learning policy, experiments, and example partial scans, and discusses future research directions. Source code, pretrained models, and training data is openly accessible at https://github.com/Jeffrey-Ede/adaptive-scans

## 원문 인용

Jeffrey M. Ede (2020). Adaptive Partial Scanning Transmission Electron Microscopy with Reinforcement Learning. arXiv:2004.02786v8. https://arxiv.org/abs/2004.02786v8

**BibTeX**

```
@misc{ede2020adaptive,
  title = {{Adaptive Partial Scanning Transmission Electron Microscopy with Reinforcement Learning}},
  author = {Jeffrey M. Ede},
  year = {2020},
  eprint = {2004.02786},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.02786v8}
}
```

## 이 논문의 용어

- [compressed sensing](https://refivu.com/terms/edcd957c4d1d-compressed-sensing)

## 다른 논문 해설

- [Optimal Actor-Critic Policy with Optimized Training Datasets](https://refivu.com/papers/cfa37ea3-1a47-46dd-a1df-78878523c82d-optimal-actor-critic-policy-with-optimized-training-datasets.md)
- [Decoding trust: A reinforcement learning perspective](https://refivu.com/papers/e0b0203e-eca5-4119-be13-d3d5a97ca414-decoding-trust-a-reinforcement-learning-perspective.md)
- [Randomized Optimal Stopping Problem in Continuous time and Reinforcement Learning Algorithm](https://refivu.com/papers/7adcaae8-ea78-467a-bac8-2728c2e89995-randomized-optimal-stopping-problem-in-continuous-time-and.md)
- [Joint Relay Selection and Beam Management Based on Deep Reinforcement Learning for Millimeter Wave Vehicular Communication](https://refivu.com/papers/acc42d2b-52dd-4692-b65f-7b79c8d003e5-joint-relay-selection-and-beam-management-based-on.md)
- [Deep Reinforcement Learning for Multi-user Massive MIMO with Channel Aging](https://refivu.com/papers/0672d54e-f6e6-4a69-a81d-3132209b46d1-deep-reinforcement-learning-for-multi-user-massive-mimo.md)
- [Chiplet-Gym: Optimizing Chiplet-based AI Accelerator Design with Reinforcement Learning](https://refivu.com/papers/6ba025d4-c6d8-42f5-b150-0db73b11393e-chiplet-gym-optimizing-chiplet-based-ai-accelerator-design.md)
- [Quantum Multi-Agent Reinforcement Learning for Cooperative Mobile Access in Space-Air-Ground Integrated Networks](https://refivu.com/papers/a89749b9-6d0b-4b12-b5fd-7cb93bababff-quantum-multi-agent-reinforcement-learning-for-cooperative.md)
- [Learning in Cooperative Multiagent Systems Using Cognitive and Machine Models](https://refivu.com/papers/2dbf53d7-def0-4ab9-874e-db9d7bd1d06e-learning-in-cooperative-multiagent-systems-using-cognitive.md)
- [Closing the Planning-Learning Loop with Application to Autonomous Driving](https://refivu.com/papers/b60eb55f-af73-4b0a-9ec8-bedef187e98d-closing-the-planning-learning-loop-with-application-to.md)
- [Multi-agent reinforcement learning for the control of three-dimensional Rayleigh-Bénard convection](https://refivu.com/papers/33f67ff3-ad21-4e79-9ce4-d2be7a795434-multi-agent-reinforcement-learning-for-the-control-of.md)
- [Deep Reinforcement Multi-agent Learning framework for Information Gathering with Local Gaussian Processes for Water Monitoring](https://refivu.com/papers/f8c8d869-8644-4ab1-9eb6-cec8e52a67d4-deep-reinforcement-multi-agent-learning-framework-for.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/1712224e-8bb4-4264-82df-2d4c4c85bf05-adaptive-partial-scanning-transmission-electron-microscopy)
