Journal of Petroleum Science & Engineering2022,Vol.20913.DOI:10.1016/j.petrol.2021.109885

Fair train-test split in machine learning;; Mitigating spatial autocorrelation for improved prediction accuracy

Jose J. Salazar Lean Garland Jesus Ochoa
Journal of Petroleum Science & Engineering2022,Vol.20913.DOI:10.1016/j.petrol.2021.109885

Fair train-test split in machine learning;; Mitigating spatial autocorrelation for improved prediction accuracy

Jose J. Salazar 1Lean Garland 2Jesus Ochoa3
扫码查看

作者信息

  • 1. Hildebrand Department of Petroleum and Geosystems Engineering, Cockrell School of Engineering, The University of Texas at Austin, USA
  • 2. Exploration & Production International, Equinor ASA, Oslo, Norway
  • 3. Technology, Digital S( Innovation, Equinor US, Houston, USA
  • 折叠

Abstract

Machine learning supports prediction and inference in multivariate and complex datasets where observations are spatially related to one another. Frequently, these datasets depict spatial autocorrelation that violates the assumption of identically and independently distributed data. Overlooking this correlation result in over-optimistic models that fail to account for the geographical configuration of data. Furthermore, although different data split methods account for spatial autocorrelation, these methods are inflexible, and the parameter training and hyperparameter tuning of the machine learning model is set with a different prediction difficulty than the planned real-world use of the model. In other words, it is an unfair training-testing process. We present a novel method that considers spatial autocorrelation and planned real-world use of the spatial prediction model to design a fair train-test split. Demonstrations include two examples of the planned real-world use of the model using a realistic multivariate synthetic dataset and the analysis of 148 wells from an undisclosed Equinor play. First, the workflow applies the semivariogram model of the target to compute the simple kriging variance as a proxy of spatial estimation difficulty based on the spatial data configuration. Second, the workflow employs a modified rejection sampling to generate a test set with similar prediction difficulty as the planned real-world use of the model. Third, we compare 100 test sets' realizations to the model's planned real-world use, using probability distributions and two divergence metrics;; the Jensen-Shannon distance and the mean squared error. The analysis ranks the spatial fair train-test split method as the only one to replicate the difficulty (i.e., kriging variance) compared to the validation set approach and spatial cross-validation. Moreover, the proposed method outperforms the validation set approach, yielding a minor mean percentage error when predicting a target feature in an undisclosed Equinor play using a random forest model. The resulting outputs are training and test sets ready for model fit and assessment with any machine learning algorithm. Thus, the proposed workflow offers spatial aware sets ready for predictive machine learning problems with similar estimation difficulty as the planned real-world use of the model and compatible with any spatial data analysis task.

Key words

Fairness/Spatial autocorrelation/Train-test split/Kriging/Cross-validation

引用本文复制引用

出版年

2022
Journal of Petroleum Science & Engineering

Journal of Petroleum Science & Engineering

ISSN:0920-4105
被引量9
参考文献量41
段落导航相关论文