Chemical Substructure Representations for Hierarchical Learning in Metal-Organic Frameworks
Machine-learning models for metal-organic frameworks operate primarily at the atomic level, often overlooking their layered chemical and structural organization, spanning atoms and functional groups, organic linkers, inorganic nodes, and the three-dimensional porous framework. Here, we introduce hierMOF, a framework that captures this hierarchy by decomposing MOFs into their constituent building blocks and learning transferable representations at each structural level. These pretrained representations are integrated with atomic information through message passing and cross-level information exchange to predict MOF properties. Across band-gap, gas adsorption, and water stability, hierMOF achieves state-of-the-art predictive performance, consistently outperforming the corresponding atom-only baselines and reducing prediction errors by up to 55\%. Furthermore, our explainable AI approach attributes model predictions to individual chemical building blocks, providing insights into their contributions to MOF properties. Our results establish chemically informed hierarchical learning as a promising approach for accurate, data-efficient, and interpretable property prediction for the design of porous materials and computational materials discovery.