DeepMuon: generating cosmic-ray Muons based on optimal transport
Abstract Deep learning can learn distributions directly from data, enabling fast event simulation without hand-crafted designs or costly sampling. Yet many mainstream generators, such as diffusion models, require sophisticated architectures and multi-step denoising, which reduces throughput. Neural generators also struggle with sharp, high-kurtosis distributions common in physics, such as the cosmic-ray muon energy spectrum. Cosmic-ray muon simulation underpins non-destructive imaging, positioning and navigation, timing, and cryptography, and is traditionally performed with Monte Carlo or parametric models. Here we propose DeepMuon, a deep learning-based cosmic-ray muon generator that targets both efficiency and accuracy while addressing high-kurtosis fitting. We first apply an inverse Box--Cox transformation to reduce energy-spectrum kurtosis and simplify the learning task. We then optimize the generator with the Sliced Wasserstein Distance loss, achieving statistically consistent, one-step cosmic-ray muon generation with only a 2-layer Transformer encoder. DeepMuon also learns muon distribution patterns from limited data, enabling simulation of real detector-measured distributions. At sea level, DeepMuon substantially accelerates muon generation relative to the Cosmic-ray Shower Library (CRY). We further develop a DeepMuon-based pipeline to directly simulate underwater muon distributions and compare against CRY, demonstrating suitability for simulation and imaging tasks. For more details about our open-source project, please visit: https://github.com/wangab0/deepmuon.
Authors
- Chucheng Pan (ORCID: https://orcid.org/0009-0009-9985-9950)
- H. Cai (ORCID: https://orcid.org/0000-0001-7575-3603)
- Ao-Bo Wang (ORCID: https://orcid.org/0009-0007-1036-1570)
- Yuxuan Hu (ORCID: https://orcid.org/0000-0002-3345-7766)
- Xi-Long Fan (ORCID: https://orcid.org/0000-0002-8174-0128)
- Ao-Yan Cheng
- Xiang Dong
- Bohua Su
- Yu-Chang Sun
Institutions
- Wuhan University of Technology (CN)
- Wuhan University (CN)
Publication Details
- Journal
- Journal of Physics G Nuclear and Particle Physics
- Published
- 2026-10-26
- DOI
- https://doi.org/10.1088/1361-6471/aeb958
- Primary Topic
- Astrophysics and Cosmic Phenomena
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Wuhan University