# BraggNN: Fast X-ray Bragg Peak Analysis Using Deep Learning

arXiv: https://arxiv.org/abs/2008.08198 · HTML: https://mlsanity.com/paper/2008.08198/

## Key facts

- Cited by 14 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 18 Aug 2020.

## Built on by (most cited first, 14 of 14)

- [Fast and accurate learned multiresolution dynamical downscaling for precipitation](https://mlsanity.com/paper/2101.06813/) (2021)
- [Deep learning at the edge enables real-time streaming ptychographic imaging](https://mlsanity.com/paper/2209.09408/) (2022)
- [FAIR principles for AI models with a practical application for accelerated high energy diffraction microscopy](https://mlsanity.com/paper/2207.00611/) (2022)
- [Bridging Data Center AI Systems with Edge Computing for Actionable Information Retrieval](https://mlsanity.com/paper/2105.13967/) (2021)
- [Real-time experiment-theory closed-loop interaction for autonomous materials science](https://mlsanity.com/paper/2410.17430/) (2024)
- [AI Benchmark Democratization and Carpentry](https://mlsanity.com/paper/2512.11588/) (2025)
- [Tracking perovskite crystallization via deep learning-based feature detection on 2D X-ray scattering data](https://mlsanity.com/paper/2202.10983/) (2022)
- [fairDMS: Rapid Model Training by Data and Model Reuse](https://mlsanity.com/paper/2204.09805/) (2022)
- [An MLCommons Scientific Benchmarks Ontology](https://mlsanity.com/paper/2511.05614/) (2025)
- [OpenHLS: High-Level Synthesis for Low-Latency Deep Neural Networks for Experimental Science](https://mlsanity.com/paper/2302.06751/) (2023)
- [AI-assisted Automated Workflow for Real-time X-ray Ptychography Data Analysis via Federated Resources](https://mlsanity.com/paper/2304.04297/) (2023)
- [PeakNet: An Autonomous Bragg Peak Finder with Deep Neural Networks](https://mlsanity.com/paper/2303.15301/) (2023)
- [Rapid detection of rare events from in situ X-ray diffraction data using machine learning](https://mlsanity.com/paper/2312.03989/) (2023)
- [Network architecture search of X-ray based scientific applications](https://mlsanity.com/paper/2404.10689/) (2024)

## Abstract (arXiv)

X-ray diffraction based microscopy techniques such as High Energy Diffraction Microscopy rely on knowledge of the position of diffraction peaks with high precision. These positions are typically computed by fitting the observed intensities in area detector data to a theoretical peak shape such as pseudo-Voigt. As experiments become more complex and detector technologies evolve, the computational cost of such peak detection and shape fitting becomes the biggest hurdle to the rapid analysis required for real-time feedback during in-situ experiments. To this end, we propose BraggNN, a deep learning-based method that can determine peak positions much more rapidly than conventional pseudo-Voigt peak fitting. When applied to a test dataset, BraggNN gives errors of less than 0.29 and 0.57 pixels, relative to the conventional method, for 75% and 95% of the peaks, respectively. When applied to a real experimental dataset, a 3D reconstruction that used peak positions computed by BraggNN yields 15% better results on average as compared to a reconstruction obtained using peak positions determined using conventional 2D pseudo-Voigt fitting. Recent advances in deep learning method implementations and special-purpose model inference accelerators allow BraggNN to deliver enormous performance improvements relative to the conventional method, running, for example, more than 200 times faster than a conventional method on a consumer-class GPU card with out-of-the-box software.
