Deep learning with reflection high-energy electron diffraction images to predict cation ratio in Sr
2xTi
2(1−x)O
3 thin films
A gated convolutional neural network trained on reflection high-energy electron diffraction images acquired during pulsed laser deposition predicts the Sr atomic fraction (stoichiometry) of Sr$_{2x}$Ti$_{2(1-x)}$O$_{3}$ thin films. Using only 31 samples, the regression model achieves accurate predictions, and explainable AI reveals a previously unknown correlation between diffraction streak features and cation ratio. This transforms a qualitative in situ diagnostic into a quantitative surrogate measurement.