Abstract
Geological parameterization procedures entail the mapping of a high-dimensional geomodel to a low-dimensional latent variable. These parameterizations can be very useful for history matching because the number of variables to be calibrated is greatly reduced, and the mapping can be constructed such that geological realism is automatically preserved. In this work, a parameterization method based on generative latent diffusion models (LDMs) is developed for three-dimensional channel-levee-mud systems. Geomodels with variable geological metaparameters (also referred to as hyperparameters or scenario parameters), specifically mud fraction, channel orientation, and channel width, are considered. A perceptual loss term is included during training to improve geological realism. For any set of scenario parameters, an (essentially) infinite number of realizations can be generated, so our LDM parameterizes over a very wide model space. New realizations constructed using the LDM procedure are shown to closely resemble reference geomodels, both visually and in terms of one- and two-point spatial statistics. Flow response distributions, for a specified set of injection and production wells, are also shown to be in close agreement between the two sets of models. The parameterization method is applied for ensemble-based history matching, with model updates performed in the LDM latent space, for cases involving uncertain scenario parameters. For three synthetic true models, we observe clear uncertainty reduction in both production forecasts and geological scenario parameters. The overall method is additionally shown to provide posterior geomodels consistent with the synthetic true model in each case.

















Similar content being viewed by others
References
Abbate E, Dovera L, Di Curzio D, Da Pra A (2024) Investigation of convolutional variational autoencoders for facies calibration within ensemble-smoother multiple data assimilation. In: Proceedings of the 19th European conference on the mathematics of oil recovery (ECMOR). European Association of Geoscientists & Engineers, Oslo, Norway . https://doi.org/10.3997/2214-4609.202437092
Alnasser MH, Maucec M (2024) On-the-fly history matching of simulation models using generative diffusive learning (SimGDL). In: Proceedings of the IPTC international petroleum technology conference, Dhahran, Saudi Arabia. https://doi.org/10.2523/IPTC-23666-EA
Bao J, Yoon H, Lee J (2024) CO\(_2\) storage site characterization using ensemble-based approaches with deep generative models. Geoenergy Sci Eng 243:213294. https://doi.org/10.1016/j.geoen.2024.213294
Canchumuni SWA, Emerick AA, Pacheco MAC (2019) Towards a robust parameterization for conditioning facies models using deep variational autoencoders and ensemble smoother. Comput Geosci 128:87–102. https://doi.org/10.1016/j.cageo.2019.04.006
Canchumuni SWA, Castro JDB, Potratz J, Emerick AA, Pacheco MAC (2021) Recent developments combining ensemble smoother and deep generative networks for facies history matching. Comput Geosci 25(1):433–466. https://doi.org/10.1007/s10596-020-10015-0
Chan S, Elsheikh AH (2019) Parametric generation of conditional geological realizations using generative neural networks. Comput Geosci 23(5):925–952. https://doi.org/10.1007/s10596-019-09850-7
Di Federico G, Durlofsky LJ (2025) Latent diffusion models for parameterization of facies-based geomodels and their use in data assimilation. Comput Geosci 194:105755. https://doi.org/10.1016/j.cageo.2024.105755
Emerick AA, Reynolds A (2013) Ensemble smoother with multiple data assimilation. Comput Geosci 55:3–15. https://doi.org/10.1016/j.cageo.2012.03.011
Feng R, Mosegaard K, Grana D, Mukerji T, Hansen TM (2024) Stochastic facies inversion with prior sampling by conditional generative adversarial networks based on training image. Math Geosci 56(4):665–690. https://doi.org/10.1007/s11004-023-10119-0
Feng L, Mo S, Sun AY, Wang D, Yang Z, Chen Y, Wang H, Wu J, Shi X (2024) Deep learning-based geological parameterization for history matching CO\(_2\) plume migration in complex aquifers. Adv Water Resour 193:104833. https://doi.org/10.1016/j.advwatres.2024.104833
He K, Zhang X, Ren S, Sun J (2016) Deep residual learning for image recognition. In: Proceedings of the IEEE conference on computer vision and pattern recognition (CVPR). IEEE Xplore, Las Vegas, Nevada, USA. https://doi.org/10.1109/CVPR.2016.90
Ho J, Jain A, Abbeel P (2020) Denoising diffusion probabilistic models. In: Advances in neural information processing systems. Curran Associates, Inc., 34th International conference on neural information processing systems (NeurIPS), Vancouver, Canada. https://doi.org/10.48550/arXiv.2006.11239
Hu F, Wu C, Shang J, Yan Y, Wang L, Zhang H (2023) Multi-condition controlled sedimentary facies modeling based on generative adversarial network. Comput Geosci 171:105290. https://doi.org/10.1016/j.cageo.2022.105290
Iandola FN, Han S, Moskewicz MW, Ashraf K, Dally WJ, Keutzer K (2016) Squeezenet: alexnet-level accuracy with 50x fewer parameters and \(<\) 0.5mb model size. In: International conference on learning representations (ICLR) workshop, San Juan, Puerto Rico. https://doi.org/10.48550/arXiv.1602.07360
Jafarpour B, McLaughlin DB (2009) Reservoir characterization with the discrete cosine transform. SPE J 14(1):182–201. https://doi.org/10.2118/106453-PA
Johnson J, Alahi A, Fei-Fei L (2016) Perceptual losses for real-time style transfer and super-resolution. In: Proceedings of the European conference on computer vision (ECCV) workshops. Springer, Amsterdam, Netherlands. https://doi.org/10.1007/978-3-319-46475-6_43
Kim YD, Suzuki S, Wu X-H, Becker G (2025) Diffusion model-based multi-fidelity reservoir simulation surrogates for upscaled model error correction. In: Proceedings of the SPE reservoir simulation conference. Society of Petroleum Engineers, Houston, Texas, USA. https://doi.org/10.2118/223870-MS
Kingma DP, Ba J (2015) Adam: a method for stochastic optimization. In: International conference on learning representations (ICLR) 2015, San Diego, CA, USA. https://doi.org/10.48550/arXiv.1412.6980
Krizhevsky A, Sutskever I, Hinton GE (2012) Imagenet classification with deep convolutional neural networks. In: Advances in neural information processing systems 25 (NeurIPS). Curran Associates, Inc., Lake Tahoe, Nevada, USA. https://doi.org/10.1145/3065386
Lacerda JM, Emerick AA, Pires AP (2019) Methods to mitigate loss of variance due to sampling errors in ensemble data assimilation with non-local model parameters. J Petrol Sci Eng 172:690–706. https://doi.org/10.1016/j.petrol.2018.08.056
Laloy E, Herault R, Jacques D, Linde N (2018) Training-image based geostatistical inversion using a spatial generative adversarial neural network. Water Resour Res 54(1):381–406. https://doi.org/10.1002/2017wr022148
Lee D, Ovanger O, Eidsvik J, Aune E, Skauvold J, Hauge R (2025) Latent diffusion model for conditional reservoir facies generation. Comput Geosci 194:105750. https://doi.org/10.1016/j.cageo.2024.105750
Ling W, Jafarpour B (2024) Improving the parameterization of complex subsurface flow properties with style-based generative adversarial network (StyleGAN). Water Resour Res 60(11):2024–037630. https://doi.org/10.1029/2024WR037630
Liu Y, Durlofsky LJ (2021) 3D CNN-PCA: a deep-learning-based parameterization for complex geomodels. Comput Geosci 148:1046–1076. https://doi.org/10.1016/j.cageo.2020.104676
Liu M, Grana D (2020) Petrophysical characterization of deep saline aquifers for CO\(_2\) storage using ensemble smoother and deep convolutional autoencoder. Adv Water Resour 142:103634. https://doi.org/10.1016/j.advwatres.2020.103634
Merzoug A, Pyrcz M (2025) Conditional generative adversarial networks for multivariate Gaussian subsurface modeling: how good are they? Math Geosci 57(4):733–757. https://doi.org/10.1007/s11004-025-10176-7
Mo S, Zabaras N, Shi X, Wu J (2020) Integration of adversarial autoencoders with residual dense convolutional networks for estimation of non-gaussian hydraulic conductivities. Water Resour Res 56:e2019WR026082. https://doi.org/10.1029/2019WR026082
Mosser L (2023) Deep diffusion models for facies modeling. In: Proceedings of the 84th EAGE annual conference & exhibition workshop. European Association of Geoscientists & Engineers, Vienna, Austria. https://doi.org/10.3997/2214-4609.2023101627
Ovanger O, Lee D, Eidsvik J, Hauge R, Skauvold J, Aune E (2025) A statistical study of latent diffusion models for geological facies modeling. Math Geosci. https://doi.org/10.1007/s11004-025-10178-5
Pyrcz MJ, Deutsch CV (2014) Geostatistical reservoir modeling. Oxford University Press, Oxford, UK
Rock flow dynamics (2024) Reservoir modelling and simulation platform (version 24.3). https://rfdyn.com/. Accessed 6 June 2025
Roininen L, Girolami M, Lasanen S, Markkanen M (2016) Hyperpriors for Matérn fields with applications in Bayesian inversion . https://arxiv.org/abs/1612.02989
Rombach R, Blattmann A, Lorenz D, Esser P, Ommer B (2022) High-resolution image synthesis with latent diffusion models. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition (CVPR). IEEE Xplore, New Orleans, Louisiana, USA. https://doi.org/10.48550/arXiv.2112.10752
Ronneberger O, Fischer P, Brox T (2015) U-net: convolutional networks for biomedical image segmentation. In: Proceedings of the medical image computing and computer-assisted intervention (MICCAI). Springer, Munich, Germany. https://doi.org/10.1007/978-3-319-24574-4_28
Sarma P, Durlofsky LJ, Aziz K (2008) Kernel principal component analysis for efficient, differentiable parameterization of multipoint geostatistics. Math Geosci 40(1):3–32. https://doi.org/10.1007/s11004-007-9131-7
Schlumberger (2019) Petrel E &P software platform (version 2019.2). https://www.software.slb.com/products/petrel. Accessed 10 May 2024
Simonyan K, Zisserman A (2015) Very deep convolutional networks for large-scale image recognition. In: International conference on learning representations (ICLR) workshop, San Diego, California, USA. https://doi.org/10.48550/arXiv.1409.1556
Song S, Mukerji T, Hou J (2021) Geological facies modeling based on progressive growing of generative adversarial networks (GANs). Comput Geosci 25(3):1251–1273. https://doi.org/10.1007/s10596-021-10059-w
Song S, Mukerji T, Hou J (2021) GANSim: conditional facies simulation using an improved progressive growing of generative adversarial networks (GANs). Math Geosci 53(7):1413–1444. https://doi.org/10.1007/s11004-021-09934-0
Song J, Meng C, Ermon S (2021) Denoising diffusion implicit models. In: Proceedings of the 9th international conference on learning representations (ICLR), Vienna, Austria. https://doi.org/10.48550/arXiv.2010.02502
Tang M, Liu Y, Durlofsky LJ (2021) Deep-learning-based surrogate flow modeling and geological parameterization for data assimilation in 3D subsurface flow. Comput Methods Appl Mech Eng 376:113636. https://doi.org/10.1016/j.cageo.2020.104676
Teng W, Durlofsky LJ (2025) Likelihood-free inference and hierarchical data assimilation for geological carbon storage. Adv Water Resour 201:104961. https://doi.org/10.1016/j.advwatres.2025.104961
Teng Z, Wu H, Zhang J, Ju X (2024) A generative model of discrete fracture networks based on latent diffusion model. In: Proceedings of the ARMA/DGS/SEG international geomechanics symposium. OnePetro, Kuala Lumpur, Malaysia. https://doi.org/10.56952/IGS-2024-0455
Xu M, Song S, Mukerji T (2024) Diffsim: denoising diffusion probabilistic models for generative facies geomodeling. In: Proceedings of the fourth international meeting for applied geoscience & energy. Society of Exploration Geophysicists, Houston, Texas, USA . https://doi.org/10.1190/image2024-4081304.1
Zhan C, Dai Z, Jiao JJ, Soltanian MR, Yin H, Carroll KC (2025) Toward artificial general intelligence in hydrogeological modeling with an integrated latent diffusion framework. Geophys Res Lett 52(3):2024–114298. https://doi.org/10.1029/2024GL114298
Zhang T-F, Tilke P, Dupont E, Zhu L-C, Liang L, Bailey W (2019) Generating geologically realistic 3D reservoir facies models using deep learning of sedimentary architecture with generative adversarial networks. Pet Sci 16(3):541–549. https://doi.org/10.1007/s12182-019-0328-4
Zhao J, Chen S (2023) Facies conditional simulation based on VAE-GAN model and image quilting algorithm. J Appl Geophys 219:105239. https://doi.org/10.1016/j.jappgeo.2023.105239
Acknowledgements
We are grateful to the Stanford Doerr School of Sustainability and to the industrial affiliates of the Stanford Smart Fields Consortium for financial support. We also thank the SDSS Center for Computation for providing the computational resources used in this work.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. The second author is on the editorial board of this journal.
Code availability
The source codes and datasets used in this work are available for download at https://github.com/guidodf09/ldm_3d_geomodel. The codes are based on the implementations provided in the https://github.com/huggingface/diffusers and https://github.com/Project-MONAI/GenerativeModels repositories. The Python libraries diffusers and monai are used in our implementation.
Appendices
Appendix A 3D-LDM Algorithms
Appendix B 3D-LDM Model Architecture
Tables 3 and 4 define the VAE and U-net architectures used in our 3D-LDM implementation.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Di Federico, G., Durlofsky, L.J. Three-Dimensional Latent Diffusion Models for Parameterizing and History Matching Facies Systems Under Hierarchical Uncertainty. Math Geosci (2025). https://doi.org/10.1007/s11004-025-10245-x
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1007/s11004-025-10245-x




