Explaining the Performance Hierarchy of Linear Regression, Support Vector Regression, and Random Forest on Physics-Generated PVT Data: A Real-Gas-Law and Gauss-Markov Perspective
Machine learning (ML) regression models are increasingly proposed as fast surrogates for deterministic Pressure-Volume-Temperature (PVT) simulation in reservoir and production engineering, yet the choice among competing algorithms is rarely justified on physical or statistical grounds. This study trains, evaluates, and compares three regression algorithms, Linear Regression (LR), Support Vector Regression (SVR), and Random Forest Regression (RF), on a PVT dataset generated from an industry-standard Integrated Production Modelling (IPM) software platform (PROSPER) using the Glaso correlation for a representative mature onshore Niger Delta oil well. Gas density was predicted from pressure and associated fluid properties across a depletion range of 1000 - 3500 psig. Following a structured preprocessing pipeline (exploratory data analysis, Isolation Forest anomaly removal, Min-Max normalization, K-means regime clustering, and time-series smoothing), the three algorithms were trained on an 80:20 split and evaluated using Root Mean Squared Error (RMSE) and the coefficient of determination (R2). Linear Regression achieved the highest accuracy (R2 = 0.9954, RMSE = 0.2240 lb/ft3), followed by SVR (R2 = 0.9408, RMSE = 0.8042 lb/ft3) and Random Forest (R2 = 0.8389, RMSE = 1.4326 lb/ft3). Physically consistent extrapolation beyond the training range (correctly predicting monotonically increasing gas density at 4000 and 5000 psig) confirmed that the Linear Regression model had captured the governing thermodynamic relationship rather than an artefact of the training data. We show that this performance hierarchy is not an empirical coincidence but a direct, predictable consequence of two established results: the real gas law, which imposes a near-linear pressure-density relationship (Pearson r = 1.00) at approximately constant reservoir temperature, and the Gauss-Markov theorem, which guarantees that Ordinary Least Squares is the best linear unbiased estimator when the true relationship is linear. A bias-variance decomposition further explains why SVR’s kernel mismatch and Random Forest’s piecewise-constant approximation both add prediction variance without a compensating reduction in bias on this near-linear, physics-generated data. These findings provide petroleum engineers and applied ML practitioners with a principled, physics-grounded criterion for algorithm selection when training data are generated from simulator-based PVT correlations, rather than defaulting to the most
References
[1]
LeCun, Y., Bengio, Y. and Hinton, G. (2015) Deep Learning. Nature, 521, 436-444. https://doi.org/10.1038/nature14539
[2]
Tariq, Z., Aljawad, M.S., Hasan, A., Murtaza, M., Mohammed, E., El-Husseiny, A., et al. (2021) A Systematic Review of Data Science and Machine Learning Applications to the Oil and Gas Industry. JournalofPetroleumExplorationandProductionTechnology, 11, 4339-4374. https://doi.org/10.1007/s13202-021-01302-2
[3]
Karpatne, A., Atluri, G., Faghmous, J.H., Steinbach, M., Banerjee, A., Ganguly, A., et al. (2017) Theory-Guided Data Science: A New Paradigm for Scientific Discovery from Data. IEEETransactionsonKnowledgeandDataEngineering, 29, 2318-2331. https://doi.org/10.1109/tkde.2017.2720168
[4]
Raissi, M., Perdikaris, P. and Karniadakis, G.E. (2019) Physics-Informed Neural Networks: A Deep Learning Framework for Solving Forward and Inverse Problems Involving Nonlinear Partial Differential Equations. JournalofComputationalPhysics, 378, 686-707. https://doi.org/10.1016/j.jcp.2018.10.045
[5]
Karniadakis, G.E., Kevrekidis, I.G., Lu, L., Perdikaris, P., Wang, S. and Yang, L. (2021) Physics-Informed Machine Learning. NatureReviewsPhysics, 3, 422-440. https://doi.org/10.1038/s42254-021-00314-5
[6]
Nwachukwu, A., Jeong, H., Pyrcz, M. and Lake, L.W. (2018) Fast Evaluation of Well Placements in Heterogeneous Reservoir Models Using Machine Learning. JournalofPetroleumScienceandEngineering, 163, 463-475. https://doi.org/10.1016/j.petrol.2018.01.019
[7]
Temizel, C., Canbaz, C.H., Palabiyik, Y. and Ozcan, G. (2014) Machine Learning Applications in Unconventional Resources: An Analysis of Production Data. SPE Annual Technical Conference and Exhibition, Amsterdam, 27-29 October 2014.
[8]
Glaso, O. (1980) Generalized Pressure-Volume-Temperature Correlations. JournalofPetroleumTechnology, 32, 785-795. https://doi.org/10.2118/8016-pa
[9]
Liu, F.T., Ting, K.M. and Zhou, Z. (2008) Isolation Forest. 2008 Eighth IEEE International Conference on Data Mining, Pisa, 15-19 December 2008, 413-422. https://doi.org/10.1109/icdm.2008.17
[10]
Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., et al. (2011) Scikit-Learn: Machine Learning in Python. Journal of Machine Learning Research, 12, 2825-2830.
[11]
MacQueen, J. (1967) Some Methods for Classification and Analysis of Multivariate Observations. Proceedings of the 5th Berkeley Symposium on Mathematical Statistics and Probability, Berkeley, 21 June-18 July 1965 and 27 December 1965-7 January 1966, 281-297.
Vapnik, V.N. (1995) The Nature of Statistical Learning Theory. Springer. https://doi.org/10.1007/978-1-4757-2440-0
[14]
Smola, A.J. and Sch?lkopf, B. (2004) A Tutorial on Support Vector Regression. StatisticsandComputing, 14, 199-222. https://doi.org/10.1023/b:stco.0000035301.49549.88
[15]
Breiman, L. (2001) Random Forests. MachineLearning, 45, 5-32. https://doi.org/10.1023/a:1010933404324
[16]
Chai, T. and Draxler, R.R. (2014) Root Mean Square Error (RMSE) or Mean Absolute Error (MAE)? Arguments against Avoiding RMSE in the Literature. GeoscientificModelDevelopment, 7, 1247-1250. https://doi.org/10.5194/gmd-7-1247-2014
[17]
Hastie, T., Tibshirani, R. and Friedman, J. (2009) The Elements of Statistical Learning: Data Mining, Inference, and Prediction. 2nd Edition, Springer. https://doi.org/10.1007/978-0-387-84858-7
[18]
Standing, M.B. and Katz, D.L. (1942) Density of Natural Gases. TransactionsoftheAIME, 146, 140-149. https://doi.org/10.2118/942140-g
[19]
Geman, S., Bienenstock, E. and Doursat, R. (1992) Neural Networks and the Bias/Variance Dilemma. NeuralComputation, 4, 1-58. https://doi.org/10.1162/neco.1992.4.1.1