AI 4 Materials / KI-Materialtechnologie
FAU Erlangen-Nürnberg
| Units | Arc | |
|---|---|---|
| Data | 1–3 | What makes materials data special, how physics creates it, how quality breaks it |
| Representations | 4–5 | From handcrafted microstructure metrics to learned features |
| Learning under constraints | 6–9 | Scarcity & transfer, time series, inverse problems, characterization signals |
| Modern architectures & physics | 10–11 | Transformers; physics-informed models |
| Trust | 12 | Uncertainty you can act on |
The question: why is ML on materials data fundamentally different from mainstream ML?
The grey-box strategy (Neuer et al. 2024; Sandfeld et al. 2024): \[ \sigma_y(c) = \underbrace{\Delta\sigma_{\text{SSS}}(c; \varepsilon, G)}_{\text{physics baseline}} + \underbrace{f_{\text{ML}}(c)}_{\text{data-driven residual}} \]

Reach for it when
Classic pitfalls
You should be able to
Classify the challenges of a given materials dataset (small \(n\), noise, multi-modality); choose white-, grey-, or black-box modeling for a project; structure it with CRISP-DM.
The question: how does the physical chain from material property to digital number dictate model and loss design?
The imaging equation — the most important of the unit (Neuer et al. 2024): \[ y(\mathbf{r}) = (h \ast x)(\mathbf{r}) + n(\mathbf{r}) \]
Bayes’ theorem, which turns the noise model into the loss function: \[ P(\boldsymbol{\theta} \mid \mathbf{X}) = \frac{P(\mathbf{X} \mid \boldsymbol{\theta})\, P(\boldsymbol{\theta})}{P(\mathbf{X})} \]

Reach for it when
Classic pitfalls
You should be able to
Match the five probes (electrons, photons, ions, neutrons, forces) to data formats and architectures; apply Nyquist–Shannon to judge sampling adequacy; choose the loss function from the physical noise process.
The question: how do you turn raw, messy experimental data into clean training tensors — and prove your model learned physics, not an artifact?
The bias–variance decomposition for \(y = f(x) + \varepsilon\) — why validation design matters (Sandfeld et al. 2024): \[ \mathbb{E}[(\hat{y} - y)^2] = \bigl(\mathbb{E}\hat{y} - f(x)\bigr)^2 + \mathrm{Var}(\hat{y}) + \sigma^2 \]
The three regimes every validation curve is trying to distinguish: too stiff (high bias), well-balanced, too flexible (high variance).
Reach for it when
Classic pitfalls
You should be able to
Diagnose data-quality problems and justify each repair; explain why a given transform is needed for a given algorithm; design leakage-free validation for grouped and temporal data.
The question: how do we encode micrographs and signals so the decision-relevant information survives — beyond a single stereological scalar?
Two-point statistics generalize stereology (Sandfeld et al. 2024): \[ S_2(\mathbf{r}) = P\!\bigl(\text{phase}(\mathbf{x})=\alpha \,\wedge\, \text{phase}(\mathbf{x}+\mathbf{r})=\alpha\bigr) \]
The hero result that motivated the unit: a fully convolutional network reaches 93.94% on steel constituent classification where classical pipelines reached 48.9% — the representation change alone unlocks the gain (Azimi et al. 2018).
Reach for it when
Classic pitfalls
You should be able to
Quantify what a stereological scalar throws away; choose an encoding from \(N\), physics, and regulatory context; name three failure modes that erase apparent CNN gains.
The question: how do we discover structure in unlabeled materials data?
The K-means objective (Bishop 2006): \[ \min_{\{\mu_k\},\, \{c_i\}} \sum_{i=1}^{N} \|\mathbf{x}_i - \mu_{c_i}\|_2^2 \]
Phase mapping of industrial duplex stainless steel by K-means on low-loss EELS spectra: the cluster centroids are physically interpretable spectra.
Autoencoder objective and its anomaly score (Goodfellow et al. 2016): \[ \min_\theta\; \mathbb{E}_{x \sim \mathcal{D}}\, \|x - g_\theta(f_\theta(x))\|_2^2, \qquad a(x) = \|x - g_\theta(f_\theta(x))\|^2 \]
The unit’s core lesson: identical K-means, different representation — raw pixels score ARI 0.12 on NEU-DET steel defects, ResNet18 embeddings score 0.81.
Reach for it when
Classic pitfalls
You should be able to
Run K-means/GMM with a defensible \(k\); cluster CNN embeddings and hyperspectral pixels and interpret the results; train an AE, pick the bottleneck, and deploy it as an anomaly detector with a nominal-only threshold.
The question: how can deep models work with 50–500 labeled micrographs instead of millions?

Reach for it when
Classic pitfalls
You should be able to
Explain why ImageNet features transfer despite the domain gap; design a physically valid augmentation pipeline; choose feature extraction vs. fine-tuning from data size and domain gap; diagnose sim-to-real failure modes.
The question: how do we forecast the next observation in a process stream with calibrated uncertainty, so the forecast can drive decisions?
The LSTM cell update whose additive structure lets gradients flow through time: \[ C_t = f_t \odot C_{t-1} + i_t \odot \tilde C_t \]
Heteroscedastic Gaussian NLL — fit the mean and an honest variance: \[ -\log p(x_{t+1}\mid \mu_t, \sigma_t^2) = \tfrac{(x_{t+1}-\mu_t)^2}{2\sigma_t^2} + \tfrac{1}{2}\log\sigma_t^2 + \mathrm{const.} \]

Reach for it when
Classic pitfalls
You should be able to
Separate aleatoric from epistemic uncertainty and estimate each; train an LSTM with an NLL head and produce calibrated intervals; read a calibration plot and recalibrate; set anomaly thresholds via predictive likelihood.
The question: how do we reverse the physics arrow — inferring process parameters from desired properties — when that problem is fundamentally ill-posed?
The regularized inverse problem (Neuer et al. 2024): \[ \hat{\mathbf{x}} = \arg\min_{\mathbf{x}} \|f(\mathbf{x}) - \mathbf{y}_\text{obs}\|^2 + \lambda R(\mathbf{x}) \]
SINDy — the governing equation as a sparse combination of library terms (Brunton et al. 2016): \[ \frac{d\mathbf{x}}{dt} = \boldsymbol{\Theta}(\mathbf{x})\,\boldsymbol{\xi} \]

Reach for it when
Classic pitfalls
You should be able to
Explain Hadamard’s conditions with a materials example for each failure; compute a safe operating window from constraint boundaries; formulate an inverse-PINN loss; design and critique a SINDy library.
The question: how does probe physics (XRD, EELS, EDX, XPS, Raman) dictate a defensible pipeline that outputs materials answers, not latent coordinates?
Linear spectral unmixing — and its fundamental ambiguity (Kotula and Keenan 2006): \[ \mathbf{X} = \mathbf{C}\mathbf{S}^\top + \mathbf{E}, \qquad \mathbf{X} = (\mathbf{C}\mathbf{T})(\mathbf{T}^{-1}\mathbf{S}^\top) \]
The unit’s core architecture: every modality flows through background subtraction → calibration/alignment → normalization → deconvolution → reduction/decomposition.
Reach for it when
Classic pitfalls
You should be able to
Build and justify a preprocessing pipeline for a given modality; explain rotational ambiguity and name constraints that resolve it; decompose an uncertainty budget into random and systematic parts and say which dominates.
The question: how do transformers capture long-range correlations in diffraction patterns, spectra, and process sequences — and when do they beat CNNs?
Scaled dot-product attention — the core mechanism (Vaswani et al. 2017): \[ \mathrm{Attn}(Q, K, V) = \mathrm{softmax}\!\left(\frac{QK^\top}{\sqrt{d_k}}\right) V \]

Flash Attention: tiled computation with online softmax in SRAM \[ \mathcal{O}(L^2) \;\to\; \mathcal{O}(L) \quad \text{in memory} \]

Reach for it when
Classic pitfalls
You should be able to
Explain the receptive-field argument for attention on diffraction data; choose tokenization and positional encoding per modality; implement the pretrain→fine-tune recipe; decide transformer vs. CNN vs. GNN from data size and relationship range.
The question: how do we make networks respect physical constraints, so they cannot hallucinate impossible predictions?
\[ J = J_{\text{data}} + \lambda\, J_{\text{phys}} + \lambda_b\, J_{\text{BC}} \]
The PINN data flow: the network output feeds the data loss directly and, through automatic differentiation, the PDE residual loss.
The Fourier-input idea behind FNO layers: the same network, operating on FFT-transformed inputs, sees global structure a pointwise network misses.
Reach for it when
Classic pitfalls
You should be able to
Explain how a phase-library penalty prevents impossible XRD predictions; write the three-term PINN loss and state when collocation super-resolution is valid; trade augmentation against equivariance; diagnose gradient pathology.
The question: which regions of a process are safe to operate without more experiments — and how confident are you in that answer?
The RBF kernel, whose length scale \(\ell\) is a physical correlation length: \[ k_{\text{RBF}}(T, T') = \sigma_f^2 \exp\!\left(-\frac{(T - T')^2}{2\,\ell^2}\right) \]
The acquisition function that turns \(\sigma\) into an experiment plan: \[ \alpha_{\text{UCB}}(P,v) = \mu(P,v) + \beta\,\sigma(P,v) \]

MC Dropout at inference: average \(T\) stochastic passes, report per-pixel entropy (Gal and Ghahramani 2016): \[ \bar{p}_{i,c} = \tfrac{1}{T}\sum_t p_{i,c}^{(t)}, \qquad H_i = -\sum_c \bar{p}_{i,c} \log \bar{p}_{i,c} \]
Per-pixel honesty on MetalDAM micrographs: entropy is low inside well-formed phases and high exactly where human annotators hesitate — phase boundaries and defect rims.
Reach for it when
Classic pitfalls
You should be able to
Choose a UQ method per task and budget; fit and physically interpret a GP; build and audit an active-learning loop; construct a reliability diagram and apply temperature scaling.
| Your situation | Reach for | Unit |
|---|---|---|
| Tabular, small \(n\), need error bars | Gaussian Process | 12 |
| Trained NN, need cheap per-pixel uncertainty | MC Dropout / deep ensembles | 12 |
| Few labels, related big dataset exists | Transfer learning + differential LRs | 6 |
| No labels at all | Clustering, CNN embeddings, autoencoders | 5 |
| Spectra / diffraction with known probe physics | Physics-matched preprocessing + constrained unmixing | 9 |
| Streaming sensor data, decisions on forecasts | Probabilistic LSTM + calibration | 7 |
| Properties known, parameters wanted | Regularized inversion, inverse PINN, SINDy | 8 |
| Known PDE, sparse sensors | PINN super-resolution | 11 |
| Long-range correlations, pretraining available | Transformers (ViT + Flash Attention) | 10 |
| Micrographs → properties | Representation choice by \(N\): \(S_2\) → CNN | 4 |

© Philipp Pelz - ML for Characterization and Processing