Metraipolis › archive › dc_10aed94927ff

TorchSpin: Differentiable Electron Paramagnetic Resonance Simulation in PyTorch — arXiv:2610.18924

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.18924
License (as archived)
CC0-1.0
Archived
2026-10-15T14:23:06.346Z
SHA-256 of the archived text
17076bd1b5d85d9db28976b5a7238a753e5e160758c0b28fc13870fc99d56da6
Stable URL of this page
https://metraipolis.com/documento/dc_10aed94927ff

How to cite

TorchSpin: Differentiable Electron Paramagnetic Resonance Simulation in PyTorch — arXiv:2610.18924 — arXiv (en), https://arxiv.org/abs/2610.18924 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_10aed94927ff (Metraipolis archive dc_10aed94927ff, sha256 17076bd1b5d85d9db28976b5a7238a753e5e160758c0b28fc13870fc99d56da6)
BibTeX
@misc{dc10aed94927ff,
  title = {TorchSpin: Differentiable Electron Paramagnetic Resonance Simulation in PyTorch — arXiv:2610.18924},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.18924},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_10aed94927ff; sha256 17076bd1b5d85d9db28976b5a7238a753e5e160758c0b28fc13870fc99d56da6},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.18924. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Interpreting electron paramagnetic resonance (EPR) spectra commonly requires repeated forward simulation and optimization of spin Hamiltonian parameters. Established software provides mature simulation and fitting methods, but these calculations are not generally available as differentiable components within machine-learning workflows. We present TorchSpin, an open-source PyTorch framework that ports the organization and numerical conventions of EasySpin into a tensor-based computational environment. Representative calculations spanning continuous-wave EPR, ENDOR, pulse EPR, spin dynamics, trajectory simulation, and magnetometry closely reproduced corresponding EasySpin results. In matched benchmarks, TorchSpin CPU execution was faster than EasySpin for six of nine workloads although performance depended strongly on the calculation. We therefore focused on the capabilities enabled by automatic differentiation in PyTorch. In a Cu(II) powder-spectrum demonstration, feedback propagated through TorchSpin improved the quality of a supervised convolutional neural network (CNN) without using parameter labels during refinement. Models trained from randomly initialized CNNs using only noisy spectra and TorchSpin reconstruction loss achieved median similarities of $\geq$ 0.99. CNNs trained on TorchSpin-generated libraries also transferred without adaptation to independently generated EasySpin spectra with performance comparable to EasySpin-trained controls. Once trained, the CNN produced initial parameter estimates in approximately 1 ms per spectrum while a batch of 512 was processed in approximately 1.3 ms with GPU acceleration. TorchSpin therefore provides both a tested Python implementation of established EPR calculations and a differentiable physical layer for rapid learned inference, spectral refinement, and parameter-label-free training.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.LG, nuovi lavori del giorno).
Categorie arXiv: Chemical Physics (physics.chem-ph) ; Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2610.18924 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-15T13:53:35.798Z dalla pagina https://arxiv.org/list/cs.LG/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).