Classification-based detection and quantification of cross-domain data bias in materials discovery
Giovanni Trezza, Eliodoro Chiavazzo
TL;DR
This work addresses the problem of cross-domain data bias in AI-driven materials discovery by introducing a binary classifier-based filter that distinguishes materials within the training domain from out-of-domain samples using a general reference space (MaterialsProject). It formalizes in-distribution vs cross-domain scenarios and validates the approach with two case studies—superconductors (SuperCon) and thermoelectrics (ESTM)—showing that classifier performance correlates with regression reliability and that stronger filtering improves predictive accuracy. SHAP-based feature analysis identifies key descriptors driving predictions, and two validity checks (clustering-based and threshold-based) demonstrate the method's robustness and its ability to override bias when filtering. The framework yields a practical bias metric via AUC and offers a scalable, architecture-agnostic tool that can complement generative models and help prevent unreliable predictions in large-scale materials discovery pipelines.
Abstract
It stands to reason that the amount and the quality of data is of key importance for setting up accurate AI-driven models. Among others, a fundamental aspect to consider is the bias introduced during sample selection in database generation. This is particularly relevant when a model is trained on a specialized dataset to predict a property of interest, and then applied to forecast the same property over samples having a completely different genesis. Indeed, the resulting biased model will likely produce unreliable predictions for many of those out-of-the-box samples. Neglecting such an aspect may hinder the AI-based discovery process, even when high quality, sufficiently large and highly reputable data sources are available. In this regard, with superconducting and thermoelectric materials as two prototypical case studies in the field of energy material discovery, we present and validate a new method (based on a classification strategy) capable of detecting, quantifying and circumventing the presence of cross-domain data bias.
