Physics-guided transformer networks for interpretable prediction of gas–oil relative permeability in porous media

N/ACitations
Citations of this article
10Readers
Mendeley users who have this article in their library.

This article is free to access.

Abstract

Accurate prediction of gas (Krg) and oil (Krog) relative permeability is essential for reliable multiphase flow modeling in petroleum reservoirs. This study presents a comparative machine learning framework leveraging 1,026 petrophysical data points and advanced techniques, including Transformer networks, Random Forest (RF), and Extreme Gradient Boosting (XGBoost), alongside conventional linear regression. Explainability was incorporated from the outset using SHAP (Shapley Additive Explanations) to interpret feature contributions and ensure physically meaningful predictions. The Transformer model, empowered by self-attention mechanisms, consistently outperformed all baselines, achieving R² values up to 0.94 and accurately capturing nonlinear interactions. Scatter plots, Bland-Altman analyses, residual diagnostics, and quantile-quantile (Q-Q) plots revealed minimal bias, tight confidence bounds, and homoscedastic residuals across diverse saturation regimes. RF and XGBoost showed competitive performance (R² ≥ 0.88), particularly in heterogeneous formations, while linear regression underperformed, displaying systematic errors and wide prediction intervals. SHAP analyses highlighted gas saturation (Sg) and residual oil saturation (Sorg) as dominant controls, with Transformers capturing percolation thresholds, pore-blocking effects, and lithological heterogeneities more effectively than ensemble methods. This Transformer-based framework sets a new benchmark for data-driven Kr estimation, combining predictive accuracy with transparent, physically consistent reasoning, and is highly suitable for field-scale reservoir simulation and uncertainty quantification in enhanced recovery applications.

Cite

CITATION STYLE

APA

Ahmadi, M. (2026). Physics-guided transformer networks for interpretable prediction of gas–oil relative permeability in porous media. Scientific Reports, 16(1). https://doi.org/10.1038/s41598-025-29779-5

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free