Abstract
Small Angle Scattering (SAS) is a cornerstone technique in material science for characterizing microstructures. However, extracting grain-size distributions from scattering patterns remains a challenging inverse problem, traditionally requiring expert-led manual tuning. This paper presents an automated machine-learning framework based on the Expectation-Maximization (EM) algorithm. By reframing SAS as a stochastic process with latent variables, our method achieves high-accuracy, non-parametric estimation of grain-size distributions. We demonstrate the robustness and efficiency of this approach using both simulated and real-world datasets, offering a scalable solution for high-throughput materials informatics.
Introduction
In the quest to understand material properties, researchers frequently employ Small Angle Scattering (SAS). By directing a beam of neutrons or X-rays at a sample, the resulting scattering pattern provides a window into the material's internal microstructure. The primary objective is to determine the grain-size distribution—the relative abundance of grains of various sizes within the sample.
Despite its utility, SAS presents a significant computational challenge known as an inverse problem. While the forward physics of how a specific grain size scatters a particle is well-understood, working backward from a complex, aggregate scattering pattern to the underlying grain distribution is non-trivial. Traditional methods, such as the Indirect Fourier Transform (IFT), rely heavily on regularization parameters (L1/L2) that must be manually tuned by experts to avoid overfitting or noise amplification. This "expert-in-the-loop" requirement limits the scalability of SAS analysis in modern automated pipelines.
Methodology: SAS as a Stochastic Process
To overcome the limitations of manual tuning, we propose a probabilistic reformulation of the SAS experiment. Instead of viewing the scattering pattern as a deterministic integral, we treat the journey of each particle as a sequence of random events involving latent variables.
The Probabilistic Model
The scattering of a single particle is modeled in two distinct stages:
- Grain Selection: A particle interacts with a grain of radius $r$ selected from the unknown distribution $f(r)$.
- Directional Change: The particle is then scattered at an angle $\theta$ (corresponding to wave number $q$) based on the physics-defined scattering intensity $I(q, r)$ for that specific grain size.
The EM Algorithm
Since the specific grain size responsible for a detected particle's scattering is unobservable (a latent variable), we employ the Expectation-Maximization (EM) algorithm to estimate $f(r)$:
- E-step: Given the current estimate of $f(r)$, we calculate the posterior probability that a particle detected at $q$ was scattered by a grain of size $r$.
- M-step: We update the distribution $f(r)$ to maximize the likelihood of the total observed scattering pattern across all detected particles.
This non-parametric approach converges automatically to an optimal distribution without requiring manual regularization weights, making it inherently suitable for automation.
Experimental Evaluation
The proposed method was evaluated against simulated and real-world datasets to test its accuracy and robustness.
Simulated Data
We tested the algorithm on six distinct grain-size distributions, including complex multi-modal patterns. The EM-based results showed near-perfect overlap with the ground truth. Notably, the algorithm successfully resolved closely spaced peaks that traditional IFT methods often "smeared" together.
Real-world Measurement Data
The algorithm was applied to experimental SAS patterns from polystyrene (18 nm radius) and silica (25 nm radius) samples. Despite the inherent noise in real-world measurements, the EM approach accurately identified the primary grain sizes. Furthermore, it detected secondary peaks corresponding to particle clusters, a known physical phenomenon that validates the sensitivity of the model.
Key Insights and Conclusion
By reframing a deterministic physics problem as a latent variable estimation problem, we leverage robust machine learning techniques for material science. The EM-based approach offers several advantages:
- Automation: Eliminates the need for manual parameter tuning.
- Resolution: Superior ability to distinguish complex, multi-modal distributions compared to IFT.
- Efficiency: The method demonstrated a 5x speedup over traditional techniques, processing patterns in approximately 1.2 seconds.
This work paves the way for fully automated materials informatics pipelines, where high-throughput SAS data can be processed in real-time to accelerate material discovery and characterization.
Summary updated