# Differentiable powder X-ray diffraction enables analysis of evolving structures

Preprint · Xiangyu Yin, Nina Andrejevic, Hemant Sharma, Ming Du, Aileen Luo, Michael Prince, Burak Guzelturk, Xiaoyi Zhang, Brian H. Toby, Mathew J. Cherukara

- Archive id: arxiv:2610.28564
- Published: 2026-10-20
- arXiv: https://arxiv.org/abs/2610.28564
- Citations: 0
- Source URL: https://arxiv.org/abs/2610.28564
- PDF: https://arxiv.org/pdf/2610.28564
- Provenance: arxiv

## Abstract

Operando and in-situ experiments extend powder X-ray diffraction (PXRD) to materials that evolve during experiments, producing series of hundreds or thousands of patterns. Such series are commonly refined one pattern at a time, so weak signals give noisy structural trajectories. Parametric refinement instead fits a shared model to all patterns, but with most existing programs, changing the model or fitting it efficiently remains challenging. Here, we introduce diffPXRD, a differentiable PXRD engine in PyTorch. diffPXRD calculates derivatives by automatic differentiation, so a shared model can be changed without new derivative code. Batched fitting is also more than seven times faster than serial fitting. In an operando cathode series, a shared lattice model can reduce lattice-parameter variability by 68.4% when 10% of the photon counts are retained. We also show shared models can describe the precipitation and dissolution of Li2S and reconstruct collective atomic displacements in Ca3Ti2O7.

_Abstract reproduced under CC0-1.0 (arXiv descriptive metadata)._

Topics: [Next-Generation Batteries](https://space-kitty.com/topics/next-gen-batteries)

---
Space Kitty Archive · https://space-kitty.com · API: https://space-kitty.com/api/v1 · MCP: https://space-kitty.com/mcp · Premium: $0.20/request via x402 (Base Sepolia (testnet)). Metadata: arXiv (CC0), OpenAlex (CC0), Europe PMC (CC BY/CC0 works), ClinicalTrials.gov.
