Abstract
Domain wall structures form spontaneously due to epitaxial misfit during thin film growth. Imaging the dynamics of domains and domain walls at ultrafast timescales can provide fundamental clues to features that impact electrical transport in electronic devices. Recently, deep learning-based methods showed promising phase retrieval (PR) performance, allowing intensity-only measurements to be transformed into snapshot real space images. While the Fourier imaging model involves complex-valued quantities, most existing deep learning-based methods solve the PR problem with real-valued-based models, where the connection between amplitude and phase is ignored. To this end, we involve complex numbers operation in the neural network to preserve the amplitude and phase connection. Therefore, we employ the complex-valued neural network for solving the PR problem and evaluate it on Bragg coherent diffraction data streams collected from an epitaxial La 2-x Sr x CuO 4 (LSCO) thin film using an X-ray Free Electron Laser (XFEL). Our proposed complex-valued neural network-based approach outperforms the traditional real-valued neural network methods in both supervised and unsupervised learning manner. Phase domains are also observed from the LSCO thin film at an ultrafast timescale using the complex-valued neural network.
Introduction
In the field of materials science, the performance of electronic devices is often dictated by the behavior of domain walls—the boundaries between different crystalline regions in a thin film. Studying these structures at the nanoscale requires advanced techniques like Bragg Coherent Diffraction Imaging (BCDI). However, BCDI faces a significant challenge known as the Phase Retrieval (PR) problem: X-ray detectors only measure the intensity of light, while the phase information necessary for image reconstruction is lost.
Traditional iterative algorithms for phase retrieval are computationally intensive and prone to stagnation. While deep learning approaches have been explored, they typically rely on real-valued mathematics that treats amplitude and phase as independent channels, ignoring their inherent physical coupling. This paper presents a novel Complex-valued Convolutional Neural Network (C-CNN) designed to overcome these limitations by performing calculations directly in the complex domain, thereby preserving the physical integrity of the wave information.
Methods
The proposed C-CNN architecture utilizes complex-valued operations—including convolutions, activations, and pooling—to maintain the mathematical relationship between the real and imaginary components of the electromagnetic wave. This approach ensures the model respects the physical principles governing light-matter interaction, such as the Kramers–Kronig relations.
The training pipeline consists of two stages. First, the model undergoes supervised pre-training on a synthetic dataset of 15,000 samples simulating elliptical domains with random phases. Second, an unsupervised refinement stage uses a physics-aware loss function. By applying a Fourier Transform to the model's output and comparing it to the measured diffraction intensity, the network can self-correct on experimental data where no ground truth is available. The model was evaluated using experimental data from a Lanthanum Strontium Copper Oxide (LSCO) thin film collected at the European X-ray Free Electron Laser (XFEL).
Results and Discussion
The C-CNN demonstrated superior performance over traditional real-valued networks (R-CNN), achieving higher Structural Similarity (SSIM) scores and greater resilience to Gaussian noise. The complex-valued math allowed for the accurate capture of sharp phase transitions and domain boundaries, which are often blurred by real-valued models.
Key findings include:
- Nanoscale Resolution: The model successfully reconstructed phase domains approximately 100 nm in diameter within the LSCO film at ultrafast timescales.
- Ultrafast Processing: Once trained, the network performs reconstructions in milliseconds. This high throughput is essential for XFEL experiments that generate thousands of images per second, allowing for real-time monitoring of material dynamics.
- Robustness: The model proved remarkably robust to noise, maintaining reconstruction quality even under low-signal experimental conditions.
Conclusion
By integrating complex-valued algebra into a deep learning framework, this work provides a robust and efficient solution for ultrafast phase retrieval in BCDI. While current results are limited to 2D projections and face challenges such as beam jitter and coordinate distortion, the C-CNN represents a significant step toward real-time 3D imaging of material dynamics at the femtosecond scale. Future work will focus on full 3D reconstruction and improved beam-tracking integration.
Summary updated