Bayesian Optimization & ML for Material Science HEC Prediction and Discovery
Problem and Motivation
High Entropy Alloys (HEAs) and High Entropy Ceramics (HECs) are a transformative and complex class of materials, composed of at least 5 principal elements in near-equiatomic ratios, that offer superior hardness, thermal stability, strength, and corrosion resistance. They are designed for similar important extreme-environment applications, from the aerospace and defense industry to renewable energy.
Although HEAs and HECs are both valuable novel materials, data for both material families is sparse, ranging from the low hundreds to low thousands of data points. Machine learning modeling for both of these classes have been developed independently, which misses leveraging potential shared data to create a larger, combined database. However, although high-entropy alloys and high-entropy ceramics share certain thermodynamic properties and compositional structure, they differ in bonding physics, reference states, and phase-formation mechanisms.
Our Solution: A domain-aware probabilistic model can separate transferable descriptor structure from domain-specific residual physics, enabling more sample-efficient prediction, Bayesian optimization, and physics-constrained classification and generation of new HEC candidates.
Data Science Approach and Evaluation Methods
Primary Data Sources:
- HEA Dataset: Machaka et al. 2021
- HEC Dataset: Liu et al. 2025
Following out data cleaning pipeline and feature reunification, our exploratory data analysis led to a crucial insight: HEC sits only in a corner of the HEA descriptor space. There is a large HEA cluster with no carbide counterpart. Transfer is asymmetrical by geometry: not all HEA data is useful. This motivated a refractory chemistry filter, where we realized that only certain elements, the "refractory" alloys, are near the carbides. 3d metals such as Fe, Co, and Ni were in the far cluster and were chemically incompatible with carbide prediction.
Model Summary
- Model 1: Alloy-Only Baseline (Zero-Shot Transfer)
- Purpose: Establish what alloy-only knowledge can predict about carbides
- Algorithm: HistGradBoosting Tree Ensemble
- Evaluation Method: Repeated cross-validation with HEA data applied directly to HECs with zero carbide training
- Model 2: Carbide-Only Baseline
- Purpose: Establish ideal performance using only carbide labels for reference
- Algorithm: Regularized Logistic Regression
- Evaluation Method: Leave-one-out cross-validation: train on 52 carbides, predict held-out one, and repeat 53x
- Model 3: Pooled Transfer Variance
- Purpose: Train simply on combined alloys and carbides
- Algorithm: Logistic Regression & HistGradBoosting
- Blind pooling: all 434 alloys + carbides, with no distinction
- Filtered pooling: only the 149 carbide-relevant refractory alloys (the chemistry-only filter from EDA)
- Domain flag: add a 13th feature marking alloy vs carbide
- Weighted pooling: downweight alloys that look least like carbides (density-ratio weighting)
- Evaluation Method: Leave-one-out cross-validation: train on 52 carbides, predict held-out one, and repeat 53x
- Model 4: Hierarchal Bayesian Logistic Regression
- Purpose: Provide full uncertainty quantification & explicitly separate shared vs. domain-specific signal
- Algorithm: Bayesian Logistic Regression
- Evaluation Method: Leave-one-out cross-validation: train on 52 carbides, predict held-out and in-sample
- Model 5: Coregionalized Gaussian Process
- Purpose: Learn the degree of domain sharing directly from data: how much do carbides borrow from alloy neighbors
- Algorithm: Gaussian Process Classifier
- Evaluation Method: Nested leave-one-out cross-validation
Results
# | Model | HEC labels | AUC | PR-AUC | Acc @0.5 | Brier ↓ |
1 | M4: Hierarchical Bayes “Model A” (LOCO) | 52/fold | 0.937 | 0.902 | 0.943 | 0.059 |
2 | M2: HEC-only logistic (LOCO) | 52/fold | 0.940 | 0.903 | 0.925 | 0.073 |
3 | M3ii: Pooled refractory (LOCO) | 52/fold | 0.932 | 0.900 | 0.887 | 0.078 |
4 | M5: Coregionalized GP “Model B” (nested LOCO) | 52/fold | 0.929 | 0.941 | 0.925 | 0.099 |
5 | M3i: Pooled blind (LOCO) | 52/fold | 0.847 | 0.859 | 0.811 | 0.152 |
6 | M3iv: Pooled + weights (LOCO) | 52/fold | 0.825 | 0.846 | 0.792 | 0.152 |
7 | M3iii: Pooled + domain flag (LOCO) | 52/fold | 0.819 | 0.840 | 0.811 | 0.161 |
8 | M1: Zero-shot HistGBT | 0 | 0.766 | 0.798 | 0.717 | 0.190 |
9 | M1: Zero-shot logistic | 0 | 0.608 | 0.730 | 0.623 | 0.271 |
10 | Majority-rate baseline | — | 0.500 | 0.642 | 0.642 | 0.230 |
Key Learnings and Impact
Bayesian Optimization Discovery Loop works end to end. BO finds best carbide in a median of 11 tries and succeeds 100% of the time. Random search requires over 24 and succeeds only 12% of the time. Calibrated uncertainty makes search 2–3× more query-efficient, verified against MACE for genuine physics and chemistry.
We discovered a coherent family of genuinely novel, previously uncharacterized, carbides. Mo/W/Ti-rich quaternary carbides, unranked-able by carbide data alone, independently rated stable, delivered as a ranked DFT shortlist after 11 oracle queries.
- Transfer helps only when carbide labels are sparse. Alloy data helps carbide prediction exactly where the carbide data is blind: very few labels, or elements the carbide set doesn't cover. With adequate labels it is neutral at best, and harmful if pooled blindly, but a chemistry-only filter removes the harm.
- Transfer is chemistry element-specific, not uniform. Domain knowledge transfer is asymmetric and most apparent with chemistry. Key value is in covering chemistry that is unseen to carbide dataset.
Future Steps: Density Functional Theory (DFT) validation of the discovered carbide family to close the loop on real calculations.
Acknowledgements
We'd like to thank UC Berkeley School of Information, MIDS Capstone Program, and our instructors, Puya Vahabi and Fred Nugen for their invaluable guidance. We'd also like to express gratitude for the work that has been prior by the Materials Science community and researchers that made this project possible, specifically Machaka et al., Liu et al., and Zhang et als.' works.
Data Sources and References
- Machaka, Ronald, et al. “HEA Phase ML Dataset.” Data in Brief, vol. 38, 2021, article 107346. https://doi.org/10.1016/j.dib.2021.107346.
- Peivaste, I., et al. “Data-Driven HEA Phase Stability.” Scientific Reports, vol. 13, 2023. https://doi.org/10.1038/s41598-023-50044-0.
- Berry, T., et al. “ML + CALPHAD for HEA Hardmetal Design.” Advanced Engineering Materials, vol. 26, 2024, article 202302064. https://doi.org/10.1002/adem.202302064.
- Liu, Y., et al. “HECC Phase Prediction + SMOTE.” npj Computational Materials, vol. 11, 2025. https://doi.org/10.1038/s41524-025-01873-2.
- Kaufmann, K., et al. “Discovery of HECs via ML.” npj Computational Materials, vol. 6, 2020. https://doi.org/10.1038/s41524-020-0317-6.
- Zhang, Y., et al. “Design HEC from ML.” npj Computational Materials, vol. 8, 2022. https://doi.org/10.1038/s41524-021-00668-5.
- Kretschmer, A., and P. H. Mayrhofer. “EFA Explained by Size Mismatch.” Scientific Reports, vol. 14, 2024. https://doi.org/10.1038/s41598-024-57456-6.
- Curtarolo, Stefano, et al. “DEED Descriptor for HECs.” Nature, vol. 624, 2023, pp. 107–114. https://doi.org/10.1038/s41586-023-06786-y.
- Harvey, K., et al. “Active Learning for HEC Discovery.” Chemistry of Materials, vol. 36, 2024. https://doi.org/10.1021/acs.chemmater.4c00303.
- Gorsse, Stéphane, et al. “HEA Mechanical Properties Database.” Data in Brief, vol. 21, 2018, pp. 2664–2670. https://doi.org/10.1016/j.dib.2018.11.111.
- Yan, X., et al. “ML Review for HEAs.” Journal of Alloys and Compounds, vol. 1002, 2025, article 177823. https://doi.org/10.1016/j.jallcom.2024.177823.
- Liang, Q., et al. “Benchmarking BO across Materials Domains.” npj Computational Materials, vol. 7, 2021. https://doi.org/10.1038/s41524-021-00656-9.
