journal article·2022-03Open access

CrabNet for Explainable Deep Learning in Materials Science: Bridging the Gap Between Academia and Industry

Anthony Yu-Tung Wang, Mahamad Salah Mahmoud, Mathias Czasny, Aleksander Gurlo

Abstract

Abstract Despite recent breakthroughs in deep learning for materials informatics, there exists a disparity between their popularity in academic research and their limited adoption in the industry. A significant contributor to this “interpretability-adoption gap” is the prevalence of black-box models and the lack of built-in methods for model interpretation. While established methods for evaluating model performance exist, an intuitive understanding of the modeling and decision-making processes in models is nonetheless desired in many cases. In this work, we demonstrate several ways of incorporating model interpretability to the structure-agnostic Compositionally Restricted Attention-Based network, CrabNet. We show that CrabNet learns meaningful, material property-specific element representations based solely on the data with no additional supervision. These element representations can then be used to explore element identity, similarity, behavior, and interactions within different chemical environments. Chemical compounds can also be uniquely represented and examined to reveal clear structures and trends within the chemical space. Additionally, visualizations of the attention mechanism can be used in conjunction to further understand the modeling process, identify potential modeling or dataset errors, and hint at further chemical insights leading to a better understanding of the phenomena governing material properties. We feel confident that the interpretability methods introduced in this work for CrabNet will be of keen interest to materials informatics researchers as well as industrial practitioners alike.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Machine Learning in Materials Science · Computational Drug Discovery Methods · Advanced Graph Neural Networks

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (86)

Show source-provided references
1. Ramprasad R, Batra R, Pilania G, Mannodi-Kanakkithodi A, Kim C (2017) Machine learning in materials informatics: recent applications and prospects. npj Comput Mater 3(1):6010.1038/s41524-017-0056-5 ↗
2. Schmidt J, Marques MRG, Botti S, Marques MAL (2019) Recent advances and applications of machine learning in solid-state materials science. npj Comput Mater 5(1):8310.1038/s41524-019-0221-0 ↗
3. Gomes CP, Selman B, Gregoire JM (2019) Artificial intelligence for materials discovery. MRS Bull 44(7):538–54410.1557/mrs.2019.158 ↗
4. Isayev O, Tropsha A, Curtarolo S (eds) (2019) Materials informatics: methods, tools, and applications. Wiley, USA
5. DeCost BL, Hattrick-Simpers JR, Trautt Z, Kusne AG, Campo E, Green ML (2020) Scientific AI in materials science: a path to a sustainable and scalable paradigm. Mach Learn: Sci Technol 1(3):033001
6. Stein HS, Gregoire JM (2019) Progress and prospects for accelerating materials science with automated and autonomous workflows. Chem Sci 10(42):9640–964910.1039/C9SC03766G ↗
7. Morgan D, Jacobs R (2020) Opportunities and challenges for machine learning in materials science. Annu Rev Mater Res 50(1):71–10310.1146/annurev-matsci-070218-010015 ↗
8. Zitnick CL, Chanussot L, Das A, Goyal S, Heras-Domingo J, Ho C, Hu W, Lavril T, Palizhati A, Riviere M, Shuaibi M, Sriram A, Tran K, Wood B, Yoon J, Parikh D, Ulissi Z (2020) An introduction to electrocatalyst design using machine learning for renewable energy storage. http://arxiv.org/abs/2010.09435v1
9. Sparks TD, Kauwe SK, Parry ME, Tehrani AM, Brgoch J (2020) Machine learning for structural materials. Ann Rev Mater Res 50:2710.1146/annurev-matsci-110519-094700 ↗
10. Pilania G (2021) Machine learning in materials science: from explainable predictions to autonomous design. Comput Mater Sci 193:11036010.1016/j.commatsci.2021.110360 ↗
11. Oliynyk AO, Antono E, Sparks TD, Ghadbeigi L, Gaultois MW, Meredig B, Mar A (2016) High-throughput machine-learning-driven synthesis of full-heusler compounds. Chem Mater 28(20):7324–733110.1021/acs.chemmater.6b02724 ↗
12. Ward L, Agrawal A, Choudhary A, Wolverton C (2016) A general-purpose machine learning framework for predicting properties of inorganic materials. npj Comput Mater 2(1):1602810.1038/npjcompumats.2016.28 ↗
13. Pilania G, Mannodi-Kanakkithodi A, Uberuaga BP, Ramprasad R, Gubernatis JE, Lookman T (2016) Machine learning bandgaps of double perovskites. Sci Rep 6:1937510.1038/srep19375 ↗
14. Dunn A, Wang Q, Ganose A, Dopp D, Jain A (2020) Benchmarking materials property prediction methods: the Matbench test set and Automatminer reference algorithm. npj Comput Mater 6(1):13810.1038/s41524-020-00406-3 ↗
15. Kauwe SK, Graser J, Murdock RJ, Sparks TD (2020) Can machine learning find extraordinary materials? Comput Mater Sci 174:10949810.1016/j.commatsci.2019.109498 ↗
16. Graser J, Kauwe SK, Sparks TD (2018) Machine learning and energy minimization approaches for crystal structure predictions: a review and new horizons. Chem Mater 30(11):3601–361210.1021/acs.chemmater.7b05304 ↗
17. Tehrani AM, Oliynyk AO, Parry M, Rizvi Z, Couper S, Lin F, Miyagi L, Sparks TD, Brgoch J (2018) Machine learning directed search for ultraincompressible, superhard materials. J Am Chem Soc 140(31):9844–985310.1021/jacs.8b02717 ↗
18. Murdock RJ, Kauwe SK, Wang AY-T, Sparks TD (2020) Is domain knowledge necessary for machine learning materials properties? Integr Mater Manuf Innov 9(3):221–22710.1007/s40192-020-00179-z ↗
19. Choudhary K, DeCost B, Tavazza F (2018) Machine learning with force-field-inspired descriptors for materials: fast screening and mapping energy landscape. Phys Rev Mater 2(8):08380110.1103/PhysRevMaterials.2.083801 ↗
20. Tshitoyan V, Dagdelen J, Weston L, Dunn A, Rong Z, Kononova O, Persson KA, Ceder G, Jain A (2019) Unsupervised word embeddings capture latent knowledge from materials science literature. Nature 571(7763):95–9810.1038/s41586-019-1335-8 ↗
21. Kauwe SK, Graser J, Vazquez A, Sparks TD (2018) Machine learning prediction of heat capacity for solid inorganics. Integr Mater Manuf Innov 7(2):43–5110.1007/s40192-018-0108-9 ↗
22. Kauwe SK, Welker T, Sparks TD (2020) Extracting knowledge from DFT: experimental band gap predictions through ensemble learning. Integr Mater Manuf Innov 9(3):213–22010.1007/s40192-020-00178-0 ↗
23. Jha D, Ward L, Paul A, Liao W-K, Choudhary A, Wolverton C, Agrawal A (2018) ElemNet: deep learning the chemistry of materials from only elemental composition. Sci Rep 8(1):1759310.1038/s41598-018-35934-y ↗
24. Xie T, Grossman JC (2018) Crystal graph convolutional neural networks for an accurate and interpretable prediction of material properties. Phys Rev Lett 120(14):14530110.1103/PhysRevLett.120.145301 ↗
25. Chen C, Ye W, Zuo Y, Zheng C, Ong SP (2019) Graph networks as a universal machine learning framework for molecules and crystals. Chem Mater 31(9):3564–357210.1021/acs.chemmater.9b01294 ↗
26. Klicpera J, Giri S, Margraf JT, Günnemann S (2020) Fast and uncertainty-aware directional message passing for non-equilibrium molecules. https://arxiv.org/abs/2011.14115
27. DeCost B, Choudhary K (2021) Atomistic line graph neural network for improved materials property predictions. npj Comput Mater 7(1):18510.1038/s41524-021-00650-1 ↗
28. Wang AY-T, Kauwe SK, Murdock RJ, Sparks TD (2021) Compositionally restricted attention-based network for materials property predictions. npj Comput Mater 7(1):7710.1038/s41524-021-00545-1 ↗
29. Goodall REA, Lee AA (2020) Predicting materials properties without crystal structure: deep representation learning from stoichiometry. Nat Commun 11(1):628010.1038/s41467-020-19964-7 ↗
30. Kong S, Guevarra D, Gomes CP, Gregoire JM (2021) Materials representation and transfer learning for multi-property prediction. Appl Phys Rev 8(2):02140910.1063/5.0047066 ↗
31. Clement CL, Kauwe SK, Sparks TD (2020) Benchmark AFLOW data sets for machine learning. Integr Mater Manuf Innov 9(2):153–15610.1007/s40192-020-00174-4 ↗
32. Wang AY-T, Murdock RJ, Kauwe SK, Oliynyk AO, Gurlo A, Brgoch J, Persson KA, Sparks TD (2020) Machine learning for materials scientists: an introductory guide toward best practices. Chem Mater 32(12):4954–496510.1021/acs.chemmater.0c01907 ↗
33. Henderson AN, Kauwe SK, Sparks TD (2021) Benchmark datasets incorporating diverse tasks, sample sizes, material systems, and data heterogeneity for materials informatics. Data Brief 37:10726210.1016/j.dib.2021.107262 ↗
34. Meredig B (2017) Industrial materials informatics: analyzing large-scale data to solve applied problems in R&D, manufacturing, and supply chain. Curr Opinion Solid State Mater Sci 21(3):159–16610.1016/j.cossms.2017.01.003 ↗
35. Lipton ZC (2018) The mythos of model interpretability. Queue 16(3):31–5710.1145/3236386.3241340 ↗
36. Himanen L, Geurts A, Foster AS, Rinke P (2019) Data-driven materials science: status, challenges, and perspectives. Adv Sci 6(21):190080810.1002/advs.201900808 ↗
37. Rudin C (2019) Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead. Nat Mach Intell 1(5):206–21510.1038/s42256-019-0048-x ↗
38. Kolyshkina I, Simoff S (2019) Interpretability of machine learning solutions in industrial decision engineering. In: Data mining (T. D. Le, K.-L. Ong, Y. Zhao, W. H. Jin, S. Wong, L. Liu, and G. Williams, eds.), vol. 1127 of communications in computer and information science, pp. 156–170, Singapore: Springer Singapore10.1007/978-981-15-1699-3_13 ↗
39. Linardatos P, Papastefanopoulos V, Kotsiantis S (2021) Explainable AI: a review of machine learning interpretability methods. Entropy (Basel, Switzerland) 23(1):1810.3390/e23010018 ↗
40. Gilpin LH, Bau D, Yuan BZ, Bajwa A, Specter M, Kagal L (2018) Explaining explanations: an overview of interpretability of machine learning. In: 2018 IEEE 5th international conference on data science and advanced analytics (DSAA), pp 80–89, IEEE10.1109/DSAA.2018.00018 ↗
41. Smilkov D, Thorat N, Nicholson C, Reif E, Viégas FB, Wattenberg M (2016) Embedding projector: interactive visualization and interpretation of embeddings. http://arxiv.org/abs/1611.05469v1
42. Liu S, Bremer P-T, Thiagarajan JJ, Srikumar V, Wang B, Livnat Y, Pascucci V (2018) Visual exploration of semantic relationships in neural word embeddings. IEEE Trans Visual Comput Graphics 24(1):553–56210.1109/TVCG.2017.2745141 ↗
43. van Aken B, Winter B, Löser A, Gers FA (2020) VisBERT: Hidden-state visualizations for transformers. In: Companion proceedings of the web conference 2020 (A. E. F. Seghrouchni, G. Sukthankar, T.-Y. Liu, and M. van Steen, eds.), (New York, NY, USA), pp 207–211, ACM10.1145/3366424.3383542 ↗
44. Vinyals O, Babuschkin I, Czarnecki WM, Mathieu M, Dudzik A, Chung J, Choi DH, Powell R, Ewalds T, Georgiev P, Oh J, Horgan D, Kroiss M, Danihelka I, Huang A, Sifre L, Cai T, Agapiou JP, Jaderberg M, Vezhnevets AS, Leblond R, Pohlen T, Dalibard V, Budden D, Sulsky Y, Molloy J, Paine TL, Gulcehre C, Wang Z, Pfaff T, Wu Y, Ring R, Yogatama D, Wünsch D, McKinney K, Smith O, Schaul T, Lillicrap T, Kavukcuoglu K, Hassabis D, Apps C, Silver D (2019) Grandmaster level in StarCraft II using multi-agent reinforcement learning. Nature 575(7782):350–35410.1038/s41586-019-1724-z ↗
45. Puiutta E, Veith EMSP (2020) Explainable Reinforcement Learning: A Survey. In: Machine learning and knowledge extraction (A. Holzinger, P. Kieseberg, A. M. Tjoa, and E. Weippl, eds.), vol. 12279 of Lecture Notes in Computer Science, pp 77–95, Cham: Springer International Publishing10.1007/978-3-030-57321-8_5 ↗
46. Heuillet A, Couthouis F, Díaz-Rodríguez N (2021) Explainability in deep reinforcement learning. Knowl-Based Syst 214:10668510.1016/j.knosys.2020.106685 ↗
47. Lapuschkin S (2018) Opening the machine learning black box with Layer-wise Relevance Propagation. PhD thesis, Technische Universität Berlin, Berlin, Germany
48. Chefer H, Gur S, Wolf L (2020) Transformer interpretability beyond attention visualization. http://arxiv.org/abs/2012.09838v210.1109/CVPR46437.2021.00084 ↗
49. Chen J, Lu Y, Yu Q, Luo X, Adeli E, Wang Y, Lu L, Yuille AL, Zhou Y (2021) TransUNet: transformers make strong encoders for medical image segmentation. http://arxiv.org/abs/2102.04306v1
50. Khan S, Naseer M, Hayat M, Zamir SW, Khan FS, Shah M (2021) Transformers in vision: a survey. http://arxiv.org/pdf/2101.01169v3
51. Kailkhura B, Gallagher B, Kim S, Hiszpanski A, Han TY-J (2019) Reliable and explainable machine-learning methods for accelerated material discovery. npj Comput Mater 5(1):22110.1038/s41524-019-0248-2 ↗
52. Roscher R, Bohn B, Duarte MF, Garcke J (2020) Explainable machine learning for scientific insights and discoveries. IEEE Access 8:42200–4221610.1109/ACCESS.2020.2976199 ↗
53. Ribeiro MT, Singh S, Guestrin C (2016) Why should I trust you?: explaining the predictions of any classifier. In: Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining – KDD ’16 (B. Krishnapuram, M. Shah, A. Smola, C. Aggarwal, D. Shen, and R. Rastogi, eds.), (New York, NY, USA), pp. 1135–1144, ACM Press10.1145/2939672.2939778 ↗
54. Lundberg S, Lee S-I (2017) A unified approach to interpreting model predictions. http://arxiv.org/abs/1705.07874v2
55. Shapley LS (1953) A Value for n-person games. In: contributions to the theory of games (AM-28), Volume II (H. W. Kuhn and A. W. Tucker, eds.), Annals of Mathematics Studies, pp. 307–318, Princeton, NJ: Princeton University Press10.1515/9781400881970-018 ↗
56. Hastie T, Tibshirani R, Friedman JH (2009) The elements of statistical learning: Data mining, inference, and prediction. Springer Series in Statistics. Springer, New York10.1007/978-0-387-84858-7 ↗
57. Wang AY-T, Kauwe SK, Murdock RJ, Sparks TD (2021) Trained network weights for the paper, Compositionally restricted attention-based network for materials property predictions (CrabNet). https://doi.org/10.5281/zenodo.463386610.5281/zenodo.4633866 ↗
58. Wang AY-T, Kauwe SK (2020) Online GitHub repository for the paper, compositionally-restricted attention-based network for materials property prediction. https://github.com/anthony-wang/CrabNet10.26434/chemrxiv.11869026.v2 ↗
59. Saal JE, Kirklin S, Aykol M, Meredig B, Wolverton C (2013) Materials design and discovery with high-throughput density functional theory: the open quantum materials database (OQMD). JOM 65(11):1501–150910.1007/s11837-013-0755-4 ↗
60. Kirklin S, Saal JE, Meredig B, Thompson A, Doak JW, Aykol M, Rühl S, Wolverton C (2015) The open quantum materials database (OQMD): assessing the accuracy of DFT formation energies. npj Computational Materials 1(1):1501010.1038/npjcompumats.2015.10 ↗
61. Hegde VI, Borg CKH, Rosario Zd, Kim Y, Hutchinson M, Antono E, Ling J, Saxe P, Saal JE, Meredig B (2020) Reproducibility in high-throughput density functional theory: a comparison of AFLOW, Materials Project, and OQMD. http://arxiv.org/pdf/2007.01988v1
62. Bonachela JA, Hinrichsen H, Muñoz MA (2008) Entropy estimates of small data sets. J Phys A: Math Theor 41(20):20200110.1088/1751-8113/41/20/202001 ↗
63. Hong C, Ghosh R, Srinivasan S (2016) Dealing with class imbalance using thresholding. http://arxiv.org/pdf/1607.02705v1
64. Tahir MAUH, Asghar S, Manzoor A, Noor MA (2019) A classification model for class imbalance dataset using genetic programming. IEEE Access 7:71013–7103710.1109/ACCESS.2019.2915611 ↗
65. Shannon CE (1948) A mathematical theory of communication. Bell Syst Tech J 27(3):379–42310.1002/j.1538-7305.1948.tb01338.x ↗
66. Shannon CE (1948) A mathematical theory of communication. Bell Syst Tech J 27(4):623–65610.1002/j.1538-7305.1948.tb00917.x ↗
67. Li Y, Vasconcelos N (2019) REPAIR: removing representation bias by dataset resampling. In: 2019 IEEE/CVF conference on computer vision and pattern recognition (CVPR) (CVPR Editors, ed.), pp 9564–9573, IEEE10.1109/CVPR.2019.00980 ↗
68. Esposito C, Landrum GA, Schneider N, Stiefl N, Riniker S (2021) GHOST: adjusting the decision threshold to handle imbalanced data in machine learning. J Chem Inf Model 61(6):2623–264010.1021/acs.jcim.1c00160 ↗
69. Li K, Wu Z, Peng K-C, Ernst J, Fu Y (2018) Tell me where to look: guided attention inference network,” in 2018 IEEE/CVF conference on computer vision and pattern recognition, pp 9215–9223, IEEE10.1109/CVPR.2018.00960 ↗
70. Rodriguez AC, D’Aronco S, Schindler K, Wegner JD (2020) Privileged pooling: better sample efficiency through supervised attention. http://arxiv.org/abs/2003.09168v3
71. Kim E, Huang K, Tomala A, Matthews S, Strubell E, Saunders A, McCallum A, Olivetti E (2017) Machine-learned and codified synthesis parameters of oxide materials. Sci Data 4:17012710.1038/sdata.2017.127 ↗
72. Weston L, Tshitoyan V, Dagdelen J, Kononova O, Trewartha A, Persson KA, Ceder G, Jain A (2019) Named entity recognition and normalization applied to large-scale information extraction from the materials science literature. J Chem Inform Model 59:369210.1021/acs.jcim.9b00470 ↗
73. McInnes L, Healy J, Saul N, Großberger L (2018) UMAP: uniform manifold approximation and projection. J Open Sour Softw 3(29):86110.21105/joss.00861 ↗
74. Ong SP, Richards WD, Jain A, Hautier G, Kocher M, Cholia S, Gunter D, Chevrier VL, Persson KA, Ceder G (2013) Python materials genomics (pymatgen): a robust, open-source python library for materials analysis. Comput Mater Sci 68:314–31910.1016/j.commatsci.2012.10.028 ↗
75. Hargreaves CJ, Dyer MS, Gaultois MW, Kurlin VA, Rosseinsky MJ (2020) The earth mover’s distance as a metric for the space of inorganic compositions. Chem Mater 32(24):10610–1062010.1021/acs.chemmater.0c03381 ↗
76. Glaudell AM, Cochran JE, Patel SN, Chabinyc ML (2015) Impact of the doping method on conductivity and thermopower in semiconducting polythiophenes. Adv Energy Mater 5(4):140107210.1002/aenm.201401072 ↗
77. Zhang SB (2002) The microscopic origin of the doping limits in semiconductors and wide-gap materials and recent developments in overcoming these limits: a review. J Phys: Condens Matter 14(34):R881–R903
78. Sheng L, Wang L, Xi T, Zheng Y, Ye H (2011) Microstructure, precipitates and compressive properties of various holmium doped NiAl/Cr(Mo, Hf) eutectic alloys. Mater Design 32(10):4810–481710.1016/j.matdes.2011.06.026 ↗
79. Tehrani AM, Oliynyk AO, Rizvi Z, Lotfi S, Parry M, Sparks TD, Brgoch J (2019) Atomic substitution to balance hardness, ductility, and sustainability in molybdenum tungsten borocarbide. Chem Mater 31(18):7696–770310.1021/acs.chemmater.9b02596 ↗
80. Mihailovich and Parpia (1992) Low temperature mechanical properties of boron-doped silicon. Phys Rev Lett 68(20):3052–305510.1103/PhysRevLett.68.3052 ↗
81. Qu Z, Sparks TD, Pan W, Clarke DR (2011) Thermal conductivity of the gadolinium calcium silicate apatites: effect of different point defect types. Acta Mater 59(10):3841–385010.1016/j.actamat.2011.03.008 ↗
82. Sparks TD, Fuierer PA, Clarke DR (2010) Anisotropic thermal diffusivity and conductivity of La-doped strontium niobate Sr2Nb2O7. J Am Ceram Soc 93(4):1136–114110.1111/j.1551-2916.2009.03533.x ↗
83. Grimvall G (1999) Thermophysical Properties of Materials. Amsterdam: North Holland, 1 ed10.1016/B978-044482794-4/50002-4 ↗
84. Gaumé R, Viana B, Vivien D, Roger J-P, Fournier D (2003) A simple model for the prediction of thermal conductivity in pure and doped insulating crystals. Appl Phys Lett 83(7):1355–135710.1063/1.1601676 ↗
85. Pearson K (1901) On lines and planes of closest fit to systems of points in space. The London, Edinburgh, and Dublin Phil Magazine J Sci 2(11):559–57210.1080/14786440109462720 ↗
86. van der Maaten L, Hinton G (2008) Visualizing data using t-SNE. J Mach Learn Res 9:2579–2605