Related Experiment Video
Updated: Jan 9, 2026

Microfluidic Devices for Characterizing Pore-scale Event Processes in Porous Media for Oil Recovery Applications
Published on: January 16, 2018
Physics-guided transformer networks for interpretable prediction of gas-oil relative permeability in porous media
1Department of Chemical and Petroleum Engineering, Sharif University of Technology (SUT), Tehran, Iran. maahmadi@sharif.edu.
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.
Related Concept Videos
Transformers with Off-Nominal Turns Ratios
Magnetic Susceptibility and Permeability
When diamagnetic materials are placed under an external magnetic field, the moments opposite to the field are induced. Hence, the susceptibility for diamagnets has a minimal negative value of 10-5–10-6. Since...
Equivalent Circuits for Practical Transformers
In a practical transformer, each winding exhibits resistance and leakage reactance. The...
Transformers in Distribution System
Distribution substation transformers come in various ratings and typically use mineral oil for insulation and cooling. To prevent moisture and air from entering the oil, some transformers use an inert gas like nitrogen to fill the...
Three-Winding Transformers
In the per-unit equivalent circuit of a grounded Y-Y three-phase...
The Ideal Transformer
Ampere's Law forms the basis of understanding the magnetic field within the transformer. It states that the integral of the magnetic field intensity's tangential...

