The term compositional generalization is increasingly invoked in machine learning for multi-principal element alloys (MPEAs), yet its meaning remains inconsistent and often conflated with interpolation or extrapolation. In standard machine learning, compositional generalization denotes the structured recombination of known components into novel configurations. Translating this concept to MPEAs is non-trivial due to their continuous composition space, permutation symmetries, and overlapping local atomic environments. Graph neural networks (GNNs), while effective for property prediction, are not inherently designed for such recombination beyond interpolation. This article identifies a resulting boundary problem and proposes an operational definition of compositional generalization based on four criteria: novel element–concentration co-occurrences, extrapolation beyond the convex hull of training compositions, controlled performance degradation, and permutation invariance. The framework clarifies widespread misuses of the term and provides a concrete basis for evaluating and designing models for MPEA discovery.
The standard practice in machine learning for small-crystal property prediction relies on random train-test splitting of datasets such as the Materials Project. This approach creates an illusion of generalization: models routinely report near-zero mean absolute errors on formation energies, band gaps, or elastic constants, yet these impressive figures reflect leakage of structural, compositional, and energetic information rather than genuine out-of-distribution capability. Random splitting fails because crystals are not independent and identically distributed; repeated prototypes, shared elemental combinations, local coordination environments, and clustered formation energies ensure that train and test sets remain statistically entangled even after random partitioning. We identify a typology of four generalization illusions—prototype, compositional, energy-range, and structural—that systematically mislead the field and explain why published “state-of-the-art” accuracies collapse under more rigorous evaluation regimes. The consequences are severe: wasted experimental validation efforts, inflated claims of progress, overinvestment in architectures that cannot extrapolate, and a delayed recognition of fundamental limitations in current graph-network approaches. We propose six alternative evaluation strategies—composition splits, prototype splits, time splits, structural dissimilarity splits, energy-extrapolation splits, and cross-database splits—that replace random partitioning with deliberate distribution shifts, thereby restoring scientific integrity to benchmark design in computational materials science.
Out-of-distribution (OOD) generalization remains one of the most pressing barriers to the reliable deployment of artificial intelligence in materials science. Although machine-learning models now routinely achieve sub-0.1 eV/atom errors on in-distribution test sets for formation energies, band gaps, and elastic moduli, these same models frequently collapse when confronted with materials that lie outside the training distribution. Real-world materials discovery and process optimization demand predictions for unseen compositions, novel crystal prototypes, altered thermodynamic conditions, and non-equilibrium dynamical regimes—scenarios that constitute domain shift rather than simple interpolation. This systematic review synthesizes the literature on OOD generalization in materials AI drawing exclusively peer-reviewed publications from high-impact venues including npj Computational Materials, Digital Discovery, Machine Learning: Science and Technology, and Journal of Chemical Theory and Computation. We identify four primary types of domain shift—compositional, structural, thermodynamic, and dynamical—and introduce a fifth multi-dimensional category that captures the realistic superposition of shifts encountered in practice. Current methodological families are critically assessed: domain adaptation (distribution alignment), invariant learning (IRM and Group DRO), physics-informed and symmetry-aware data augmentation, uncertainty quantification for OOD detection, and extrapolation-aware architectures (equivariant networks, multi-fidelity models, and generative priors). Empirical findings across the corpus reveal a consistent pattern: modest gains (20–50 % error reduction) are achievable for small, single-axis shifts, yet performance degrades sharply—and often catastrophically—for large compositional jumps, prototype changes, or combined multi-dimensional shifts. No method currently delivers reliable extrapolation beyond the convex hull of the training manifold. Key gaps persist. The community lacks standardized OOD benchmarks with controlled shift axes, theoretical guarantees for extrapolation remain underdeveloped, and conditional (per-input) robustness guarantees are almost entirely absent. Evaluation metrics are inconsistent, rendering cross-paper comparisons unreliable. This review therefore provides not only a taxonomy and synthesis but also a forward-looking identification of unsolved problems that must be addressed before materials AI can transition from laboratory demonstration to industrial reliability. OOD generalization in materials AI is no longer an optional research direction; it is the central unsolved challenge that will determine the field’s practical impact over the next decade.